摘要
通过常见的弹簧阻尼系统,以VFOSUB为例,详细讨论了应用C语言开发用户定义子程序的全过程。介绍了VFOSUB的接口、系统状态变量的测量、力矢量的计算、偏导信息反馈的理论基础与反馈途径,以及用户定义子程序的编译与连接方法,并通过对比验证了所用方法的正确性。这些方法在应用C语言进行ADAMS的二次开发的过程中具有普遍的参考意义。
Using a spring-damper system, and take VFOSUB as an example, the process of developing a User-Written Subroutine in the C Programming Language in ADAMS is detailed. The interface of the VFOSUB, the measurement of the state variables, the calculating of the force, the theory of feeding back the partial derivatives and the ways of feedback are introduced ,at the same time, the process of compiling and linking is discussed. At last, methods mentioned in this paper are validated through a contrast. These methods have application value in redeveloping ADAMS using the C programming language.
出处
《机电一体化》
2008年第4期39-42,共4页
Mechatronics