Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

system identification #68

Open
Tracked by #66
pierfabre opened this issue Jan 27, 2024 · 3 comments
Open
Tracked by #66

system identification #68

pierfabre opened this issue Jan 27, 2024 · 3 comments
Assignees

Comments

@pierfabre
Copy link
Collaborator

pierfabre commented Jan 27, 2024

To have an accurate simulation and for model-based control method such as NMPC we need to accurately model our system.

  • model of the motor
  • model of the pendulum
@pierfabre
Copy link
Collaborator Author

pierfabre commented Jan 27, 2024

Model of the motor

Equations

image

with

image

Motor DataSheet

image

Initial guess based on datasheet

Blocked motor

image

which gives us

image

No load

image

which gives us

image

Experiment

image

  • measured no load speed : 154 rad/sec in output of the encoder which is equivalent to 154 * 6.3 = 970 rad/sec
  • measured no load : 0.13 A
  • measured voltage : 23.9 V

which gives us ke=kc=0.235USI

image

We evaluate the response time Tr to be around 0.03s which gives us L=0.24 H

@pierfabre
Copy link
Collaborator Author

image
image

@pierfabre
Copy link
Collaborator Author

pierfabre commented Jul 16, 2024

20240716 - Update on the System Identification of the Robot

  • I used onshape-to-robot to generate a URDF from the CAD
  • Then I ran a rollout simulation with this URDF and my simulator that uses pinocchio aba to compute the rigid body dynamics part
  • I then used the experiment I performed in March on the real robot to perform system identification of the rotor inertia and of the friction coefs

This is the result obtained with the best set of parameters so far :

image

rollout.webm

This is a very nice result which gives me hope for the swing up using NMPC -> #86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant