Signal processing method and displacement detection apparatus

Abstract: A signal processing method includes the steps of inputting first to N-th 2-phase sinusoidal wave signals, where N is a natural number (N ≧ 2) and an m-th 2-phase sinusoidal wave signal has an m-th frequency where m is a natural number and satisfies a relation of 1 ≦ m ≦ N, and processing the first to N-th 2-phase sinusoidal signals by product summation or product differentiation of the first to N-th 2-phase sinusoidal wave signals to produce at least one signal having a frequency equal to a sum of the frequencies of the first to N-th 2-phase sinusoidal wave signals.

Description: The present invention relates to a signal processing method and a displacement detection apparatus which uses the same, and more particularly to a displacement detection apparatus such as a rotary encoder or a linear encoder which detects displacement information of a moving object from a displacement signal relating to the moving object obtained from detection means. In a prior art rotary encoder or linear encoder or the like, two sinusoidal waves of different phases (2-phase sinusoidal wave signals or namely, a sine wave and a cosine wave) relating to displacement information are generated by detection means, and a displacement and a direction of movement (direction of displacement) are detected based on the two sinusoidal wave signals. In a prior art encoder, a plurality of divisional pulses having a phase difference corresponding to a division unit are made from the sine wave signal and the cosine wave signal to enhance a detection resolution of the displacement information relating to the moving object. Fig. 1 shows a block diagram of a main portion for illustrating a signal processing method for the two sinusoidal wave signals in the prior art encoder. Signal waveforms in the circuit of Fig. 1 are shown by solid lines in Fig. 2. In Fig. 1, numerals 51 and 52 denote input terminals to which a sine wave signal C1(a) and a cosine wave signal S1(b) are respectively inputted. Namely, a signal b (cosine wave) having a 90 degrees phase difference to a signal a (sine wave) applied to the input terminal 51 is inputted from the input terminal 52. An inverting circuit 53 gets a signal c which has a 180 degrees phase difference to the signal a . Those three signals are appropriately weight-summed through resistors to insert a sinusoidal wave signal of a desired angle. In Fig. 1, all resistors R are of equal value to get signals d and e having phase differences of 45 degrees and 135 degrees, respectively. Those signals are converted to square waves by comparators 54, 55, 56 and 57 to produce 2-phase square wave signals having a 90 degrees phase difference by a pulse circuit 58. In this manner, a signal of a higher resolution is produced from the sine wave signal and the cosine wave signal obtained from photo-sensing means. Japanese Patent Application Laid-Open No. 3-68812 discloses an insertion method of a position measurement signal which attains a high resolution by outputting to insertion data in a memory by using an A/D-converted version of 2-phase sinusoidal wave signals as an address. In a prior art displacement detection apparatus such as an encoder or a laser interferometer, any desired resolution can be attained by weighted resistors. However, the following problems arises when the resolution is to be enhanced. (a) A precision of the summing resistors is required and a proper value may not be sometimes attained within a normal range. (b) An insertion precision is lowered by an error of the summing resistors, an input offset of a comparator and an influence by a variation of a propagation delay time. A broken line in Fig. 2 shows a signal timing when the signal C1 includes an offset component. In the past, the offset component is adjusted by a potentiometer or the like in an electric circuit. (c) The number of comparators increases whereby a circuit scale is large. For example, when 2-phase square wave signals having a frequency which is 64 times as high as that of the original signal is to be got, 32 comparators must be required. A further prior art arrangement is known from document EP-A-0 463 561. This document discloses a signal processing method and apparatus, and a system such as a displacement detecting device using the same. In particular, the prior art arrangement disclosed therein performs frequency doubling of a pair of signals obtained in a displacement detecting device to increase the resolving power. However, the arrangement suffers from the drawback that an error in the signals to be processed, the error being for example due to an eccentricity of a rotating disk can not be compensated. It is therefore an object of the present invention to provide a signal processing method and displacement detection apparatus suitable for an encoder and a laser interferometer or the like which is free of the above mentioned drawbacks and which can detect movement information of a moving object at a high resolution. According to the present invention, this object is achieved by a signal processing method according to claim 1 and a detection apparatus for detecting information relating to a displacement of a moving object according to claim 3. Fig. 1 shows a prior art method for processing a signal of an encoder. Fig. 2 shows signal waveforms of each part in the circuit of Fig. 1; Fig. 3 shows main portions of an embodiment 1 when a displacement detection apparatus of the present invention is applied to a linear encoder; Fig. 4 shows a block diagram of a signal processing circuit of a signal processing unit of Fig. 3; Fig. 5 shows main portions of an embodiment 2 when the displacement detection apparatus of the present invention is applied to a rotary encoder; Fig. 6 shows main portions of an embodiment 3 when the displacement detection apparatus of the present invention is applied to a rotary engine; and Fig. 7 shows a block diagram of a signal processing circuit of a signal processing unit of the embodiment 3 of the present invention. Fig. 3 shows main portions of an embodiment 1 when a linear encoder is used as the displacement detection apparatus of the present invention, and Fig. 4 shows a block diagram of a circuit of a signal processing unit 101 for illustrating a processing method of output signals from detection means (detection heads) 1 and 2 of Fig. 3. In Fig. 3, numerals 3 and 4 denote scale plates which are mounted on a moving object (not shown) which is moved in a direction indicated by an arrow 102. Scales 3a and 4a of different pitches from each other are formed on the scale plates 3 and 4 along the direction of movement. Numerals 1 and 2 denote detection means each including light projection means for projecting a light beam onto the scale plate 3 or 4 and photo-sensing means for detecting a reflected light beam from the scale plate 3 or 4. Each of the detection means 1 and 2 outputs two 2-phase sinusoidal wave signals (C1, S1, C2, S2) mutually having a 90 degrees phase difference based on movement information of the scale plate 3 or 4. Numeral 101 denotes a signal processing unit which detects the movement information such as the displacement of the moving object and the direction of movement and the like based on the output signals (C1, S1, C2, S2) from the detection means 1 and 2. A method for generating the 2-phase sinusoidal wave signals by optically reading the scales and a constitution of detection means therefor are well known and they are not explained here. The 2-phase sinusoidal wave signals C1 and S1 derived from the detection means 1 are expressed as follows: C1 = A cos ω 1 t S1 = A sin ω 1 t where ω 1 is an angular frequency of the sinusoidal wave signal from the detection means 1, and ω 1 /2π is a frequency of the sinusoidal wave signal. The frequency is proportional to a velocity of the moving object. A is a constant value. On the other hand, the 2-phase sinusoidal wave signals C2 and S2 derived from the detection means 2 are expressed as follows: C2 = B cos ω 2 t S2 = B sin ω 2 t where ω 2 is an angular frequency of the sinusoidal wave signal from the detection means 2 and ω 2 /2π is a frequency of the sinusoidal wave signal. This frequency is also proportional to the movement velocity of the moving object. B is a constant value. The signal processing unit 101 produces signals C5 and S5 by the following operations by using the signals C1 and S1 got by the detection means 1 and the signals C2 and S2 got by the detection means 2 as shown in Fig. 4. C5 = C1 × C2 - S1 × S2 = A B cos(ω 1 +ω 2 )t S5 = S1 × C2 + C1 × S2 = A B sin(ω 1 +ω 2 )t Namely, multiplication (C1 × C2) of the signals C1 and C2 is effected by a multiplier circuit 14, multiplication (S1 × S2) is effected by a multiplier circuit 15, and a difference (C1 × C2 - S1 × S2) is calculated by a subtraction circuit 10 based on those products. The difference is outputted as a signal C5. Similarly, multiplication (S1 × C2) of the signals S1 and C2 is effected by a multiplication circuit 16, multiplication (C1 × S2) of the signals C1 and S2 is effected by a multiplication circuit 17, and a sum (S1 × C2 + C1 × S2) is calculated by an adder 12 based on those products. The sum is outputted as a signal S5. The frequencies of the signals C5 and S5 are (ω 1 +ω 2 )/2π which is a sum of the frequencies of the original signals C1 and C2. This frequency is also proportional to the velocity of the object. In general, in such a displacement detection apparatus, the detection resolution is proportional to a reciprocal of the frequency generated at a predetermined velocity. In the present embodiment, the signals C5 and S5 have a resolution equal to a reciprocal corresponding to a sum of reciprocals of resolutions of the detection means 1 and 2 due to the operation of the signal processing unit 101. Thus, the resolution value can be further reduced and a smaller displacement can be detected. As a result, the movement information of the moving object can be detected with a high resolution. Fig. 5 shows main portions of an embodiment 2 when a rotary encoder is used as the displacement detection apparatus of the present invention. In Fig. 5, numeral 33 denotes a disk-shaped rotary disk which is pivoted to a rotation shaft 35 of a rotating object (not shown) and it is rotated with the rotating object in a direction of an arrow 35a. A radial scale 34 having light reflection portions and light absorption portions (light transmission portions) radially arranged at a constant pitch on the surface of the rotary disk 33 around the center 35b of the rotation shaft 35. Numerals 31 and 32 denote detection means (detection heads) which have light projection means for projecting a light beam onto the rotary disk 33 and photo-sensing means for detecting a reflected light beam from the rotary disk 33. The detection means 31 and 32 output 2-phase sinusoidal wave signals (C1, S1) and (C2, S2), respectively, each mutually having a 90 degrees phase difference on a basis of the rotation information of the rotating object. In the present embodiment, the detection means 31 and 32 are arranged at positions rotationally-symmetric to the center (rotation center) 35b of the rotation shaft 35 and simultaneously detect light beams on a basis of the rotation information from two points on the radiation scale 34. In this manner, a detection error of the rotation information caused by more or less deviation of the center of the radiation scale 34 from the rotation center 35b, that is, by the eccentricity is corrected. In the present embodiment, the 2-phase sinusoidal wave signals C1 = A cos (ωt + C sin ) S1 = A sin (ωt + C sin ) C2 = B cos (ωt - C sin ) S2 = B sin (ωt - C sin ) where C sin  is a component of a phase shift due to the eccentricity and it is an error component of one period per one revolution of the rotary disk (rotating object) 33. The output signals C1, S1 (C2, S2) from the detection means 31 (32) are inputted to the signal processing unit (not shown) 101 as same as stated in the embodiment 1. In the present embodiment, the signal processing unit processes (operates) the signals in the same manner as the embodiment 1 to obtain the signals C5 and S5 corresponding to the sums of the resolutions of the two detection means 31 and 32. Namely, the following signals are produced: C5 = C1 × C2 - S1 × S2 = A B cos 2ωt S5 = S1 × C2 + C1 × S2 = A B sin 2ωt As a result, the resolution value is one half of that of the original signal, that is, the detection of the displacement at the twice resolution to that of the original signal can be attained. In the present embodiment, the detection resolution is doubled and the eccentricity error between the rotation center of the rotating object and the center of the rotary disk 33 is corrected to detect the rotation information of the rotating object at a high precision. Fig. 6 shows major portions of an embodiment 3 when a rotary encoder is used as the displacement detection apparatus of the present embodiment, and Fig. 7 shows a circuit diagram of a signal processing unit (not shown) for processing the output signals from the detection means 41, 42 and 43 of Fig. 6. In the present embodiment, three detection means (detection heads) 41, 42 and 43 are circumferentially arranged at a constant pitch on a rotating disk 44. In general, in a high resolution rotary encoder, a precision of writing of a radial scale of the rotating disk and a slight warp of the rotating disk directly affect an accumulated precision of the detection means. Since such an error component of the rotary encoder is considered as a variation in the frequency of the signal, the output signals from the detection means are expressed as follows: where  is a rotation angle of the rotating disk 44, and ω 0 is a fundamental angular frequency outputted by the detection means by the rotation of the rotating disk 44. A second term and et seq. in the triangular function represent the error component. As the present embodiment in which a plurality of detection means are arranged on a single rotating disk 44 at the constant pitch, the output signals from the respective detection means are expressed as follows. Namely, the 2-phase signals from the m-th detection means are expressed as follows: As shown in Fig. 7, the output signals from the detection means 41 are C1 and S1, the output signals from the detection means 42 are C2 and S2, and the output signals from the detection means 43 are C3 and S3. As shown in Fig. 7, the same operation as that of the embodiment 1 is conducted to the output signals from the detection means 41 and 42 by the signal processing unit 101 which is similar to that of the embodiment 1. The same operation is conducted to the resulting 2-phase output signals C5 and S5 and the 2-phase output signals C3 and S3 from the detection means 43 by the similar signal processing unit 102 to the signal processing unit 101 to obtain output signals C6 and S6 having a resolution equal to a reciprocal of a sum of reciprocals of the resolutions of the respective detection means. In the present embodiment, the same operation as that of the embodiment 1 is conducted for the output signals from the plurality of (N) detection means to obtain signals C A and S A as shown by the following equations: In this manner, the signal of the sum of the resolutions of the three detection means can be obtained. In order to facilitate the calculation, it is assumed that the amplitudes of the output signals from all detection means are 1 and a cosine component of the error component is not taken into consideration. Since the error component of the angular frequency in the above equations; is a periodic function having discrete values, it is expressed as: By solving the equation (10), we get: In the equation (11), since  may assume any value; or 1-cos2πn/N=sin2πn/N=0 Namely, n = hN(where h is an integer). From the above operation, the error component other than the error component of the order equal to the integer multiple of the number of detection means is eliminated by arranging N detection means circumferentially at the constant pitch and the frequency of N times, that is, the resolution value of 1/N can be attained. Since most of the error component of the rotating disk of the detection means are usually primary and secondary components, the accumulated precision will be significantly high when the number of detection means is three or higher than the three. The present invention may also be applied to a laser interferometer having a plurality of detection means for detecting the displacement information of the object by utilizing the interference of light waves, in addition to the encoder described above. In accordance with the present invention, the signal processing method and the displacement detection apparatus using the same suitable for use in the encoder or the laser interferometer in which the movement signal obtained relating to the moving object is appropriately processed to especially get a plurality of sine wave signals and cosine wave signals which are appropriately processed to detect the movement information of the moving object at a higher resolution than those attained by the respective detection means are provided.

