大学物理 ›› 2021, Vol. 40 ›› Issue (2): 80-.doi: 10.16854 /j.cnki.1000-0712.200146

• 大学生园地 • 上一篇    下一篇

自行车系统的计算机模拟

姜星宇   

  1. 同济大学电子与信息工程学院,上海200092
  • 收稿日期:2020-04-20 修回日期:2020-09-02 出版日期:2021-02-20 发布日期:2021-03-02
  • 作者简介:姜星宇( 2001—) ,男,江苏淮安人,同济大学电子与信息工程学院2019 级本科生.

Computer simulation of bicycle system

JIANG Xing-yu   

  1. School of Electronic and Information Engineering,Tongji University,Shanghai 200092,China
  • Received:2020-04-20 Revised:2020-09-02 Online:2021-02-20 Published:2021-03-02

摘要:

自行车系统是一个具有非完整约束的复杂系统,可以根据最小作用量原理通过欧拉-拉格朗日方程求解,利用差分

代替微分及一系列修正截断误差的方法计算近似值. 利用MATLAB,只要给定任意质点系的拉格朗日函数以及约束系数,即

可求出系统的近似解,并通过这个方法为分析自行车的运动与稳定性提供一种新的思路.

关键词: 分析力学, 非完整约束, 自行车稳定性

Abstract:

A bicycle system is a complicated one with non-complete constraints,which can be solved by the

Euler-Lagrange equation according to least action principle. The approximate calculation is solved by using the

difference instead of the differential and methods to correct the truncation error. Using MATLAB,as long as Lagrangian function of any system with finite degrees of freedom and the constraints are provided,the approximate solution

can be found. And this simple method can be applied to the approximate calculation of the bicycle system to

analyze the motion and stability of the bicycle.

Key words: analytical mechanics, non-complete system, stability of the bicycle