LuGre friction model in MATLAB / GNU Octave

A full reconstruction of the paper: A new model for control systems with friction
488 Downloads
Updated 25 Jul 2021

View LuGre friction model in MATLAB on File Exchange

GNU Octave version: https://github.com/auralius/LuGre/tree/octave

This is a full reconstruction of the paper: A new model for control systems with friction by Canudas de Wit et al. The paper was published in 1995 (IEEE Transactions on Automatic Control). It can be found in the following link: https://ieeexplore.ieee.org/document/376053

In this repository, there are 3 main m-files:

  1. demo2.m

Here, we use the built-in MATLAB solver: ode23s. This solver is designed for a stiff system. In order to use MATLAB built-in solver, the problem must be first formalized. Plese see the PDF file here.

  1. demo3.m

This is an additional simulation to demonstrate the friction observer. This is not shown in the paper. Basically, this is the numerical simulation of section V.B, for position control with a unit-step input.

  1. demo4.m

This shows optimally tuned PI and velocity gain without the friction observer. The performance is superior to the friction observer with poorly tuned PI and velocity gains.


Not shown in the paper. Run demo2.

fig1


Not shown in the paper. Run demo2.

fig2


Fig. 3 of the paper. Run demo2.

fig3


Fig. 2 of the paper. Run demo2.

fig4


Fig. 6 of the paper. Run demo2.

fig5


Fig. 4 of the paper. Run demo2.

fig6


Fig. 8 of the paper. Run demo2.

fig6


Not shown in the paper. Run demo3.

fig6


Note that if the PI and velocity gains are optimally tuned, then the performance is better than the friction observer. Rise time is smaller and overshoot is smaller. This model is generally easier to tune. Run demo4.

fig6

Cite As

Auralius Manurung (2024). LuGre friction model in MATLAB / GNU Octave (https://github.com/auralius/LuGre/releases/tag/4.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
4.0

See release notes for this release on GitHub: https://github.com/auralius/LuGre/releases/tag/4.0

3.0.1

Updated the description.

3.0.0

Added friction observer simulation.

2.0.1

Added an image file for the description.

2.0.0

With MATLAB built-in solver: ode23s.

1.0.1

Updated tink to the paper.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.