Patent ID: 7425697
Filing Date: 2008-09-16
Classification: G01D

Abstract:
1. An optical encoder, provided with an origin detecting unit, comprising: a scale having an optical grating portion provided with an optically discontinuous portion; a light receiving unit including a plurality of units of light receiving elements, each of the units of the light receiving elements having the same number of light receiving elements, the light receiving unit being provided in association with a pitch of the optical grating and movable relative to the scale; a calculation unit that detects a change of a signal from the light receiving unit over a predetermined length of section that occurs when a light beam, which illuminates the discontinuous portion of the scale and is reflected thereon, is incident on the light receiving unit, performs calculation based on the change, and detects an original position based on the result of the calculation, wherein a difference of data is obtained based on outputs, from the light receiving unit, having a predetermined interval therebetween which is determined based on a relationship between the number of units of the light receiving elements in the light receiving unit and the size of the discontinuous portion of the scale, and the original position is set as a position at which the value of the difference falls within a target range, wherein each of the outputs having the predetermined interval there between obtained from the light receiving unit comprises a middle voltage calculated from a maximum value and a minimum value of a signal obtained from the light receiving unit in one cycle, and wherein the middle voltage is retrieved every time when the scale moves by one pitch, the origin position is detected by a calculation based on two middle voltages apart from each other by “(a number of units in the light receiving unit) −n +1” pitches, where n represents a width of the discontinuous portion in terms of a number of light-and-shade slits on the scale.