Manuscript Offprint
arXiv:2610.37199A Bi-level Co-design Framework for Lunar Monoped with 2D Jump and Landing Control
Sanjay Ramkumar Suraj Kumar
Abstract—Legged robots for lunar exploration must be designed for low gravity where reduced contact forces and long flight phases make the leg morphology and controller choice interdependent. We study this for a planar monoped in lunar gravity (1.625 m/s²) with a bi-level co-design framework: a differential evolution outer loop searches over link lengths, and each candidate is evaluated on a vertical jump by either a Quadratic program based task-space controller (QP-TSC) or a direct-collocation based trajectory optimization. The two controllers differ on the optimal link lengths: trajectory optimization outperforms the QP-TSC across most of the design space (by 17% in Cost of Transport (COT) at their respective optimums). We then extend to a 2D jump, where trajectory optimization with centroidal angular momentum regulation produces stable in-place and forward jumps, and an LQR controller absorbs impact and stabilizes the robot after touchdown, demonstrated on a baseline morphology (both links 0.3 m).
Index Terms—Legged robots, Co-Design, Trajectory Optimization, Task space Control.
I. INTRODUCTION
Legged robots are a candidate for exploring lunar terrain where wheeled rovers cannot reach, and in low gravity the most efficient gaits are those with long flight phases, as in hopping and pronking [1], [2]. This same property makes control harder. When flight phases are long relative to stance, attitude cannot be regulated through ground reaction forces alone, so angular momentum acquired at take-off must be handled during flight to avoid a crash landing [3].
The central question we try to answer is whether the optimal leg morphology of a lunar hopper depends on the controller used to evaluate it. We study it in a vertical (1D) jump of a planar monoped in lunar gravity. A bi-level framework searches over link lengths with differential evolution, and each candidate is evaluated by one of two inner controllers: a QP-TSC or a direct-collocation trajectory optimizer.
A vertical jump hides the problems that dominate in practice: pitch, horizontal motion, and landing. We therefore also develop a planar (2D) jump and landing controller. A trajectory optimization that regulates centroidal angular momentum produces in-place and forward jumps, and an LQR controller absorbs the impact and stabilizes the robot after touchdown in simulation. We characterize the landing's region of attraction empirically over touchdown conditions, since formal estimation for hybrid legged systems is difficult because of contact resets [4].
A. Low Gravity Legged and Hopping Robots
Hopping has long been proposed for planetary mobility because ballistic motion is energy efficient in reduced gravity. Recent legged platforms build on this. SpaceBok uses a reaction wheel and parallel springs for lunar gravity jumping [2]. SpaceHopper and Olympus use learned policies for in-flight reorientation [5], [6]. Closest to our planar setting, Hari et al. simulate a bipedal hopper with a torso reaction wheel and a PID flight controller in lunar gravity [7].
B. Co-design of Legged Robots
Co-design optimizes the mechanical parameters like link lengths, spring stiffness or actuator selection together with control rather than fixing one and optimizing the other. The two are coupled: a morphology performs well with a controller that exploits it and a controller can only achieve what its body allows.
Prior work includes morphology optimized jointly with motions or policies through sensitivity analysis [8], joint policy learning [9], and differentiation through a motion planner [10]. Bravo-Palacios et al. co-optimize a nominal trajectory, a feedback policy and the morphology under disturbances, and report better performance than designs whose feedback controller is designed separately [11]. Several works target monoped jumping directly. Fadini et al. use a genetic algorithm outer loop with a trajectory-optimization inner problem and report large energy savings [12]. Singh et al. propose a three stage framework that jointly maximizes jump height and minimizes mechanical energy, with detailed actuator and gearbox modeling [13]. For low gravity jumpers, link lengths and spring stiffness have been chosen by grid search under Mars gravity [14].
C. Landing Stability and Regions of Attraction
Computing regions of attraction for legged systems is difficult because contact causes discontinuous state resets [4]. Sum of squares methods give formal estimates but can be conservative for highly nonlinear systems [15], and have been used for balance and step recovery [16]. We use an LQR landing controller and characterize its region of attraction empirically, by sweeping touchdown conditions in the nonlinear simulation.
This study fixes the task and outer loop and vary only the inner controller, to isolate how controller choice affects the optimal lunar monoped morphology and demonstrate a stable 2D jump and landing.
Dept. of Aerospace Engineering, Indian Institute of Space Science and Technology. Email: sanjayramkumar27@gmail.com
Controls and Digital Area, U R Rao Satellite Center. Email: surajk@ursc.gov.in
The remainder of the paper is organized as follows - Section III defines the robot model. Section IV explains the bi-level co-design framework. Section V presents the results obtained from the 1D jump co-design. Section VI explains the controller design for 2D jump case and finally Section VII presents the results for the 2D jump. Section VIII and IX summarizes the major results from the paper and concludes the paper.
III. SYSTEM MODEL
The Monoped consists of 3 links - base, thigh and shank. The state variables for the 1D case are , while for the 2D case they are . Here, denotes the vertical height of the robot base, denotes the horizontal displacement of the robot base, denotes the pitch of the robot base, denotes the Joint 1 (hip) angle, and denotes the Joint 2 (knee) angle.
A. Robot Model

