Simscape Driveline : tractor and trailer modelling
Show older comments
I am building a truck dragging a trailer model using simscape. As for building a truck (tractor) I can use the vehicle body blovk and define the parameters but now I need to attach a trailer to the model. How can it be done? do I need to use again a vehicle body block for defining a trailer and attach it to the truck's vehicle body at the H coonnection port? Will this simscape model resembel to the truck and trailer physical model.
5 Comments
SYED IMTIAZ ALI SHAH
on 30 Jul 2019
Have you solved your problem? Do you need help? I am asking this because your question is too old.
Rahul Murmude
on 30 Jul 2019
SYED IMTIAZ ALI SHAH
on 30 Jul 2019
Can you upload your model? or a picture which shows what exactly you want? Do you want to attach a trailer to your truck? If it is just attachment its too easy. If you want it to perform some motion, then it will be a bit complicated.
If it is just the connection, then you can use Rigid Transform to transform your Trailer block by some angle and distance, then use a joint (revolute) between these block. However you must carefully select your Rigid Transform block rotation, and translation, otherwise it will not work properly.
If you have the facility to make a CAD model in Solidworks/Creo then that would be much more easy. You can easily transfer that model to Simscape through xml file.
Rahul Murmude
on 30 Jul 2019
Edited: Rahul Murmude
on 30 Jul 2019
Jawdat Abo Aish
on 1 Aug 2021
Hello Rahul,
Did you figure out how to attach the trailer to the vehicle body. Because I have the same question.
Answers (1)
Mike Sasena
on 30 Jun 2020
1 vote
Rahul,
I see this is an old thread, but I at least wanted to let you know there are some additional capabilities since you posted your question. There is a tractor towing a trailer demo in the Vehicle Dynamics Blockset. Simscape Multibody is a much more general purpose tool that can model just about any system you can think of, but if you just want a pre-built tractor / trailer model, the Vehicle Dynamics Blockset may provide an alternative starting point for you.
Categories
Find more on Simscape Driveline 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!
