摘要
在各种较强的电磁环境中,电机使用编码器采集信号时,容易受到干扰。电机旋转方向信号A、B容易用简单的逻辑实现规避干扰的目的,然而Z信号易发生丢失而难处理。为了解决Z信号受干扰问题,本文提出了基于CPLD的Z信号处理VHDL程序算法。用实验的方法确定最小Z信号的宽度,并通过这个宽度确定滤波范围,最终发出一定宽度脉冲,作为Z信号给DSP。用仿真和实际实验进行处理方法的验证。实验结果显示能够有效解决编码器Z信号受干扰问题。
In the case of various kinds of strong electromagnetic environment Z-signal can be disturbed easily in the transmitting process. It’s easy that signal A and B can use simple logic for avoiding electromagnetic interference while Z-signal is very difficult to deal with. In order to solve the problem of disturbed Z-signal, the article puts forward VHDL program algorithm for signal pro-cessing. In order to filter interference signals, an experimental method determine the minimum width of the Z signal. Eventually, the device sends out pulses as Z-signal. The simulation and experiment verify the method. Experimental results show that the methods can effectively solve the problem of Z signal interference.
出处
《自动化与仪器仪表》
2015年第8期206-207,共2页
Automation & Instrumentation