摘要
笔者以飞思卡尔16位单片机MC9S12XS128为核心控制器,以二轮玩具车为控制对象,使用ENC-03RC陀螺仪传感器与MMA7361加速度传感器,通过使用匹配滤波算法实现二轮玩具车模倾斜角度的测量。在此基础上,将二轮玩具车直立运动线性分解,设计出直立速度控制器。实现了二轮车直立运行。
this paper uses Freescale 16-bit microcontroller MC9SI2XS128 as the core controller and two toy car as the control object. It implements the measurement of two-wheel car's angle by using the ENC-03RC gyro sensor, MMA7361 acceleration sensor and applying matched filtering algorithm. On this basis, the two toy cars upright movement linear decomposition, designing a vertical speed controller and then achieve a two-wheeled car upright operation.
出处
《电子设计工程》
2014年第2期137-139,共3页
Electronic Design Engineering