Fig. 1: Robot built in MuJoCo
The leg is a planar 2-link leg with the thigh and shank chosen as the co-design variables having a constant density of 1989.4 kg/m (radius = 0.02 m). This allows for automatic mass and inertia scaling during the co-design. The base of the robot is modeled as a cuboid of dimensions - 0.15 x 0.15 x 0.05 m and fixed mass of 3 kg. The actuators are direct-drive ideal actuators with torque limits set to 25 Nm.
B. Robot Dynamics
The planar monoped is described by the generalized coordinates
with dynamics
where the actuation selection matrix is

Fig. 2: Bi-Level framework
IV. BI-LEVEL CO-DESIGN FRAMEWORK
We pose the co-design problem as a bi-level optimization. The outer loop searches over the thigh and shank lengths . For each candidate, an inner controller attempts the 0.2 m jump, and the resulting cost of transport is returned to the outer loop as the fitness. The initial hip angle is fixed at for all morphologies, and the initial knee angle is solved so that the center of mass lies above the foot (static equilibrium).
A. Differential Evolution Outer Loop
The outer loop uses differential evolution (DE), a population based optimizer that needs only function values. Gradients of the COT with respect to link lengths are hard to obtain, because each evaluation runs a MuJoCo simulation of a single jump which could fail. A gradient free search was therefore needed.
DE keeps a population of candidate designs . In each generation, a mutant is built for every member by adding a scaled difference of other members to a randomly chosen base member, with scale factor F. Exponential crossover with rate mixes the mutant with its parent, and the resulting trial design replaces the parent if its COT is lower. Designs that fail the task, fail the controller, or violate static stability receive a penalty, so they are not selected. The full settings are in the Appendix A-C.
B. Performance Metric
The task of the monoped is to achieve a jump height equal to 0.2 m in lunar gravity. The objective of this Co-Design is to identify the morphologies that achieve the given task with highest energy efficiency. But using raw actuator energy alone would bias the optimizer towards smaller link lengths (Fig.8a and Fig.8b) as mass and inertia scale down with them. Thus to make the comparison between different morphologies fair, the Cost of Transport is used as the cost function. COT is defined as -
where E is the total positive mechanical work performed by the actuators during the stance phase, m is the total robot mass, g is the gravitational acceleration, and h is the jump height, defined as the change in the center of mass (COM) height from liftoff to the apex.
C. Inner Controller 1: QP based Task Space Controller
To achieve the required jump height the liftoff velocity can be calculated using
The Task space controller tracks a given reference trajectory by minimizing a quadratic cost on deviation from the reference trajectory subject to constraints. During stance, the goal is to achieve a vertical COM velocity equal to . During flight phase the task is to prepare for landing and hold landing configuration. During the landing phase, the task is to absorb the impact and come to a nominal pose.
A phase-dependent reference trajectory is then generated for the stance, flight, and landing phases. During stance, the desired COM acceleration is obtained using
At each control timestep, the QP optimizes
using the objective
where
which is written in standard QP form as
where
The COM acceleration constraint is
During stance, the QP additionally enforces the fixed-foot constraint
together with the friction and actuator constraints
Thus, the stance-phase QP is compactly expressed as
During flight, the contact force is removed, , giving
D. Inner Controller 2: Trajectory Optimization
The jumping motion is formulated as a constrained non-linear trajectory optimization problem over the stance phase. CasADi along with IPOPT was used to solve the optimal control problem. Flight phase and landing phase are handled by joint space PD control.
The optimization minimizes the positive mechanical work performed by the actuators.
The instantaneous actuator power is
where
Since only positive work contributes to energy expenditure, a smooth approximation of
using the softplus function is used for better convergence,
where
The total stance energy is
Thus the problem is formulated as -
The constraints are - robot dynamics, the jump height constraint, the initial configuration, trapezoidal collocation, the fixed foot constraint, the friction cone and positive normal force constraints, and the actuator torque limits.
V. RESULTS: 1D CO-DESIGN
A. Landscapes and Optima
The optimum is reported as the mean of 5 independent DE runs with different seed and compared with the baseline morphology -

