摘要 |
<p>Problem: To provide a technology for detecting an internal abnormality of a rectangular wave incremental encoder. Means to Solve the Problem: An encoder 3 includes: an optical block 20 that outputs an A phase sinusoidal wave signal and a B phase sinusoidal wave signal in response to the rotation of a rotor; a signal output unit 22 that generates an A phase output signal of a rectangular wave and a B phase output signal of a rectangular wave from the A phase sinusoidal wave signal and the B phase sinusoidal wave signal, respectively and outputs the generated signals; an internal signal generating unit (comparator 41) that generates an A phase internal signal of a rectangular wave and a B phase internal signal of a rectangular wave from the A phase sinusoidal wave signal and the B phase sinusoidal wave signal, respectively; counters 46, 47, 56, 57; and an abnormality detector 50. Each counter 46, 47, 56, 57 resets in response to a pulse edge of a signal for detection. The abnormality detector 50 detects an abnormality when the count value of at least one of counters 46, 47, 56, 57 reaches a prescribed value.</p> |