Roadmap: torque-sensor pedal assist (eRider bottom-bracket bench) #3

Open
opened 2026-11-03 03:23:46 +00:00 by Steve · 0 comments
Owner

The firmware's pedal assist (PAS) has gained torque-sensor support and assist modes from the Grin Cycle Analyst manuals. All of it has host-side tests; none of it has run on a real crank yet. This tracks testing it with an eRider GTL-T17-73 torque bottom bracket, then on a bike.

Done (firmware, built from source; not in a release yet)

  • Analog torque sensors on a configurable ADC channel: zero point, scale in Nm/V, full scale, deadband, and a saturation flag. pas_torque reads the sensor and measures its zero.
  • Bipolar torque sensors (left and right pedal measured separately, e.g. Thun).
  • Sensor presets: pas_preset erider (18 pulses per revolution, 68.03 Nm/V, 102 Nm full scale) and pas_preset cyc, which combine with the pedelec limit preset.
  • Proportional Power control: assist as a multiple of rider power (torque × cadence), with torque averaged over pedal strokes, a cadence floor for pulling away, and open or closed loop power control.
  • Limits: road speed taper, power cap, a brake input that cuts assist at once, and a hard stop when the cranks stop.
  • Walk assist, throttle mixing (highest wins, or throttle priority as a Cycle Analyst does), and a minimum rider power before assist starts.
  • A pedal sensor can be wired to another node on the bus and fed in by a script (app-pas-override), with a 0.2 s keepalive that reads as cranks stopped and brake applied when it lapses.
  • PAS telemetry (cadence, torque, rider and assist power, flags) logged and plotted in ESCargot Tool.

Next

  • Wire the eRider to the bench and measure its zero; the datasheet tolerance is wider than the default deadband.
  • Check cadence at 18 pulses per revolution, and torque against a known load.
  • Wheel off the ground: each control type, the brake cut, the speed taper and walk assist.
  • Then on a bike, logging torque, cadence and assist power.

Progress updates will be posted here.

The firmware's pedal assist (PAS) has gained torque-sensor support and assist modes from the Grin Cycle Analyst manuals. All of it has host-side tests; none of it has run on a real crank yet. This tracks testing it with an eRider GTL-T17-73 torque bottom bracket, then on a bike. ## Done (firmware, built from source; not in a release yet) - [x] Analog torque sensors on a configurable ADC channel: zero point, scale in Nm/V, full scale, deadband, and a saturation flag. `pas_torque` reads the sensor and measures its zero. - [x] Bipolar torque sensors (left and right pedal measured separately, e.g. Thun). - [x] Sensor presets: `pas_preset erider` (18 pulses per revolution, 68.03 Nm/V, 102 Nm full scale) and `pas_preset cyc`, which combine with the `pedelec` limit preset. - [x] Proportional Power control: assist as a multiple of rider power (torque × cadence), with torque averaged over pedal strokes, a cadence floor for pulling away, and open or closed loop power control. - [x] Limits: road speed taper, power cap, a brake input that cuts assist at once, and a hard stop when the cranks stop. - [x] Walk assist, throttle mixing (highest wins, or throttle priority as a Cycle Analyst does), and a minimum rider power before assist starts. - [x] A pedal sensor can be wired to another node on the bus and fed in by a script (`app-pas-override`), with a 0.2 s keepalive that reads as cranks stopped and brake applied when it lapses. - [x] PAS telemetry (cadence, torque, rider and assist power, flags) logged and plotted in ESCargot Tool. ## Next - [ ] Wire the eRider to the bench and measure its zero; the datasheet tolerance is wider than the default deadband. - [ ] Check cadence at 18 pulses per revolution, and torque against a known load. - [ ] Wheel off the ground: each control type, the brake cut, the speed taper and walk assist. - [ ] Then on a bike, logging torque, cadence and assist power. Progress updates will be posted here.
Sign in to join this conversation.
No description provided.