How can I implement the magic formula by Pacejka in Simscape Multibody between a wheel modeled as a disk and the ground modeled as a prismatic piece?
15 次查看(过去 30 天)
显示 更早的评论
How can I implement the magic formula by Pacejka in Simscape Multibody between a wheel modeled as a disk and the ground modeled as a prismatic piece?
How can I ensure the contact between the disk and the plane, that is, between the wheel and the ground, and where and how to implement the magic formula? I have no idea, I'm really stuck.
回答(1 个)
Steve Miller
2023-6-18
You can look at File Exchange submission Spatial Contact Force Examples Simscape Multibody to see an example of how to add a custom force law model to a Simscape Mutlibody model. You can use the Spatial Contact Force block to obtain quantities at the point of contact, such as positions and velocities, use those quantities to calculate the forces and torques according to the Magic Formula, and then apply those calculated forces to the block.
This is likely to be quite challenging. An example of the full implementation is shown on the File Exchange here: MFeval
We provide in our libraries a Magic Formula Tire Force and Torque block that does this for you, and it handles both longitudinal and lateral dynamics. For purely longitudinal studies, you could use the tire blocks in Simscape Driveline, such as Tire (Magic Formula)
--Steve
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Contact Forces 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!