Controller | Short Controller Description | Swingup Success | Swingup Time [s] | Energy [J] | Max. Torque [Nm] | Integrated Torque [Nms] | Torque Cost [N²m²] | Torque Smoothness [Nm] | Velocity Cost [m²/s²] | Best RealAI Score | Average RealAI Score | Username | Data |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|

MC-PILCO | MC-PILCO for swingup and stabilization | 10/10 | 1.55 | 17.95 | 5.0 | 5.93 | 11.73 | 0.671 | 118.38 | 0.82 | 0.817 | turcato-niccolo | data plot video |

ilqr_tvlqr_lqr | Stabilization of iLQR trajectory with time-varying LQR. | 10/10 | 4.03 | 13.75 | 2.98 | 5.61 | 3.26 | 0.108 | 109.77 | 0.822 | 0.821 | fwiebe | data plot video |

The real system leaderboard compares the performance of different control methods on the real hardware. The task for the controller is to swingup and balance the acrobot and keep the end-effector above the threshold line.

The model parameters identified by us with a least squares optimization of the acrobot are:

- Gravity: \(g = 9.81 \, \frac{\text{m}}{\text{s}^2}\)
- First Link mass: \(m_1 = 0.5234602302310271 \, \text{kg}\)
- Second Link mass: \(m_2 = 0.6255677234174437 \, \text{kg}\)
- First actuator length: \(l_1 = 0.2 \, \text{m}\)
- Second actuator length: \(l_2 = 0.3 \, \text{m}\)
- First link center of mass: \(r_1 = 0.2 \, \text{m}\)
- Second link center of mass: \(r_2: 0.25569305436052964 \, \text{m}\)
- First link inertia: \(I_1 = 0.031887199591513114 \, \text{kg m}^2\)
- Second link inertia: \(I_2 = 0.05086984812807257 \, \text{kg m}^2\)
- First actuator damping friction: \(b_1 = 0.001 \, \frac{\text{kg m}}{s}\)
- Second actuator damping friction: \(b_2 = 0.001 \, \frac{\text{kg m}}{s}\)
- First actuator coulomb friction: \(c_{f1}: 0.16 \, \text{N m}\)
- Second actuator coulomb friction: \(c_{f2}: 0.12 \, \text{N m}\)
- Motor Inertia: \(I_r = 6.287203962819607e-05 \, \text{kg m}^2\)
- Gear ratio: \(g_r: 6.0\)
- First Motor Torque limit \(\tau_{max1} = 0.0 \, \text{N m}\)
- Second Motor Torque limit \(\tau_{max2} = 6.0 \, \text{N m}\)

More information about the dynamic model of the double pendulum can be found here: Double Pendulum Dynamics. For a urdf file with this model see here: URDF.

The \(0.5\,\text{Nm}\) torque limit on the passive joint can be used to compensate the friction of the motor.

The actuators can be controlled with arbitrary control frequency of up to \(500\, \text{Hz}\) and the experiment takes \(10\,\text{s}\). The initial acrobot configuration is \(x_0 = (0, 0, 0, 0)\) (hanging down) and the goal is the unstable fixpoint at the upright configuration \(x_g = (\pi, 0, 0, 0)\). The upright position is considered to be reached when the end-effector is above the threshold line at \(h=0.45 \, \text{m}\) (origin at the mounting point).

For the evaluation multiple criteria are evaluated and weighted to calculate an overall score (Real AI Score). The criteria are:

**Swingup Success**\(c_{success}\): Whether the swingup was successful, i.e. if the end-effector is above the threshold line in the end of the simulation.**Swingup time**\(c_{time}\): The time it takes for the acrobot to reach the goal region above the threhhold line and*stay there*. If the end-effector enters the goal region but falls below the line before the simulation time is over the swingup is not considered successful! The swingup time is the time when the end-effector enters the goal region and does not leave the region until the end.**Energy**\(c_{energy}\): The mechanical energy used during the execution.**Max Torque**\(c_{\tau, max}\): The peak torque that was used during the execution.**Integrated Torque**\(c_{\tau, integ}\): The time integral over the used torque over the execution duration.**Torque Cost**\(c_{\tau, cost}\): A quadratic cost on the used torques ( \(c_{\tau, cost} = \sum u^TRu\), with R = 1).**Torque Smoothness**\(c_{\tau, smooth}\): The standard deviation of the changes in the torque signal.**Velocity Cost**\(c_{vel, cost}\): A quadratic cost on the joint velocities that were reached during the execution ( \(c_{vel} = \dot{q}^T Q \dot{q}\), with Q = identity)

These criteria are used to calculate the overall Real AI Score with the formula

\[ \begin{equation} S = c_{success} \left( 1 - \left( w_{time}\frac{c_{time}}{n_{time}} + w_{energy}\frac{c_{energy}}{n_{energy}} + w_{\tau, max}\frac{c_{\tau, max}}{n_{\tau, max}} + w_{\tau, integ}\frac{c_{\tau, integ}}{n_{\tau, integ}} + w_{\tau, cost}\frac{c_{\tau, cost}}{n_{\tau, cost}} + w_{\tau, smooth}\frac{c_{\tau, smooth}}{n_{\tau, smooth}} + w_{vel, cost}\frac{c_{vel, cost}}{n_{vel, cost}} \right) \right) \end{equation} \]

The weights and normalizations are:

Criterion | normalization \(n\) | weight \(w\) |
---|---|---|

Swingup Time | 10.0 | 0.2 |

Energy | 100.0 | 0.1 |

Max Torque | 6.0 | 0.1 |

Integrated Torque | 60.0 | 0.1 |

Torque Cost | 360 | 0.1 |

Torque Smoothness | 12.0 | 0.2 |

Velocity Cost | 1000.0 | 0.2 |

The listed number for swingup time, energy, etc. in the leaderboard are the scores for from the best attempt. The ‘Best RealAIScore’ is the score of that attempt. The ‘Average RealAIScore’ is the average score over 10 attempts. Unsuccessful swingups (where the end effector is not above the threshhold line in the end of the experiment (i.e. after \(10\,\text{s}\))) have a score of 0.

If you want to participate in this leaderboard with your own controller have a look at the leaderboard explanation in the double pendulum repository. We recommend submitting the controller first to the acrobot simulation leaderboard and the robustness leaderboard. Experiments with the real hardware can be conducted remotely. Please contact shivesh.kumar@dfki.de, felix.wiebe@dfki.de or shubham.vyas@dfki.de for details and scheduling. The leaderboard is automatically periodically updated based on the recorded data which is uploaded to this leaderboard repository.