Master's thesis · FAU Erlangen-Nürnberg and Fraunhofer IIS · 2026

Learning contactfrom motor current

Can weak, uncalibrated motor-current signals already available on a low-cost robot provide a useful learned contact representation for contact-rich visuomotor imitation learning?

Jaydeepkumar RanpariyaSO-101 · ST3215Peg-in-hole · 0.35 mmACT · Diffusion Policy

In imitation learning, a person demonstrates a task and a policy learns the relationship between what it observes in the environment and how it should act. The promise of learning from demonstrations is easiest to realise when the task can be inferred from geometry. In free space, a camera shows the location of objects and joint positions show the position of the arm in space. Contact-rich manipulation is harder because the decisive state may be physical and not purely geometric. A gripper can close without securing an object, an object can slip midway, a peg can reach a hole while pressing against its rim, and two nearly identical camera images can precede either a smooth insertion or a jam. In each case, the robot must respond to an interaction that is only partly visible.

Leader-follower demonstration. The passive leader was moved by hand while the follower tracked the six leader joint targets at a configured rate of 30 Hz.
6ST3215 current registers
100vertical peg-in-hole demonstrations
4principal closed-loop comparisons
30trials per policy in each principal comparison

Visual occlusion

This loss of direct visual evidence near contact is a central observability problem in contact-rich imitation learning.

  1. 1

    Images and joint positions provide strong information about appearance, configuration, and motion, but they do not directly measure interaction effort.

  2. 2

    Contact-aware policies augment vision and kinematics with tactile, force, or torque measurements, but these usually require additional hardware, calibration, or a robot that already provides reliable torque estimates.

  3. 3

    The Waveshare ST3215 control table specifies a read-only motor-current register. Reading an existing current register requires no additional sensing hardware.

  4. 4

    Its interpretation is difficult because motor-side current is affected by pose, motion, friction, and the high-ratio transmission, and it does not directly specify the direction or location of an external force.

These questions separate three claims that could otherwise be confused: the signal contains task-relevant information, a trained model uses that information, and its use improves closed-loop behaviour.

Question 1

Does motor current contain task-relevant information?

This requires the registers to be available at the policy rate and to exhibit repeatable variation under contact-relevant conditions beyond their quiet-state variation.

Question 2

Do trained policies respond to current?

This asks whether changing the current input while holding image and position fixed changes the actions predicted by a trained policy.

Question 3

Does adding current improve closed-loop task performance?

This compares policies with and without current during repeated physical peg-in-hole trials and examines modes of failure and performance.

Platform and task

The scope is one low-cost manipulator, one primary peg-in-hole task, one demonstration dataset, and the evaluated ACT and Diffusion Policy implementations.

The SO-101 follower arm with its wrist camera on a white table, with the black peg fixture in front of it
The SO-101 follower arm with the wrist camera, the peg, and the insertion fixture.
Platform
All principal comparisons use the same SO-101 follower arm, peg, insertion fixture, and 100-demonstration dataset.
Sensing
Motor current is treated as a policy observation and is not converted into an estimate of Cartesian force or joint torque. The robot is not augmented with tactile, acoustic, inertial, or force/torque sensors.
Task
Cylindrical peg-in-hole insertion with a peg diameter of 16.45 mm and a bore diameter of 16.8 mm. This gives a diametral clearance of 0.35 mm, or c/d = 0.021, at an entry without a chamfer.
Policies
Two representation strategies are examined in ACT: instantaneous current appended to joint position, and a causal current history with a learned joint-selective temporal encoder. A Diffusion Policy comparison examines current conditioning under a different action-generation and execution scheme.

Characterisation of the current signal

Before motor current can be added to a policy, it must first be shown to carry a repeatable and task-relevant signal.

Scripted gripper-current response
Maximum gripper current per close. The protocol contains four sequential blocks of 15 scripted closes: an empty-close block, two repeated blocks using the same marker pen, and a folded-towel block.
0 40 80 120 Peak gripper current (counts) Empty close Pen, first block d = 3.29 Pen, second block d = 3.42 Folded towel d = 13.06

Empty closes reach a maximum of 27.3 ± 0.9 counts. Closes in the first pen block, second pen block, and towel block reach 91.5 ± 27.6, 89.1 ± 25.5, and 96.1 ± 7.4 counts, respectively. The corresponding differences from the empty-close condition are d = 3.29, 3.42, and 13.06.

