File Exchange

image thumbnail

Impedance Control for a 2-Link Robot Arm - User-interactive

version 1.0.0.0 (18.6 KB) by Matthew Sheen
Click and drag to watch the arm respond. Includes well-commented derivation code.

15 Downloads

Updated 25 Jun 2016

GitHub view license on GitHub

Video here: https://www.youtube.com/watch?v=cmW7pRLut8A


2-link planar arm with a compliant controller and gravity compensation. The user can click and drag to move the end-effector's target position. Hit a keyboard key to change to "disturbance-mode." This mode instead applies a disturbance force to the end-effector.

FILES:
MAIN.m -- Run this first!
Plotter.m -- Display the arm and integrate the equations in real time
deriverRelativeAngles.m -- Derives all dynamics and controls equations.
ALL other files -- Auto-written by deriverRelativeAngles.m

Cite As

Matthew Sheen (2020). Impedance Control for a 2-Link Robot Arm - User-interactive (https://www.github.com/mws262/MATLABImpedanceControlExample), GitHub. Retrieved .

Comments and Ratings (14)

Thank you so much!

Asjad Malik

Cw Sun

Muhammad-

yue ma

jing luo

Bin

XD Zhou

For the specifics, look in deriverRelativeAngles.m. You'll find the symbolic derivation of the impedance control. As a broader reference, see section 19.4.2 of http://summerschool.stiff-project.org/fileadmin/pdf/1804_C19.pdf. I referenced this pdf when making.

Could you please submit the equations used for the impedance control?

QING MIAO

good! Get it!

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