

Harm meas using os
An electronic circuit project designed to measure mains current harmonics with amplitudes below one Least Significant Bit (LSB) of an Analog-to-Digital Converter.
- Size
- 70 × 30 mm
- Copper layers
- 4
- Thickness
- 1.67 mm
- Parts
- 67
- Nets
- 66
- Pads
- 244
- Tracks, vias
- 495, 392
- Pours
- 19
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 2 Oct 2026
- Updated
- 2 Oct 2026
Overview
Harm meas using os is an open-source printed circuit board by jkbkwcn, from the jkbkwcn/harm_meas_using_os repository on GitHub. It is a 4-layer board of 70 × 30 mm with 67 parts on 66 nets, routed with 495 tracks and 392 vias.
It is built around the TLV2372IP and USBLC6-2SC6. Its parts include 26 capacitors, 21 resistors, 5 ICs, 4 connectors and 3 diodes. It belongs with the STM32 boards of this library.
Main components
2TLV2372IP
PDIP-8-40℃~+125℃ -8V~-1.35V、1.35V~8V 16mA 1pA 1pA 2 2.1V/us 2.7V~16V 2uV/℃ 35nV/√Hz@10kHz 3MHz 4.5mV 550uA 84dB Enable/shutdown function、Built-in compensation Rail-to-Rail Input, Rail-to-Rail Output PDIP-8 Operational Amplifier ROHSTexas InstrumentsOperational AmplifierUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)
README
README.mdSub-LSB Harmonics Measurement System
An electronic circuit project designed to measure mains current harmonics with amplitudes below one Least Significant Bit (LSB) of an Analog-to-Digital Converter.
This project was developed as part of the Analog Peripheral Circuits in Digital Systems course at the AGH University of Science and Technology in Kraków.
Description
The main goal of this project was to design and test an analog-to-digital processing path capable of detecting very weak signals (e.g., 400 µVpp) using a converter with a relatively low base resolution (where 1 LSB ≈ 800 µV). To achieve this, digital signal processing techniques were implemented: oversampling and hardware-based triangular dithering.
The system measures harmonics up to the 5th order (250 Hz) for a 50 Hz mains signal, utilizing an STM32 microcontroller and a dedicated analog signal conditioning circuit on a custom PCB.
Technologies and Specifications
- Microcontroller: STM32F103C8T6 (ARM Cortex-M3 core)
- ADC: Built-in 12-bit converter
- DSP Methods:
- Oversampling enabling a theoretical improvement in the Effective Number of Bits (ENOB)
- Triangular dithering generated via hardware PWM
- Hardware: Custom PCB designed in KiCad, featuring an analog front-end and USB power
Key Findings and Measurement Results
The system successfully measures signals with amplitudes significantly below the 1 LSB threshold of the converter. Measurements of a 400 µVpp signal (at 50 Hz) yielded consistent results in FFT spectral analysis.
Key observation from the research: Measurements revealed that the inherent white noise of the ADC and the analog path (amounting to about 2-3 LSB) was already sufficient to act as a natural broadband dither. This intrinsic noise successfully enabled the oversampling process, yielding an ENOB gain of approximately 4 bits. However, due to the ADC's intrinsic noise, the additionally injected triangular dither did not perform as theoretically expected. The built-in white noise essentially overshadowed the triangular signal, negating any extra theoretical benefits the triangle dither would normally provide over white noise. Despite this hardware limitation, the project successfully validated the oversampling concept and fully achieved its measurement objectives.
Parts
67| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | 100n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C2, C5, C7, C9, C12, C13, C16, C17, C21, C23 |
| 8 | 10k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R3, R5, R6, R7, R9, R10, R11 |
| 5 | 22u | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C4, C10, C11, C25, C26 |
| 4 | 10u | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C3, C6, C8 |
| 3 | LED | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D1, D2, D3 |
| 2 | 1.2k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R14, R16 |
| 2 | 13p | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C14, C15 |
| 2 | 1u | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C22, C24 |
| 2 | 22 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R12, R13 |
| 2 | 47p | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C18, C20 |
| 2 | 5k1 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R18, R21 |
| 2 | BLM18SG331TN1D | Inductor_SMD:L_0603_1608Metric | L1, L2 |
| 1 | 0 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R20 |
| 1 | 1.5k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R15 |
| 1 | 100 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R8 |
| 1 | 100p | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C19 |
| 1 | 14MHz | Library:406C35B14 | U5 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R19 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1 |
| 1 | 1k5 1% | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R17 |
| 1 | 390k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R4 |
| 1 | Conn_01x12_Socket | Connector_PinSocket_2.54mm:PinSocket_2x06_P2.54mm_Vertical | J2 |
| 1 | Conn_01x22_Socket | Connector_PinHeader_2.54mm:PinHeader_2x11_P2.54mm_Vertical | J1 |
| 1 | LDLN025 | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | U4 |
| 1 | LOGO | Library:AGH_logo | G*** |
| 1 | MountingHole_2.2mm_M2 | MountingHole:MountingHole_2.2mm_M2 | M2x4 |
| 1 | SMA | Connector_Coaxial:SMA_Amphenol_132289_EdgeMount | J4 |
| 1 | STM32F103C8Tx | Package_QFP:LQFP-48_7x7mm_P0.5mm | U2 |
| 1 | SW_Push | Library:TL3365 | SW1 |
| 1 | TLV2372 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U3 |
| 1 | USB_C_Receptacle_USB2.0_14P | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J5 |
The 64 most common of 67 parts.
Similar boards
- 4 layers100 × 100 mm

- 2 layers101.6 × 53.3 mm

BatteryAnalyzer MkII
Moragor/BatteryAnalyzer_MkII
Updated Version of the battery analyzer, now with constant current
25 parts12MIT - 2 layers105.5 × 86 mm

- 2 layers52 × 48 mm

STM32-Based Programmable Waveform Generator
devjamescollier/STM-32_Based_Waveform_Generator
USB-powered programmable function generator built around an STM32C031K6T6 microcontroller and MCP4901 DAC. Generates clean sine, triangle, and square waveforms with amplitude control via potentiometer, mode selection…
48 partsCERN-OHL-P-2.0 - 2 layers30 × 30 mm

Steering Sensor (1)
dnz1666/impedance-buffer-pcb
Analog circuit design (impedance buffer + LP filter) – KiCad schematic & PCB layout for a student EV project at RWTH Aachen
14 parts - 4 layers160 × 70 mm

- 2 layers53.3 × 99.8 mm

Adapater a
jensboe/Modellbahn
columns 1 block:selfmade block:base columns 1 nucleo adapter["adapter board A"] end space expansion1["expansion board A 1"] space expansionn["expansion board A n"] space expansionb["expansion board B"] adapter…
58 parts - 2 layers130 × 44.4 mm

Turbine
JohnRipple/turbine-sensor
After taking a look at the kit it was lacking content. It could be built in about 10 minutes. With a 45 minute time slot for each class there was a lot of time to fill, so I decided to make a more interesting turbine…
10 parts
Questions
How big is the Harm meas using os PCB?
It measures 70 × 30 mm and has 4 copper layers, 1.67 mm thick.
What parts does the Harm meas using os use?
67 parts, built around the TLV2372IP and USBLC6-2SC6. 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 Harm meas using os KiCad files?
From the jkbkwcn/harm_meas_using_os repository on GitHub, at the commit this page was made from: the board is hardware/harm_meas_using_os.kicad_pcb and its schematic hardware/adder.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Harm meas using os design in my own project?
Its repository states no licence, so its author keeps all rights: ask jkbkwcn before reusing the design.