(a) QP-TSC

(b) Trajectory optimization

(c) COT difference
Fig. 3: COT landscapes over link lengths for the two controllers, and the difference between them.
TABLE I: Optimal designs from five independent DE runs
| Controller | (m) | (m) | Opt. COT | Base COT | Imp. (%) |
|---|---|---|---|---|---|
| QP-TSC | 0.54 | 0.34 | 1.55 | 1.65 | 6.34 |
| Traj-opt | 0.36 | 0.21 | 1.28 | 1.57 | 18.96 |
B. Cross-Evaluation
TABLE II: Comparison of COT for Different Design-Controller pairs.
| Design Optimized Using | Trajectory Optimization | QP-TSC |
|---|---|---|
| Trajectory Optimization | 1.280 | 1.605 |
| QP-TSC | 1.461 | 1.550 |
The above comparison Table II and the DE results Table I show that both the controllers converge to similar link length ratios (1.71 for traj-opt and 1.59 for QP-TSC) but differ in the exact values and their COT is different. The traj-opt performs better than the QP-TSC when run with both optimal designs. Fig. 3c shows that the traj-opt performs better across most morphologies compared to the QP-TSC.
C. Physical Realizability
The QP-TSC's optimum has a link length of 0.54 and 0.34. The total mass of the legs are against a total robot mass of which is implausible once actuator mass is also accounted for. When applying this to a physical pipeline, appropriate leg-mass fraction constraints must be added to avoid this situation.
VI. PLANAR JUMP AND LANDING CONTROL
A. From 1D to 2D
At lift-off, the hip and knee joints possess significant angular velocities. During the flight phase these joint velocities are damped to prepare for landing. Since no external moment acts on the robot after lift-off, reducing the joint angular momentum produces an equal and opposite change in the base angular momentum. Consequently, damping the leg motion causes the base to rotate, whereas constraining the base pitch causes the legs to swing away from the desired landing configuration. To satisfy both requirements simultaneously, the trajectory optimization generates a motion in which the centroidal angular momentum is regulated during stance and the leg velocities are redistributed during flight such that the base naturally returns to an upright orientation at touchdown.
B. Trajectory Optimization with Angular Momentum Regulation
The total angular momentum about the center of mass is constrained to zero at lift-off,
where
The Horizontal CoM velocity is also constrained to zero for in-place hopping. This can later be modified to achieve forward or backward hopping.
The remaining constraints are similar to the 1D case IV-D.
C. Landing: Impact Absorption and LQR Stabilization
The landing phase for the 1D case is very simple : absorb the impact and stabilize which was achieved using a simple joint space PD control. In the 2D case the body pitch also has to be stabilized. The nonlinear dynamics were derived for the reduced model under the assumption that the foot position is fixed and the dynamics were linearized around a nominal landing configuration. An LQR controller was built to absorb the landing impact and stabilize. The LQR works well for stabilization but needs care for absorbing the impact. During the impact the hip torques make the body pitch, to counteract this, the landing foot position needs to be chosen in such a way that it ensures the torques due to ground reaction forces counteract the hip torques that act on the body pitch. The value was chosen after a sweep over the touchdown poses (Fig.4)

