Skip to the content
4 layers130 × 25 mmCurrent sense, the printed circuit board in 3D

A high performance current & magnetic field probe

Size
130 × 25 mm
Copper layers
4
Thickness
1 mm
Parts
113
Nets
70
Pads
332
Tracks, vias
840, 248
Pours
23
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
3 Dec 2020
Updated
3 Apr 2023

Overview

Current sense is an open-source printed circuit board by westonb, from the westonb/little-bee-B1 repository on GitHub, published under the CC-BY-SA-4.0 licence. It is a 4-layer board of 130 × 25 mm with 113 parts on 70 nets, routed with 840 tracks and 248 vias.

It is built around the AD8129AR, HMC1041Z-TR and MCP1640-I/MC, with the TLV3542ID, TMUX1219DBV and BAT54SLT1G among its other parts. Its parts include 40 resistors, 36 capacitors, 9 ICs, 8 connectors and 4 diodes. It belongs with the sensors and measurement boards and the PIC boards of this library.

Main components

7

README

README.md

Little Bee B1 - A high performance current & magnetic field probe

Operating Instructions are located in the getting-started folder

The Little Bee B1 is an open source magnetic field and current probe based on an Anisotropic Magneto-Resistive (AMR) magnetic sensor. It directly senses magnetic fields and measures current with a current sensing attachment consisting of a gapped ferrite toroid that is placed around a wire, establishing a fixed relation between the current in the wire and magnetic field the sensor is subject to.

The probe is capable of sensing DC currents and has a high frequency -3dB bandwidth in excess of 10Mhz. Typical specifications for current sensing are a +/- 5A range, and a 3mA RMS noise floor. For magnetic field sensing the probe has a +/- 6 gauss range. It is compatible with any 1M ohm input oscilloscope and is powered by a single AA battery. The probe uses a PIC microcontroller to automatically zero the sensor and to provide adjustable gain and bandwidth.

All project source files are in this repository and the project currently has a CrowdSupply campaign

Typical Electrical Performance

Current sensing
  • Bandwidth: DC - 10 MHz
  • Sensitivity: 0.25 Volts/Amp
  • Max Current: +/- 5 A
  • Noise
    • 3 mA RMS at 10 MHz bandwidth
    • 2 mA RMS at 1 MHz bandwidth
  • DC Accuracy: +/- 15%
  • Insertion Impedance: 100 nH in parallel with 70 Ohms
Magnetic Field Sensing
  • Bandwidth: DC - 10 MHz
  • Sensitivity: 0.2 Volts/Gauss
  • Max Field: +/- 6 Gauss
  • Noise
    • 4mG RMS at 10 MHz bandwidth
    • 2.5mG RMS at 1 MHz bandwidth

Operation

Connect the Little Bee to any oscilloscope with a SMA-BNC cable. When the probe is powered on it automatically zeros and starts in the high bandwidth and low gain mode. Tapping the "Mode Select" button will cycle through the bandwidth and gain options, which are indicated by the LED color.

The probe should be re-zeroed after switching modes. This is accomplished by pressing and holding the "zero/reset" button for at least one second before releasing. The LED will blink once when the button is first pressed and a second time when the zeroing operation is done.

When the sensor is exposed to an excessive magnetic field, or excessive current when the current sensing attachment is used, the sensor will be demagnetized and need to be reset for normal operation. For on axis fields the probe can detect this and will turn the indicator light red. Off axis fields, which can occur when the probe is used for magnetic field sensing, can exceed the sensor limit without being detected. This will result a loss of sensitivity and noticeable distortion in the sensed waveforms.
The sensor can be reset and normal operation restored without impacting the zeroing of the probe by tapping the "zero/reset" button, which will briefly flash the indicator light.

If the probe senses a low battery that will inhibit normal operation the indicator light will flash red. An alkaline AA battery should provide around 4 hours of battery life.

Current Sensing

Current sensing is achieved with the current sensing attachment, which clips on to the tip of the probe. The current sensing attachment uses a ferrite core to translate the current flowing in to a wire into a known magnetic field strength. A wire can be threaded through the current sensing attachment or the current sensing attachment can be slipped over a wire before being clipped on. With the logo and writing on the Little Bee facing the user, a wire carrying current away from the user will be read as a positive current.

