A USB-powered bench sensor may work perfectly until a user removes its cable during a measurement. If the product includes a rechargeable battery or another local source, the power-path transition becomes part of measurement performance. If it has no backup source, the shutdown must still avoid presenting an incomplete result as valid. Define the expected disconnect behavior before treating USB power as an ideal rail.

Choose what should continue

Separate acquisition, local storage, the user display, and the USB connection. A sensor might continue recording locally after the host disappears, or it might stop at a defined sample boundary. Either policy can be reasonable, but firmware and power hardware must agree. A missing USB data link does not necessarily mean that input power has disappeared, and a weak cable can cause voltage problems while enumeration remains intact.

The BQ24074 documentation describes a charger with power-path management, illustrating the distinction between powering a system and charging a cell. Any design using this approach must still match the intended cell, source limits, and thermal conditions. A product-page charging current is not a guaranteed current available simultaneously to every load.

Observe the transition at the sensor

Measure the system rail, reference rail, sensor excitation, and a measurement-valid marker while unplugging and reconnecting the cable. Repeat while the display or radio is at its largest permitted load. The most important failure may be a plausible but biased sample rather than a visible processor reset. Tag or discard measurements taken during an experimentally established invalid interval.

Use the charger system-load separation guide when reviewing whether application current interferes with charge termination. For USB-C input implementations, the cold-start review helps verify operation from an initially unpowered board. These checks address different parts of the same user transition.

Define the reconnect policy

Condition Required decision
Host reconnects Resume an existing session or create a new session identifier.
Input source is weak Reduce optional load, defer charging, or report unavailable operation.
Local energy is exhausted Finish or abandon the current record using a documented rule.
Clock changes after connection Preserve ordering and identify the time correction.

Test the user action repeatedly

A single gentle unplug is not a complete trial. Include rapid reconnects, different cable resistance, a depleted permitted cell, and disconnects during record writes. Check the exported sample sequence for duplicates, gaps, and time reversal. Confirm that a partially transferred record cannot replace a complete record already stored on the host. Verify that the displayed charging state matches the measured source behavior. Retain the tested source and cable identity because they are part of the electrical setup. Related power and measurement checks in the technical resources can then be tied to a clear product requirement rather than a generic “USB works” result.

Move from reading to a build-ready project

Use the fabrication and assembly checklists to prepare drawings, production files and test requirements.

Open the DFM checklist