d = 3.29minimum across 15 scripted closes per condition
d = 1.69per-episode maximum, five object and five empty-gripper episodes of natural motion
55.3 Hzone complete sequential cycle takes approximately 18.1 ms
0.1 to 25.8shoulder-lift counts from a folded configuration to extended poses, without any external contact
Insertion-phase arm current
Median baseline-corrected excursion in counts across 30 video-checked insertion phases, compared with the preceding 0.5-s window
J2 shoulder liftexceeds 5 counts in 20 of the 30 episodes
Insertion
10.17
Preceding
0.33
J3 elbowexceeds 5 counts in 17 of the 30 episodes
Insertion
8.67
Preceding
0.67

The clearest recurring changes occur at the shoulder lift and elbow. The insertion statistic exceeds its paired preceding-window value in 25 of 30 episodes at J2 and 22 of 30 at J3.

Is motor current a usable policy input?

On this arm and task, motor current is suitable for evaluation as an additional policy input because the ST3215 register distinguishes contact-relevant conditions. At the same time, the signal is pose-dependent, zero-inflated in the training data, integer-quantised, and neither a calibrated force measurement nor a directional contact measurement.

Dataset

The policies must learn from the same demonstrations, images, joint positions, and action targets, while the additional current input is introduced through a reproducible transformation.

Phases of one demonstration
The policy must approach and grasp a peg, transport it to a tight opening, respond to possible rim interaction, seat it, and release it.
Median phase length across the episodes reviewed against video

Phase annotations are stored separately and are never used as policy inputs.

100demonstrations
99,831training frames
30 Hzconfigured rate
4collection sessions
6 + 6joint positions and current values
45 %of the current values are zero
Leader-follower collection

Demonstrations were recorded with the LeRobot leader-follower interface and two mechanically similar SO-101 arms. The primary dataset combines two 50-episode vertical-insertion batches recorded with the same task and schema.

Current distribution and capping

Across the six channels, 44.9% of the values are zero. The selected representation caps each joint independently at the 99.5th percentile of its training distribution. Closed-loop evaluation episodes are recorded separately and never contribute to the fitted caps, normalisers, or training views.

Multimodal policies

Using motor current as a policy observation requires a representation that preserves useful variation and combines it effectively with vision and joint position.

Comparison Vision and position Current aware
Raw direct ACTACT-VThe first comparison appends the six raw current values to the six joint positions.
Normalised direct ACTACT-VThe revised input clips each current channel at its training-set 99.5th percentile and then applies the saved normalisation transform.
Joint-selective temporal ACTACT-VThe joint-selective temporal policy represents current with six joint histories, a shared temporal convolution, and one token per joint.
Residual-conditioned Diffusion PolicyDP-VThe selected current-aware system uses joint-selective temporal encoding and bounded residual conditioning. DP-M freezes the copied base and trains the added current route.
Controlled contrasts

Every principal policy uses feature subsets of the same 100-demonstration vertical peg-in-hole dataset. The ACT pairs share the dataset, seed, model family, and rollout controller within each comparison. The final Diffusion pair also shares its starting checkpoint and additional training budget.

Protocol

The principal comparisons use interleaved blocks to expose both policies to similar conditions within a session. A 30-trial comparison contains five blocks, each with six trials per policy. The timeout is 45 s.

Evaluation

Binary task success is the primary endpoint. A trial succeeds when the peg is fully seated and flush with the fixture surface before the timeout. Every other outcome is a failure.

Policy
Outcome

The vision-and-position control.

ACT-VSuccess

Results

The strongest favourable task result is obtained with joint-selective temporal ACT. It succeeds in 12/30 trials against 7/30 for its contemporaneous vision-and-position control, a 71.4% relative improvement and a gain of 16.7 percentage points.

Principal closed-loop comparisons, with 30 trials per policy in each row

Success proportions with Wilson 95% intervals and successful-trial counts.

0 10 20 30 40 50 60 70 80 90 Successful trials (per cent) Raw direct ACT 19/30 8/30 Normalised direct ACT 17/30 15/30 Joint-selective temporal ACT 7/30 12/30 Residual-conditioned Diffusion Policy 9/30 12/30

The Newcombe–Wilson 95% interval spans −6.7 to +37.8 percentage points and Fisher's exact test gives p = 0.267. The observed result favours the current-aware policy, while the interval leaves superiority unresolved.

Data table
ComparisonWithout currentSuccessesWith currentSuccessesRelative changeTest
Raw direct ACT ACT-V 19/30 (63.3%)
[45.5, 78.1]
Direct ACT-M 8/30 (26.7%)
[14.2, 44.4]
−57.9%Fisher p = 0.0089
Normalised direct ACT ACT-V 17/30 (56.7%)
[39.2, 72.6]
ACT-M-norm 15/30 (50.0%)
[33.2, 66.8]
−11.8%Fisher p = 0.796
Joint-selective temporal ACT ACT-V 7/30 (23.3%)
[11.8, 40.9]
Joint-selective ACT-M 12/30 (40.0%)
[24.6, 57.7]
+71.4%Fisher p = 0.267
Residual-conditioned Diffusion Policy DP-V 9/30 (30.0%)
[16.7, 47.9]
DP-M 12/30 (40.0%)
[24.6, 57.7]
+33.3%Fisher p = 0.589
Difference in success proportions

