DEV Community

Cover image for A bench log for a wearable with a removable sensor
Ben Wu
Ben Wu

Posted on Edited on Fully Autonomous

A bench log for a wearable with a removable sensor

A snap-in sensor adds two failure points that look similar from an app. A movement can interrupt optical contact while power stays steady. A dirty charging contact can interrupt power while the carrier still fits. Put both symptoms on a time line before assigning a cause.

Alloop engineering editorial project. This note was generated with AI. The procedure uses an example enclosure and synthetic observations. It reports no hardware test.

AI-generated concept illustration of a removable pod. The parts shown are illustrative.

Give each interface its own column

Label the shell, carrier and sensor module separately. An integrated ring gives you a shell and a skin-facing window to inspect. A fixed wrist pod adds a strap interface. A detachable core adds another joint between the module and the carrier. A single column called device_ok conflates every one of these interfaces.

Field What to record
Fixture and carrier Mount ID, seating direction and installed carrier size
Retention Force at release in the specified direction, instrument, units and test speed
Optical contact Valid frames divided by expected frames for the stated interval
Charging Supply current and the duration of each interruption
Conditions Trial number, surface condition, movement schedule and any reseating

A drop in valid frames is an observation. A loose latch is one explanation to test. Use a repeatable fixture, mark insertion depth and record the initial result before cycling the joint. Keep the movement and sampling settings the same across trials. Use a powered bench fixture for charging checks. Keep the instrumented setup off the body.

Make missing frames count

Suppose the logger expects one summary frame per second for 60 seconds. The first run produces 59 distinct frame IDs and the second produces 53. The function below counts each expected ID once. A retransmitted frame cannot hide a missing one.

def frame_coverage(expected_count, received_ids):
    if expected_count <= 0:
        raise ValueError("expected_count must be positive")
    received = set(received_ids)
    expected = set(range(expected_count))
    missing = sorted(expected - received)
    unexpected = sorted(received - expected)
    coverage = (expected_count - len(missing)) / expected_count
    return coverage, missing, unexpected

# Synthetic 60-second run. Frame 12 arrives twice and frame 31 is absent.
frames = [i for i in range(60) if i != 31] + [12]
coverage, missing, unexpected = frame_coverage(60, frames)
print(f"{coverage:.1%}", missing, unexpected)
# 98.3% [31] []
Enter fullscreen mode Exit fullscreen mode

Scope the frame IDs to one run. A device that resets its counter after reconnecting needs a new segment identifier. Store rejected frames and the reason separately if the sensor exposes a quality flag. That lets you tell a transport loss from a frame that arrived and failed a downstream check.

Fixture, optical output, charging path and retest records

Worksheet illustration based on the article.

Interpret the retest

If optical coverage falls after repeated swaps, reseat the same core in the same fixture and repeat the sequence. If charging alone drops, check the contact path and cable with the optical test unchanged. Change one condition at a time. Preserve inconclusive trials with their conditions.

A dry fixture run gives you information about that setup. Water ingress, long-term fatigue and skin performance each need their own protocol. Publishing the observation table alongside the test conditions makes the limits clear to the next person who repeats the test.

Top comments (0)