Claims: A signal processing method comprising the steps of: inputting a pair of 90°-phase shifted sinusoidal wave signals (C1, S1), characterized in that said pair of 90°-phase shifted sinusoidal wave signals (C1, S1) is an m-th pair of N inputted pairs of 90°-phase shifted sinusoidal wave signals (C1, S1, C2, S2; C1, S1, C2, S2, C3, S3) which are independently generated one another, with m, N each being natural numbers satisfying the relations 1 ≤ m ≤ N and N ≥ 2; and by processing said N pairs of 90°-phase shifted sinusoidal wave signals by multiplying each component of an m-th pair with each component of an (m+1)-th pair, subtracting the products of same components, C1xC2 - S1xS2, and summing the products of different components, S1xC2 + S2xC1, of said m-th and (m+1)-th pairs to produce a pair of 90°-phase shifted sinusoidal wave signal as a combined signal (C5, S5) having a frequency equal to the sum of the frequencies of the m-th and (m+1)-th pair and, in case of at least one remaining unprocessed pair of 90°-phase shifted sinusoidal wave signals, further processing said combined signal (C5, S5) as an m-th pair and an unprocessed one (C3, S3) of said N pairs of 90°-phase shifted sinusoidal wave signals as an (m+1)-th pair in the same way as above, to thereby finally produce a signal (C6, S6) having a frequency equal to the sum of the frequencies of the N pairs of 90°-phase shifted sinusoidal wave signals after all of the N pairs of signals have been processed. A signal processing method according to claim 1, characterized in that said N pairs of 90°-phase shifted sinusoidal wave signals are generated in association with the displacement of a moving object and the frequencies of of the N pairs of 90°-phase shifted sinusoidal wave signals are proportional to a velocity of said moving object. A detection apparatus for detecting information relating to a displacement of a moving object comprising: a periodic signal generating unit for generating a pair of 90°-phase shifted sinusoidal wave signals (C1, S1), characterized in that said pair of 90°-phase shifted sinusoidal wave signals (C1, S1) is an m-th pair of N pairs of 90°-phase shifted sinusoidal wave signals (C1, S1, C2, S2; C1, S1, C2, S2, C3, S3) which are in operation independently generated one another and which are in operation generated by said periodic signal generating unit and relating to the displacement of said moving object, with m, N each being natural numbers satisfying the relations 1 ≤ m ≤ N and N ≥ 2; the frequencies of said pairs of 90°-phase shifted sinusoidal wave signals are proportional to a displacement velocity of said moving object, and by a signal processing circuit (101, 102) for processing said N pairs of 90°-phase shifted sinusoidal wave signals, comprising a signal processing unit (101) comprising a multiplier means (14-17) for multiplying each component of an m-th pair with each component of an (m+1)-th pair, subtractor means (10) for subtracting the products of same components, C1xC2 - S1xS2, and summing means (12) for summing the products of different components, S1xC2 + S2xC1, of said m-th and (m+1)-th pairs to produce a pair of 90°-phase shifted sinusoidal wave signal as a combined signal (C5, S5) having a frequency equal to the sum of the frequencies of the m-th and (m+1)-th pair and, said signal processing circuit (101, 102) being further arranged for, in case of at least one remaining unprocessed pair of 90°-phase shifted sinusoidal wave signals, supplying said combined signal (C5, S5) as an m-th pair and an unprocessed one (C3, S3) of said N pairs of 90°-phase shifted sinusoidal wave signals as an (m+1)-th pair to a subsequent identical signal processing unit (102) of said signal processing circuit (101, 102), to thereby finally produce a signal (C6, S6) having a frequency equal to the sum of the frequencies of the N pairs of 90°-phase shifted sinusoidal wave signals after all of the N pairs of signals have been processed, for detecting the information relating to the displacement of said moving object. A detection apparatus according to claim 3, characterized in that said periodic signal generation unit includes a plurality of detection means (1, 2) for optically reading one or a plurality of scales (3a, 4a) provided on said moving object. A detection apparatus according to claim 3, characterized in that said periodic signal generation unit includes a plurality of detection means (31, 32; 41, 42, 43) for optically reading a radial grating (34; 45) provided on said moving object performing a rotational movement to detect the rotation of the object, the rotation of the object being represented by information relating to the displacement and being based on at least one of said combined signals having a summed frequency. A detection apparatus according to claim 3, characterized in that the frequencies of said pairs of 90°-phase shifted sinusoidal wave signals correspond to a detection resolution for the displacement of said moving object, and said at least one combined signal provides a detection resolution equal to a reciprocal corresponding to a sum of reciprocals of resolutions corresponding to the frequencies of said N pairs of 90°-phase shifted sinusoidal wave signals.

Inventors: EGUCHI TADASHI, EGUCHI, TADASHI, EGUCHI, TADASHI, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1993
Main classification: G01D5
IPC codes: G01D5, H03M1