Skip to main content
FW version: Stable

Pedal Assist System

Lynx features an advanced pedal assist system that processes both cadence and torque inputs.

warning

LYNX 5.x.x introduces a completely reworked PAS system. Old parameters are not compatible - new parameters must be configured for desired behavior.

Signal processing flow:

  • Cadence input: Digital pulses normalized by Tachopas block → cadence [RPS]
  • Torque input: Normalized by ASC block → sig_torque [0-1]
  • Combined signals processed and multiplied by paslvl
  • Final shaping in cscpas block → sig_pas [0-1]
  • Output mapped to driver current mode

pas.jpg

Setup Guide

  1. Begin by setting paslvl to 1.0 for full power
  2. Configure IN_cadence and IN_torque input pins (Input mapping guide)
  3. Configure tachopas block - set ppr to match the cadence sensor magnet count
  4. Adjust asctorque block to achieve full scale at maximum pedal force
  5. Configure cscpas block for desired response:
    • ldz (low deadzone) for assist timing
    • lpf for signal smoothing
  6. Fine-tune paslvl according to power map for desired torque output
info

For cadence-only configurations, leave IN_torque at 0 (bypasses asctorque, sig_torque remains at 1)

Variables

info

Variables are located in the /pas folder. Missing folder indicates no PAS support (See FW modifications)

ParameterDescription
pasopts1 - Enables reverse pedaling brake
asctorqueASC block for torque processing
tachopasTachopas block for cadence input processing
cscpasCSC block for PAS signal shaping
State variableDescription
paslvlCurrent PAS level multiplier (map dependent)

Mode Integration

  • System prioritizes the highest value between PAS and accelerator
  • PAS automatically disables during reverse (sig_acc negative)
  • Brake and seatswitch inputs override PAS