Measurement device and measurement method
By staggering the reading timings of detection units in rotary encoders, peak power consumption is reduced while maintaining accurate measurements, addressing the power efficiency issue in conventional rotary encoders with multiple detection sections.
Patent Information
- Application Number
- JP2023033757
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2024-09-19
AI Technical Summary
Conventional rotary encoders with multiple detection sections experience increased peak power consumption during scale reading operations.
Implement a control mechanism that synchronizes the reading timings of detection units in a rotary encoder, dividing the scale reading into multiple phases with different timings to reduce peak power consumption while maintaining measurement accuracy.
Reduces peak power consumption during scale reading operations in rotary encoders by staggering the reading times of detection units, ensuring accurate measurement results without excessive current draw.
Smart Images

Figure 2024125735000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a measurement device and a measurement method. [Background technology]
[0002] Conventionally, there is known a measuring device capable of detecting a rotation angle around a specific axis and detecting a rotation speed. Such a measuring device is equipped with a rotary encoder. The rotary encoder is equipped with a scale on which a plurality of patterns are arranged in the circumferential direction, and a detector (detection head) disposed opposite the scale. In some cases, a plurality of detectors are provided to improve the detection accuracy of the measuring device (see, for example, Patent Documents 1 and 2). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication 2019 / 039344 [Patent Document 2] JP 2001-012967 A Summary of the Invention [Problem to be solved by the invention]
[0004] In a conventional rotary encoder equipped with multiple detectors, the multiple detectors simultaneously perform a reading operation (sampling) on the scale, and the measurement value in the measuring device is obtained by, for example, calculating the average value of the detection values read by each detector.
[0005] However, such conventional rotary encoders have a problem in that the peak current consumption during the reading operation on the scale is large.
[0006] According to one aspect, the present invention aims to reduce peak power consumption during a reading operation of a scale by a plurality of detection units in a measurement device including a rotary encoder having the plurality of detection units. [Means for solving the problem]
[0007] In one aspect, a measurement device includes a rotary scale arranged around a rotation axis and having a scale pattern formed by arranging a plurality of patterns along a circumferential direction, a rotary encoder including a plurality of detection units extending around the rotation axis and arranged facing the rotary scale, each of which reads a pattern from the scale pattern, and a control device that controls the rotary encoder, wherein the control device causes a portion of the detection units included in the plurality of detection units to perform a first reading of the pattern at a first timing, and causes another detection unit, different from the portion of the detection units included in the plurality of detection units, to perform a second reading of the pattern at another timing different from the first timing, and calculates a measurement result based on the reading result of the first reading and the reading result of the other reading.
[0008] In the measuring device having the above configuration, the portion of detection units that perform the first reading can include a plurality of detection units, and the plurality of detection units can be arranged at positions that divide one rotation of the rotary scale into n equal parts (n is a natural number greater than or equal to 2).
[0009] Furthermore, in the measuring device having the above configuration, the other detection unit that performs the other reading can include a plurality of detection units, and the plurality of detection units can be arranged at positions that divide one rotation of the rotary scale into n equal parts (n is a natural number greater than or equal to 2).
[0010] Furthermore, in the measuring device of the above configuration, the control device can be configured to include a switching circuit that switches between a state in which the part of the detection units that perform the first reading is made readable and a state in which the other detection units that perform the other readings are made readable.
[0011] In one embodiment, a measurement method uses a measurement device having a rotary encoder including a rotary scale arranged around a rotation axis and having a scale pattern formed by arranging a plurality of patterns along a circumferential direction, and a plurality of detection units extending around the rotation axis, each arranged opposite the rotary scale, and each reading the pattern from the scale pattern, the measurement method including the steps of: performing a first reading of the pattern by some of the detection units included in the plurality of detection units at a first timing; performing another reading of the pattern by other detection units different from the some of the detection units included in the plurality of detection units at another timing different from the first timing; and calculating a measurement result based on the reading result of the first reading and the reading result of the other reading. Effect of the Invention
[0012] In a measurement device including a rotary encoder having a plurality of detection units, it is possible to reduce peak power consumption during the operation of reading the scale by the detection units. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a block diagram illustrating the configuration of the measurement device of the first embodiment. [Diagram 2] Fig. 2A is a diagram showing an example of the arrangement of detection heads in a rotary encoder included in the measurement device of the first embodiment. Fig. 2B is an example of a time chart showing sampling timing in the rotary encoder included in the measurement device of the first embodiment. [Diagram 3]Fig. 3(A) is a diagram showing an example of the arrangement of detection heads in a rotary encoder included in the measurement device of the second embodiment. Fig. 3(B) is an example of a time chart showing the sampling timing in the rotary encoder included in the measurement device of the second embodiment. Fig. 3(C) is another example of a time chart showing the sampling timing in the rotary encoder included in the measurement device of the second embodiment. [Figure 4] Fig. 4(A) is a diagram showing an example of the arrangement of detection heads in a rotary encoder included in the measurement device of the third embodiment. Fig. 4(B) is an example of a time chart showing the sampling timing in the rotary encoder included in the measurement device of the third embodiment. Fig. 4(C) is another example of a time chart showing the sampling timing in the rotary encoder included in the measurement device of the third embodiment. [Diagram 5] Fig. 5(A) is a diagram showing an example of the arrangement of detection heads in a rotary encoder included in the measurement device of the fourth embodiment. Fig. 5(B) is an example of a time chart showing sampling timing in a rotary encoder included in the measurement device of the third embodiment. [Figure 6] FIG. 6 is a diagram showing the configuration of a measurement device according to the embodiment. [Figure 7] FIG. 7 is a time chart illustrating the flow of signals in the measurement device of the embodiment. [Figure 8] FIG. 8 is an explanatory diagram showing the state of a switching circuit that is switched in response to a switching signal in the measurement device of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, an embodiment will be described with reference to the drawings.
[0015] (First embodiment) [Measurement equipment configuration] First, a schematic configuration of a measuring device 50 of a first embodiment will be described with reference to Fig. 1, Fig. 2(A) and Fig. 6. Fig. 1 is a block diagram illustrating the configuration of a measuring device 50 of an embodiment. Fig. 2(A) is a diagram illustrating an example of an arrangement of detection heads 5-0 to 5-3 in a rotary encoder 1 included in the measuring device 50 of the first embodiment. Fig. 6 is a diagram illustrating the configuration of a measuring device 50 of an example described later, but since the example is described as an example that embodies the first embodiment, Fig. 6 will also be referred to as appropriate in the description of the first example.
[0016] The measurement device 50 can measure the rotation angle and rotation speed of a rotating body (not shown) that is the measurement target.
[0017] 1, a measurement device 50 includes a rotary encoder 1 and a control device 10. A power source 20 is connected to the control device 10. The control device 10 receives power from the power source and performs measurement using the rotary encoder 1.
[0018] <Rotary Encoder> The rotary encoder 1 includes a rotary scale 2 and n (n is an integer of 2 or more) detection heads 5-0 to 5-(n-1). Each detection head corresponds to a detection unit. Referring to FIG. 2(A), in the first embodiment, a first detection head 5-0 to a fourth detection head 5-3 are provided. The first detection head 5-0 to the fourth detection head 5-3 are arranged around the Z axis, which is the center of rotation of the rotary scale 2. Each of the detection heads 5-0 to 5-(n-1) is provided with a transmission coil 5a and a reception coil 5b. The four detection heads are installed at intervals of 90° counterclockwise from the reference position (0°) at the position where the first detection head 5-0 is provided.
[0019] The transmitting coil 5a forms a sector coil having a length in the circumferential direction (see FIG. 6). The receiving coil 5b forms a detection loop inside the transmitting coil 5a, which is repeated in the circumferential direction with a fundamental period λ by a positive and negative sine waveform pattern of the fundamental period λ (see FIG. 6).
[0020] As shown in Fig. 6, the rotary scale 2 is a disk-shaped member that is attached to a rotating body to be measured (not shown) with its rotation axis and center of rotation (Z-axis) aligned with the rotating body. The rotary scale 2 has a scale pattern 3 that includes a plurality of patterns 3a arranged at a fundamental period λ along the circumferential direction of the rotary scale 2. The patterns 3a are closed-loop coils. Each pattern 3a is electromagnetically coupled to a transmitting coil 5a and also to a receiving coil 5b.
[0021] A transmission circuit 6 is connected to each transmission coil 5a. The transmission circuit 6 generates a single-phase AC drive signal and supplies it to the transmission coil 5a. In this case, a magnetic flux is generated in the transmission coil 5a. This generates an electromotive current in the multiple patterns 3a. The multiple patterns 3a generate a magnetic flux that changes in the circumferential direction with a predetermined spatial period by electromagnetically coupling with the magnetic flux generated by the transmission coil 5a. The magnetic flux generated by the transmission coil 5a generates an electromotive current in the reception coil 5b. The electromagnetic coupling between the coils changes according to the amount of displacement of the rotary scale 2, and a sine wave signal with the same period as the fundamental period λ is obtained.
[0022] The receiving coil 5b is formed on, for example, a flat-plate member. The flat-plate member is, for example, a substrate. Each receiving coil 5b has a switching portion for switching between positive and negative sine-wave patterns. Therefore, the receiving coil 5b has a thickness, not only on the surface of the flat-plate member. The receiving coil 5b can also be formed on a printed wiring board. In this case, the sine-wave pattern is arranged with an insulator sandwiched therebetween, and a through hole is arranged in the switching portion to electrically connect the two. Each receiving coil 5b is connected to a switching circuit 14 provided in the control device 10. The switching circuit outputs a1 and a2 output from the switching circuit are used for calculation in the calculation unit 15. The switching circuit outputs a1 and a2 and the calculation in the calculation unit 15 will be described in detail later. Each receiving coil 5b and the switching circuit 14 are connected by wire, but may be connected wirelessly.
[0023] In this embodiment, each detection head is equipped with a transmitting coil 5a, but, for example, it is also possible to have a single transmitting coil and have each receiving coil 5b receive a signal transmitted from this transmitting coil toward the rotary scale 2.
[0024] In the rotary encoder 1 of this embodiment, the rotary scale 2 is attached to the rotating body side that is the measurement object, but the detection heads 5-0 to 5-(n-1) may be set on the rotating body side. In short, the rotary encoder 1 is required to be arranged on the measurement object with the rotary scale 2 and the detection heads 5-0 to 5-(n-1) facing each other.
[0025] The rotary encoder 1 of this embodiment is of the electromagnetic induction type, but may be of a form using other detection principles such as a capacitance type or a photoelectric type. In the case of a rotary encoder of another type, a transmitter and a receiver are respectively used for the transmitter coil and the receiver coil according to the type adopted by the rotary encoder.
[0026] It should be noted that the drawings do not accurately represent the distance between each detection head, the dimensions of each detection head, or the dimensions of the rotary scale 2. Also, the dimensions of the patterns 3a in each drawing and the distance between the patterns 3a are not accurately represented.
[0027] <Control device> The control device 10 includes a switching control unit 11 and a calculation unit 15. The switching control unit 11 switches the detection heads that read the pattern 3a from the scale pattern 2. As will be described later in detail, the measurement device 50 of this embodiment performs a first reading in which some of the detection heads 5-0 to 5-(n-1) read the pattern 3a at a first timing. The measurement device 50 also performs a second reading in which another detection head different from the detection head that performed the first reading reads the pattern 3a at a second timing different from the first timing. The switching control unit 11 switches between the detection head that performs the first reading and the detection head that performs the second reading. The second reading corresponds to another reading different from the first reading. In this embodiment, in the first reading, reading is performed by the first detection head 5-0 and the third detection head 5-2. In the second reading, reading is performed by the second detection head 5-1 and the fourth detection head 5-3.
[0028] The switching control unit 11 includes a request signal transmitting unit 12, a timing generating circuit 13, and a switching circuit .
[0029] The request signal transmitter 12 transmits a request signal that instructs the rotary encoder 1 to perform measurement. The request signal is transmitted at constant intervals according to a preset cycle. The cycle at which the request signal is transmitted is preset as a specification for each model of the measuring device 50, regardless of the rotation speed of the rotating body to be measured. In other words, when the measuring device 50 is in operation, the cycle at which the request signal is transmitted is constant.
[0030] The timing generation circuit 13 transmits a switching signal G that specifies the state of the switching circuit 14 at a predetermined timing. The switching circuit 14 can change its connection state to various states, such as a state in which the first reading is performed, a state in which the second reading is performed, and a state in which neither reading is performed, as will be described in detail later. The switching circuit 14 switches its internal connection state in response to the switching signal G transmitted by the timing generation circuit 13. The measuring device 50 can prepare types of switching signals G according to the number of combinations of detection heads that simultaneously read the pattern 3a. For example, in a measuring device that performs a third reading in addition to a first reading and a second reading, a switching signal G is prepared to change the connection state of the switching circuit 14 to a state in which the third reading is performed.
[0031] The switching circuit 14 has a switching function and switches between a connected state and a disconnected state of the detection heads 5-0 to 5-(n-1). The switching between the connected state and the disconnected state can be performed for each detection head. At the timing to perform the first reading, the switching circuit 14 sets the detection head performing the first reading in the connected state and reads the pattern 3a. At the timing to perform the second reading, the switching circuit 14 sets the detection head performing the second reading in the connected state and reads the pattern 3a. During the period when the first reading and the second reading are not performed, the switching circuit 14 sets all the detection heads in the disconnected state.
[0032] <Arithmetic section> The calculation unit 15 calculates a measurement result based on the reading result in the first reading and the reading result in the second reading. In this embodiment, the calculation unit 15 calculates an average of the angle data acquired by each of the first detection head 5-0 to the fourth detection head 5-3, and outputs the result as the measurement result.
[0033] [Sampling timing] Next, the sampling timing at which each detection head reads the pattern 3a will be described with reference to Fig. 2(B) Fig. 2(B) is an example of a time chart showing the sampling timing in the rotary encoder included in the measurement device of the first embodiment.
[0034] In this embodiment, the first detection head 5-0 to the fourth detection head 5-3 are provided at intervals of 90°. As a result, the first detection head 5-0 and the third detection head 5-2 are spaced 180° apart and arranged to face each other. Also, the second detection head 5-1 and the fourth detection head 5-3 are spaced 180° apart and arranged to face each other. That is, the first detection head 5-0 and the third detection head 5-2 are arranged at a position corresponding to one rotation of the rotary scale 2, that is, at a position that divides 360° in half. Also, the second detection head 5-1 and the fourth detection head 5-3 are similarly arranged at a position that divides 360° in half.
[0035] In this embodiment, of the four detection heads thus arranged, the first detection head 5-0 and the third detection head 5-2 perform a first reading at a first timing t1, and the second detection head 5-1 and the fourth detection head 5-3 perform a second reading at a second timing t2.
[0036] Here, the measurement accuracy in this embodiment will be described. It is assumed that the rotation center of the rotary scale 2 and the arrangement center of the four detection heads 5-0 to 5-3 are shifted by an eccentricity error ΔC. For ease of explanation, it is assumed that the rotation center (Z axis) is located on the line segment connecting the second detection head 5-1 and the fourth detection head 5-3. Therefore, when the radius of a circle drawn by connecting the arrangement center lines of the scale pattern 3 of the rotary scale 2 is R, the detection value of the first detection head 5-0 contains an error of ATAN (ΔC / R). Similarly, the detection of the third detection head 5-2 also contains an error of ATAN (ΔC / R). However, the detection value of the first detection head 5-0 and the detection value of the third detection head 5-2 have the same absolute value, but the positive and negative signs are opposite.
[0037] In this way, the first detection head 5-0 and the third detection head 5-2 are affected by the eccentricity error ΔC. In contrast, the second detection head 5-1 and the fourth detection head 5-3 are not affected by the eccentricity error ΔC.
[0038] In this embodiment, a first read is performed and a second read is performed at a different timing from the first read. Then, the average value of the detection values read at the timing of the first read is calculated. Also, the average value of the detection values read at the timing of the second read is calculated.
[0039] Here, let us assume that a first reading is performed by the first detection head 5-0 and the second detection head 5-1, and a second reading is performed by the third detection head 5-2 and the fourth detection head 5-3. In this case, the average value of the detection value of the first detection head 5-0 and the detection value of the second detection head 5-1 is calculated. Similarly, the average value of the detection value of the third detection head 5-2 and the fourth detection head 5-3 is calculated.
[0040] In this case, the detection value of the first detection head 5-0 is affected by the eccentricity error ΔC, but the detection value of the second detection head 5-1 is not affected by the eccentricity error ΔC. Therefore, the average of these detection values is affected by the eccentricity error ΔC. The average of the detection values of the third detection head 5-2 and the fourth detection head 5-3 are also affected by the eccentricity error ΔC.
[0041] In contrast, in this embodiment, the average value of the detection value of the first detection head 5-0 and the detection value of the third detection head 5-2, which have opposite positive and negative signs, is calculated. As a result, the influence of the eccentricity error ΔC is offset and the influence of the eccentricity error ΔC can be eliminated. The detection value of the second detection head 5-1 and the detection value of the fourth detection head 5-3 are not influenced by the eccentricity error ΔC. Therefore, the average value of these detection values is highly accurate.
[0042] In this way, two detection heads are activated at each timing. Therefore, the peak current consumption can be reduced compared to when four detection heads are activated at the same timing. Also, the measurement accuracy can be maintained.
[0043] According to this embodiment, reading is performed by two detection heads at a first timing, and reading is performed by the remaining two detection heads at a second timing. Therefore, it is possible to reduce current consumption at each timing. In addition, since the measurement result is obtained using the reading results at each timing, the accuracy of the measurement result can be ensured.
[0044] Second embodiment Next, a second embodiment will be described with reference to Fig. 3(A) to Fig. 3(C). With reference to Fig. 3(A), the second embodiment includes eight detection heads, a first detection head 5-0 to an eighth detection head 5-7. The detection heads are arranged at 45° intervals.
[0045] The first detection head 5-0 and the fifth detection head 5-4 are disposed at positions 180° apart and are opposed to each other. The second detection head 5-1 and the sixth detection head 5-5 are disposed at positions 180° apart and are opposed to each other. The third detection head 5-2 and the seventh detection head 5-6 are disposed at positions 180° apart and are opposed to each other. The fourth detection head 5-3 and the eighth detection head 5-7 are disposed at positions 180° apart and are opposed to each other.
[0046] 3B, a pair of detection heads arranged at positions 180° apart and facing each other perform sampling at the same timing. That is, the first detection head 5-0 and the fifth detection head 5-4 perform a first reading at a first timing t1. The second detection head 5-1 and the sixth detection head 5-5 perform a second reading at a second timing t2. The third detection head 5-2 and the seventh detection head 5-6 perform a third reading at a third timing t3. The fourth detection head 5-3 and the eighth detection head 5-7 perform a fourth reading at a fourth timing t4.
[0047] In this embodiment, reading is performed by two detection heads at different timings. Therefore, current consumption can be reduced compared to when reading is performed by all detection heads at the same timing. In addition, since the measurement results are obtained using the reading results at each timing, the accuracy of the measurement results can be ensured, as in the first embodiment.
[0048] In addition, when the detection heads are arranged as shown in Fig. 3(A), sampling may be performed as shown in Fig. 3(C). That is, the first detection head 5-0, the third detection head 5-2, the fifth detection head 5-4, and the seventh detection head 5-6 perform reading at a first timing t1. Also, the second detection head 5-1, the fourth detection head 5-3, the sixth detection head 5-5, and the eighth detection head 5-7 perform reading at a second timing t2. Even when sampling is performed in this manner, the current consumption can be reduced compared to when reading is performed by all the detection heads at the same timing. Also, since the measurement results are obtained using the reading results at each timing, the accuracy of the measurement results can be ensured.
[0049] Third embodiment Next, a third embodiment will be described with reference to Fig. 4(A) to Fig. 4(C). Referring to Fig. 4(A), the third embodiment includes six detection heads, a first detection head 5-0 to a sixth detection head 5-5. However, unlike the other embodiments, the detection heads are not disposed at equal intervals.
[0050] The first detection head 5-0 is disposed at a reference position (0°). The second detection head 5-1 is disposed at a position rotated 90° counterclockwise with respect to the first detection head 5-0. The third detection head 5-2 is disposed at a position rotated 120° counterclockwise with respect to the first detection head 5-0. The fourth detection head 5-3 is disposed at a position rotated 180° counterclockwise with respect to the first detection head 5-0. The fifth detection head 5-4 is disposed at a position rotated 240° counterclockwise with respect to the first detection head 5-0. The sixth detection head 5-5 is disposed at a position rotated 270° counterclockwise with respect to the first detection head 5-0.
[0051] 4B, the first detection head 5-0, the second detection head 5-1, the fourth detection head 5-3, and the sixth detection head 5-5 perform a first reading at a first timing t1. The first detection head 5-0, the third detection head 5-2, and the fifth detection head 5-4 perform a second reading at a second timing t2.
[0052] Even when performing such sampling, current consumption can be reduced compared to when all detection heads perform readings at the same time.In addition, since the measurement results are obtained using the reading results at each timing, the accuracy of the measurement results can be ensured.
[0053] When the detection heads are arranged as shown in FIG. 4A, sampling may be performed as shown in FIG. 4C. That is, the first detection head 5-0 and the fourth detection head 5-3 perform reading at a first timing t1. The second detection head 5-1 and the sixth detection head 5-5 perform reading at a second timing t2. The first detection head 5-0, the third detection head 5-2, and the fifth detection head 5-4 perform reading at a timing t3. Even when sampling is performed in this manner, current consumption can be reduced compared to when reading is performed by all the detection heads at the same timing. Furthermore, since the measurement results are obtained using the reading results at each timing, the accuracy of the measurement results can be ensured.
[0054] (Fourth embodiment) Next, a fourth embodiment will be described with reference to Fig. 5(A) and Fig. 5(B). In the fourth embodiment, as shown in Fig. 5(A), the arrangement of the detection heads is the same as in the third embodiment.
[0055] 5B, in the fourth embodiment, the first detection head 5-0 and the fourth detection head 5-3 perform a first reading at a first timing t1. The third detection head 5-2 and the fifth detection head 5-4 perform a second reading at a second timing t2. Then, the second detection head 5-1 and the sixth detection head 5-5 perform a third reading at a third timing t3.
[0056] Here, attention is focused on the second reading performed at the second timing t2. In the second reading, a virtual angle calculation value calculated based on the detection value of the first detection head 5-0 in the first reading is used. Therefore, at the second timing t2, detection by the first detection head 5-0 is not actually performed. This makes it possible to reduce current consumption.
[0057] The first detection head 5-0 belongs to a set obtained by dividing 360° into two equal parts and a set obtained by dividing 360° into thirds. Therefore, in the third embodiment, the first detection head 5-0 reads detection values at multiple timings within one cycle. Therefore, in this embodiment, the detection value read earlier within one cycle is used in subsequent readings.
[0058] P1(t1) shown in FIG. 5(B) is a calculated angle value based on the detection value of the first detection head 5-0 that is actually detected at the first timing t1. In contrast, P2(t2) is a calculated virtual angle value calculated based on the calculated angle value P1(t1). Here, the sampling interval between the first timing t1 and the second timing t2 is ΔT. Also, the rotary scale rotation speed is V. In this case, the calculated virtual angle value P2(t2) is expressed as follows: Equation 1 P2(t2)=P1(t1)+ΔT×V It can be calculated by:
[0059] In this way, by not performing detection by the first detection head 5-0 at the second timing t2, it is possible to reduce current consumption.
[0060] (Example) Next, a measuring device 50 of an example will be described with reference to Fig. 6 to Fig. 8. The example is based on the first embodiment described with reference to Fig. 2(A) and Fig. 2(B), and each part is specified to have a shape close to an actual device.
[0061] The measurement device 50 includes a rotary encoder 1 and a control device 10. The rotary encoder 1 includes a rotary scale 2 and four detection heads 5-0 to 5-3. The four detection heads are installed at intervals of 90° counterclockwise from the reference position (0°) at the position where the first detection head 5-0 is installed. Each detection head is provided with a transmission coil 5a, a reception coil 5b, and a transmission circuit 6.
[0062] The control device 10 includes a switching control unit 11 and a calculation unit 15. The switching control unit 11 includes a request signal transmission unit 12, a timing generation circuit 13, and a switching circuit 14. The switching circuit 14 receives the signal S1 received by the receiving coil 5b of the first detection head 5-0, and receives the signal S2 received by the receiving coil 5b of the second detection head 5-1. The switching circuit 14 also receives the signal S3 received by the receiving coil 5b of the third detection head 5-2, and receives the signal S4 received by the receiving coil 5b of the fourth detection head 5-3.
[0063] 8, the first switch section 14a and the second switch section 14b included in the switching circuit 14 are shown. The first switch section 14a selects either the signal S1 or the signal S2, and outputs the selected signal as the switching circuit output a1. The second switch section 14b selects either the signal S3 or the signal S4, and outputs the selected signal as the switching circuit output a2. The switching circuit 14 switches between the signals S1 and S2 and between the signals S3 and S4 by a switching signal G generated by the timing generation circuit 13. The relationship between the switching signal G and the state of the first switch section 14a and the relationship between the switching signal G and the state of the second switch section 14b will be described later.
[0064] The switching circuit 14 and the calculation unit 15 are connected by a connection line provided with a first amplifier 16a and a first ADC (analog / digital conversion unit) 17a, and a connection line provided with a second amplifier 16b and a second ADC 17b. The first amplifier 16a amplifies the switching circuit output a1, and the first ADC 17a performs analog / digital conversion on the output to output ADC data d1. The second amplifier 16b amplifies the switching circuit output a2, and the second ADC 17b performs analog / digital conversion on the output to output ADC data d2.
[0065] The calculation unit 15 includes a first angle calculation unit 18 a, a second angle calculation unit 18 b, and an average value calculation unit 19.
[0066] The first angle calculation unit 18a receives the ADC data d1 output by the first ADC 17a. The first angle calculation unit 18a calculates an angle calculation value P1 and an angle calculation value P2 based on the ADC data d1. When the first switch unit 14a is in a state where it selects the signal S1, the angle calculation value P1 is calculated, and when the first switch unit 14a is in a state where it selects the signal S2, the angle calculation value P2 is calculated.
[0067] The second angle calculation unit 18b receives the ADC data d2 output by the second ADC 17b. The second angle calculation unit 18b calculates an angle calculated value P3 and an angle calculated value P4 based on the ADC data d2. When the second switch unit 14b is in a state where it selects the signal S3, the angle calculated value P3 is calculated, and when the second switch unit 14b is in a state where it selects the signal S4, the angle calculated value P4 is calculated.
[0068] The average value calculation unit 19 calculates the average value of the calculated angle values P1 to P4. That is, the sum of the calculated angle values P1 to P4 is divided by 4. The average angle value calculated by the average value calculation unit 19 is regarded as the measurement result for one request signal.
[0069] Next, a description will be given of an example of a measurement method using the measurement device 50 having the above configuration. Fig. 7 is a time chart illustrating the flow of signals in the measurement device 50 of the embodiment.
[0070] First, the switching signal G will be described. Referring to FIG. 8, the switching signal G in this embodiment includes three types of signals: G=0, G=1, and G=2. The switching signal G=1 is a signal for causing the first switch section 14a to select the signal S1 as the switching circuit output a1, and for causing the second switch section 14b to select the signal S3 as the switching circuit output a2. The switching signal G=2 is a signal for causing the first switch section 14a to select the signal S2 as the switching circuit output a1, and for causing the second switch section 14b to select the signal S4 as the switching circuit output a2. The switching signal G=0 is a signal for causing the first switch section 14a to be in a state in which the switching circuit output a1 is not transmitted, that is, neither the signal 1 nor the signal S2 is selected, and for causing the second switch section 14b to be in a state in which the switching circuit output a2 is not transmitted, that is, neither the signal S3 nor the signal S4 is selected. Since analog signal processing is not performed during this period, the power supplies of the first amplifier 16a, the first ADC 17a, the second amplifier 16b, and the second ADC 17b can be turned off, thereby reducing current consumption. The switching signal G is repeated at regular intervals between G=0, G=1, and G=2.
[0071] The cycles of the switching signal G and the request signal are set to match. In this embodiment, the cycles are set so that the timing at which the switching signal G switches from G=1 to G=2 coincides with the rising edge of the request signal. As a result, the average angle value calculated by the average value calculation unit 19 is equivalent to the angle data at the rising edge of the request signal, i.e., at the time when measurement is required by the measuring device.
[0072] The measurement device 50 calculates angle data at the timing when the request signal rises. In this embodiment, the switching signal G becomes G=1 immediately before the request signal rises. Therefore, at that point in time, the switching circuit 14 outputs a signal S1 as the switching circuit output a1 and a signal S3 as the switching circuit output a2.
[0073] The switching circuit output a1 is converted to ADC data d1 via the first amplifier 16a and the first ADC 17a, and input to the first angle calculation unit 18a. The first angle calculation unit 18a calculates an angle calculation value P1 based on the ADC data d1. The switching circuit output a2 is converted to ADC data d2 via the second amplifier 16b and the second ADC 17b, and input to the second angle calculation unit 18b. The second angle calculation unit 18b calculates an angle calculation value P3 based on the ADC data d2.
[0074] At the timing when the request signal rises, the switching signal G switches to G = 2. Therefore, the switching circuit 14 outputs the signal S2 as the switching circuit output a1, and outputs the signal S4 as the switching circuit output a2.
[0075] The switching circuit output a1 is converted to ADC data d1 via the first amplifier 16a and the first ADC 17a, and input to the first angle calculation unit 18a. The first angle calculation unit 18a calculates an angle calculation value P2 based on the ADC data d1. The switching circuit output a2 is converted to ADC data d2 via the second amplifier 16b and the second ADC 17b, and input to the second angle calculation unit 18b. The second angle calculation unit 18b calculates an angle calculation value P4 based on the ADC data d2.
[0076] The calculated angle values P1, P2, P3, and P4 are each input to an average value calculation unit 19. The average value calculation unit 19 calculates the angle average value of these values. The calculated angle average value is regarded as the measurement value at this timing.
[0077] Such detection and calculation are performed every time the timing signal rises periodically.
[0078] In this embodiment, a first read of the pattern 3a is performed by some of the detectors included in the multiple detectors at a first timing. Also, another read of the pattern 3a is performed by other of the detectors included in the multiple detectors at another timing different from the first timing. This makes it possible to reduce current consumption.
[0079] Although the embodiments of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]
[0080] 1 Rotary Encoder 2 Rotary Scale 3 Scale Patterns 3a Pattern 5-0 First detection head 5-1 Second detection head 5-2 Third detection head 5-3 4th detection head 5-n-1 nth detection head 5a Transmitting coil 5b Receiving coil 10 Control device 11 Switching control section 15 Arithmetic section 50 Measuring Equipment
Claims
1. a rotary encoder including: a rotary scale arranged around a rotation axis, the rotary scale having a scale pattern formed by arranging a plurality of patterns along a circumferential direction; and a plurality of detection units extending around the rotation axis, each of which is arranged to face the rotary scale, and each of which reads the pattern from the scale pattern; A control device that controls the rotary encoder; Equipped with the control device causes a part of the detection units included in the plurality of detection units to perform a first reading of the pattern at a first timing, and causes another detection unit, different from the part of the detection units included in the plurality of detection units, to perform another reading of the pattern at another timing different from the first timing, and calculates a measurement result based on a reading result of the first reading and a reading result of the another reading. Measuring equipment.
2. the portion of detection units that perform the first reading includes a plurality of detection units, The plurality of detection units are arranged at positions that divide one rotation of the rotary scale into n equal parts (n is a natural number of 2 or more). The measurement device according to claim 1 .
3. The other detection unit that performs the other reading includes a plurality of detection units, The plurality of detection units are arranged at positions that divide one rotation of the rotary scale into n equal parts (n is a natural number of 2 or more). The measurement device according to claim 1 .
4. The control device includes a switching circuit that switches between a state in which the part of the detection units that execute the first reading is made readable and a state in which the other detection units that execute the other reading are made readable. The measurement device according to claim 1 .
5. A measurement using a measurement device having a rotary encoder including: a rotary scale arranged around a rotation axis, the rotary scale having a scale pattern formed by arranging a plurality of patterns along a circumferential direction; and a plurality of detection units extending around the rotation axis, each of which is arranged opposite the rotary scale, and each of which reads a pattern from the scale pattern, the measurement comprising: performing a first reading of the pattern by a part of the plurality of detection units at a first timing; performing another reading of the pattern by another detection unit different from the part of the detection units among the detection units included in the plurality of detection units at another timing different from the first timing; calculating a measurement result based on a read result in the first read and a read result in the other read; Measurement methods including.
Citation Information
Patent Citations
Encoder and surveying instrument carrying magnetic encoder
JP2001012967A
encoder
WO2019039344A1
