The invention relates to a position measuring device for position measurement as defined by claim 1 and to a method for position measurement as defined by claim 11.
In many fields, absolute position measuring devices are increasingly being used; in them, the absolute position datum is derived from a code track having code elements disposed in series with one another in the measurement direction. The code elements are provided in pseudo-random distribution, so that a certain number of successive code elements each form one bit pattern. When the scanning device is shifted by a single code element relative to the code track, a new bit pattern is already formed, and by way of the entire measurement range to be detected absolutely, a sequence of different bit patterns is available.
One such sequential code is called a chain code or pseudo-random code.
The resolution of the absolute position generated with the absolute code is not precise enough for many applications. To further enhance the resolution, it is provided that the absolute position datum be combined with a position datum from a higher-resolution incremental position measurement. However, this combination can be made with certainty only if the resolution of the absolute position datum can unequivocally define at least one division period or incremental position measurement. To achieve the requisite total resolution, besides the absolute code, a plurality of incremental divisions of different division periods are therefore provided, as shown in German Patent Disclosure DE 4123722 A1. One of these incremental divisions has a division period corresponding to the width of one code element. By interpolation of the analog periodic scanning signal derived from this and attaching it to the absolute position datum of the code and by attachment to the high-resolution incremental division, a resultant absolute datum having the resolution corresponding to the high-resolution incremental division is obtained.
Proposals already exist of deriving an incremental position datum from the absolute code itself. For instance, in European Patent Disclosure EP 1329696 A1, an absolute code is disclosed with which on the one hand an absolute position datum as well as a plurality of analog incremental scanning signals, phase-shifted from one another, can be generated. Each code element comprises two partial fields, and one of these partial fields is disclosed periodically. For unequivocal absolute determination, the other of the two partial fields must therefore unequivocally encode the code element, and therefore the code overall comprises three different partial fields. For generating the analog periodic scanning signals, in-phase scanning signals from a plurality of code elements are each added together.
This has the disadvantage that because of the periodic arrangement of partial fields, a third state is required for encoding the code elements.
In International Patent Disclosure WO 02/01160 A1, which is a point of departure for our invention, a position measuring device is described in which the incremental position datum is derived from a code that comprises a sequence of code elements of equal width, disposed in series with one another in the measurement direction, and having a first and a second property. The code elements are each disposed aperiodically. The incremental position datum is ascertained by Fourier analysis.
It is disadvantageous that the Fourier analysis in turn requires a periodic arrangement of the code elements. Moreover, relatively high computing power is necessary, and real-time processing is hard to achieve.
It is the object of the invention to create a position measuring device with which an incremental position datum can be derived from the serial code in a simple way.
This object is attained by the characteristics of claim 1.
It is also the object of the invention to disclose a method for position measurement, with which simple, secure generation of both an absolute and an incremental position datum from a serial code is made possible.
This object is attained with the characteristics of claim 11.
Advantageous features of the invention are recited in the dependent claims.
The invention will be described in further detail in conjunction with the drawings, in which:
a shows the code of
b shows a scanning signal which is generated in scanning the code of
c shows the location-dependent shape of a partial signal, generated by the converter device from the scanning signal generated in accordance with
In
Upon each relative adjustment of the sequential code 1 relative to the scanning unit 10, a fragment T of the code 1 having M code elements C1 through C8 are simultaneously scanned; M=a natural number greater than or equal to 3, and in the example, M=8. The beam of light is modulated as a function of position by the code 1, so that downstream of the code 1, a position-dependent light distribution is created, which is detected by detectors D1 through D8. The scanning signals A1 through A8 of the detectors D1 through D8 are supplied on the one hand to an evaluation unit 15, which in a known manner forms a code word CW from them that defines the absolute position. From each of the code elements C1 through C8, one bit is derived. For forming this code word CW, see for instance DE 4123722 A1.
On the other hand, the scanning signals A1 through A8 are supplied to an arrangement 11 for forming an incremental signal IN. This arrangement 11 has a converter device 12, in order, from the scanning signals A1, A3, A6, A7 obtained by means of the detectors D1 through D8 at the transitions K1, K2, K3, K4 and extending variously as a function of the type of transition, to form respective identically extending partial signals TA1, TA3, TA6 and TA7 at each of the transitions K1 through K4, regardless of the type of transition. Moreover, the arrangement 11 has a collection device 13, which combines these partial signals TA1, TA3, TA6 and TA7, in order from them to form the incremental signal IN as an analog periodic signal having the period length equal to the width B of a code element C1 through C8.
In the invention, unlike the prior art, it is not the periodic arrangement of code elements C1 through C8 that is needed for forming the incremental signal IN; instead, the fact that the transitions K1, K2, K3 and K4 from one code element of one property to one code element of the other property, in this example from C1 to C2, from C3 to C4, from C6 to C7, and from C7 to C8—that is, the edges—occur at positions that are predetermined by a matrix of width B is exploited.
If one looked at the scanning signals A1 through A8, detected by the detectors D1 through D8 at the transitions K1 through K4 of the code 1 (
The converter device 12 has the function of converting the especially small scanning signals, generated in the middle of the code elements C2, C3, C7, and the especially large scanning signals, generated in the middle of the code elements C1, C4, C5, C6, C8, into approximately identical output signals. The shape of these output signals must differ from the shape that occurs at the transitions K1 through K4. It is advantageous if at the transitions K1 through K4, regardless of the type of transition, whether bright to dark or dark to bright, especially high signals are generated, and in the middles of the code elements C1 through C8, especially low signals are generated. The transmission characteristic of the converter device 12 is optimized in that respect; for this purpose, the converter device has a nonlinear transmission characteristic, in particular a quadratic transmission characteristic, which converts input signals, which are identical in amount but differ in their sign, into an identical output signal. Nonlinear components such as transistors, FETs, or diodes are suitable for attaining this. Upon a shift of the code 1, the matrix of transitions K1 through K4 is moved across the detectors D1 through D8, so that from the transitions K1 through K4, a periodic sinusoidal signal change having the period B is created. One of these thus-generated intermittently periodic partial signals is shown in
With the arrangement 11, a relatively simple method that is attainable through hardware and that ascertains a middle position of all the detected transitions K1 through K4 of the code 1 in parallel and thus quickly is made possible.
The analog sinusoidal periodic incremental signal IN can be subdivided and digitized by means of an interpolator 14, and this position datum D serves to attach the low-resolution absolute position datum CW to the signal period of an incremental track 20. For that purpose, the position datum D within the width B is unequivocally absolute and has a resolution which is less than the resolution of the position obtained from the incremental track 20. This code attachment takes place in a code attachment device 16, in which the position datum D is on the one hand attached to the code word CW and on the other attached to a fine value F obtained by scanning the incremental track 20. A resultant absolute position ABS having the resolution of the incremental track 20 is then available at the output of the scanning unit 10 and can be output in a known manner, preferably via a serial interface.
The division period of the graduation of the incremental track 20 is typically 20 μm, and the width B of the code elements C1 through C8 is typically greater than 80 μm, for instance 200 μm.
As already indicated at the outset, the formation of only a single periodic incremental signal IN is described above. In practice, it is advantageous if in the same way a plurality of incremental signals, phase-shifted from one another by 90° or 180°, are formed which can then be processed in a known manner. To generate a second incremental signal which is phase-shifted from the incremental signal IN, a second set of detectors is necessary, which is offset from the first set by a fraction of the width B of one code element. To generate a signal phase-shifted by 120°, the offset is B/3; for generating a signal phase-shifted by 90°, the offset is B/4. In general terms, to generate N incremental signals N phase-shifted from one another, N sets of detectors are necessary; then N detectors are assigned to each code element, and within the fragment T, (N×M) detectors must then be provided, where N=a natural number greater than or equal to 1. For each set of detectors, one collection device is provided, so that each Nth detector is supplied to the Nth collection devices. Each of the collection devices furnishes one of the incremental signals, phase-shifted from one another, with a mutual phase shift of 2 π/N.
In a second example, shown in
For generating three incremental signals IN0, IN120, IN240, phase-shifted by 120° from one another, three sets of detectors D11 through D16 are provided. The detectors of one set are disposed in the matrix B to one another, and the detectors of the sets are each offset from one another by B/3. The detectors D11 and D14 form the first set for generating the first incremental signal IN0; the detectors D12 and D15 form the second set for generating the second incremental signal IN120; and the detectors D13 and D16 form the third set for generating the third incremental signal IN240.
The converter device 112 is embodied for comparing each of the scanning signals A11 through A16 with a scanning signal A11 through A16 generated by the adjacent detector D11 through D16, and for rectifying the thus-formed difference, in order to obtain the requisite partial signals TA11 through TA16. An especially high partial signal TA11 through TA16 is generated if the scanning signals A11 through A16 of the adjacently disposed detectors D11 through D16 differ greatly, regardless of the sign of the difference. High partial signals TA11 through TA16 are therefore associated with the transitions K11. By this provision, the transitions K11 are weighted in a special way. The thus-generated partial signals TAIL TA14 and TA12, TA15 and TA13, TA16 of one set of detectors D11, D14 and D12, D15 and D13, D16 are each added up in the collection device 113 to form one of the incremental signals IN0, IN120, IN240.
The generation of the code word CW takes place in the evaluation unit 115 in accordance with EP 1468254 B1, which is hereby incorporated by reference.
The scanning signals may be voltages or currents. If currents are used, then suitable components 17, of the kind schematically shown in
In
Alternatively, the incremental signals can be formed by the following equations:
IN0=|(A21+A22)−(A23+A24)|+|(A25+A26)|−|(A27+A28)|+|(A29+A30)−(A31+A32)|+|(A33+A34)−(A35+A36)|+ . . .
IN90=|(A22+A23)−(A24+A25)|+|(A26+A27)−(A28+A29)|+|(A30+A31)−(A32+A33)|+|(A34+A35)−(A36+A37)|+ . . .
In summary, the invention thus relates to a position measuring device having a code 1, 101, comprising a sequence of code elements C1 through C28 of equal width B, disposed in the measurement direction X, and having a first and a second property, the code elements C1, C4, C5, C6, C8, C12, C21, C24, C26, C28 having the first property and the code elements C2, C3, C7, C11, C22, C23, C25, C27 having the second property each being disposed aperiodically. Depending on the property of the code element C1 through C28, a scanning signal A1 through A52 with a high signal level or a low signal level is generated. The position measuring device has a scanning unit 10 with a plurality of detectors D1 through D52 each for scanning one fragment T of the code 1, 101 at least at scanning positions in a scanning matrix B, and for forming a code word CW, defining the absolute position, from the various signal levels and at least one incremental signal IN, IN0, IN90, I180, IN270, I120, IN240 from scanning signals A1 through A52 obtained by means of the detectors D1 through D52. The arrangement of detectors D1 through D52 in the scanning matrix B means that there need not necessarily be a detector D1 through D52 present at each predetermined position in the spacing matrix B. The position measuring device includes an arrangement 11 for forming the incremental signal IN0, IN90, IN180, IN270, IN120, IN240 and having a converter device 12, 112 and a collection device 13, 113 downstream of the converter device 12, 112; the converter device 12, 112 converts the scanning signals A1 through A52 into partial signals TA1 through TA16 in such a way that the partial signals TA1 through TA16, derived from the absolute positions in the spacing matrix B and combined by the collection device 13, 113, form the at least one incremental signal IN0, IN90, IN180, IN270, IN120, IN240 as a periodic signal having the period corresponding to the width B. The converter device 12, 112 has the function of converting the scanning signals A1 through A52, derived at transitions K1 through K12 from one of the code elements C1, C4, C5, C6, C8, C12, C21, C24, C26, C28 of one property to one of the code elements C2, C3, C7, C11, C22, C23, C25, C27 of the other property, each into partial signals TA1 through TA36 having a periodic signal shape of the period B, and this periodic signal shape is independent of whether the transition K1 through K12 is from the first property to the second property, or from the second property to the first property. The scanning signals A1 through A52, derived from the other regions of the code elements C1, C4, C5, C6, C8, C12, C21, C24, C26, C28 having the first property and the code elements C2, C3, C7, C11, C22, C23, C25, C27 having the second property, are each converted into identically extending partial signals TA1 through TA16. The periodic signal shape, viewed from each of the transitions K1 through K12, is present in a range +B/2 and −B/2. “Identically extending partial signals TA1 through TA16” means that the signal shape of the scanning signals A1 through A52, outside these transition regions K1 through K12, has a constant level, specifically regardless of the property of the code element C1 through C28.
Advantageously, the converter device 112 is embodied for comparing each of the scanning signals All through A52 with a reference signal and rectifying the difference formed by the comparison. The reference signal may be a predetermined constant signal, or a scanning signal All through A52 which derives from a scanning position spaced apart in the measurement direction X, that is, from an adjacent detector D11 through D52.
In conjunction with
In DE 4123722 A1, it is explained that for secure formation of a code word, the scanning signals which scan an unequivocal region of a code element are selected. In EP 1329696 A1, the secure formation of a code word based on a Manchester code is explained. In both cases, the selection of the correct scanning signals is made from the position datum of an incremental track disposed next to the code. Advantageously, the position datum D generated according to the invention is now used for correct selection of the scanning signals A23, A27, A31 for forming the code word CW. For that purpose, the scanning signals A21 through A32 are supplied to a selector device 18, which as a function of the position datum D selects the scanning signals A23, A27, A31 that are suitable for securely forming the code word CW. The scanning signals that are suitable, A23, A27, A31, are those which scan the middle regions of the code elements C21, C22 and C23, so that for forming the code word CW, the scanning signals A21, A25 and A29 derived from the ambiguous transitions are not used.
In conjunction with
In detail, the generation of two incremental signals BN0 and BN90 of period 2×B that are phase-shifted from one another by 90° will now be explained.
IN0;1=|(A21+A22)−(A23+A24)|+|(A29+A30)−(A31+A32)|+|(A33+A34)−(A35+A36)|+ . . .
IN0;2=|(A25+A26)−(A27+A28)|+|(A33+A34)−(A35+A36)|+ . . .
IN90;1=|(A22+A23)−(A24+A25)|+|(A30+A31)−(A32+A33)|+ . . .
IN90;2=|(A26+A27)−(A28+A29)|+|(A34+A35)−(A36+A37)|+ . . .
IN180;1=|(A23+A24)−(A25+A26)|+|(A31+A32)−(A33+A34)|+|(A35+A36)−(A37+A38)|+ . . .
IN180;2=|(A27+A28)−(A29+A30)|+|(A35+A36)−(A37+A38)|+ . . .
IN270;1=|(A24+A25)−(A26+A27)|+|(A32+A33)−(A34+A35)|+ . . .
IN270;2=|(A28+A29)−(A30+A31)|+|(A36+A37)−(A38+A39)|+ . . .
In the arrangement 11.2, these sums of partial signals are further added to the periodic analog incremental signals phase-shifted from one another by 90° and having the period B:
The sinusoidal shape of these incremental signals IN0, IN90, IN180 and IN270 is very good because of the averaging over many code elements and transitions, so that by means of them, very precise determination of an absolute position within the width B by known interpolation methods is made possible.
For generating the incremental signals BN0 and BN90 having the period 2×B, these signals are linked:
BN0=(IN0;1+IN90;1+I180;1+I270;1)−(IN0;2+IN90;2+IN180;2+IN270;2)
BN90=(IN0;2+IN90;2+I180;2+I270;2)−(IN0;1+IN90;1+IN180;2+IN270;2)
The form of these incremental signals BN0 and BN90 is suited for thus making an unequivocal distinction possible between the region B on the right and on the left within 2×B of the Manchester code 101.
In the optical scanning principle, all the elements of the scanning unit 10 can be embodied in a space-saving way in an opto-ASIC. The invention is not limited to the optical scanning principle, however. For instance, magnetic, inductive or capacitive position measuring devices could for instance be designed according to the invention. The type of detectors and the embodiment of the first and second properties of the code elements must then be selected in accordance with the scanning principle; otherwise, however, the above description can be adopted directly.
The absolute position measuring device can be used for measuring linear or rotational motions; the code 1, 101 is mounted on one of the moving objects and the scanning unit 10 on the other of the objects to be measured. The code 1, 101 can be mounted directly on the object to be measured or mounted on a scale which is then in turn coupled to the object to be measured.
The objects to be measured can be the table and the slide of a machine tool, a coordinate measuring machine, or the rotor and stator of an electric motor.
Number | Date | Country | Kind |
---|---|---|---|
10 2008 022 027.2 | May 2008 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2009/053437 | 3/24/2009 | WO | 00 | 7/18/2011 |