A physics model for a robot arm to support education of motion control theory.
Project description
Tis But a Scratch
Code to support the physical modeling of a robotic arm. The arm is driven by two motors: one at the base and one at tne "elbow." The base experiences the greatest torque and inertia because it must move both the base arm, the fore-arm motor, and the fore-arm with its claw attachment.
Computing the Moment of Inertia
Note that the moment of inertia for an arm with joints is a little tricky to calculate. But there's a theorem that helps. The Parallel Axis Theorem states that if you know the moment of inertia about the centroid of an object, then the moment of inertia about an axis parallel to that centroid can be computed as follows:
Where is the moment about the new axis,
is the moment
about the centroid,
is the centroid, and
is the cross-sectional
area of the object.
Using this theorem, we can conclude that the contribution of the base arm segment (closest to the robot) remains constant because its centroid is a fixed distance from the axis. Only the forearm's contribution to the total momentum affecting the base drive motor varies. And it does so in an easily predictable way. We just need to know the cross-sectional area of the part and its centroid distance from the elbow to compute the inertia contributed by the fore-arm.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tis-but-a-scratch-0.0.1.tar.gz.
File metadata
- Download URL: tis-but-a-scratch-0.0.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16172c514a436425563eea6d327518cfc1efd9e9249b1b514b33f26fd15ea9e8
|
|
| MD5 |
975ca81b6b58ea5920bfd9c765a5ff75
|
|
| BLAKE2b-256 |
786d701324a40ecc4a02e64f043d6792c1242e18178861caf5ca615903490aac
|
File details
Details for the file tis_but_a_scratch-0.0.1-py3-none-any.whl.
File metadata
- Download URL: tis_but_a_scratch-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dbd3aed864bbad3e3442e488144cb55885d0f03a544a4d470a5840ceb95ffee
|
|
| MD5 |
d96b1b1db156633d43c03d15743a2757
|
|
| BLAKE2b-256 |
f4cf75f631a6ad5df8e871dd83ad29b3b9a2ff525189014f949e26c9c4325463
|