Simscape Multibody常见报错处理(持续更新)

报错一

报错内容:

['test']: The following errors were found in the model test.

原因:

  • ['test']: In the dynamically coupled component containing Revolute Joint 'test/Revolute Joint', there are fewer joint primitive degrees of freedom with automatically computed force or torque (0) than with motion from inputs (3). The prescribed motion trajectories in this component may not be achievable. Solve this problem by reducing the number of joint primitives with motion from inputs or increasing the number of joint primitives with automatically computed force or torque. Resolve this issue in order to simulate the model. 

报错原因:由报错内容“ there are fewer joint primitive degrees of freedom with automatically computed force or torque (0) than with motion from inputs (3).”可知,模型文件中automatically computed force or torque 的关节是0个,而有运动输入的关节是3个,所以,只要将automatically computed force or torque的关节也设置成3个即可,需要注意的是,关节不需要是同一个关节,只需要保证automatically computed force or torque关节的个数和提供运动输入的关节个数相等就可以。

示例解析:如图一所示的模型,三个旋转关节和三个连杆,三个旋转关节的设置为图二所示,运行模型文件后会报上述错误。

 图一

图二 

 将三个旋转关节需按照如图三所示的更改即可,由此可知,三个旋转关节中,Automatically Computed的Torque和Provided by Input的Motion都是三个,保证其个数相等。

图三 

报错二

报错内容:

['test']: The following errors were found in the model test.

原因: ['test']: Invalid actuation specification. Each kinematic loop must contain at least one joint that has no motion from input and no automatically computed forces or torques among its primitives. Fix this problem by configuring such a joint within this kinematic loop: Planar Joint 'test/Planar Joint' Planar Joint 'test/Planar Joint' Planar Joint 'test/Planar Joint' Planar Joint 'test/Planar Joint' Resolve this issue in order to simulate the model.

报错原因:由报错内容“Each kinematic loop must contain at least one joint that has no motion from input and no automatically computed forces or torques among its primitives.”可知,对于闭环的运动链,必须添加一个焊接关节“weld joint”,

示例解析:如图四所示,模型文件中所示的模型是一个闭环运动链,三个连杆串联,第一个连杆(红色圈)的F1和世界坐标系(紫色圈)通过Revolute Joint(黄色圈)相连,第三个连杆(红色圈)的F2也和世界坐标系(紫色圈)通过Planar Joint(黄色圈)相连,所以其是一个闭环运动链,

 图四

这个时候运行图四所示的模型会报上诉错误,我们需要在运动链上添加一个焊接关节weld joint即可,如图五所示。

 图五

未完待续。。。。

  • 11
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
### 回答1: Simscape Multibody是基于Simulink平台的一个多体动学仿真工具,在机械、航空、汽车等领域都有广泛应用。为了更好地使用这个工具,建议首先从官方网站了解教程和文档。这些资源以易于理解的方式介绍Simscape Multibody的基本原理、模型构建、仿真操作等方面的知识。 在学习过程中,建议先从Simulink基础开始学起,例如掌握建立模型、添加仿真器等基本操作。熟悉这些操作后,可以学习Simscape工具箱中的Multibody部分,掌握多体系统的建模方法、运动学方法、动学方法等。在这个过程中,可以通过官网提供的示例来练习,并结合自己的应用需求进行实践。 此外,建议多加了解Simscape Multibody的工具和应用,例如运动学仿真、动学仿真、控制设计等。这可以通过查阅文献、参加培训、交流等方式来完成。 最后,要注意使用Simscape Multibody时需要有一定的数学和物理基础,不仅要熟悉多体系统的理论,还要了解微积分、线性代数等数学知识,以及动学、学、材料学等相关科学知识。只有全面掌握背景知识,才能正确理解和使用Simscape Multibody。 ### 回答2: Simscape MultibodyMATLAB Simulink中一款先进的工具箱,用于多体系统的建模和仿真。该工具箱具有高度可定制化和灵活性,可进行各种机械系统的建模,如机械臂,汽车悬挂系统,弹簧减震器等。 Simscape Multibody的教程提供了深入的学习资料,包括理论基础、案例研究、演示视频和实践项目。教程旨在帮助用户了解该工具箱的功能和特点,快速掌握建模和仿真技术。 在教程中,用户将学习如何使用Simscape Multibody进行建模和仿真,包括如何创建部件,连接它们,分配参数和添加传感器等。同时,用户还将学习一些高级技术,如动学分析,控制策略等。 除了基本的多体动学建模,Simscape Multibody还提供了丰富的工具箱,可用于建模和仿真气体系统,流体学系统,电子控制系统等。这为用户提供了更多的选择和灵活性,使其能够应对各种真实世界的挑战和需求。 总的来说,Simscape Multibody教程是学习该工具箱的绝佳资源,使用户能够充分利用它的功能和潜,快速实现各种机械系统的建模和仿真。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值