Current from 1 nA to 2 A and voltage at the same instant, 2 million times a second. Trigger on the moment that matters, and log for days without missing it.
Hardware2 of 5 parts tested, 2 in testing or iteration, 1 built and awaiting test
SoftwareAPI at version 1; Companion, debugger and command line usable while in development
Nebulosa Companion, the Scope on a BLE beacon: zoom in on one advertising event until its three radio bursts fill the screen, measure them with a zone marker for duration, mean and charge, then on to the next event.
The software
Nebulosa Companion
Companion is the computer side of Nebulosa. It streams current, voltage and power at the full rate over USB or Ethernet, with a scope for the microsecond detail and a logger for the overnight run, and the tools to measure both. It runs as a desktop app on Windows, macOS and Linux, and in Chrome or Edge with nothing to install.
The .deb and .rpm packages install the USB rule; replug the board after installing.
2 MS/sEvery sample, streamed live
1 µs–1 minPer division, in one scope
DaysOf logging in bounded memory
3 + webWindows, macOS, Linux and the browser
Main feature
Capture and logging
Most power problems are rare or slow: a reset once a night, a sleep current that creeps up over a week. Companion logs for days without filling the computer, and a triggered capture keeps only the events, each with what came before and after it.
Armed on a rising edge over 50 mA, keeping 0.5 s before and after: every spike writes its own capture, centred in its shaded window.
Triggered capture: every event, with what surrounds it
Set the trigger on the Logger, choose how much to keep before and after, and arm it. Companion keeps a rolling window in memory and writes nothing while things are quiet. When the trigger fires, the event is saved with the moments that led up to it and the ones that followed, so a day of waiting costs only the events on disk.
From fractions of a second to hours before the trigger, and a set time after or until you stop it
Again after each capture: it re-arms itself, one file per event
Each capture marked on the Logger, its trigger as a line
WatchThe trigger or the serial match runs and marks each event. Nothing is written, so you can tune it.
ArmThe next trigger starts a capture.
CaptureWritten from the chosen time before the trigger until the set time after, or until you stop it.
A board browns out every 10 to 30 s and prints BROWN-OUT half a second later. Armed on that message, the capture keeps the 2 s before it: the 400 mA surge, the supply sagging to 2.2 V, the reset.
The rare fault, caught by its own message
A brown-out once a week is easy to miss and expensive to log. Start the capture on a serial message instead, and the board's own error print becomes the trigger. The capture still reaches back before the message, so the surge and the sagging supply that caused it are in the file too.
Arm on any line that matches, in plain text or a regular expression
The seconds before the message are kept, not just what came after
The messages and the power trace saved together, ready to compare
The Logger on a battery discharge: the whole run, zoomed with the wheel down to single samples.
Logging that lasts for days
The Logger keeps the whole session, minutes to days, in bounded memory: the latest million intervals at full resolution, older ones merged. It never fills the computer, and zooming after three days is as quick as after three minutes. Click any moment to open it in the Scope at full rate.
Formats
CSVTextJSON LinesHDF5.nblog.nbrec
Min, max, mean and σ per interval from 1 ms to 10 s, or every raw sample
Your choice of columns, units and time stamps, with a live preview
Stops cleanly when the disk runs low, and resumes after a dropped link
Main feature
Triggering
Oscilloscope-grade triggers on current, voltage, power or the math channel, on your firmware's own serial messages, or on a detector you write in Python. Every trigger can freeze the Scope or start a capture.
A radio node on a tired battery: each odd transmission found by its own trigger, then a script that labels them all.
Advanced triggers: find the odd one out
A transmission every 100 ms looks the same as the last ten thousand, until one doesn't. Each kind of odd one has a trigger made for it: a retry by its charge, an aborted wake-up as a runt, a slow start by its rise time, a late one by the interval.
Then B: a current burst, then the supply dipping within a set time after it
Only while: fire only while another signal is above or below a level, such as spikes only while the battery is low
Every Nth: keep one trigger in N
A trigger written in Python: an example opened, checked on the latest samples, applied, and its labelled events listed.
Your own trigger, in Python
When no built-in type fits, write the detector yourself. In the desktop app, Companion hands your trigger(data) function the samples a block at a time, at the full 2 MS/s, and it returns the times of the triggers, each with a label if you like. The labels show in the event list and its CSV.
Current, voltage, power and the math channel, as numpy arrays
Helpers that follow bursts across blocks, with each one's width, charge and energy
29 examples to start from, and Check, a dry run on the latest samples that points to the line with the error
Each line from the UART becomes a labelled marker on the plots; clicking a message shows that moment.
Trigger on a serial message
Your firmware already says when something goes wrong. Companion reads the device's UART alongside the measurement, marks every line on the plots at the moment it arrived, and can trigger on a line that matches. An error print, a watchdog reset or a boot banner becomes the trigger, and the power trace around it is caught with it.
Match plain text or a regular expression; matching lines turn red
Freeze the Scope on the message, or start a triggered capture from it
Desktop serial ports, or Web Serial in Chrome and Edge, with RTS and DTR to reset the target
Messages saved beside the log, so prints and power line up again later
A rising edge in Normal mode: the level set on the plot, each trigger added to the event list.
Every trigger, set by eye
Trigger on current, voltage, power or the math channel. Drag the level on the plot, or press Autoset and let the signal choose. Every trigger lands in an event list with its time and, for pulses, width, peak, mean and integral.
Types
EdgeWindowPulseTimeoutRuntRise / fall timeIntervalPython scriptSerial message
Modes
RollAutoNormalSingle
Hysteresis, holdoff and a moving-average filter against noise
Pulses by their width, charge, peak or mean: more than, less than or between limits
Up to 100,000 events, stepped through with N and exported as CSV
Measure and analyse
Analysis of a PWM motor's current: histogram, the spectrum with its harmonics, and the worst 1 ms window.
Charge, energy and battery life
Drag across a burst for its duration, mean, charge and energy. The meter gives statistics of the screen, the whole run or a selection, counts charge and energy, and turns the mean current into battery life.
Histogram, CDF / CCDF, Welch spectrum up to 262,144 points, and the worst window of a span
A math channel on every sample, such as V/I or integ(I)/3.6 for mAh, usable as a trigger source
Export a selection's samples as CSV, or the plots as PNG
Learning
Learn: the first steps of the BLE beacon showcase, then the Markers tutorial done for real.
Tutorials and showcases, built in
Companion comes with a demo device: a synthetic 2 MS/s source and a simulated board, so every feature works before the hardware arrives. Tutorials teach one feature at a time, each step a small task that ticks itself off when you do it. Showcases set the app up on realistic loads, step by step.
Showcases from a BLE beacon and a PWM motor to deep sleep, power-up inrush, a battery discharge and a brown-out reset
Tutorials from markers to triggered capture
The app stays usable while a card is open, so you follow along for real
More in the app
Recordings that reopen
REC writes every raw sample to disk. A recording opens as if it were streaming, so every marker, trigger and analysis tool works on it later.
Every peak kept
Each pixel of the plot draws the mean and the min–max band of the samples behind it, so a microsecond spike shows at any zoom. Gaps in the stream are marked, never hidden.
Room to work
Busy panels such as the trigger and the logger open in their own windows beside the live plots. Ctrl K finds any setting or action.
Desktop or browser
The same app runs on Windows, macOS and Linux, or in Chrome and Edge over WebUSB with nothing to install.
The board, from the app
Front-end power, a 12 V request to a USB-C charger, clock sync, self-tests, and firmware and gateware updates that fall back if a new image fails.
Saved setups
Save settings as named profiles, apply one at start-up, and share them as files, applying only the sections you want from a colleague's setup.
The hardware
The instrument
Nebulosa is a laboratory DC power profiler for the development of low-power hardware. A single capture records the complete power profile of a device, including deep-sleep leakage, radio transmissions and wake-up transients. Six automatically switched ranges cover nine decades of current. Current and voltage are sampled simultaneously at 2 MS/s and streamed to the host over USB 3.0. Ethernet, microSD logging and an integrated display are also provided.
The main screen on the unit: the time scale stepped with the button, Run and Hold, and the meter.
Its own screen, no computer needed
A 2-inch colour display and a single button run Nebulosa on their own. The graph draws the mean and the min–max band of every column on a log scale, so a 1.5 ms radio burst still reaches the top, with the average current, the peak and the active range above it.
Graph and meter views, Run and Hold, and the time scale from the button
A trigger and a battery-life estimate on the unit
Logging to the microSD card, which also opens as a USB drive
Network, clock and software updates from the menu, or driven from a computer
Nanoamp resolution
A dedicated 200 nA range with a 100 kΩ shunt resolves sleep currents in the low-nanoamp region.
Wide analogue bandwidth
An 8th-order Butterworth anti-alias filter on ±5 V rails preserves fast load steps at the full 2 MS/s sample rate.
Fewer range transitions
The six ranges are spaced by a factor of 25 rather than the conventional 10. This reduces range transitions by approximately 30% during a typical sleep-to-active wake-up.
Automatic or fixed ranges
Ranges switch automatically to follow the current, or can be locked to a single range for a fixed scale and no transitions at all.
FPGA-controlled analogue front end
Range switching and the analogue front end are driven directly by the FPGA, in hardware, so a range change never waits on software.
Tagged range changes
Each range transition is marked at the exact sample on which it occurs, so calibration is always applied to the correct samples.
Simultaneous current and voltage
Dedicated SAR ADCs share a single conversion edge, which eliminates skew between current and voltage. Power and energy are calculated from samples taken at the same instant.
Minimal conversion latency
SAR conversion avoids the group delay introduced by the decimation filters of delta-sigma converters.
Galvanic isolation
The analogue front end and ADCs operate on a galvanically isolated domain with a transformer-isolated supply and digital isolators. This breaks ground loops between the device under test and the host PC.
Fault-tolerant shunt ladder
The shunts are arranged as a series ladder. If the full 2 A briefly reaches the most sensitive range, the energy dissipated is approximately 90 times lower than in a standalone high-value shunt.
Precision shunts
Low-tempco shunts rated at 10–25 ppm/°C are used in place of thick-film parts to keep drift low.
High-speed host interface
The complete two-channel 2 MS/s stream is carried over USB 3.0 SuperSpeed, with USB 2.0 High-Speed as a fallback. 10/100 Ethernet is available for remote operation.
Standalone operation
An integrated 2-inch IPS colour display shows live readings, and captures can be logged to microSD without a PC.
Flexible power input
The unit runs from a 12–15 V DC barrel jack or USB-C, with automatic source switching.
RISC-V processor
A RISC-V processor runs the instrument’s firmware, from the display and controls to the host links.
Data integrity
The FPGA timestamps samples at the source, and each data block carries a sequence number and overflow flag. A dropped block appears as a visible gap in the capture, never as a silent time shift.
For developers
Build on Nebulosa
Nebulosa is open to your own code at every level. Talk to the instrument directly from five languages, run Companion on a machine of your own for the whole team, or drive Companion remotely from scripts and test systems.
Hardware libraries
Your program talks to the instrument itself, with no app in between.
For test rigs, production test and tools of your own
Self-hosted Companion
Companion runs on your own server or lab machine, and the team opens it in a browser.
For shared benches and long unattended runs
Remote control and API
Companion's captures, triggers and logging, started and read from your code.
For automated tests and CI
Libraries
Talk to the hardware directly
The libraries connect to Nebulosa over USB or Ethernet and give your program the instrument itself: set it up, stream current and voltage at the full 2 MS/s, and read every sample with its range tag and timestamp. They use the same API as Companion, so anything the app does with the hardware, your code can do too.
C
C++
Rust
Odin
Python
Configure ranges, sample rate and front-end power from code
Stream every sample, with sequence numbers so a dropped block is always visible
Run without Companion, on a headless machine or inside your own application
Run Companion on a machine next to the instrument and open it from any browser on your network. The measurement keeps running on the server, so an overnight log carries on when your laptop goes home, and colleagues can look at the same capture from their own desks.
Runs on your own hardware, with no cloud account and no data leaving your network
Instruments on a remote bench, reached through the server that sits beside them
The same Companion as on the desktop: Scope, Logger, triggers and analysis
NebulosaOn the bench, beside the device under test
USB or EthernetCompanion, self-hostedOn a lab machine or server you own
Your networkThe team’s browsersAnyone on the network, nothing to install
Remote control
Drive Companion from your code
Companion can be controlled remotely through its API. A script or test system starts a run, arms a trigger, waits for the capture and reads back the results, while Companion does the triggering, logging and analysis it already does on screen. A firmware test in CI can measure the sleep current of every build and fail when it creeps up.
Control
Start and stopScopeLoggerTriggersTriggered captureRecordingsProfiles
Read
MeasurementsEventsCharge and energyExported files
Works with a desktop or a self-hosted Companion
Load a saved profile, so every run in a test starts from the same setup
Power regressions caught in CI, with the capture kept for whoever looks next
Progress
Roadmap
Nebulosa is built in stages, each board designed, produced and tested on its own before the next. This is where each part stands today.
Hardware
Digital back end
Designed, produced and tested.
Tested
Isolated supply and low-noise analogue domains
Designed and tested.
Tested
Analogue front end, stage 1
Designed and tested; improvements and further iterations under way.
Iterating
Analogue front end, stages 2 and 3
Designed and produced, not yet tested.
Built
ADC board
Designed and currently being tested.
Testing
Software
API
The first version is complete.
Version 1
Nebulosa Companion
Version 1 in development, and already usable.
Usable
Debugger app and command line
In development and already usable.
Usable
Done or tested
Testing or iterating
Built, awaiting test
In development, usable
Applications
Sleep current, wake-up energy and battery-life estimation for IoT and battery-powered devices
Power profiling of BLE, LoRa, Wi-Fi and cellular radios
Intermittent faults such as resets, brown-outs and glitches, caught with the moments before them
Firmware power optimisation, regression testing and long unattended runs logged to disk
Firmware logs read against power, to see what each state of the code costs
Standalone field logging to microSD
Characterisation of energy-harvesting systems and ultra-low-power microcontrollers
At a glance
Current
1 nA to 2 A, six automatically switched ranges
Sampling
2 MS/s, current and voltage simultaneous; decimation 1 to 256
Links
USB 3.0 SuperSpeed, USB 2.0, 10/100 Ethernet
Time base
1 µs to 1 min per division
Triggered capture
Up to 27 h before the trigger; after it, a set time or until stopped
File formats
CSV, text, JSON Lines, HDF5, .nblog, .nbrec
Software
Windows, macOS, Linux; Chrome and Edge
Nebulosa Companion ships with Nebulosa. Documentation: Nebulosa Companion user manual (UM-0003), On-Board Interface user manual (UM-0002).
Instrix Matrix
Open standard for subrack instrumentation
Instruments as plug-in modules in a shared 3U subrack, from the bench to the test rack.
Coming soon
Overview
Electronics benches and automated test racks are both built from separate instruments, each with its own power supply, enclosure, display and host interface, and each unaware of the others. Matrix moves that shared infrastructure into a standard 3U subrack. Instruments become plug-in modules that share power, timing and communication, connected to the backplane through Eurocard connectors, with Ethernet as the basis for communication.
Every module is a network device that any computer reaches without a driver, and the same subrack sits on a bench or mounts in a 19-inch test rack. The standard is open: anyone can build Matrix modules.
Most of an instrument is infrastructure. The measurement is a small part of the box.
A network in the rack
Modular systems such as NIM and PXI already share power and mechanics in a rack. PXI comes closest, but it is built around a computer bus: every system needs a controller, every module needs a driver, and every backplane needs PCI Express design. Matrix keeps the shared rack and puts a network in it instead.
Shared infrastructure
Power, enclosure and host connection are built once, in the subrack, not in every instrument.
No drivers
Each module is an Ethernet device, reached with the network stack every computer already has, from any language that can open a socket.
Instruments that work together
A 10 MHz reference and a trigger line on the backplane let modules measure together without cables. IEEE 1588 extends time across subracks.
Standard, available parts
19-inch subracks, 3U Eurocard boards and DIN 41612 connectors from many makers, with commodity Ethernet parts. A small company or a single engineer can build for it.
From the bench to the test rack
The instruments that characterised a design on the bench test it in production, with the same commands and the same scripts.
Open
A published specification that anyone can implement, without joining a consortium or paying a licence fee.
PXI puts a computer bus in the rack. Matrix puts a network in it.
The subrack
Matrix defines no new mechanics. A subrack is a standard 3U unit of the 19-inch series, 84 HP wide, with one management module and up to seven instrument modules. Each module is only as wide as its function needs.
A subrack with modules of different widths, to scale. The 14 HP and 21 HP modules each use one connector and cover the slots beside them.
The Matrix subrack at a glance
Subrack
19-inch series, 3U high, 84 HP usable
Slots
One 14 HP management slot and seven module slots at a 10 HP pitch
Module widths
10, 12, 14, 21, 28 or 42 HP
Boards
3U Eurocard, 100 × 160 mm, in 167 mm deep plug-in units
Connector
Eurocard, IEC 60603-2 (DIN 41612), 32 contacts in two rows
Power
+24 V, up to 4 A (96 W) per module; each module makes its own rails
Network
Ethernet to every slot, 10/100 Mbit/s or up to 1 Gbit/s, switched on the backplane
Timing
10 MHz LVDS reference to every slot, a shared trigger line, and IEEE 1588 between subracks
A simple backplane, a capable management module
The backplane
Copper, connectors, one switch chip and one clock buffer. It does three things and nothing else, so it fits any subrack and is the cheapest part of the system.
Routes power and signals between the slots
Switches Ethernet between the modules and the uplink, one port per slot
Buffers the 10 MHz reference to every slot, with matched lengths
The management module
Everything active, configurable or likely to change. A better oscillator or a faster uplink is a different management module, not a different backplane.
Power from AC mains or a DC input, supplied as +24 V
The uplink to the host or the lab network
The reference, from a TCXO, an OCXO or GPS, with optional reference and trigger inputs and outputs
How Matrix compares
Standalone and LXI
NIM
PXI
Matrix
Shared power and enclosure
No
Yes
Yes
Yes
Clock and triggers
Cables, or IEEE 1588
Front-panel cables
Backplane
Backplane
Communication
Ethernet, USB or GPIB per instrument
Not defined
PCI or PCI Express to a controller
Ethernet to every module
Host software
Per instrument
Not defined
A driver per module
The network stack every computer has
Built for
The bench and the rack
Physics laboratories
Automated test
The bench and the rack
PXI remains the better choice where many modules stream into one PC at the highest rates. Matrix is for systems of networked instruments, controlled by one or several computers.
An open standard
The specification is published, and anyone can design, build and sell conforming modules, backplanes and management modules without a licence fee or permission. Modules themselves do not need to be open source: their circuits, firmware and software can stay closed.
Specification
CC BY-SA 4.0. A modified or extended specification is published under the same licence.
Reference hardware
CERN-OHL-W 2.0. Changes to a reference design are shared; a maker's own circuitry stays private.
Software and tools
MPL-2.0. Modified files are published when distributed; the rest of a program can stay closed.
Free, self-declared conformance. A maker checks a product against the published checklist, runs the open test suite and publishes a declaration. No paid certification.
Governed in public. Instrix is the steward, with maintainers for each area. Every change is a Matrix Change Proposal, reviewed in public before it is decided.
One name. Instrix holds the Matrix name and logos so they mean the same thing for every maker. Anyone may use them for products that conform.
Status
Matrix is at draft version 0.1. The white paper sets out the approach and a first proposal for the connector, power, network, timing and protocols; the specification is being written. Versions before 1.0 may still change, and products can claim conformance from version 1.0, the first stable release.
Meet the team
Afonso Muralha
Afonso is an electronics engineer based in Lisbon. He holds an MSc in Electronics Engineering from Instituto Superior Técnico, where his thesis covered FPGA-based radio communications for CubeSats. His work spans mixed-signal hardware design, FPGA development and embedded software. As a researcher with the IST Nanosatlab, he led the electronics work on ISTSAT-1, from the ground support equipment to the qualification and launch campaigns. The satellite launched on the maiden flight of Ariane 6.
Outside of work he designs open-source hardware, including FPGA development boards and electronic badges. He is a licensed radio amateur with an interest in satellite tracking, and also enjoys astrophotography, birdwatching, 3D printing and self-hosting. He studies music theory and plays jazz piano.