The present invention relates to a multiturn rotary encoder. In particular, the invention relates to the interface architecture for transmitting revolution data from a multiturn unit to an evaluation unit in order to ascertain the number of revolutions performed by a shaft.
Multiturn rotary encoders are used in drive technology to measure the position as well as the number of revolutions performed by a shaft. Such multiturn rotary encoders have been known for a long time in the prior art. They are usually made up of a first measuring standard, by scanning which, information is obtained about the position of the shaft within one complete revolution, and one or more further measuring standards, whose scanning supplies position information about the number of revolutions performed by the shaft.
The units for determining position within one revolution of the shaft are combined under the term “singleturn stage.” The units for ascertaining position information regarding the number of revolutions performed by the shaft form a multiturn unit. From the position information of the singleturn stage and the multiturn unit, an evaluation unit forms a combined position value which includes both the number of complete revolutions performed up to now, as well as the absolute position within the instantaneous revolution.
In modern position-measuring devices, a large-scale-integrated, application-specific component (ASIC) is often used as evaluation unit, which in the ideal case, already includes the detectors for scanning the singleturn stage, as well as the circuit elements necessary for processing the detector signals to form the position value. If an optical scanning principle is used, for example, the detectors are in the form of a photodetector array. In this combination, one also speaks of an opto-ASIC.
To scan the second measuring standards in the multiturn unit, separate scanning units are provided which generate position values in absolute form. For example, the multiturn unit of a typical multiturn rotary encoder has three multiturn stages, which are driven via a three-stage gear unit having a fixed gear-ratio factor. Magnets may be used as measuring standards, which are mounted axially on gear wheels and which in each case are scanned by a Hall sensor that outputs the angular position of the assigned gear wheel as an absolute value with, e.g., 8-bit resolution. These absolute values are transmitted via digital interfaces to the evaluation unit. A multiturn rotary encoder of this type is described, for example, in European Patent No. 1 076 809.
Multiturn rotary encoders are also known whose multiturn unit has a counter that is incremented or decremented by counting pulses, which are generated upon each complete revolution of the shaft. The count value in this case directly represents the number of revolutions performed by the shaft. A typical data word length of the count value is 18 bits.
In known methods heretofore, preferably parallel interfaces were used for transmitting data from the multiturn unit to the evaluation unit, since they are easy to implement and achieve high data-transmission rates. The disadvantage in this design approach is the high number of signal lines required. Thus, the three-stage system described above alone requires 24 lines for transmitting the three 8-bit long data words. Added to this are also various control lines. This is particularly problematic when an ASIC or opto-ASIC is to be used as evaluation unit, since the number of terminal pads needed directly influences the chip area and therefore the costs per ASIC.
The use of serial interfaces likewise proves to be problematic, since simple serial interfaces, which can be implemented with low expenditure in an ASIC, are usually too slow for exacting position-measuring devices, e.g., for measuring high-speed spindles, and fast serial interfaces require great circuit complexity and therefore again have a negative effect on the chip area needed and lead to increased costs. Moreover, fast serial interfaces require a high clock-pulse rate with steep clock-pulse edges that may give rise to problems due to crosstalk to the signal processing, especially of the singleturn stage, and lead to high current consumption because of the required drive strength of the pads.
Example embodiments of the present invention provide a multiturn rotary encoder which has an improved interface architecture.
A multiturn rotary encoder includes a singleturn code disk which is joined in rotatably fixed manner to a shaft and which has a code track that is scannable by a singleturn scanning unit to ascertain the absolute position within one revolution of the shaft, a multiturn unit for measuring revolution data which are suitable for ascertaining the number of revolutions performed by the shaft, and an evaluation unit which is connected to the multiturn unit via at least two digital interfaces for transmitting the revolution data. The revolution data include at least two data words which have a different rate of change during rotation of the shaft, the interface for transmitting the data word having the highest rate of change to the evaluation unit is a parallel interface, and the interface for transmitting the data word having the lowest rate of change to the evaluation unit is a serial interface.
The serial interface may be implemented both as a point-to-point connection and as a bus connection, the bus connection being especially advantageous due to the accompanying savings of further pins at the evaluation unit.
The advantages of the multiturn rotary encoder described herein have a particularly great impact if an ASIC is used as evaluation unit, since in this case, an optimal cost/benefit ratio is achieved due to the reduction in the number of terminal pins needed, without significant increase of chip area.
Further advantages of example embodiments of the present invention and details pertaining thereto are described in more detail below in the following description with reference to the figures.
To measure revolution data, which are suitable for ascertaining the number of revolutions performed by shaft W, a multiturn unit 18 is provided. In the example shown, it includes three multiturn stages. Each of these multiturn stages includes a multiturn code disk 20, 30, 40 having a code element 21, 31, 41 each, as well as a multiturn scanning unit 22, 32, 42. The revolution data are data words 24, 34, 44 which are ascertained in multiturn scanning units 22, 32, 42. Multiturn code disks 20, 30, 40 are driven by shaft W to be measured, via a three-stage reduction gear 23, 33, 43; during rotation of shaft W, first multiturn code disk 20, which is driven by first gear stage 23, has the highest rotational speed, and third multiturn code disk 40, which is driven by the third and at the same time last gear stage 43, has the lowest rotational speed. Correspondingly, data words 24, 34, 44 generated in multiturn scanning units 22, 32, 42 have different rates of change; first data word 24 of the first multiturn stage has the highest rate of change, while third data word 44 of the third and at the same time last multiturn stage has the lowest rate of change.
An especially simple design of the multiturn stages is obtained if a magnetic scanning principle is used for it. In this case, code elements 21, 31, 41 are made of disk-shaped permanent magnets which are joined in rotatably fixed manner to multiturn code disks 20, 30, 40 and which in each case have a dipole, i.e., a magnetic north pole N and south pole S. It is particularly advantageous to use suitable gear wheels of reduction gear 23, 33, 43 as multiturn code disks 20, 30, 40. To ascertain the angular position of code elements 21, 31, 41, the dipoles are scanned by Hall sensors disposed in respective multiturn scanning units 22, 32, 42. For example, the resolution of multiturn scanning units 22, 32, 42 is 8 bits, that is, one revolution of multiturn code disks 20, 30, 40 is resolved with 256 absolute position values and is made available in the form of data words 24, 34, 44.
A multiturn rotary encoder of this type is described, for example, in European Patent No. 1 076 809.
An evaluation unit 13 is provided to evaluate the individual position values of the singleturn stage and of the multiturn stages in order to form one overall position value. Advantageously, evaluation unit 13 is an ASIC, on which singleturn scanning unit 12 is already integrated. If, as described above, the singleturn stage is constructed according to the optical scanning principle, and the ASIC also includes the detectors for detecting the light modulated by code track 11, then the ASIC is also referred to as an opto-ASIC. Data words 24, 34, 44, which contain the absolute position values of the multiturn stages, are transmitted to evaluation unit 13 via digital interfaces 25, 35, 45, as explained below.
In order to form one overall position value from the individual absolute position values of the singleturn stage and of the three multiturn stages, it is necessary to combine them. In this context, it is especially important that the completion of one full revolution of each of the code disks is recognized by the code disk of the next-slower gear stage.
For the further considerations, a gear-ratio factor of 1/16 is assumed for each of the three gear stages of reduction gear 23, 33, 43, that is, first gear stage 23 reduces the rotational speed of first multiturn code disk 20 to 1/16 the rotational speed of shaft W to be measured (i.e., of singleturn code disk 10), the rotational speed of second multiturn code disk 30 is reduced by second gear stage 33 to 1/16 the rotational speed of first gear stage 23 (i.e., of first multiturn code disk 20), and finally, the rotational speed of third multiturn code disk 40 is brought by third and last gear stage 43 to 1/16 the rotational speed of preceding second gear stage 33 (or of second multiturn code disk 30). The resolution of each multiturn code disk 20, 30, 40 is 8 bits, the four higher-order bits (4 . . . 7) being used for counting the revolutions and the four lower-order bits (0 . . . 3), which overlap with the four higher-order bits (4 . . . 7) of the preceding gear stage having the next-higher rotational speed, being used for what is termed the code connection in order to permit a correct combination of the individual absolute position values of the singleturn stage and of the three multiturn stages to form the overall position value. Thus, a maximum counting range of 4096 revolutions is obtained. 18000 R/min is assumed as the maximum rotational speed of shaft W to be measured.
Data words 24, 34, 44, generated in multiturn scanning units 22, 32, 42, have different rates of change during rotation of shaft W, corresponding to the rotational speeds of multiturn code disks 20, 30, 40. First data word 24 generated in first multiturn scanning unit 22 has the highest rate of change, second data word 34 generated in second multiturn scanning unit 32 has a medium rate of change, and third data word 44 generated in third multiturn scanning unit 42 has the lowest rate of change.
It is decisive for connection reliability that the position values be available promptly to evaluation unit 13. While this requirement can be satisfied without difficulty by parallel interfaces, the use of serial interfaces for transmitting data words 24, 34, 44 from multiturn scanning units 22, 32, 42 to evaluation unit 13 may be problematic.
A numerical example in this regard is described below.
Interfaces 25, 35, 45 for transmitting data words 24, 34, 44 from multiturn scanning units 22, 32, 42 to evaluation unit 13 should have a transmission frequency of 200 kHz. This corresponds to a typical value of the widespread I2C interface which, as a 2-wire interface, is particularly suitable for serial data transmission between integrated circuits over short distances, and is easy to implement in such circuits.
In order to transmit an 8-bit value, these interfaces 25, 35, 45 require at least 40 μs (bits additionally to be transmitted such as start and stop bits remain unconsidered in this analysis). With respect to singleturn code disk 10, this means that at maximum rotational speed during the data transmission, it describes an angular value of 4.32°. That is, dependent on the rotational speed, the angular position of singleturn code disk 10 during the transmission of first data word 24 from first multiturn scanning unit 22 to evaluation unit 13 changes between 0° when the shaft is at standstill and 4.32° at maximum rotational speed. This results in a considerable reduction in connection reliability.
If one considers the second multiturn stage, it turns out that the angular position of first multiturn code disk 20 during the transmission of second data word 34 from second multiturn scanning unit 32 via second interface 35 to evaluation unit 13 at maximum rotational speed of shaft W changes by only 0.27° at most. In many cases, this value may already be disregarded with respect to the connection reliability.
For the third multiturn stage, a maximum variance of the angular position of second multiturn code disk 30 of only 0.017° is obtained, which no longer has any influence on the connection reliability.
In summary, it may thus be stated that the transmission speed of a simple, easy to implement serial interface is sufficient for the transmission of absolute position values from third multiturn scanning unit 42 to evaluation 13, and at least here, it is possible to dispense with a parallel interface which is costly in terms of the necessary terminal pins.
In this example, a serial interface is still suitable for transmitting second data word 34 from second multiturn scanning unit 32 to evaluation unit 13, as well. Because of the reduction in connection reliability, this serial interface is no longer suitable for transmitting data from first multiturn scanning unit 22, whose assigned first multiturn code disk 20 has the highest rotational speed, to evaluation unit 13.
However, as mentioned at the outset, the implementation of a faster serial interface is not expedient for reasons of the necessary cost-intensive chip area and the disadvantages from the standpoint of circuit engineering due to the high clock-pulse rate required With regard to the requirements of reducing the chip area by reducing the number of pins needed, as well as the use of easy to implement interfaces, the use of a parallel interface as first interface 25 for the transmission of data between first multiturn scanning unit 22 and evaluation unit 13 leads to the best cost/benefit ratio. In this specific example, by using one parallel and two serial interfaces, the pins needed for the interfaces are reduced from 24 (three parallel interfaces having 8 bits each, disregarding control lines) to 12 (two pins per serial interface).
The number of pins needed may be reduced even further if the serial interfaces are not arranged as point-to-point connections, as shown in
By generating and evaluating, as a function of the direction of rotation, one counting pulse per revolution of shaft W, at any point in time, the counter value directly represents the number of revolutions performed by shaft W. In order not to lose the counter value after the shutdown or a failure of the supply voltage of the multiturn rotary encoder, a battery 128, which provides the electrical energy necessary for retaining the counter value, is also disposed in multiturn unit 118.
The counter value is split into two data words 124, 134, a first data word 124 including lower-order bits of the counter value, and a second data word 134 including higher-order bits of the counter value. Upon rotation of shaft W, first data word 124 has the highest, and second data word 134 has the lowest rate of change of the two data words 124, 134. First data word 124 is transmitted to evaluation unit 13 via a first interface 125, and second data word 134 is transmitted via a second interface 135. First interface 125 is a parallel interface, and second interface 135 is a serial interface, as also shown in
With regard to reducing the terminal pins needed for transmitting data to evaluation unit 13, the aim should be to transmit as many as possible, advantageously at least half the bits of the counter value via a serial interface. A preferred division of a counter value having an 18-bit data-word length is the use of the eight lower-order bits (0 . . . 7) as first data word 124, and the ten higher-order bits (8 . . . 17) as second data word 134. If indicated, the data-word length of first data word 124 may be further reduced as a function of the maximum rotational speed of shaft W and the data-transmission speed of second interface 135 used, thus, the serial interface, which in turn further reduces the number of lines needed from evaluation unit 13 to multiturn unit 118. As a special case, only the least significant bit (LSB) of the counter value may be used as first data word 124. In this case, first interface 125 is reduced to only one line.
According to example embodiments of the present invention, multiturn rotary encoders include a multiturn unit 18, 118 in which revolution data are generated, with whose aid the number of revolutions performed by a shaft W is ascertainable in an evaluation unit 13, and which for this purpose, are transmitted to evaluation unit 13 via digital interfaces 25, 35, 45, 125, 135.
Number | Date | Country | Kind |
---|---|---|---|
10 2008 051 083 | Oct 2008 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2009/061197 | 8/31/2009 | WO | 00 | 4/8/2011 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2010/040601 | 4/15/2010 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4070769 | Hollis | Jan 1978 | A |
5448079 | Schulz | Sep 1995 | A |
6268845 | Pariza et al. | Jul 2001 | B1 |
6542088 | Bielski et al. | Apr 2003 | B1 |
7395178 | Hofbauer et al. | Jul 2008 | B2 |
20040210416 | Rodi | Oct 2004 | A1 |
Number | Date | Country |
---|---|---|
198 20 014 | Nov 1998 | DE |
1 076 809 | Feb 2001 | EP |
WO 2004031695 | Apr 2004 | WO |
Entry |
---|
International Search Report, issued in corresponding International Application No. PCT/EP2009/061197. |
Number | Date | Country | |
---|---|---|---|
20110196648 A1 | Aug 2011 | US |