Effacer les filtres
Effacer les filtres

limiting slider part motion distance of the prismatic joint in simulink

14 vues (au cours des 30 derniers jours)
Sila Deniz  Karadag
Sila Deniz Karadag le 27 Mai 2024
Modifié(e) : Subhajyoti le 17 Juil 2024 à 11:27
I want to limit the distance of the slider part which slides with a prismatic joint. for example I want it to slide 0.5 m to downward and come back to its initial position

Réponses (1)

Subhajyoti
Subhajyoti le 17 Juil 2024 à 11:26
Modifié(e) : Subhajyoti le 17 Juil 2024 à 11:27
Hello Sila,
The slider movement limits in a ‘prismatic joint’ can be tuned by configuring the following parameters.
  • ‘State Targets > Specify Position Target > Priority’ — Priority level of position target
  • ‘State Targets > Specify Position Target > Value’ — Position target
For the Lower Limit:
  • ‘Limits > Specify Lower Limit > Bound’ — Lower bound of free region
For the Upper Limit:
  • ‘Limits > Specify Upper Limit > Bound’ — Upper bound of free region
The following steps can configure the model to the given example:
  1. Double-click on the ‘Prismatic Joint 3’ block to open its parameters.
  2. In the "Z Prismatic Primitive (Pz)" tab under the ‘State Targets’ sub-section, enable "Specify Position Target" and set the ‘value’ to 0 (initial position).
  3. In the same tab under ‘Limits’, set the following parameters.
  4. Enable the "Specify Upper Limit" and set the ‘Bound’ to 0 (if 0 is your initial position)
  5. Enable the "Specify Lower Limit" and set the ‘Bound’ to -0.5 (for downward movement).
Note: Optionally, you can set the "Spring Stiffness" and "Damping Coefficient" parameters to define the behaviour of the joint when it reaches these limits.
Refer to the following MathWorks Documentation to understand more about ‘Prismatic Joint’.
Hope the above information is helpful.

Catégories

En savoir plus sur Robotics dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by