The location of the wire within the current sensing attachment has some impact on the sensitivity of the probe due to the magnetic field in generates. It is recommended to keep the wire on the opposite side of the sensing tip within the aperture of the current sensing attachment.

For higher resolution when measuring low currents, multiple turns of the wire can be made through the aperture of the current sensing attachment. The final sensitivity will be the set sensitivity times the number of turns.

Tapping the "Mode Select" button will cycle through the bandwidth and gain options, which are indicated by the LED color:

LED ColorMode
Green10MHz bandwidth 0.25V/A
Yellow1MHz bandwidth 0.25V/A
Blue10MHz bandwidth 1V/A
Teal1MHz Bandwidth 1V/A

The gain of the probe can be adjusted with the labeled trimmer resistor on the PCB. Units are shipped calibrated to the above gains.

Magnetic Field Sensing

The magnetic sensor is located approximately 1.0mm offset from the tip of the probe. The Little Bee will measure a magnetic field entering perpendicular to the top of the probe as a positive voltage. To measure the magnetic field emitted by a PCB trace the probe should be placed perpendicular to the PCB with the long direction of the tip parallel to the trace.

The earth's magnetic field is typically between 0.3 - 0.6 Gauss, depending on geographic location. This is well within the sensing range of the probe. Additionally, large ferrous objects and transformers can emit stray magnetic fields. It is recommended the Little Bee is zeroed while holding it in the orientation used for taking measurements to reduce the error introduced by stray magnetic fields.

The gain of the probe is calibrated based on measurements with the current sensing attachment, so the true sensitivity will depend on the tolerance current sensing attachment. The nominal sensitivities are:

LED ColorMode
Green10MHz bandwidth 0.2 V/Gauss
Yellow1MHz bandwidth 0.2 V/Gauss
Blue10MHz bandwidth 0.8 V/Gauss
Teal1MHz Bandwidth 0.8 V/Gauss

Hardware

The kicad PCB files are in the PCB directory and the schematic is in the doc directory.

Firmware

The Little Bee uses a PIC16 microcontroller to automatically zero the probe and control gain and bandwidth switching. The firmware is built with the MPLAB X IDE and the complete project is in the firmware directory

Open Source

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0

Demos

Sensing the AC line current into a switch-mode power supply

Sensing the magnetic field from an inductor

Example Waveforms

Yellow Waveform: Little Bee B1

Green Waveform: Tektronix CT-2 Current Transformer

Ramp
SinC
Square Wave (Low Current)
Noise Floor

Parts

113
QtyValueFootprintReferences
211uCapacitor_SMD:C_0603_1608MetricC2, C3, C10, C11, C12, C15, C16, C19, C23, C25, C26, C27, C28, C29, C30, C31 +5
94.7kResistor_SMD:R_0603_1608MetricR1, R2, R10, R11, R23, R24, R25, R27, R28
822uCapacitor_SMD:C_0805_2012MetricC1, C13, C14, C17, C20, C21, C22, C33
732.4kResistor_SMD:R_0603_1608MetricR14, R22, R32, R33, R34, R35, R40
61.43kResistor_SMD:R_0603_1608MetricR8, R9, R12, R15, R17, R19
4DNPCapacitor_SMD:C_0603_1608MetricC18, C24, C35, C36
4M3wbraun_smd:M3-tight-fit-socket-headJ1, J2, J4, J5
34.7Resistor_SMD:R_0603_1608MetricR26, R36, R37
343Resistor_SMD:R_0603_1608MetricR5, R6, R20
3DNPResistor_SMD:R_0603_1608MetricR29, R38, R39
2105Resistor_SMD:R_0603_1608MetricR3, R7
2130Resistor_SMD:R_0603_1608MetricR30, R31
2220Resistor_SMD:R_0603_1608MetricR4, R13
2BAT54SLT1GPackage_TO_SOT_SMD:SOT-23D2, D3
2Ferrite_Bead_SmallInductor_SMD:L_0805_2012MetricFB1, FB2
2LM4041LP-ADJPackage_TO_SOT_SMD:SOT-23U8, U9
2SW_Pushwbraun_smd:SW_Tactile_SPST_Angled_PTS645Vx58-2LFSSW1, SW2
2TMUX1219Package_TO_SOT_SMD:SOT-363_SC-70-6U3, U6
10Resistor_SMD:R_0603_1608MetricR18
1102kResistor_SMD:R_0603_1608MetricR21
110pCapacitor_SMD:C_0603_1608MetricC4
122pCapacitor_SMD:C_0603_1608MetricC6
12kwbraun_smd:TRIMMER_PVG3ARV1
14.7uwbraun_smd:L_VLCF4020L1
1470Resistor_SMD:R_0603_1608MetricR16
1750pCapacitor_SMD:C_0603_1608MetricC7
1AA Holderwbraun_smd:AA-2460J7
1AD8129Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1Conn_CoaxialConnector_Coaxial:SMA_Molex_73251-2200_HorizontalJ6
1DNPConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ8
1FDC6327CPackage_TO_SOT_SMD:TSOT-23-6Q1
1HMC1041Zwbraun_smd:HMC1041ZU1
1LED_ARGBLED_SMD:LED_Cree-PLCC4_2x2mm_CWD1
1LOGOwbraun_smd:bee_v4G***
1MCP1640Package_TO_SOT_SMD:SOT-23-6U7
1NTSAF345T3GDiode_SMD:D_SMAD4
1Net-Tie_2wbraun_smd:NET_TIENT1
1PIC16F1776-ISSPackage_SO:SSOP-28_5.3x10.2mm_P0.65mmU4
1SW_SPDTwbraun_smd:SW_EG1247_SPDT_AngledSW3
1TLV3542Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1Tag Connectwbraun_smd:TC2030-IDC-NLJ3

