Architecture
The complete Physical AI pipeline
Thirteen stages take a robot from a CAD model to a walking machine evaluated in the real world. Click any block to open the chapter that explains it.
Design
Simulation
Interfaces
Learning
Validation
Deployment
The loop closes at stage 13. Real-world evaluation feeds back into the robot description and simulator (system identification), the actuator and sensor models, and the training setup.
Physics simulation
Every simulation step turns the current state, applied forces and constraints into the next state. MuJoCo runs this loop at a fixed timestep. For Asimov that is 200 Hz (5 ms) Documented.
- State (q, q̇)positions & velocities
- Forward kinematicsbody poses, contact candidates
- Applied forcesactuators, gravity, damping
- Collision detectiongeom pairs in contact
- Constraint / contact solvecontact forces, joint limits
- Integrateq̈ → q̇ → q, advance by Δt
Loops back: Integrate → State (q, q̇)
Sensor data flow
Physical quantities become numbers through sensors. Each stage adds noise, bias, quantisation or delay before the data reaches the policy.
Joint state
- Joint motion
- Encoderangle counts
- Motor controllerposition, velocity estimate
- CAN framebinary payload
- Joint position & velocity obs12 + 12 values
Body orientation and rotation
- Body rotation & acceleration
- IMUgyroscope + accelerometer
- Sensor fusionorientation estimate
- Projected gravity + angular velocity3 + 3 values
CAN communication
A shared differential bus connects the robot computer to the motor controllers. Message IDs set priority. Bus load and arbitration set timing. Specific IDs and payload layouts shown on this site are Illustrative example.
- Robot ComputerSocketCAN interface
- CAN BusCAN_H / CAN_L, differential
- Motor Controllersfirmware, current loop
- Encoders and Actuatorsmeasure & apply torque
Firmware integration (processor-in-the-loop)
In processor-in-the-loop validation the real firmware and IO path run against a simulated body. Joint feedback arrives over virtual CAN. Simulated IMU data travels over UDP into the same FusionX path used on hardware Documented.
Joint path
- MuJoCo Physics Engine
- Virtual CAN Joint Feedbackvcan via SocketCAN
- Firmware / IO Processing
- Observation Construction
- Locomotion Policy
- Actuator Commands
Loops back: Actuator Commands → MuJoCo Physics Engine
IMU path
- MuJoCo IMU Sensorsimu_ang_vel, imu_lin_acc
- UDP Bridge
- Firmware Sensor FusionFusionX
- Projected Gravity
- Policy Observation
Reinforcement learning training
The policy improves through repeated interaction. It acts, the simulated environment responds with a new observation and a reward, and the learning algorithm updates the weights.
- Observation
- Actor Policy
- Action
- Environment
- New Observation and Reward
- Learning Algorithm
- Updated Policy Weights
Loops back: Updated Policy Weights → Observation
Actor-critic architecture
The actor sees only what the real robot can measure (45 values). The critic also sees 19 privileged simulator quantities (64 values) and is discarded after training Documented.
Actor
- MuJoCo Environment
- Hardware-compatible observations (45)
- Actor45 → 512 → 256 → 128 → 12
- 12 Joint Actions
- Simulated Robot
Critic
- MuJoCo Environment
- Hardware + privileged observations (64)
- Critic64 → 512 → 256 → 128 → 1
- Value Estimate
Update
- Rewards + Value Estimates
- RL Optimization
- Actor and Critic Weight Updates
Sim-to-real deployment
At deployment, only the trained actor runs. No critic, no privileged observations, no reward computation and no optimiser.
- Real Robot Sensors + Command + Action History
- 45-Dimensional Observation
- Trained Actor
- 12 Joint Actions
- Low-Level Actuator Controller
- Physical Robot
Proposed: progressive observation masking
Proposed research A research idea, not a validated method. The actor starts with all 64 observations, and privileged groups are masked in stages until only the 45 deployable inputs remain. The critic keeps all 64 throughout.
- 1All 64 observations
- 2Mask passive toe state
- 3Mask foot contact forces
- 4Mask foot height, air time, contact
- 5Mask base linear velocity
- 6Train on 45 deployable observations