摘要
该文开发了一种舵机测试器,以STC125410AD单片机为CPU,具有线性测试、三点测试、死区测试、速度测试、力矩大小测试、判断极限位置的锁定情况等功能。硬件部分详细说明了CPU接口电路、数码显示驱动电路、编码开关电路的设计;软件部分主要介绍了主程序的设计,舵机角度及速度控制的原理,脉冲计数中断服务程序的开发方法。设计的测试器精度高、重量轻、操作方便,能准确测量舵机的各项基本参数,通用性好。
This paper develops a testing device for servo motor which uses microcontroller STC125410AD as CPU and has the function of linearity test,three-point test,dead-zone test,speed test,torque and size test,lock condition of limit position condition. The hardware part elaborates the designs of CPU interface circuit,digital display driving circuit,encode switch cirtcuit design;the software part mainly describes the design of main program,the principle of angle and speed control of servo motors ,interrupt program of pulse counting. The testing device was of high accuracy, light weight,convenient operation,and can precisely test the basic parameters of servo motors and is of good generality.
出处
《自动化与仪表》
北大核心
2012年第5期17-20,共4页
Automation & Instrumentation
关键词
舵机测试器
STC
驱动电路
编码开关
testing device for servo motor
STC
driving circuit
encode switch