The 107 most common of 113 parts.

Similar boards

  • 2 layers170 × 100 mmPlytka nosna, the printed circuit board in 3D

    Plytka nosna

    tmierzwa/WICI

    Otwarty system łączności awaryjnej (Reticulum/LXMF, 869 MHz)

    74 parts4
  • 2 layers69.7 × 32.8 mmD32Rev3ConfigController, the printed circuit board in 3D

    D32Rev3ConfigController

    jimbro1000/D32Rev3ConfigController

    Remote Configuration Control for Rev 3 Dragon

    21 parts
  • 2 layers60 × 69 mmPLL USL signalgenerator, the printed circuit board in 3D

    PLL USL signalgenerator

    leacog/PLL-ultrasonic-driver

    KiCad project files and arduino code for an in-expensive and simple phase-locked-loop driver for piezo-electric ultrasonic transducers.

    35 parts36
  • 2 layers46.5 × 46.6 mmOdysseyDaughterCardSummer, the printed circuit board in 3D

    OdysseyDaughterCardSummer

    Vibrant-Media-Lab/OdysseyNowDaughterCards

    Replacement daughter card schematics and layouts for the Magnavox Odyssey BLAK version.

    27 parts3
  • 6 layers76 × 101 mmBitaxeproto, the printed circuit board in 3D

    Bitaxeproto

    bitaxeorg/bitaxeproto

    quad Proto MC3 bitaxe

    229 partsCERN-OHL-S-2.0
  • 4 layers45.5 × 18 mmFDA A v1, the printed circuit board in 3D

    FDA A v1

    macaba/TheManhattanToolkit

    Input R - RNCF0603DTE10R0 (10 ohm) Input CM C - CGA3E1C0G2A472J080AC (4.7nF) Input DM C - DNP

    52 parts94MIT
  • 4 layers138.2 × 200.4 mmHV servo drive v1, the printed circuit board in 3D

    HV servo drive v1

    ExcessiveMotion/drive-hardware

    383 parts175CERN-OHL-W-2.0
  • 2 layers9.7 × 9.8 mmG6 Mag Charger, the printed circuit board in 3D

    G6 Mag Charger

    kicker22004/Dexcom-G6-Mag-Recharge

    Board and steps for creating a rechargeable Dexcom device.

    13 parts5

Questions

How big is the Current sense PCB?

It measures 130 × 25 mm and has 4 copper layers, 1 mm thick.

What parts does the Current sense use?

113 parts, built around the AD8129AR, HMC1041Z-TR, MCP1640-I/MC and TLV3542ID. 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 Current sense KiCad files?

From the westonb/little-bee-B1 repository on GitHub, at the commit this page was made from: the board is pcb/current-sense/current-sense.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Current sense design in my own project?

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