Documentation Index
Fetch the complete documentation index at: https://mintlify.com/asimovinc/asimov-v0/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Asimov leg features an RSU (Revolute Spherical Universal) ankle mechanism that provides 2 degrees of freedom for ankle control. Unlike traditional direct-drive ankles, this mechanism uses two motors (A and B) that work together through a coupled linkage system to control ankle pitch and roll.This coupled mechanism reduces mechanical complexity while providing robust ankle actuation. The tradeoff is that motor positions must be computed through mathematical transformations.
Mechanism Goals
The ankle mechanism solves two primary control problems:- Forward Kinematics (AB → PR): Convert motor A and B positions to ankle pitch and roll angles
- Inverse Kinematics (PR → AB): Convert desired ankle pitch and roll to required motor A and B positions
Mechanical Description
The ankle mechanism consists of:- A straight bar with two connection points (left and right)
- Motor A connected to the right connection point via parallel linkages
- Motor B connected to the left connection point via parallel linkages
- A pivot point at the ankle joint
Convention: The direction towards the ground is
-y and away from the ground is +y.Inverse Kinematics: Pitch/Roll → Motor Positions
Mathematical Derivation
When viewing the right leg, the vertical displacement at points A and B can be treated as the sum of displacements caused by pitch and roll movements:Implementation Code
The inverse kinematics implementation converts desired ankle pitch and roll to motor positions:Due to the mirrored rotation axis on the pitch ankle and asymmetrical linkages, the PR → AB equations are identical for both left and right legs.
Forward Kinematics: Motor Positions → Pitch/Roll
Mathematical Derivation
Calculate roll from differential
Roll displacement is the vertical position relative to the midpoint:
Implementation Code
The forward kinematics implementation converts motor positions to ankle pitch and roll:Coupling Constants
The coupling constants relate the physical dimensions of the mechanism to the mathematical transformations:K_P: Pitch Coupling Constant
K_P: Pitch Coupling Constant
d= distance from ankle pivot to the barr= radius of the motor’s circular mount
K_R: Roll Coupling Constant
K_R: Roll Coupling Constant
c= length of the bar between connection pointsr= radius of the motor’s circular mount
The actual values of
K_P and K_R are determined by the physical dimensions of your specific ankle mechanism assembly. These should be measured or obtained from CAD models.Key Insights
Coupled System
Both motors affect both pitch and roll - they cannot be controlled independently.
Symmetric Equations
Due to mechanical symmetry, the same equations work for both left and right legs.
Small Angle Approximation
The implementation assumes small angles (< 15°). For larger angles, use full trigonometric equations.
No Singularities
The mechanism has no kinematic singularities within the normal operating range.
Implementation Considerations
Calibration
Ensure motors A and B are properly zeroed at the neutral ankle position before using these transformations.
Range Limits
Both motors have ±70° range limits. Verify that commanded pitch/roll combinations don’t exceed motor limits.
Computational Efficiency
The transformations use only basic arithmetic operations, making them suitable for real-time control loops.
Next Steps
Motor Specifications
Learn about the EC-A4310-P2-36 motors used in the ankle mechanism
Mechanical Design
View the complete mechanical assembly and joint specifications