I want to simulate the behaviour of a 2-DOF robotic manipulator, which is described by the following

Sonia Gay

Sonia Gay

Answered question

2022-06-23

I want to simulate the behaviour of a 2-DOF robotic manipulator, which is described by the following model:
M ( q ) q ¨ = C ( q , q ˙ ) q ˙ G ( q ) + τ           ( 1 )
Considering the fact that the 2x2 mass matrix M is positive definite, I could use the inverse matrix and break down the problem into the 4 first order ordinary differential equations and simulate it:
x 1 = q 1 x 1 ˙ = x 2
x 2 = q 1 ˙ x 2 ˙ = M 1 ( 1 , : ) C [ x 2 x 4 ] T M 1 ( 1 , : ) G + M 1 ( 1 , : ) τ x 3 = q 2 x 3 ˙ = x 4
x 4 = q 2 ˙ x 4 ˙ = M 1 ( 2 , : ) C [ x 2 x 4 ] T M 1 ( 2 , : ) G + M 1 ( 2 , : ) τ
Suppose I would like to use a solver that takes as an argument the mass matrix (a MATLAB ODE solver in particular) and don't use its inverse because this will also simplify the computation of the jacobian (I intend to simulate a 7-DOF robotic manipulator after that so providing the mass matrix would be great). How can I write the initial equation (1) as a series of first order ordinary differential equations and be able to simulate its response by using some software solvers ?

Answer & Explanation

britspears523jp

britspears523jp

Beginner2022-06-24Added 28 answers

Let us choose η = [ q q ˙ ] . Then
[ I 0 0 M ( q ) ] η ˙ = [ 0 I 0 C ( q , q ˙ ) ] η + [ 0 G ( q ) + τ ] .

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Differential Equations

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?