摘要
该文提出了一种两轮直立自平衡车的设计方案.采用陀螺仪判断小车的原有姿势状态,加速度传感器计算车体的倾斜角度,滤波算法抵消原有角度的倾斜,采用XS128处理器处理数据和控制小车,最终达到车体的平衡.实验结果表明:小车自行保持直立,并且具有较好的回复平衡能力.该车是验证各种控制算法的理想平台,具有一定的应用前景.
This paper proposes the design for a two-wheeled upright self-balancing car.In the proposed scheme,gyroscope is used to analyze the original posture state of the car and the inclination angle of the car body is calculated using acceleration sensors.Filtering algorithms are used to offset the tilt of the original angle and the XS128processor is used to process the data and control the car.Finally the balance of the car body is achieved.The experimental results show that the car can remain upright by itself and has the ability to restore the balance well.This car can be an ideal platform to verify various control algorithms and has certain application prospect.
出处
《浙江树人大学学报(自然科学版)》
2013年第4期1-8,共8页
Journal of Zhejiang Shuren University(Acta Scientiarum Naturalium)
基金
浙江省自然科学基金项目(Q12F03014
LY13F010013)
浙江树人大学实验室开放项目(2013JS1003)
校级项目(2012JA1010)
关键词
两轮自平衡车
卡尔曼滤波
互补滤波
PID控制
Two-wheeled self-balancing car
Kalman filter
complementary filtering
PID control