Imagine a world where robot companions improve your productivity at work, carry your bags at the airport or even provide assistive living to the elderly. This is the reality that PAL Robotics SL hope to create. Located in the heart of Barcelona’s technology district, this innovative company is pioneering the development of humanoid robots.

The design, programming and assembly of the robots all takes place in PAL Robotics’ bustling Barcelona offices where a team of engineers work to constantly advance the capabilities of their robots. One of the most difficult challenges for humanoid robots is to maintain balance while walking. The featured story explains how RLS magnetic encoders help humanoid robots control balance while meeting design constraints such as space, accuracy and weight.

Luca Marchionni, Chief Technology Officer at PAL Robotics, notes that one of the most difficult challenges is maintaining balance while walking, which humans take for granted. Walking involves the generation and execution of trajectories for many degrees of freedom simultaneously while the feet interact with the environment. The control system of a biped robot has to deal with transitions between two phases: the double support, with both feet on the ground and the single support when only one foot is planted. Designing control laws to enable this is difficult due to the non-linearities associated with robot dynamics. Often, this cannot be done analytically and is too complex to accomplish by mere trial and error. Instead, a numerical approach is applied called trajectory optimization, where an ‘ideal path’ of the robot is prescribed and a numerical method calculates the best possible approximation to this path, where the criterion for ‘best’ is determined by a specially chosen cost-function which accounts for both the ideal path and the physical limitations of the robot. There are strict space and weight constraints in the design of joints for humanoid robots to keep robot volumes and inertias as low as possible; many of PAL Robotics’ robots are human-sized and exhibit up to 40 degrees of freedom.

PAL Robotics with RLS encoders

REEM-C and other humanoid robots from PAL Robotics have fully articulated joints capable of performing a range of complex movements depending on the task. High quality encoder feedback is required for the servo-control of each joint in terms of applied torque, velocity and position. PAL Robotics is advised on encoder selection for each application and leveraged a deep understanding of their business needs and products. RLS non-contact magnetic encoders were chosen as the solution. These included rotary encoders such as AksIM™ and Orbis™ which are integrated into knee, wrist and elbow joints and the component level incremental RoLin™ system.

For balance control, a feedback-force system at each robot’s foot is implemented to calculate the zero-momentum point (ZMP), a metric that can be used to assess the stability of robots like REEM-C. The measured ZMP is then fed into a ‘fuzzy logic’ PD controller to track the desired ZMP, achieving balance and disturbance rejection.
The controller’s goal is to adjust the robot’s centre of mass (CoM) position to always maintain the ZMP point inside of the support region (under the feet). Successful biped dynamic walking requires precise control of the legs’ joint angles in terms of position, velocity and acceleration via rotary encoder feedback.

Balance control is particularly vital for stable biped locomotion and encoder outputs enable the estimation of robot posture and the generation of position, speed and acceleration references that every joint should follow. Magnetic encoders provide PAL Robotics with a flexible position measurement solution and are capable of meeting stringent space and performance requirements. The selected encoders have an impressive range of capabilities enabling significant design freedom. Balance control is achieved by controlling the instantaneous torque acting on each joint, which enables correct positioning of each robot limb for stable walking motion. High encoder accuracy ensures that errors in the control signal are minimized, thereby enabling the controller to quickly adjust robot positions to always maintain the ZMP within the support region of the feet.


About RLS
RLS is a world leader in the development of high performance magnetic encoder feedback solutions and together with its associate company Renishaw offers worldwide sales and technical support.

Read more on We make encoders for robots, or download our case study.