
IMU Array ICM-42688-P
thejamesrhodes/IMU-Quantisation-research-project
Research into quantisation effects in MEMS gyroscopes using custom STM32 hardware.

Research into quantisation effects in MEMS gyroscopes using custom STM32 hardware.
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.
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.
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
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.
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.| Item | Status |
|---|---|
| Data-logger PCB (4× IMU) Bring up | Complete |
| Firmware | Complete |
| Analysis chain ($\sigma$, $\rho$, $\mu$, $\varphi$, $\eta$; Allan; GMWM) | Complete |
| Exact $\eta(\rho,\varphi)$ theory, closed form | Complete |
| Primary curve $\eta(\rho)$ | Complete |
| Experimental results vs theory | Complete |
| Relevance evidence (toolchain guidance, default ODR/FSR) | In progress |
| Manuscript | In Progress |
| Preprint | In Progress |
| MCU | STM32F723ZET6, 32 MHz |
| Sensors | 2× ICM-42688-P, 1× ISM330DHCX, 1× BMI323, one SPI bus each |
| Storage | microSD on SDMMC2, exFAT |
| Host link | USB-C on OTG_HS, internal HS PHY |
| Power | 4S NiMH or USB-C |

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 systempip 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.
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"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:
STM32_Programmer_CLI -c port=SWD mode=UR -e all -w "Debug/GMWM STM32.elf" -v -rst94 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.
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
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.
MIT — see LICENSE. The dataset is licensed separately under CC-BY-4.0.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 30 | 100nF | PCM_JLCPCB:C_0402 | C1, C2, C10, C15, C16, C19, C21, C22, C23, C24, C25, C26, C27, C28, C29, C30 +14 |
| 16 | NetTie | PCM_4ms_SolderJumper:JUMPER_SMD_1x2_tiny_shorted | TIE2, TIE3, TIE4, TIE5, TIE6, TIE7, TIE8, TIE9, TIE10, TIE11, TIE14, TIE17, TIE18, TIE19, TIE20, TIE21 |
| 10 | 10nF | PCM_JLCPCB:C_0402 | C9, C11, C34, C43, C46, C48, C50, C54, C57, C58 |
| 10 | TestPoint_Probe | PCM_4ms_TestPoint:TestPoint_Pad_04 | TP15, TP17, TP26, TP27, TP28, TP29, TP30, TP31, TP32, TP33 |
| 9 | TestPoint_Probe | Connector_Wire:SolderWirePad_1x01_SMD_1.5x3mm | TP5, TP6, TP7, TP8, TP9, TP10, TP13, TP24, TP25 |
| 8 | 2.2uF | PCM_JLCPCB:C_0603 | C4, C5, C6, C17, C32, C44, C49, C56 |
| 5 | 47kΩ | PCM_JLCPCB:R_0402 | R21, R22, R23, R24, R25 |
| 4 | 0603_Green_509-620mcd | JLCImport:0603_Green_509-620mcd | LED7, LED8, LED9, LED10 |
| 4 | 1uF | PCM_JLCPCB:C_0402 | C3, C35, C37, C39 |
| 4 | 330Ω | PCM_JLCPCB:R_0402 | R16, R17, R18, R19 |
| 4 | NetTie | Jumper:SolderJumper-2_P1.3mm_Bridged2Bar_Pad1.0x1.5mm | TIE12, TIE13, TIE15, TIE16 |
| 4 | ~ | PCM_JLCPCB:Hole, 3mm | H5, H6, H7, H8 |
| 4 | ~ | PCM_JLCPCB:Hole_Tooling_JLCPCB | H1, H2, H3, H4 |
| 3 | 100kΩ | PCM_JLCPCB:R_0402 | R14, R15, R27 |
| 3 | 10kΩ | PCM_JLCPCB:R_0402 | R5, R8, R20 |
| 3 | 4.7uF | PCM_JLCPCB:C_0603 | C18, C20, C33 |
| 3 | PINHD_1x5_Male | Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_Vertical | J1, J2, J4 |
| 2 | 10uF | PCM_JLCPCB:C_0603 | C12, C13 |
| 2 | 33kΩ | PCM_JLCPCB:R_0402 | R9, R13 |
| 2 | 33Ω | PCM_JLCPCB:R_0402 | R6, R30 |
| 2 | 4.7kΩ | PCM_JLCPCB:R_0402 | R28, R29 |
| 2 | 5.1kΩ | PCM_JLCPCB:R_0402 | R11, R12 |
| 2 | ICM-42688-P | Package_LGA:Bosch_LGA-14_3x2.5mm_P0.5mm | U6, U7 |
| 2 | SS12 | Diode_SMD:D_SMA | D4, D5 |
| 2 | Tactile Button, 160gf | PCM_JLCPCB:SW_TS-1088-AR02016 | S1, S2 |
| 1 | 10kΩ | PCM_JLCPCB:R_0603 | R1 |
| 1 | 10Ω | PCM_JLCPCB:R_0402 | R7 |
| 1 | 1532H4-32K768JWPDTSNL | PCM_JLCPCB:OSC-SMD_4P-L3.2-W2.5-BL | U2 |
| 1 | 1kΩ | PCM_JLCPCB:R_0603 | R2 |
| 1 | 200Ω | PCM_JLCPCB:R_0402 | R10 |
| 1 | 3kΩ | PCM_JLCPCB:R_0603 | R3 |
| 1 | 470nF | PCM_JLCPCB:C_0402 | C14 |
| 1 | 470Ω | PCM_JLCPCB:R_0402 | R26 |
| 1 | 47Ω | PCM_JLCPCB:R_0402 | R4 |
| 1 | AP2115R5-3.3TRG1 | JLCImport:AP2115R5-3_3TRG1 | U11 |
| 1 | ASDM1-24_000MHZ-LC-T | PCM_JLCPCB:OSC-SMD_4P-L3.2-W2.5-BL | X1 |
| 1 | BMI323 | Package_LGA:Bosch_LGA-14_3x2.5mm_P0.5mm | U9 |
| 1 | Battery | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | BT1 |
| 1 | ISM330DHCX | Package_LGA:Bosch_LGA-14_3x2.5mm_P0.5mm | U3 |
| 1 | KH-TYPE-C-16P | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J7 |
| 1 | KT-0603R | JLCImport:KT-0603R | LED6 |
| 1 | LT3045EDD | Package_DFN_QFN:DFN-10-1EP_3x3mm_P0.5mm_EP1.65x2.38mm | U5 |
| 1 | SM04B-SRSS-TB_LF_SN | Connector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_Horizontal | CN3 |
| 1 | SMAJ12CA | Diode_SMD:D_SMA | D1 |
| 1 | STM32F723ZET6 | Package_QFP:LQFP-144_20x20mm_P0.5mm | U1 |
| 1 | SolderJumper_2_Bridged | Jumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mm | JP1 |
| 1 | TF-015 | JLCImport:TF-015 | J3 |
| 1 | USBLC6-2P6 | Package_TO_SOT_SMD:SOT-666 | U8 |

thejamesrhodes/IMU-Quantisation-research-project
Research into quantisation effects in MEMS gyroscopes using custom STM32 hardware.

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

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



nanographs/Open-Beam-Interface
Just what you need to control the beam and get an image.

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

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

ljufa/rsplayer_hardware
kicad files for rsplayer music player hardware
It measures 68.8 × 68.6 mm and has 4 copper layers, 1.6 mm thick.
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.
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.
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).