A friction model mathematically represents the resistive forces opposing motion between contacting surfaces in a joint or actuator. It is a critical component of an actuator model within a physics simulation engine, enabling accurate prediction of motor behavior, energy consumption, and control stability. Key modeled phenomena include static friction (stiction), which must be overcome to initiate motion, Coulomb (dry) friction during sliding, and viscous damping, which increases with velocity. Accurate friction modeling is essential for sim-to-real transfer, as unmodeled friction is a primary source of the reality gap that degrades policy performance when moving from simulation to physical hardware.
Glossary
Friction Model

What is a Friction Model?
A friction model is a mathematical representation of the complex resistive forces that oppose motion between contacting surfaces in a robotic joint or actuator.
In reinforcement learning for robotics, simplified friction models can lead to policies that fail on real actuators. Therefore, high-fidelity simulations employ advanced models like the LuGre model, which captures dynamic pre-sliding displacement and the Stribeck effect. These models are often calibrated using system identification techniques on real hardware data. For digital twin creation and hardware-in-the-loop testing, an accurate friction model allows the simulation of torque ripple, stick-slip oscillations, and thermal effects, providing a vital testbed for developing robust impedance control and torque control strategies before physical deployment.
Key Components of a Friction Model
A friction model decomposes the complex resistive forces in a joint or actuator into distinct, mathematically defined components. These components are combined to simulate realistic motor behavior, contact dynamics, and energy dissipation.
Coulomb (Dry) Friction
Coulomb friction models the constant force that opposes motion, independent of velocity. It is characterized by distinct static and kinetic coefficients.
- Static Friction (Stiction): The force that must be overcome to initiate motion from rest. It is typically higher than kinetic friction.
- Kinetic Friction: The constant opposing force present during sliding motion.
- Model: Often represented as
F_c = μ * F_n * sign(v), whereμis the friction coefficient andF_nis the normal force.
Viscous Friction
Viscous friction models the force that increases linearly with the relative velocity between surfaces, analogous to moving through a fluid.
- Linear Damping: The force is proportional to velocity (
F_v = b * v), wherebis the viscous damping coefficient. - Energy Dissipation: This component is responsible for dissipating kinetic energy, preventing infinite oscillation in simulated systems.
- Application: Critical for modeling motor damping, air resistance on moving parts, and the behavior of lubricated bearings.
Stribeck Effect
The Stribeck effect captures the observed decrease in friction force as velocity increases from zero, bridging static and kinetic friction regimes.
- Negative Damping: At very low velocities, friction force decreases with increasing speed before the viscous term dominates.
- Realism: This non-linear transition is essential for accurately simulating the 'stick-slip' phenomenon and the startup behavior of motors and sliding contacts.
- Model: Often incorporated via an exponential decay term added to the Coulomb model.
Static Friction (Stiction) Breakaway
This component specifically models the discontinuity at zero velocity, where the applied force must exceed a threshold to overcome static adhesion.
- Breakaway Torque: The maximum torque a motor can output before its rotor begins to turn against static friction.
- Hysteresis: The model must account for the fact that the breakaway force is not applied continuously; once motion starts, the resisting force drops to the kinetic friction level.
- Implementation: Often handled with a conditional state machine in the simulation, tracking whether the system is in a 'stuck' or 'sliding' state.
Friction as a Function of State
Advanced models incorporate dependencies beyond velocity, making friction a function of multiple system states for higher fidelity.
- Position-Dependent Friction: Accounts for variations due to joint angle, lead screw position, or uneven wear on a surface.
- Load-Dependent Friction: Models how normal force (
F_n) changes with payload or configuration, directly scaling Coulomb friction. - Temperature Dependence: Simulates how heating in a motor or gearbox can reduce lubricant viscosity, altering viscous damping coefficients during extended operation.
Integration with Actuator & Physics Engine
The friction model is not standalone; it is integrated into the broader simulation loop to affect system dynamics.
- Actuator Model Integration: The computed friction torque is subtracted from the motor's commanded torque to determine the net torque applied to the joint.
- Physics Engine Coupling: Provides the resistive forces for the rigid body dynamics solver during contact resolution between objects.
- Numerical Stability: The discontinuous nature of Coulomb friction requires careful numerical integration techniques (like implicit solvers) to prevent simulation instability.
How Friction Models Work in Simulation
A friction model is a mathematical representation of the resistive forces opposing motion between contacting surfaces in a simulated joint or actuator. It is a critical component for achieving high-fidelity actuator simulation and enabling robust sim-to-real transfer for robotic policies.
A friction model mathematically defines the complex resistive forces between contacting surfaces in a simulated joint or actuator. It typically decomposes friction into distinct components: static friction (stiction) prevents motion initiation, Coulomb friction opposes sliding motion proportionally to normal force, and viscous damping increases with velocity. Accurate modeling of these non-linear effects is essential for simulating realistic motor dynamics, actuator saturation, and energy dissipation, which directly impacts the training and validation of low-level torque control and impedance control policies.
In physics simulation engines, friction models are implemented within the contact and rigid body dynamics solver, often as part of a joint's actuator model. Common implementations include the Dahl, LuGre, and generalized Maxwell-slip models, which capture pre-sliding displacement and hysteresis. Calibrating these models against ground truth data from physical hardware—a process known as system identification—is crucial for minimizing the sim-to-real gap. Without accurate friction, policies trained in simulation may fail on real robots due to unmodeled torque losses or unexpected stick-slip behavior.
Common Friction Models in Robotics
A comparison of mathematical models used to simulate the resistive forces in robot joints and actuators, detailing their complexity, computational cost, and typical applications.
| Model Feature | Coulomb (Static + Kinetic) | Coulomb + Viscous | LuGre (Dynamic Friction) |
|---|---|---|---|
Core Components | Static (F_s), Kinetic (F_k) friction | Static (F_s), Kinetic (F_k), Viscous (b·v) damping | Bristle deflection state (z), Stribeck effect |
Mathematical Complexity | Low (Discontinuous) | Low-Medium (Piecewise) | High (Differential Equation) |
Computational Cost | Very Low | Low | High |
Captures Stiction (Pre-Sliding) | |||
Captures Velocity Dependence | |||
Captures Frictional Memory/Hysteresis | |||
Parameter Identification Difficulty | Low (2-3 params) | Medium (3-4 params) | High (6+ params) |
Typical Simulation Use Case | Basic contact, coarse dynamics | General-purpose joint/actuator modeling | High-fidelity control, precise force feedback |
Role in Sim-to-Real Transfer
A high-fidelity friction model is essential for closing the 'reality gap' in Sim-to-Real Transfer. It ensures that control policies trained in simulation exhibit the same dynamic behavior and stability when deployed on physical hardware.
Closing the Actuation Reality Gap
The primary role of a friction model is to accurately simulate the non-linear resistive forces in joints and actuators. Without it, a policy trained in a frictionless simulation will fail on real hardware because:
- It overestimates the robot's ability to make precise, small movements (defeated by static friction or stiction).
- It cannot manage limit cycles—small, persistent oscillations—caused by the stick-slip phenomenon.
- It misjudges energy dissipation, leading to overshoot and instability. A calibrated model allows the policy to learn robust control strategies that account for these real-world dynamics.
Enabling Robust Policy Learning
Incorporating friction during training forces the reinforcement learning agent to develop generalized, noise-invariant strategies. This is often combined with Domain Randomization, where friction parameters (Coulomb, viscous coefficients) are varied within plausible bounds. The policy learns to:
- Exert slightly higher initial torques to overcome stiction.
- Apply damping to settle movements smoothly.
- Be less sensitive to exact actuator dynamics, which vary between units and degrade with wear. This results in a policy that is robust to the parameter uncertainty inherent in all physical systems.
System Identification & Calibration
Before simulation training begins, real robot data is used to calibrate the friction model. This process, called System Identification (SysID), involves:
- Commanding the physical joint through a range of motions and measuring its response with high-resolution encoders and torque sensors.
- Fitting the parameters of a chosen friction model (e.g., LuGre, Maxwell-slip) to the recorded data.
- Validating the model by comparing its predicted motion to new, unseen real-world motion sequences. A well-identified model is the foundation for a high-fidelity simulation.
Preventing Simulation Bias
An oversimplified friction model (or none at all) introduces a simulation bias. The policy exploits this bias, learning behaviors that are physically impossible. For example, it might learn to rely on infinitesimally small joint adjustments for balance—a strategy that fails instantly on hardware where stiction prevents such micro-movements. A high-fidelity model mitigates this by ensuring the action space and state transitions in simulation closely match the real world's response, leading to policies that transfer effectively.
Key Model Formulations
Different mathematical models capture friction at varying levels of fidelity and computational cost:
- Coulomb + Viscous: A simple, static model combining constant friction force and velocity-dependent damping. Fast but misses stiction and pre-sliding displacement.
- LuGre Model: A dynamic model that captures the bristle deflection analogy, simulating pre-sliding displacement, stiction, and the Stribeck effect. More computationally expensive but highly accurate for precise control.
- Maxwell-slip Models: Use a set of parallel spring-slider elements to model hysteresis and non-local memory effects. The choice depends on the required precision and available compute for real-time simulation.
Integration with Control Strategies
The friction model interacts directly with the robot's control stack in simulation:
- Feedforward Compensation: The learned policy or controller can output torques that explicitly counteract the predicted friction force.
- Impedance & Force Control: Fidelity is critical for simulating compliant interactions. A poor model makes a robot seem either too sticky or too slippery during contact tasks.
- Joint-Level PID Tuning: Simulated PID gains tuned without friction will be wildly inappropriate on hardware, often causing instability. The model allows for realistic controller tuning in silico.
Frequently Asked Questions
A friction model mathematically represents the resistive forces that oppose motion between contacting surfaces in a joint or actuator. This FAQ addresses its core components, implementation in simulation, and critical role in sim-to-real transfer.
A friction model is a mathematical representation of the resistive forces that oppose relative motion between two contacting surfaces in a robotic joint or actuator. In physics simulation engines, it is a critical component of the actuator model that determines how a simulated motor responds to torque commands, directly impacting the realism of forward dynamics and inverse dynamics calculations. Accurate friction modeling is essential for sim-to-real transfer, as discrepancies between simulated and real-world friction are a primary source of the reality gap that can cause policies trained in simulation to fail on physical hardware.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
A friction model is a critical component within a broader simulation of a robotic system's physical interaction. These related concepts define the sensors that perceive the world, the actuators that move within it, and the control systems that govern the motion affected by friction.
Actuator Model
An actuator model is a mathematical representation of a physical motor's dynamics, defining its response to input commands. It encompasses electrical characteristics, mechanical limitations, and non-linear effects. A comprehensive actuator model integrates a friction model as a core sub-component to accurately simulate the resistive forces opposing motion.
- Core Components: Motor constants, winding resistance, inductance, back-EMF, rotor inertia, and torque/speed saturation limits.
- Integration with Friction: The total torque output is often calculated as:
Commanded Torque = Modeled Torque - Friction Torque(velocity, load). This allows simulation of stiction, where the motor must overcome static friction to initiate movement.
Torque Control
Torque control is a low-level actuation mode where a motor driver directly commands a desired output torque or current. This mode enables compliant, force-sensitive robot behavior but is highly sensitive to unmodeled dynamics like friction. An accurate friction model is essential for high-performance torque control, as the controller must compensate for friction losses to deliver the intended force at the joint.
- Direct Drive Actuators: Often use torque control for their backdrivability, making precise friction compensation critical.
- Friction Compensation: Advanced controllers use a feedforward term based on the friction model to cancel out predicted resistive torque before it affects tracking error.
Inverse Dynamics
Inverse dynamics is the computation of the joint torques or forces required to achieve a desired acceleration of a robotic system, given its kinematic structure and mass distribution. This calculation is fundamental for model-based control. A friction model is added to the inverse dynamics solution to determine the actual motor torque required, as part of the total load: τ_motor = τ_inertial + τ_gravity + τ_coriolis + τ_friction. Without this term, commanded torques will be insufficient, causing lag and steady-state error in trajectory tracking.
System Identification
System identification (SysID) is the experimental process of building mathematical models of dynamic systems from measured input-output data. In robotics, SysID is used to calibrate simulation parameters, including those for friction models, to match real hardware behavior. This bridges the sim-to-real gap.
- Procedure: The robot executes specially designed excitation trajectories while recording joint positions and motor currents/torques.
- Parameter Estimation: Algorithms like least-squares regression fit the data to a structured model (e.g., a Dahl or LuGre friction model) to identify static, Coulomb, and viscous friction coefficients.
Proprioception
Proprioception is a robot's sense of its own body's position, orientation, and movement, derived from internal sensors. Accurate proprioception is degraded by unmodeled friction, which introduces discrepancies between commanded motion and actual motion. Simulating realistic proprioceptive feedback requires injecting the effects of a friction model into sensor readings.
- Affected Sensors: Joint encoders, torque sensors, and inertial measurement units (IMUs).
- Simulation Integration: The simulator uses the friction model to compute the actual joint velocity and torque, which are then passed through a sensor noise model to generate synthetic encoder and torque readings for the control policy.
Physics Material
A physics material defines the surface properties of a simulated object that affect physical interactions, such as coefficients of friction and restitution (bounciness). While a joint/actuator friction model governs internal resistance, physics materials define external contact friction between the robot and its environment.
- Parameters: Static friction coefficient, dynamic (kinetic) friction coefficient, and friction combine mode.
- Hierarchical Modeling: A full simulation requires both: 1) Internal friction models for each joint's drive train, and 2) Physics materials on the robot's feet, fingers, or wheels to simulate environmental interaction. The Coulomb friction concept is common to both.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us