Fig. 4: Pitch trajectory for various COM-foot position offset
and the pose with minimum peak body pitch was chosen. The touchdown configuration in the trajectory optimization was chosen to be an extended leg configuration (hip angle = 35°) to ensure there is enough leg stroke to absorb the impact.
D. Region-of-Attraction Analysis
A nonlinear simulation sweep was done with varying the touchdown poses to obtain an empirical region of attraction for the LQR landing controller. The actual region is a volume in the 6-dimension space, here two parameters were varied at a time by keeping the others constant. The criteria for convergence was - within of the equilibrium pose and within 0.3 rad/s of zero rate and peak body pitch below
VII. RESULTS: 2D JUMP AND LANDING
A. Jump Trajectories
TABLE III: 2D jump metrics.
| Quantity | In-place | Forward |
|---|---|---|
| Apex CoM height (m) | 0.557 | 0.559 |
| Liftoff CoM height (m) | 0.353 | 0.333 |
| Flight time (s) | 0.70 | 0.76 |
| Horizontal displacement (m) | ≈ 0 | 0.20 |
| Peak |pitch| before touchdown (°) | 43 | 51 |
| Peak |pitch| after touchdown (°) | 17 | 79 |
VIII. DISCUSSION
A. 1D Co-Design
The gap between the two controllers is due to the way each controller is built. Trajectory optimization plans the entire stance phase while minimizing energy, while the QP-TSC tracks a liftoff velocity reference and never minimizes energy.
The QP-TSC landscape is also shallower than the trajectory optimization, which is also evident from the fact that the trajectory optimized design loses only under the QP-TSC, while the QP-TSC optimized design loses under the trajectory optimizer. Both the landscapes have a bottom right triangular white region (Fig 3c) which corresponds to the violation of static stability pose.
The QP-TSC weights and gains were not re-tuned for each morphology so part of the QP-TSC's performance could be affected due to that.
These findings apply to one task (0.2m jump), one gravity, ideal actuators and fixed initial hip angle and may shift when done for 2D jump.
B. 2D jump and Landing Controller
The planar results show two places where the pitch must be handled: through angular momentum during liftoff and through foot placement at touchdown.
With no external torques during the flight phase, damping the velocities of the leg does make the base rotate and thus zeroing the angular momentum at liftoff was necessary. The base orientation was constrained to be upright with zero velocity at touchdown.
During landing the COM to foot position offset dominates the outcome. Thus the LQR stabilizes a given good touchdown pose but fails to recover from a poor touchdown pose.
The two ROA Fig.5a and Fig.5b are very different from each other. Position perturbations produce a narrow diagonal band whereas the rate perturbations produce a broad region. This is not enough to conclude that the landing controller is more sensitive to position error than rate errors as they are two different units and cannot be compared directly.
C. Limitations
All results are from simulation and no hardware testings were done. The design variables were limited to link lengths, with ideal actuators and the 2D jump was demonstrated on the baseline morphology.
D. Future Work
Future work will therefore first verify if the co-designed morphology holds for the 2D case, and will also include actuator models and torque-speed curves to make the problem more realistic. Landing controllers like TV-LQR, MPC or RL-based approaches could be explored for more robust landing. Finally extending the trajectory optimization and task space controller for lunar terrain would test the framework beyond flat terrain.
IX. CONCLUSION
Morphology convergence is controller dependent. Both QP-TSC and trajectory-optimization approaches converged to similar link length ratios (1.59 and 1.71, respectively), but selected different absolute link lengths. This indicates that the choice of controller strongly influences the mechanical parameters that govern COT.
The results also show an asymmetry - the trajectory-optimized morphology achieved a COT of 1.280 with its co-designed controller and 1.605 with the QP-TSC, while the QP-TSC optimized morphology achieved 1.461 with the trajectory optimizer and 1.550 with the QP-TSC. Thus, the trajectory optimizer is the stronger controller in absolute terms, and its advantage persists across morphologies.

(a) Hip and knee positions perturbed

(b) Hip and knee rates perturbed
Fig. 5: Empirical region of attraction of the LQR landing controller.

