摘要
针对光电编码器的宽范围测速系统存在低速振动测速不准和高速巨量中断导致实时性欠佳的问题,采用抗振动M/T测速方法结合可预置N分频器,低频时采用脉冲电平逻辑滤波,清除干扰,保证测速的准确性,高频时采用分频计数,降低处理器中断处理的次数,提高测速系统运行的效率,从硬件和软件两个方面较好地解决了这个问题,并据此研制以32位嵌入式处理器(LPC2114)为控制器的宽范围测速系统,同时给出系统的硬件和软件设计方案。研究结果表明该设计方法是有效的。
In order to solve the problems of the inaccuracy at lower speed and poor performance in real time due to the great interruption at higher speed in the wide-scope speed measurement system of optical encoder,a method of vibration-proof M/T speed measurement combined with presettable divide-by-N counter was introduced.In this method,impulse level logic filtering was adopted and the counting was achieved by dividing the higher frequency,thus improving the accuracy at a lower speed and efficiency at a higher speed by decreasing the times of interrupt processing.Based on this method,a wide-scope speed measurement with a 32-bit embedded processor(LPC2114) as its controller has also been developed while the hardware and software of this system were also provided.The results indicate that this method is effective.
出处
《机电工程》
CAS
2010年第11期52-56,共5页
Journal of Mechanical & Electrical Engineering
基金
广州航海高等专科学校科研资助项目(200812B06)
关键词
光电编码器
宽范围测速
分频器
optical encoder
wide-scope speed measurement
divide-by-N counter