Vehicle Body Block - Additional Port?

1 vue (au cours des 30 derniers jours)
Thomas Steffen
Thomas Steffen le 20 Août 2014
Commenté : Mohit le 24 Mai 2022
Hello
I am working on a vehicle simulation, and I would like to use the existing Vehicle Body block, because it does nearly everything that I need. However, there are additional forces acting on the vehicle, so I would need a mechanical (translational) port. Is that possible? As far as I understand, the Vehicle Body is a compiled block, so it is not usually possible to edit it.
Is there any other option short of reimplementing this block?
Regards, Thomas

Réponses (1)

Martin
Martin le 7 Août 2017
Adding additional forces and effects can be done either in the code of a component or in the model. Depending on what forces you would like to add, I would consider computing them in the model and adding them with a force source to the Vehicle Body block's H port. This is a translational port linked to the horizontal motion of the vehicle. The NF and NR output ports send physical signal normal forces. If you would like to add additional forces, consider adding them using some of the physical signal math blocks available in the Simscape Foundation Library.
  1 commentaire
Mohit
Mohit le 24 Mai 2022
Dear Martin, I would like to know how much force there will be at port H if I connect a force sensor, and in which direction the force will be sent.
Thanks

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simscape Driveline dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by