Fig. 6: 2D in-place jump
The model was further extended to 2D in-place and forward jumping. Angular momentum regulation was incorporated during stance, with LQR control used during the landing phase. Both jumping modes were successfully demonstrated in simulation.
Overall, morphology and controller jointly determine performance, but controller quality is not equivalent across methods, a morphology optimized with a weaker controller can outperform its nominal design when paired with a stronger controller.
APPENDIX A IMPLEMENTATION DETAILS
A. QP-TSC parameters
• For the stance phase - Kp = [0,0,0] and Kd = [300,0,0]
• For the flight phase - Kp = [0,50,50] and Kd = [0,10,10]
• For Stance phase - W = diag(300, 0, 0)
• For Flight phase - W = diag(0, 100, 100)
• Phase switching is contact based with debounce
B. Trajectory optimization
• Stance duration is a free variable
• 1D case is discretized into 75 nodes
• 2D case stance is discretized into 75 nodes and flight phase is discretized into 60 nodes
C. Differential Evolution Parameters
• Search Bounds - 0.15 m to 0.6 m
• Variant - 2 (random selection + exponential crossover)
• Mutation factor(F) = 0.8 and cross-over rate(cr) = 0.9
• Population size = 50
• No. of generations = 75
• No. of different seeds used = 5
APPENDIX B LQR DERIVATION AND GAINS
The foot-pinned monoped was linearized about its static equilibrium configuration for LQR controller design. The generalized coordinates are
where is the body pitch angle, is the hip angle, and is the knee angle. The hip and knee are actuated, while the body pitch is unactuated. Thus,
The system dynamics were obtained using the Lagrangian formulation and the resulting equations of motion are written as
A. Equilibrium Configuration
The linearization is performed about a static equilibrium, for which
The touchdown configuration is

(a) In-place jump

(b) Forward jump
Fig. 7: 2D jump trajectories.
The body pitch required to satisfy the unactuated equilibrium condition is
Therefore,
with the corresponding equilibrium torques
B. Linearized Model
Defining the state as
the linearized dynamics are
The resulting numerical state-space matrices are
and
The controllability matrix has full rank,
indicating that the linearized system is fully controllable.
C. LQR Controller
The LQR controller was designed using
The resulting feedback gain is
The control law is
The closed-loop eigenvalues are .
APPENDIX C
ADDITIONAL RESULTS
A. DE results for both conservative and extended bounds
In preliminary runs with the bounds set to 0.15 m to 0.3 m, both controllers converged to nearly the same design, with hitting the upper bound of 0.300 m. The mean optima over five seeds were m (COT 1.61) for the QP-TSC and

(a) QP-TSC

