现代电子技术Issue(9):121-124,4.
基于STC89C52的电磁控制运动装置
Electromagnetic control device based on STC89C52
黄军友1
作者信息
- 1. 四川信息职业技术学院,四川 广元 628017
- 折叠
摘要
Abstract
In order to move the pendulum rod by electromagnetic control according to the specified angle and period,a mi-crocontroller STC89C52 is used as master chip,a digital three-axis angle sensor ADXL345 is employed to detect the pendulum angle in real time,the adaptive algorithm is adopted to calculate the time required for the pendulum rod's swing,and the driving module L298N is selected to control the solenoid by PWM pulse signal. Furthermore,LCD12864 liquid crystal display is chosen to show the default parameters. The testing results show that the absolute error of the pendulum rod swing angle is ≤1° ,the maximum response time to start is ≤9 s,and maximum response time to stop is ≤10 s.关键词
电磁控制/三轴角度传感器/周期检测/自适应算法Key words
electromagnetic control/three-axis angle sensor/cycle detection/adaptive algorithm分类
信息技术与安全科学引用本文复制引用
黄军友..基于STC89C52的电磁控制运动装置[J].现代电子技术,2014,(9):121-124,4.