Vehicle Body Block - Additional Port?

2 views (last 30 days)
Thomas Steffen
Thomas Steffen on 20 Aug 2014
Commented: Mohit on 24 May 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

Answers (1)

Martin
Martin on 7 Aug 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 Comment
Mohit
Mohit on 24 May 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

Sign in to comment.

Categories

Find more on Tires and Vehicles in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!