How Humanoid Robots Sense Their Own Bodies: IMUs, Encoders and Force Sensors
Short answer: A humanoid robot senses its own body with three main tools: joint encoders for angles, an inertial measurement unit (IMU) for tilt and rotation, and force or pressure sensors in the feet and wrists. A computer combines them into one estimate of posture. Without this, balance and reaching would not work.
What is proprioception in a robot?
In people, proprioception is the sense of where your limbs are without looking. Robots need the same thing. Cameras describe the world, as in how robots see a scene, but the robot also has to know its own arm angles, body tilt and how hard its feet press on the floor.
These internal readings are fast and do not depend on lighting, which is why balance controllers rely on them more than on vision.
What do joint encoders measure?
An encoder is attached to a motor or joint and reports its angle, and by comparing readings over time, its speed. Many humanoid joints have more than one encoder, one on the motor and one on the output, so the controller can see if a gearbox or spring is flexing.
Encoders are the base for kinematics. Knowing every joint angle lets the robot compute where its hands and feet are, as explained in inverse kinematics and in the joint counts from degrees of freedom.
What does an IMU do?
An IMU contains accelerometers, which sense acceleration including gravity, and gyroscopes, which sense how fast the body is rotating. It is usually mounted in the torso or pelvis. Together they tell the robot which way is up and how quickly it is tipping.
Gyroscope readings drift slowly over time, so an IMU alone cannot give a reliable heading for long. Accelerometers are noisy when the robot moves hard. For this reason the data is fused with other sensors rather than used alone.
How do force and pressure sensors help?
Force and torque sensors in the ankles and feet measure how hard the ground pushes back and where the push is centered. That is the information needed to check the balance rule in the zero moment point. Wrist sensors do the same for objects the hands hold.
The same kind of sensing supports gentle contact, discussed in touch and force sensing. A robot that feels a hand on its arm can stop moving, which supports the practices in safety around people.
How are the readings combined?
A state estimator merges all signals into one best guess of the body's position, velocity and tilt. Kalman filters and related methods are the common tools. Each sensor has a known error, and the filter trusts it accordingly: the gyroscope for quick changes, the accelerometer for the slow average, and leg kinematics for how far the body has moved when a foot is planted.
Estimators usually run at hundreds or thousands of updates per second, faster than the walking steps they support.
What goes wrong?
Sensors can be miscalibrated, loose or noisy. A foot that slips breaks the assumption that a planted foot is not moving, and the estimate can drift. Heat, vibration and cable wear also change readings over time.
Teams test these errors in simulation first and then on real hardware, a gap covered in the sim to real gap.
Frequently asked questions
Does a humanoid robot need cameras to stand?
No. Standing and walking on flat ground depend mostly on the IMU, joint encoders and foot sensors. Cameras help with deciding where to go.
What is the difference between an IMU and an encoder?
An encoder measures one joint's angle. An IMU measures the motion and tilt of the body it is mounted on.
Why do robots have sensors in their feet?
To measure ground contact and the pressure pattern under each foot. This tells the controller whether the robot is stable and when a step has landed.
Keep reading
How Humanoid Robots Feel: Touch and Force Sensing · What Is the Zero Moment Point in Humanoid Walking? · How Humanoid Robots Balance and Walk · How Humanoid Robots See and Understand a Scene