Coder Social home page Coder Social logo

current-probe's Introduction

Low-Noise Amplifier for Current Sensing

This is an experimental breakout board for the ultralow noise AD8331 variable-gain amplifier with internal low-noise preamplifier.

  • AC-coupled input up to 200 mV
  • Adjustable gain amplifier, up to 55 dB
  • Galvanically isolated output
  • Single 3.3V supply

The input impedance of the amplifier should be around 6k ohms. The probe is designed to be in close proximity (< 10 mm) to the signal source, i.e., such that no shielded cable is required on the input side. Instead, short wires can directly be soldered to the probe. The output is matched to 50 ohms over an isolating signal transformer, which connects to the SMA connector.

The amplifier module is intended to be used as a current probe with an additional shunt resistor. The amplifier is placed near the device under test and amplifies the voltage drop across the measurement resistor. The output signal is digitized by an oscilloscope connected over the SMA connector.

Progress

  • Schematics design
  • PCB layout
  • PCB prototype manufacturing
  • In-circuit verification
  • Proof-of-concept of power analysis side channel attack

Known Issues

Although there is a notch filter to suppress the parasitic switching frequency of the DC/DC converter, it is still visible at the output.

Motivation

The current probe is designed to measure the transient current consumption of microcontrollers and low-end CPUs in order to use a power consumption side channel, which can be used to leak information about cryptographic operations. An example power trace measured with this current probe can be seen below. Clearly visible are the 10 AES rounds of the AES-128-ECB algorithm running on an STM32 microcontroller.

AES power trace

Such side-channel attacks have been known to exists for many years, and there are even commercial tools available which simplify the research process.

My goal with this DIY low-noise current probe is to have a cost-effective alternative to other specialized tools, as I already own suitable measurements equipment (i.e., an oscilloscope) and do not need access to other attack methods (such as fault injection).

Manufacturing

PCB manufacturing was done in a custom panel with 5 individual PCBs by multi-cb. Assembly was done by hand.

panel pcbs

License

current-probe by Stefan Gloor is licensed under CC BY-SA 4.0

This does not include work of third parties, e.g., 3D STEP models.

current-probe's People

Contributors

stgloorious avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.