Current-aware minus baseline differences with Newcombe–Wilson 95% intervals. The shaded band marks absolute differences within ten percentage points of zero. Relative change is 100(pM/pV − 1).

-60 -40 -20 0 +20 +40 favours vision and position favours current aware Percentage points Raw direct ACT -36.7 pp · −57.9% Normalised direct ACT -6.7 pp · −11.8% Joint-selective temporal ACT +16.7 pp · +71.4% Residual-conditioned Diffusion Policy +10.0 pp · +33.3%

The raw ACT contrast is the only principal comparison whose difference interval excludes zero, in the adverse direction, although its fixed within-block order limits attribution to current.

The favourable temporal ACT result is of practically relevant observed size, although its difference interval includes zero and does not establish superiority. Since visual-baseline success varies across sessions, it does not establish a controlled ranking of the current representations.

Modality-use analysis

The mean-imputation diagnostic evaluates each current-aware checkpoint twice on the same observation. One pass uses the recorded current, while the other replaces current with its training-set mean. Images and joint positions remain unchanged.

Mean relative action change under each intervention
A nonzero relative action change shows that the checkpoint responds to current under this intervention.
Normalised direct ACT-M · 510 phase-stratified demonstration frames
Current replaced by its training-set mean
0.0795
Joint position replaced by its training mean
0.403
Image set to zero
0.445
Joint-selective temporal ACT-M · 510 phase-stratified demonstration frames
Current replaced by its training-set mean
0.0729
Joint position replaced by its training mean
0.573
Image set to zero
0.435
Residual-conditioned DP-M · 150 phase-stratified demonstration frames
Current replaced by its training-set mean
0.00649
Joint position replaced by its training mean
0.681
Image set to zero
0.113

These interventions are not physically equivalent and do not rank the intrinsic value of the modalities. The current encoders and input-history lengths differ, so these magnitudes do not rank representations by task-relevant reliance on current.

What the diagnostic establishes

The diagnostic establishes that current reaches the action output in the three principal current-aware checkpoints tested here. It does not show whether the induced action change is useful. That question requires the closed-loop comparisons.

Conclusion

Existing motor-current readings on the evaluated SO-101 contain contact-related information and can influence learned action predictions. The favourable temporal ACT observation supports further investigation of the current-aware setting, while its uncertainty leaves superiority unresolved.

First question

Does motor current contain task-relevant information?

Controlled gripper closes distinguish contact with an object from an empty close, while insertion recordings reveal task-aligned changes across several arm joints.

Second question

Do trained policies respond to current?

Replacing current with its training mean changes the action predictions of the three retained current-aware checkpoints while the other observations are held fixed.

Third question

Does adding current improve closed-loop task performance?

Joint-selective temporal ACT succeeds in 12/30 trials against 7/30 for its contemporaneous vision-and-position control, although its 95% interval leaves superiority unresolved. Direct current concatenation produces lower observed success in both the raw and normalised ACT comparisons. The Diffusion Policy comparison also favours the current-aware design.

Contribution

Three levels of evidence

The original question is answered at three distinct levels: contact-related information is present, selected policies respond to it, and the task evidence identifies promising settings whose benefits require confirmation.

Scope

The findings describe one SO-101, one peg-in-hole task and one demonstration dataset, with one training seed per condition and one operator. Transfer to other tasks, robots and training runs remains outside the scope of these results.

Future work
  • Asynchronous multimodal learning could make use of a more detailed current stream, for example at around 100 Hz, alongside slower visual observations.
  • A broader direction is to develop policies that coordinate visual planning with responsive effort-based feedback throughout execution.
  • Research across different manipulation tasks, geometries and actuator designs could examine which interaction patterns transfer and how much new demonstration data is needed.

Citation

@mastersthesis{ranpariya2026contact,
  author = {Jaydeepkumar Ranpariya},
  title  = {Learning Contact Representations from Zero-Cost
            Proprioceptive Effort Signals for Contact-Rich
            Visuomotor Imitation Learning},
  school = {Friedrich-Alexander-Universit{\"a}t Erlangen-N{\"u}rnberg},
  year   = {2026},
  note   = {In cooperation with Fraunhofer IIS},
  url    = {https://contact-from-current.pages.dev/}
}