(b) Trajectory optimization
Fig. 8: Energy landscapes over link lengths.
(COT 1.35) for trajectory optimization. Since the first link was hitting the bound, the search range was extended to to to find the true minima.
TABLE IV: Five independent DE runs (extended bounds).
| Run | Traj-opt | QP-TSC | ||||
|---|---|---|---|---|---|---|
| COT | COT | |||||
| 1 | 0.3562 | 0.2114 | 1.2824 | 0.5452 | 0.3387 | 1.5499 |
| 2 | 0.3564 | 0.2116 | 1.2825 | 0.5470 | 0.3401 | 1.5498 |
| 3 | 0.3571 | 0.2119 | 1.2824 | 0.5515 | 0.3438 | 1.5498 |
| 4 | 0.3568 | 0.2119 | 1.2830 | 0.5448 | 0.3383 | 1.5498 |
| 5 | 0.3575 | 0.2122 | 1.2825 | 0.5295 | 0.3319 | 1.5497 |
| Mean | 0.36 | 0.21 | 1.28 | 0.54 | 0.34 | 1.55 |
The Fig.8a and Fig.8b support the claim that using raw energy will bias the optimizer toward smaller link lengths.
REFERENCES
[1] P. Arm, R. Zenkl, P. Barton, L. Beglinger, A. Dietsche, L. Ferrazzini, E. Hampp, J. Hinder, C. Huber, D. Schaufelberger, F. Schmitt, B. Sun,
B. Stolz, H. Kolvenbach, and M. Hutter, “Spacebok: A dynamic legged robot for space exploration,” in 2019 International Conference on Robotics and Automation (ICRA), 2019, pp. 6288–6294.
[2] H. Kolvenbach, E. Hampp, P. Barton, R. Zenkl, and M. Hutter, “Towards jumping locomotion for quadruped robots on the moon,” in 2019 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2019, pp. 5459–5466.
[3] N. Rudin, H. Kolvenbach, V. Tsounis, and M. Hutter, “Cat-like jumping and landing of legged robots in low gravity using deep reinforcement learning,” IEEE Transactions on Robotics, vol. 38, no. 1, p. 317–328, Feb. 2022. [Online]. Available: http://dx.doi.org/10.1109/TRO.2021.3084374
[4] J. J. Choi, A. Agrawal, K. Sreenath, C. J. Tomlin, and S. Bansal, “Computation of regions of attraction for hybrid limit cycles using reachability: An application to walking robots,” 2022. [Online]. Available: https://arxiv.org/abs/2201.08538
[5] A. Spiridonov, F. Buehler, M. Berclaz, V. Schelbert, J. Geurts, E. Krasnova, E. Steinke, J. Toma, J. Wuethrich, R. Polat, W. Zimmermann, P. Arm, N. Rudin, H. Kolvenbach, and M. Hutter, “Spacehopper: A small-scale legged robot for exploring low-gravity celestial bodies,” 2024. [Online]. Available: https://arxiv.org/abs/2403.02831
[6] J. A. Olsen, G. Malczyk, and K. Alexis, “Olympus: A jumping quadruped for planetary exploration utilizing reinforcement learning for in-flight attitude control,” 2025. [Online]. Available: https://arxiv.org/abs/2503.03574
[7] S. Hari, M. V. S. Nikhil, and R. P. Kumar, “Dynamic modeling and attitude control of a reaction-wheel-based low-gravity bipedal hopper,” 2026. [Online]. Available: https://arxiv.org/abs/2603.10670
[8] S. Ha, S. Coros, A. Alspach, J. Kim, and K. Yamane, “Joint optimization of robot design and motion parameters using the implicit function theorem,” in Proceedings of Robotics: Science and Systems, Cambridge, Massachusetts, July 2017.
[9] C. Schaff, D. Yunis, A. Chakrabarti, and M. R. Walter, “Jointly learning to construct and control agents using deep reinforcement learning,” 2018. [Online]. Available: https://arxiv.org/abs/1801.01432
[10] T. Dinev, C. Mastalli, V. Ivan, S. Tonneau, and S. Vijayakumar, "A versatile co-design approach for dynamic legged robots," 2022. [Online]. Available: https://arxiv.org/abs/2103.04660
[11] G. Bravo-Palacios, G. Grandesso, A. D. Prete, and P. M. Wensing, "Robust co-design: Coupling morphology and feedback design through stochastic programming," Journal of Dynamic Systems, Measurement, and Control, vol. 144, no. 2, p. 021007, 11 2021. [Online]. Available: https://doi.org/10.1115/1.4052463
[12] G. Fadini, T. Flayols, A. Del Prete, N. Mansard, and P. Souères, “Computational design of energy-efficient legged robots: Optimizing for size and actuators,” in 2021 IEEE International Conference on Robotics and Automation (ICRA), 2021, pp. 9898–9904.
[13] A. Singh, A. Mishra, D. Kapa, S. Joshi, and S. Kolathaya, “A co-design framework for energy-aware monoped jumping with detailed actuator modeling,” in 2025 IEEE-RAS 24th International Conference on Humanoid Robots (Humanoids), 2025, pp. 1012–1018.
[14] J. A. Olsen and K. Alexis, “Martian lava tube exploration using jumping legged robots: A concept study,” 2023. [Online]. Available: https://arxiv.org/abs/2310.14876
[15] P. A. Bhounsule, M. Kim, and A. Alaeddini, “Control policies for a large region of attraction for dynamically balancing legged robots: a sampling-based approach,” Robotica. [Online]. Available: https://par.nsf.gov/biblio/10182618
[16] M. Posa, T. Koolen, and R. Tedrake, “Balancing and step recovery capturability via sums-of-squares optimization,” in Proceedings of Robotics: Science and Systems, Cambridge, Massachusetts, July 2017.