Research
Event-Time Hybrid Optimal Control for Robotic Table Tennis Serves
A legal table tennis serve is harder than a rally stroke because the ball must first bounce on the server's own side of the table, then clear the net, then land on the opponent's side — three…

- arXiv
- 2608.08157 · Preprint · not peer-reviewed
- Published
- 2026-08-08
- Authors
- Thomas Gossard, Till Köpff, Andreas Ziegler
In plain words
A legal table tennis serve is harder than a rally stroke because the ball must first bounce on the server's own side of the table, then clear the net, then land on the opponent's side — three distinct phases separated by a discontinuous impact. The robot also has to generate nearly all the ball's speed and spin itself, pushing joint velocities and torques close to hardware limits.
AI summary
Overview
Research area: Robotics — optimal control for robotic table tennis, specifically hybrid (event-driven) trajectory optimization and kinodynamic motion planning on a standard industrial manipulator.
Technical level: Advanced. The paper assumes familiarity with optimal control problems (OCPs), multiple shooting, single shooting, SQP/RTI, nonlinear programming solvers, and rigid-body dynamics algorithms (RNEA, ABA).
Scope (one sentence): The paper formulates robotic table tennis serves as an event-time hybrid optimal control problem that optimizes bounce, net-crossing, and landing times directly, then converts the resulting racket impact parameters into a torque-limited robot motion and validates the pipeline numerically and on a KUKA Agilus.
What This Paper Is About
A legal table tennis serve is harder than a rally stroke because the ball must first bounce on the server's own side of the table, then clear the net, then land on the opponent's side — three distinct phases separated by a discontinuous impact. The robot also has to generate nearly all the ball's speed and spin itself, pushing joint velocities and torques close to hardware limits. The authors ask whether they can compute a serve trajectory that is simultaneously physically valid (correct bounce, net clearance, landing spot, desired spin) and dynamically feasible for a standard industrial arm, and do so fast enough to be practical.
Key Contributions
- Event-time hybrid OCP for serves. The first-bounce time, net-crossing time, and landing time are introduced as explicit optimization variables, so the bounce and net constraints land exactly on phase boundaries. This removes event detection and root localization from the inner optimization loop while still enforcing serve validity.
- Coupling to a hard-constrained kinodynamic planner. The racket impact velocity/orientation from the ball-level problem become terminal targets of a second OCP that enforces joint-position, velocity, and torque limits as hard constraints, using a tangent-plane formulation for robust racket-orientation alignment.
- Numerical and hardware validation. The event-time formulation is benchmarked against a fixed-step formulation with root localization, and the full pipeline is demonstrated on a KUKA Agilus producing placed topspin, backspin, and sidespin serves.
- Experimental table restitution identification. The ball–table coefficient of restitution (COR) is measured as a function of normal impact velocity and fitted with a smooth sigmoid-blended model (constant at low velocity, linear decrease at higher velocity) suitable for gradient-based optimization.
Main Findings
- Solve time: The event-time formulation with four nodes per phase reduced median solve time by a factor of 4.1× relative to the fixed-step-with-root-localization baseline (median 0.074 s vs 0.306 s for a 0.1 s fixed step), while maintaining comparable landing accuracy, spin accuracy, and serve validity.
- Accuracy is not sacrificed: At four nodes, event-time single shooting reached a 99.8% solver-convergence rate and 99.8% valid-serve rate, with median landing error 1.48 mm and median spin error 4.34 rps — comparable to the baseline's 1.54 mm and 4.34 rps.
- Transcription trade-off: Event-time multiple shooting needed fewer SQP iterations and was faster at coarse discretizations (e.g., 0.040 s at two nodes vs 0.071 s for single shooting), but its per-iteration cost grew rapidly with node count and it was slower at eight nodes (0.258 s vs 0.089 s), with lower accuracy at very low node counts.
- Integration choice: With 10,000 sampled initial conditions (ball velocities 2–20 m/s, spin 0–150 rps), RK4 kept sub-centimeter mean trajectory error even at step sizes up to 0.2 s relative to a DOP853 reference, justifying its use across the varying integration intervals.
- Warm-started ball-level adaptation: Warm-starting the four-node single-shooting problem from the nominal solution, under 100 hit-position perturbations of 3 cm standard deviation per axis, converged in 29.4 ± 4.0 ms on average.
- Orientation constraint matters: Over 200 cold-start serve-derived racket targets, the hard tangent-plane formulation converged 95.0% of the time (acceleration control, RK4) versus 25.0% for a hard dot-product equality and 100.0% for a soft cost — but the soft cost only achieved a valid serve 84.0% of the time, with a P95 position residual of 100.36 mm.
- Control/integration ablation: Torque control with RK4 and tangent-plane constraints converged 96.5% of the time at a median 0.883 s; acceleration control with RK4 and tangent planes took 0.455 s at 95.0%. RK4 had better worst-case runtime than explicit or semi-implicit Euler.
- Full replanning vs RTI: Warm-started full replanning with IPOPT took 270.8 ± 43.2 ms. One real-time-iteration (RTI) step took 25.6 ms (a 10.6× speedup) but left a median racket-position residual of 50.55 mm; two RTI steps took 52.14 ms and cut that residual to 3.59 mm, with negligible joint-, velocity-, and torque-limit violations.
- Hardware results: On a KUKA Agilus KR6 R900, the pipeline produced controlled placement and topspin, backspin, and sidespin serves with a mean landing error of 13.1 ± 7.3 cm and spin rates up to 30 rps. The provided content does not report per-serve success counts on the real robot.
Methodology in Plain English
The work splits the problem in two.
Stage one — decide how to hit the ball. The authors model the ball's flight with drag, the Magnus (spin-induced) force, and gravity, plus a friction-based table-bounce model whose restitution is measured experimentally rather than assumed constant. They then set up an optimization over the racket's velocity and orientation at impact and over three times: when the ball hits the server's side, when it crosses the net plane, and when it lands. Because those times are decision variables, the bounce and net conditions can be written as ordinary equality and inequality constraints at the boundaries between smooth flight segments — the bounce is applied as a reset map that instantly maps pre-impact to post-impact state. No root-finding inside the loop.
Stage two — make the robot actually do it. The racket position, velocity, and surface normal from stage one become terminal targets of a second optimization over the arm's joint trajectory, discretized with multiple shooting. Joint limits, joint-velocity limits, and torque limits are hard constraints; the arm's dynamics come from standard rigid-body algorithms. To avoid a badly conditioned orientation constraint (a squared normal error has zero first-order sensitivity at the solution), they constrain the racket normal to be perpendicular to two tangent vectors spanning the plane orthogonal to the desired normal, which keeps the constraint Jacobian well behaved.
Evaluation. They compare transcriptions and integration schemes on hundreds of simulated serve targets, run ablations over orientation-constraint formulations and control types, test warm-started and RTI-based online updates, and finally run the whole pipeline on a real arm with a solenoid ball launcher and a vision system that estimates the toss apex, which defines the impact point.
Why This Matters
The paper shows that a known event sequence is a resource, not an obstacle: parameterizing event times directly turns a hybrid, nonsmooth problem into a stack of smooth phases that gradient-based solvers handle efficiently. It also demonstrates that physically faithful ball models (velocity-dependent restitution, nonlinear aerodynamics, nonlinear rubber contact) can be embedded in an optimization loop without making it intractable, and that industrial arms with hard torque limits — where exceeding a limit triggers an emergency stop — can be pushed near their kinodynamic envelope safely.
Real-world applications:
- Sports robotics and training partners: generating realistic, spin-varied serves for human practice, including controlled placement drills.
- Industrial manipulator deployment: the hard-constraint, torque-limit-aware planning approach transfers to fast pick-and-place or throwing tasks on standard arms where violating limits is costly.
- Hybrid/nonsmooth trajectory optimization: the event-time transcription applies to any task with a known contact sequence — bouncing, dribbling, intermittent manipulation.
- Real-time replanning under uncertainty: the RTI warm-start results are relevant wherever a plan must be revised in tens of milliseconds after a new sensor estimate.
Industry relevance: The use of off-the-shelf industrial hardware (KUKA Agilus), open toolchains (CasADi, IPOPT, Acados, Pinocchio, JAX), and per-millisecond update budgets maps directly onto industrial requirements for reliability, limit compliance, and fast online adaptation.
Future Directions
- Closing the simulation-to-hardware gap. Real-robot landing error (13.1 ± 7.3 cm) is far larger than the simulated racket-target residuals (millimeter-scale), so the sources of that gap — launcher variability, apex estimation, unmodeled contact — need to be isolated.
- Using the fast update path on hardware. The RTI results (25.6 ms for one step, 52.14 ms for two) were evaluated as a numerical study; integrating them into the live serve loop to react to updated ball-state estimates is a natural next step.
- Extending beyond the serve. The mode-scheduled event-time formulation assumes a known event sequence; adapting it to rally strokes, where the incoming ball's state is uncertain and the sequence can change, remains open.
- Racket–ball contact fidelity. The paper notes that linear velocity-dependent coefficient models approximate inverted rubbers; whether richer contact models (such as the residual-network approaches it cites) can be added without losing the reported computational gains is an open question.
- The provided content is truncated before the paper's concluding section, so any author-stated limitations or future work beyond the above are not reported here.
Target Audience
Robotics researchers and graduate students working on trajectory optimization, hybrid/contact-rich control, or manipulation under hard dynamic limits; engineers applying optimal control to industrial arms; and table tennis robotics groups interested in spin-controlled serve generation and event-time transcriptions. Readers without a background in nonlinear programming and rigid-body dynamics will find the method sections demanding, though the problem framing and hardware results are accessible.
Authors’ abstract
Robotic table tennis serves require high ball velocity and spin while respecting the robot's kinodynamic limits. Unlike rally strokes, a valid serve must also bounce on the server's side and clear the net, yielding a hybrid system with nonlinear flight and impact dynamics. We formulate spin-controlled serve generation as an event-time \ac{OCP} that optimizes the racket impact velocity and orientation together with the bounce, net-crossing, and landing times, enabling direct…
The full abstract on arXivRelated papers
- Tri-Space Operational Control of Redundant Multilink and Hybrid Cable-Driven Parallel Robots Using an Iterative-Learning based Reactive Approach 2026-07-31 · cs.RO · Key terms of the title in common
- Multi-modal Interactive Control of Robotic Arm based on Offline Large Language Models 2026-08-08 · cs.RO · Key terms of the title in common
- When Coordination Becomes a Threat: Communication Attacks in LLM-Controlled Multi-Robot Systems 2026-08-07 · cs.RO · Key terms of the title in common
- Hijacking Robots with a Piece of Paper: A Systematic Study of Physical Prompt Injection in VLM-Controlled Robots 2026-08-06 · cs.RO · Key terms of the title in common
- Nonlinear Model Predictive Control of a Robotic Soft Esophagus 2026-08-10 · cs.RO · Key terms of the title in common