Skip to content
learnFRC.org
programminglesson25 min

Bench Diagnostics & Signal Plotting

Real-time signal plotting in Tuner X, identifying electrical and mechanical failure shapes, checking current draw, and bench sign-off criteria.

What you will learn

  • Configure Tuner X real-time diagnostic plots for voltage, current, and velocity.
  • Diagnose mechanical binding, gear backlash, and electrical faults from waveform signatures.
  • Complete the formal bench sign-off checklist before advancing to software control.

Prerequisites:CAN Bus & Device Configuration

High-performance robotics teams do not evaluate mechanisms by eye or ear alone. Physical intuition can deceive: an arm that appears to move smoothly may actually be drawing 60A of stator current due to mechanical binding in a bent bushing.

This lesson teaches how to read Tuner X diagnostic plots, detect hidden faults, and complete the bench sign-off protocol.


In Phoenix Tuner X, open the Plot window and add the following four critical channels for the device under test:

  1. Target Position / Velocity: The commanded setpoint trajectory.
  2. Position / Velocity: The physical measurement from the encoder.
  3. Motor Voltage (VV): The electrical voltage applied to the motor coils (-12V to +12V).
  4. Stator Current (AA): The electrical current circulating through the motor windings, directly proportional to output torque.

Overlaying target and measured signals on a single graph reveals the tracking error (error = target - measured) directly in real time.


Nearly every closed-loop issue in FRC falls into one of three distinct graphical patterns on the plot:

  • What it looks like on plot: Target setpoint steps up; measured position immediately dives in the opposite direction or accelerates uncontrollably away from the target; motor voltage pins at maximum (±12V).
  • Diagnosis: Sensor phasing or motor inversion is backwards. The controller believes it is moving away from the setpoint, so it applies maximum corrective voltage in the wrong direction.
  • Immediate Action: Disable motor immediately. Re-check motor inversion and CANcoder sensor direction.
  • What it looks like on plot: Measured position hovers near the target, but motor voltage oscillates in a dense, high-frequency square wave (e.g. +6V to -6V dozens of times per second).
  • Diagnosis: Proportional gain (kPkP) is too high. The loop is stiffer than the physical mechanical backlash can tolerate.
  • Action: Reduce kPkP by 50% before adjusting derivative gain (kDkD).
  • What it looks like on plot: Mechanism moves toward setpoint, then stalls with a flat error line (e.g. 1.5 rotations below target). Motor voltage flatlines at a constant low value.
  • Diagnosis: Missing or low gravity feedforward (kGkG) or static friction feedforward (kSkS).
  • Action: Do not raise kPkP. Increase kGkG until the steady-state gap disappears.

Stator current generates mechanical torque and motor heat (P=I2RP = I^2 R). Monitoring stator current during bench testing reveals mechanical issues before gear teeth strip:

Mechanism StateHealthy Stator CurrentWarning ThresholdFault Condition
Arm Holding Horizontal10A to 25A> 40AInsufficient gear reduction; motor will overheat
Elevator Cruising Upward15A to 30A> 50ACarriage rails misaligned or binding
Flywheel at 5,000 RPM5A to 12A> 25ABearing seized or belt tension too high
Mechanism Stalled at HardstopLimited by config (40A)> 70AStator current limit disabled
Current Limit Verification

Before running any mechanism at full speed, confirm in Config -> Current Limits that StatorCurrentLimitEnable is set to true with a limit between 30A and 50A.


Before proceeding to Stage 2 (Java code foundations), every mechanism on your robot should pass this four-point inspection:

  • CAN Bus Health: Multimeter reads 60 Ω across CAN H/L; zero frame drops in Tuner X.
  • Sensor Phasing: Moving the mechanism in the positive direction increases the reported position value.
  • Feedforward Measured: Calibrated values for kSkS, kVkV, and kGkG recorded in team documentation.
  • Closed-Loop Stability: Step responses settle cleanly without audible buzzing or persistent steady-state error.

Once these four items are verified, the physical robot is ready to receive Java software.

Verified Sources & Standards

Evergreen Standard Verified: Sep 25, 2026