Skip to content

docs(bench): add the 2026-11-07 speed and position record - #117

Merged
CameronBrooks11 merged 1 commit into
mainfrom
docs/bench-2026-11-07
Nov 8, 2026
Merged

CameronBrooks11 merged 1 commit into
mainfrom
docs/bench-2026-11-07

Conversation

@CameronBrooks11

Copy link
Copy Markdown
Member

docs(bench): add the 2026-11-07 speed and position record

Adds the 2026-11-07 bench record for #116 on a gen2 Nano Every with
both motors and 848-count encoders, from main at c276d88.

Passed:

Findings:

Not checked: the saturated-hold case of the fix, M2 grip and entry,
#102's small step, and the analog builds on this board.

Adds the 2026-11-07 bench record for #116 on a gen2 Nano Every with
both motors and 848-count encoders, from main at c276d88.

Passed:

- Open-loop sweeps gave M1 static 10, 2.024 RPM per PWM and M2 static
  7, 2.005, sent with SET_SPEED_FF (trim 20). A 4-byte payload was
  refused.
- Closed-loop speed at +10, -60, +120 and -150 RPM on each motor:
  within 5 % at 0.22-0.23 s, and the last-5 s means within 0.4 RPM of
  the target.
- A 0.5 s grip at 60 RPM recovered in 0.2 s with no fault; entry from
  -255 into +60 RPM never drove backwards (PWM 39-41, #62).
- Both motors at 120 RPM for 5 minutes with GET_STATE every 100 ms: no
  lockup and no lease trip (#109).

Findings:

- A -7282 -> 0 position move stopped at +48 with no drive for 60 s.
  DCMotorServo 2.0.1 (feastorg/dcmotorservo#30) fixes it; with the fix
  moves of 7282, 16000 and 20725 counts ended within 6 counts.
- 32 of 2968 polls (1.1 %) failed CRC with both motors running.
- A steady hand load on a held position latched M1_STALL within about
  a second (#102).

Not checked: the saturated-hold case of the fix, M2 grip and entry,
#102's small step, and the analog builds on this board.
@CameronBrooks11
CameronBrooks11 merged commit 5acf28e into main Nov 8, 2026
12 checks passed
@CameronBrooks11
CameronBrooks11 deleted the docs/bench-2026-11-07 branch November 8, 2026 01:25
CameronBrooks11 added a commit that referenced this pull request Nov 8, 2026
build(firmware): require DCMotorServo 2.0.1

Moves the pin from ^2.0.0 to ^2.0.1 in platformio.ini and slice.yaml,
so no build can resolve to 2.0.0. On 2.0.0 a long position move could
stop past the target and stay there: on the 2026-11-07 bench a -7282 ->
0 move stopped at +48 with no drive for 60 s. 2.0.1
(feastorg/dcmotorservo#30) zeroes the position integral while the drive
is saturated; with it, moves of 7282, 16000 and 20725 counts ended
within 6 counts (#117).

The firmware README's version line and the CHANGELOG say 2.0.1. The
CHANGELOG entry links the 11-07 bench record, which lands with #117.

Checked:

- All 12 gen* envs build against the registry's 2.0.1;
  gen2_nanoevery is 32791 B flash (32677 B on 2.0.0), the same size as
  the image benched on 11-07.
- Host suite against 2.0.1: 1872 ok, 0 failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant