Absolute encoder of the multirotation type

Abstract: The multirotation type absolute encoder comprises an optical type absolute encoder with a rotary disk devoid of a minimum slit (MSB) corresponding to a one-pulse detection; and a magnetic encoder for detecting a one-pulse, in place of a pulse detected from the devoid minimum slit.

Description: FIELD OF THE INVENTION The present invention relates to an absolute encoder of the multirotation type in which a one-pulse encoder of the magnetic type for detecting the number of rotations and the rotating direction and an absolute encoder of the optical type for detecting the absolute angle within one rotation are combined on the same shaft, the absolute angle of the multirotations of the shaft is detected on the basis of detection signals of the encoders, and when power sources which are supplied to the encoders are cut, a power source is supplied from an external auxiliary power source such as a battery power source or the like to the one-pulse encoder and to an electronic circuit to measure the detection amount of the one-pulse encoder. DESCRIPTION OF THE PRIOR ART Fig. 10 is a diagram showing a constitution of a conventional example of a kind of multirotation type absolute encoder. An optical type absolute encoder to detect the absolute angle within one rotation comprises: a disk 2, attached to a shaft 1, for detecting the absolute angle within one rotation; a light emitting section LED 4 0 to project the light to the disk 2; a light projecting lens 3; a grating 5 and photo sensing devices 6 1 to 6 15 to detect photosignals; and waveform shaping circuits 7 1 to 7 15 to shape the waveforms of the detection signals into square waves. A magnetic type one-pulse encoder to detect multirotations comprises: a disk 8 1 which is attached to the shaft 1 and has a magnet 8 2 attached to its rotating section; a magnetoresistive element 9 to detect the number of rotations of the disk 8 1 ; a wave- form shaping circuit 10; and a power switching circuit 11 for switching a power source to an external auxiliary power source such as a battery power source or the like when the supply of the power source is cut. To detect the rotating direction, the magnetic type one-pulse encoder to detect the multirotations outputs square wave signals M 1 and M 2 of two phases having a phase difference of 90°. The multirotations are detected by counting the signals M 1 and M 2 by counters (not shown) provided in an external controller. On the other hand, the optical type absolute encoder to detect the absolute angle within one rotation outputs signals G 1 to G 15 (15 bits in the case of detecting 32768 pulses) in accordance with the resolution and detects the absolute value from these signals. Other types of known absolute encoders are shown in Figs. 11 and 12. Japanese Published Application No. 60,162922 and J. Physics E. Scientific Instruments, Vol. 15 (1982) No. 12 (Dorking) pages 1271 to 1273 show the above-mentioned types of encoders. The foregoing conventional multirotation type absolute encoder has the following problems if it is used as a detector to detect the position of a robot or similar equipment. To improve the detecting accuracy of the absolute value, it is necessary to improve the resolution by increasing the number of bits of the absolute encoder. However, to increase the number of bits, it is also necessary to increase the number of tracks of the disk. Therefore, the diameter of the disk and the outer diameter of the absolute encoder increase. It is difficult to miniaturize the encoder. It is an object of the present invention to provide an absolute encoder of the multirotation type in which the diameter of the disk of the absolute encoder can be reduced, thereby the encoder can be miniaturized. The multirotation type absolute encoder of the present invention comprises an optical type absolute encoder with a rotary disk devoid of a slit for detecting one pulse per one rotation of said shaft, and said one pulse is detected by said magnetic encoder. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagram showing a constitution of an embodiment of a multirotation type absolute encoder of the present invention; Fig. 2 is a diagram showing signal formats of outputs of channels A and B in the embodiment of Fig. 1; Fig. 3 is a circuit diagram of a waveform shaping circuit 10 of a magnetic encoder; Fig. 4 is a waveform diagram of output pulses M 1 and M 2 of the waveform shaping circuit 10; Fig. 5 is a diagram showing patterns of an absolute encoder; Fig. 6 is an enlarged diagram of a portion of the absolute encoder of Fig. 1; Fig. 7 is a diagram showing the circuit section in Fig. 6 corresponding to only one slit; Fig. 8 is a circuit diagram to output 15 bits, i.e., 32768 pulses; Figs. 9A - 9K are diagrams showing the phase relation of square wave output signals; Fig. 10 is a diagram showing a constitution of a conventional multirotation type absolute encoder; Fig. 11 is a diagram showing the main section of another conventional multirotation type absolute encoder; and Fig. 12 is a diagram showing a constitution of a conventional multirotation type absolute encoder using balanced line driver. DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described in detail hereinbelow with reference to the drawings. Fig. 1 is a diagram showing a constitution of an embodiment of a multirotation type absolute encoder of the invention. Fig. 2 is a diagram showing signal formats of outputs of channels A and B in the embodiment of Fig. 1. An optical type absolute encoder to detect the absolute angle within one rotation comprises: a disk 2, attached to a shaft 1, for detecting the absolute angle within one rotation; a LED 4 to emit light to the disk 2; a grating 5; a photodiode array 6 consisting of photo sensing devices; and waveform shaping circuits 7 1 to 7 15 to shape the waveforms of detection signals of those photo sensing devices into square waves. A magnetic encoder to detect the multirotations comprises: a disk 8 1 having a magnet 8 2 attached to the rotating section: a magnetoresistive element 9 to detect the number of rotations; a waveform shaping circuit 10; a power switching circuit 14 for switching the power source to an external battery power source when the supply of the power source is cut; a high volumed capacitor 15 to drive the circuit by the accumulated voltage if the battery power source is cut; a voltage detecting circuit 13 to detect the power source voltage; a control circuit 12 having therein a microcomputer to count detection signals of multirotations and to keep the count value; a control circuit 17 including a gate array for serially transmitting the detection signals of multirotations and the absolute value signal within one rotation as signals of channels A, B, and Z, respectively, after the power source is turned on; and a balanced line driver 16 to send those signals to an external controller. The operation of the embodiment will now be described. First, a voltage is supplied from the battery power source to the multirotation type magnetic encoder. This voltage passes through a diode D 1 and is supplied as the power source voltage to the magnetic encoder to detect the multirotations, the control circuit 12 having therein a microcomputer for counting a number of multirotation signals and holding them. Even when no power source is supplied (e.g., also including during a power failure), the number of rotations of the shaft 1 is detected. Next, when the power source voltage is supplied, it is supplied as the power source voltage to each circuit of, for example, an absolute encoder and, at the same time, it is charged into the capacitor 15 by a diode D 2 . The power source is also supplied to each circuit such as a magnetic encoder through a diode D 3 . Assuming that the power source voltage is 5V, the battery power source voltage is 3V, and the forward voltage drop of each of the diodes D 1 to D 3 is 0.7 V, the power source voltage V 1 which is applied to the magnetic encoder becomes 3.6 V (= 5 - 0.7 x 2) and is larger than the battery voltage of 3 V. Thus, the diode D 1 is set into the reverse bias state. While the power source is being applied, there is no need to supply a current from the battery power source. Thus, the life of the battery is lengthened. Each section will now be described in detail. (Signal transmission) When the power source voltage is supplied, the voltage detecting circuit 13 operates and sends signals to the control circuits 17 and 12. The control circuit 17 then operates and first transmits the multirotation detection signal of the shaft 1 as a start-stop system signal to the channel A signal and as serial data to the external controller. In this embodiment, this signal is transmitted by the ASCII code (9600 bauds) of eight characters. The absolute value signal which is detected the second time by the absolute encoder is transmitted as incremental pulses of channels A and B to the external controller (Fig. 2). In the external controller, the absolute position of the multirotations can be detected from those two signals. After the transmission, by transmitting the pulses of two phases of channels A and B in a manner similar to the conventional method, the positioning can be performed by an incremental encoder. (Detecting section of the magnetic encoder and the high volumed capacitor 15) Fig. 3 is a circuit diagram of a waveform shaping circuit of the magnetic encoder. Fig. 4 is a waveform diagram of output pulses M 1 and M 2 of this circuit. As will be understood from the diagrams, the pulse M 1 (M 2 ) is obtained by detecting the differential output of magnetoresistive element 2MR and 4MR (1MR and 3MR). The waveforms are shaped by programmable operational amplifiers 1IC and 2IC whose electric power consumption is very small. To reduce the electric power consumption, magnetoresistive element 1MR to 4MR having high resistances of hundreds of kiloohms are used. Further, resistors R 1 and R 2 of high resistances are serially connected. In this way, the electric power consumption of the whole circuit is reduced, thereby prolonging the life of the battery. In the control circuit 12 as well, not only a CMOS type microcomputer but also CMOS type control devices are used to minimize the current consumed. Thus, low current consumption is realized and, when the circuit is in the inoperative mode, current consumption is about 10 µA. In addition, since the high volumed capacitor 15 is used, if the high volumed capacitor of 2 (F) is used as the capacitor 15, the circuit can operate for 100 hours or longer even if the power source or battery power source is cut. Therefore, even if the robot is moved for four days or more due to a production line change in a factory, the absolute value is held, so that the robot can be immediately restarted. (Light emitting device section of the absolute encoder) LED are used as the light emitting device. However, the conventional methods described in Figs. 10 and 11 have problems. Therefore, in the case of 15 bits as shown in Fig. 1, three LEDs 4 are used, the light emitting positions are grouped and the grouped LEDs emit light. On the other hand, in the case of grouping, if the light emitted from the central and peripheral light emitting positions are not parallel, an accurate detection signal cannot be obtained. Therefore, an aspheric lens is used in the lens section to thereby obtain parallel light. Since it is sufficient to use parallel light and to emit light from each group, a small lens can be used in the LED. Thus, since the light emitting source has a short focal distance, the encoder is shortened. (Pattern constitution of the absolute encoder) Fig. 5 is a diagram showing a pattern of the absolute encoder. Fig. 6 is a circuit diagram of a portion of the absolute encoder in Fig. 1. To eliminate the drawback due to variations in light emitting devices and photo sensing devices shown in Figs. 11 and 12, the pattern of the absolute encoder is divided into three groups as described above. In the groups, transparent reference tracks D 1 , D 2 , and D 3 are provided as shown in Fig. 5. A one-chip silicon photodiode array is used as a photo sensing devices 6. In Fig. 5, circles S A , S B , and S C indicated by broken lines show areas where light emitting diodes LED 1 , LED 2 , and LED 3 (corresponding to three LEDs 4 each having an aspheric lens in Fig. 1) emit light. With this constitution, since the photo sensing devices are formed on the same silicon wafer, the temperature characteristics of the photodiodes are fairly 0 uniform. Therefore, by comparing the detection signal V S1 of a slit S 1 with a index signal V D1 derived from the reference track and by shaping the waveforms of these signals as shown in Fig. 6, the temperatures of the LEDs and photodiodes simultaneously change and the waveforms are shaped at this differential voltage, so that an output waveform which is extremely stable to the temperature can be obtained. By using one slit of the magnetic encoder as the minimum slit (MSB) of the absolute encoder, there is no need to form a slit in the absolute encoder section. Therefore, the number of tracks in the absolute encoder section decreases and the encoder can be miniaturized radically. (Waveform shaping circuit section of the absolute encoder) Two kinds of constitutions are used for the waveform shaping circuits 7 1 to 7 15 of the absolute encoder in accordance with the number of bits of the gray code. There is the problem that the conventional absolute encoder cannot be used at a high rotational speed because the frequency characteristics of the respective bits differ. However, according to these constitutions, the absolute value signals are serially transmitted when the rotation is stopped and thereafter, the signals are sent by incremental signals in a manner similar to the conventional method. Therefore, no problem is caused even if the shaft is rotated at a high speed. Fig. 7 shows a circuit in the circuit section in Fig. 6 corresponding to only one slit. This circuit is used in the waveform shaping circuit of two or more slits excluding the maximum slit of a high resolution. The magnitude of signal level of each slit is adjusted by a variable resistor VR. Since the frequency characteristics of the photodiode deteriorate as the load resistance increases, the characteristics of the slit in which the signal output is small and the variable resistor VR is largely adjusted deteriorate. However, since the absolute value is detected when the rotation is stopped, as described above, the characteristics of the encoder are not influenced by variations in signal level. Fig. 8 is a circuit diagram to output 32768 pulses of 15 bits. In this embodiment, in order to reduce the number of tracks of the disk 2 to detect the absolute value, 4096 slits are used as the slit of the highest resolution (in general, 8192 slits are used). The signals detected by these slits are input to a differential input type current-to-voltage converter 20 to thereby obtain quasi-sinusoidal signals of 4096 slits. From these signals, quasi-sinusoidal signals whose phases are different by 45° at a time are obtained through a resistance divider 30. The waveforms of these signals are shaped by a waveform shaping circuit 40, thereby obtaining square wave signals. Fig. 9 is a diagram showing the phase relations among square wave outputs GR 1 , GR 00 , GR 2 , and GR 01 in Fig. 8. The outputs GR 1 , GR 00 , GR 2 , and GR 01 (each consisting of 4096 pulses) are shown in Fig. 9B, 9D, 9C, and 9E, respectively. The outputs GR 1 , and GR 2 and the outputs GR 00 and GR 01 are input to exclusive OR circuits (not shown) in the control circuit 17, so that square wave output signals of two phases (of channels A and B) of 8192 pulses shown in Fig. 9H and in Fig. 9I are obtained. Figs. 9J and 9K show signals of channels Z and Z , respectively. It is known that the frequency characteristic of a diode varies with the value of its load resistance, and is optimal when the value is zero, i.e., when the diode is short. Therefore, it is possible in principle to make the value zero by using a current-to-voltage converter. Further, it is possible to cancel common mode noise. For these reasons, a differential input type current-to-voltage convertor 20 is used, whereby the frequency characteristics are also improved. Even if the shaft is rotated at a high speed, the characteristics can be sufficiently satisfied. The embodiment of Fig. 1 relates to the example in which one index pulse (channels Z and Z ) per rotation is added. Since the absolute value can be inherently detected, the index pulse which is used in the conventional incremental encoder is unnecessary. In this embodiment, index pulses are synthesized by the control circuit 17 and sent to the external controller. By always checking the number of pulses, a malfunction can be detected by the noise appearing during transmission. The reliability can be improved as follows. Since only one pulse of channel Z is output per rotation as compared with channels A and B, the probability that the noise is mixed with the pulse of channel Z is small, so that when the pulses of channels A and B are counted, if the encoder is operated while always checking the number of pulses of channel Z, the pulses can be transmitted with improved high reliability.

Claims: A multirotation type absolute encoder comprising a magnetic type one-pulse encoder (8 1 , 8 2 , 9, 10, 12) for detecting the number of rotations of a shaft (1) and its rotating direction, an optical type absolute encoder (2, 4, 5, 6, 7 1 -7 15 ) for detecting an absolute rotational angle of said shaft within one rotation, means (17) for detecting the absolute rotational angle of the shaft on the basis of detection signals of said encoders, and means (14) for supplying power from an external auxiliary power source such as a battery power source to said one-pulse encoder and to an electronic circuit (12) to measure a detection amount of said one-pulse encoder when power to be supplied to said encoders is cut, characterized in that said optical type absolute encoder is provided with a rotary disk devoid of a slit for detecting one pulse per one rotation of said shaft, and said one pulse is detected by said magnetic encoder.

Inventors: NAGASE TAKASHI, NAGASE, TAKASHI
Applicants: YASKAWA DENKI SEISAKUSHO KK, KABUSHIKI KAISHA YASKAWA DENKI SEISAKUSHO
Application year: 1988
Main classification: H03M1
IPC codes: H03M1, G06F1, G01D5, G05B19