Encoder, method for calculating angle of rotation, and rotation angle calculation program
The encoder corrects the eccentric motion of the external gear in absolute encoders using a hypocycloid gear mechanism, ensuring precise rotation angle detection with fewer parts and reduced assembly complexity.
Patent Information
- Application Number
- JP2023046008
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2043-03-22
AI Technical Summary
In absolute encoders using a hypocycloid gear mechanism, the eccentric motion of the external gear results in a cycloidal trajectory, necessitating corrections to determine the rotation angle accurately, which is challenging due to the deviation from perfect circular motion.
The encoder employs an internal gear with a first gear part and an eccentric gear that decelerates the rotation of a rotating shaft, utilizing a gear mechanism with a sensor to detect the angle of the second gear part and an angle correction part to correct the eccentric motion of the external gear.
The encoder effectively corrects the position of the external gear's eccentric movement, enabling precise detection of the rotation angle and reducing the number of parts required, thereby lowering manufacturing costs and facilitating assembly while maintaining a high detection upper limit of rotations.
Smart Images

Figure 2024135370000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an encoder, a rotation angle calculation method, and a rotation angle calculation program. [Background technology]
[0002] Conventionally, rotary encoders are known that are used in various control devices to detect the position and angle of a rotating shaft of a motor or the like. Rotary encoders include incremental rotary encoders that detect a relative position or angle, and absolute rotary encoders that detect angles (hereinafter referred to as "absolute encoders"). As technologies related to such absolute encoders, for example, the following is known (see, for example, Patent Document 1). This absolute encoder has a strain wave gear device that reduces the speed of rotation of the motor shaft, and a detection unit that detects the absolute rotation position of a drive-side internal gear that is a reduced-rotation output member of the strain wave gear device. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-100859 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the absolute encoder, a hypocycloid gear mechanism may be used as a gear device for reducing the rotation of a rotating shaft used to detect the absolute rotational position of the rotating shaft. When a hypocycloid gear mechanism is used as a gear device in an absolute encoder, it is possible to detect the position of an external gear. In a hypocycloid gear mechanism, since an external gear performs eccentric motion, the position of the external gear moves along a cycloidal locus on the inner periphery side of an internal gear. For this reason, in order to obtain the rotation angle of an external gear of a hypocycloid gear mechanism as a gear device in an absolute encoder, it is necessary to correct the detected position of the external gear to the position in the case of true circular motion based on the difference between the cycloidal locus of the external gear and the locus in the case of true circular motion. In addition to the hypocycloid gear mechanism, a similar correction is also necessary when detecting the absolute rotational position of a rotating shaft using a gear mechanism in which a point on the pitch circumference of an external gear does not perform true circular motion, such as a pin gear type hypocycloid gear mechanism.
[0005] The present invention addresses the above-mentioned problem as an example, and has an object to provide an encoder, a rotation angle calculation method, and a rotation angle calculation program that correct the position of an external gear that performs eccentric motion. [Means for solving the problem]
[0006] In order to achieve the above-mentioned object, the encoder of the present invention is an encoder that detects the sum of the rotation angle over multiple rotations of a rotating shaft, and includes a first gear portion which is an internal gear provided on the outer periphery of the rotating shaft, a second gear portion which is a gear that performs eccentric motion to decelerate and rotate on the inner periphery of the first gear portion at a predetermined reduction ratio relative to the first gear portion as the rotating shaft rotates, a second sensor that acquires the angle of the second gear portion, and an angle correction portion that corrects the angle of the second gear portion. Effect of the Invention
[0007] According to the encoder of the present invention, the position of the external gear that performs eccentric motion can be corrected. [Brief description of the drawings]
[0008] [Figure 1] 1 is a perspective view showing an encoder according to a first embodiment of the present invention, with a case and a board seen through. [Diagram 2] 2 is a cross-sectional view taken along the axial direction of the encoder shown in FIG. 1. [Diagram 3] 2 is a radial cross-sectional view of the encoder shown in FIG. 1, showing the state when the main shaft is at a certain rotational position. FIG. [Figure 4] 4 is a radial cross-sectional view of the encoder shown in FIG. 1, showing a state in which the main shaft is in a rotational position different from that in FIG. 3; [Diagram 5] FIG. 11 is a perspective view showing an encoder according to a second embodiment of the present invention, with a case and a board seen through. [Figure 6] 6 is a cross-sectional view taken along the axial direction of the encoder shown in FIG. 5. [Figure 7] 7 is a cross-sectional view taken along line VII-VII in FIG. 6, showing the encoder shown in FIG. 5. [Figure 8] 8 is a cross-sectional view taken along line VIII-VIII in FIG. 6, showing the encoder shown in FIG. 5. [Figure 9] FIG. 11 is a perspective view showing an encoder according to a third embodiment of the present invention, with a case and a board seen through. [Figure 10] 10 is a cross-sectional view taken along the axial direction of the encoder shown in FIG. 9. [Figure 11] 11 is a cross-sectional view showing the encoder shown in FIG. 9 taken along line XI-XI in FIG. [Figure 12] 12 is a cross-sectional view taken along line XII-XII in FIG. 10, showing the encoder shown in FIG. 9. [Figure 13] FIG. 11 is a perspective view showing an encoder according to a fourth embodiment of the present invention, with a case and a board seen through. [Figure 14] 10 is a cross-sectional view taken along the axial direction of the encoder shown in FIG. 9. [Figure 15] 15 is a cross-sectional view taken along line XV-XV in FIG. 14, showing the encoder shown in FIG. 13. [Figure 16] 2 is a cross-sectional view taken along an axial direction, which shows a schematic diagram of a first modified example of the encoder shown in FIG. 1. FIG. [Figure 17] 17 is a schematic radial cross-sectional view of the encoder shown in FIG. 16. [Figure 18] 1. FIG. 4 is a perspective view showing a second modified example of the encoder shown in FIG. 1 with the case and the board seen through. [Figure 19] 19 is a cross-sectional view taken along the axial direction of the encoder shown in FIG. 18. [Figure 20] FIG. 13 is a functional block diagram illustrating the configuration of an encoder according to a fifth embodiment of the present invention. [Figure 21] FIG. 13 is a schematic diagram showing a path of points on a pitch circle of a second gear when the second gear rotates in an encoder according to a fifth embodiment. [Figure 22] FIG. 13 is a schematic diagram showing a path traced by a point located away from the center of a second gear when the second gear rotates in an encoder according to a fifth embodiment. [Figure 23] 13 is a graph showing a reference angle and a detected angle of a second gear in an encoder according to a fifth embodiment. [Figure 24] 13 is a graph showing an angle error versus a detection angle of a second gear in the encoder according to the fifth embodiment. [Diagram 25] 13 is a graph showing a corrected detection angle of the second gear in the encoder according to the fifth embodiment. [Figure 26] 13 is a flowchart showing a process performed by an angle correction unit in an encoder according to a fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, embodiments for implementing the encoder according to the present invention will be illustrated with reference to the accompanying drawings. The embodiments illustrated below are intended to facilitate understanding of the present invention, and are not intended to limit the present invention. The present invention can be modified or improved from the following embodiments without departing from the spirit of the present invention. In addition, in the above-mentioned attached drawings, the dimensions of each component may be exaggerated or reduced, or hatching may be omitted, in order to facilitate understanding.
[0010] (First embodiment) First, the encoder according to the first embodiment will be described.
[0011] Fig. 1 is a perspective view showing an encoder in this embodiment, Fig. 2 is a cross-sectional view of the encoder shown in Fig. 1 in a certain reference state along the axial direction of the rotary shaft of the encoder (hereinafter simply referred to as "axial direction"), and Fig. 3 is a cross-sectional view along the radial direction showing a part of the encoder shown in Fig. 1 in the above-mentioned reference state. Note that the radial direction is a direction perpendicular to the above-mentioned axial direction.
[0012] 1 to 3, the encoder 1 according to this embodiment mainly comprises a casing 110, a substrate 120, a reduction mechanism 100, a rotating shaft 130, a first sensor 141, and a second sensor 142. Note that in Fig. 1, the casing 110 and the substrate 120 are shown in a see-through manner, and the see-through casing 110 and the substrate 120 are shown by dashed lines for the sake of convenience.
[0013] The casing 110 has a generally flat rectangular parallelepiped shape in which the length in the axial direction is shorter than the length in the radial direction. A hole 110h is formed in the center of the casing 110 in the radial direction, penetrating the casing 110 in the axial direction. The inner circumferential surface of the casing 110 that defines the hole 110h is formed in a shape that allows the rotating shaft 130 to fit into it. The casing 110 is composed of a first portion 111 on one side in the axial direction and a second portion 112 on the other side. In this embodiment, the first portion 111 and the second portion 112 have approximately the same length in the axial direction, but are not limited to this. The first portion 111 and the second portion 112 are overlapped in the axial direction and fixed to each other. A connector 121 is attached to the first portion 111.
[0014] The second portion 112 has a stepped inner surface 112i. That is, the inner surface 112i has a first inner surface 112iu located on the first portion 111 side in the axial direction, and a second inner surface 112id located on the opposite side to the first portion 111 side in the axial direction. When viewed from the axial direction, the inner surfaces 112iu and 112id are concentric circles centered on the center 130c of the rotating shaft 130, and the diameter of the second inner surface 112id is smaller than the diameter of the first inner surface 112iu. In this specification, the side closer to the center of the rotating shaft in the radial direction is referred to as the "inner" and the side farther from the center of the rotating shaft is referred to as the "outer". A first number N1 of multiple internal teeth 151it are formed on the second inner surface 112id over its entire circumference. That is, the second portion 112 of the casing 110 is formed as a first gear 151 having multiple internal teeth 151it on the rotating shaft 130 side in the radial direction. In this manner, the first gear 151 is a part of the casing 110 and is fixed to the casing 110. Note that the first gear 151 may be a separate component from the casing 110 and fixed to the casing 110.
[0015] The substrate 120 is fixed to the casing 110 at least at the first portion 111 and the second portion 112 of the casing 110 in the axial direction. The rotating shaft 130 passes through the substrate 120 at approximately the center in the radial direction. Two sensors (a first sensor 141 and a second sensor 142) are attached to the surface of the substrate 120 on the second portion 112 side. In this embodiment, the sensors 141 and 142 are disposed at positions on the opposite side of the center 130c of the rotating shaft 130, but the positional relationship between the sensors 141 and 142 is not limited thereto. As described later, the first sensor 141 detects the magnetic field generated from the first magnet 161, and the second sensor 142 detects the magnetic field generated from the second magnet 162, so that each sensor may be disposed at a position where it is easy to detect the magnetic field of the magnet to be detected. A connector 121 is connected to the surface of the substrate 120 on the first portion 111 side. Through a terminal connected to this connector 121, power from the outside may be supplied to the sensors 141 and 142 and a calculation unit 170 (described later), and data calculated by the calculation unit 170 may be output to the outside.
[0016] The rotating shaft 130 is fitted into a hole 110h of the casing 110 and is supported by the casing 110 so as to be rotatable relative to the casing 110. In this embodiment, the rotating shaft 130 includes a shaft body 131 and a crank portion 132. The shaft body 131 is formed in a circular ring shape centered on the center 130c of the rotating shaft 130 when viewed from the axial direction. In this embodiment, the shaft body 131 is formed in a cylindrical shape, that is, hollow, and has an inner circumferential surface 131i centered on the center 130c and extending in the axial direction. That is, in this embodiment, the rotating shaft 130 is a hollow shaft. Note that another rotating shaft (for example, a main shaft of a motor, etc.) may be attached to the inner circumferential surface 131i of the shaft body 131 by, for example, press-fitting. In this way, by attaching another rotating shaft to the rotating shaft 130, the present invention functions as an encoder that detects the amount of rotation of another rotating body.
[0017] The crank portion 132 is formed on the outer circumferential surface of the shaft body 131. The crank portion 132 may be formed integrally with the shaft body 131, or may be formed separately and then fixed to the shaft body 131. In the axial direction, at least a part of the crank portion 132 and at least a part of the second gear 152 described later are at the same position (height). FIG. 3 is a cross-sectional view along the radial direction of an axial portion where at least a part of the crank portion 132 and at least a part of the second gear 152 are located. As shown in FIG. 3, when attention is paid to a part 132of (hereinafter, for convenience, referred to as a "crank forming surface 132of") on the outer circumferential surface of the rotating shaft 130 where the crank portion 132 is formed, the crank portion 132 includes an eccentric portion 132a fixed to the shaft body 131 on a surface that is eccentric in the radial direction with respect to a center 130c of the rotating shaft 130 (i.e., the center of the shaft body 131). The eccentric portion 132a is a portion (surface) where the distance RL from the center 130c to the crank forming surface 132of in the radial direction is longer (i.e., the distance RL is maximum) than other portions of the crank forming surface 132of. Note that it is sufficient that at least the portion of the rotating shaft 130 that comes into contact with the second gear 152 is eccentric.
[0018] The second gear 152 is supported at the position of the crank forming surface 132of in the axial direction so that its position in the axial direction does not change. In this embodiment, the second gear 152 is a spur gear. A through hole having a shape roughly corresponding to the shape of the crank forming surface 132of penetrates the center of the second gear 152 in the radial direction along the axial direction. The crank portion 132 is inserted into this through hole of the second gear 152. In addition, a ring-shaped first magnet 161 is fixed to the outer circumferential surface of the crank portion 132. That is, the ring-shaped first magnet 161 is fixed to the rotating shaft 130.
[0019] In this embodiment, as shown in FIG. 2, the above-mentioned first sensor 141 overlaps with the first magnet 161 fixed to the rotating shaft 130 when viewed from the radial direction. The first sensor 141 does not have to overlap with the first magnet 161 when viewed from the radial direction. In this embodiment, the first sensor 141 is configured as a magnetic sensor. The first sensor 141 detects that the magnetism generated from the first magnet 161 changes as the first magnet 161 rotates with the rotation of the rotating shaft 130, converts the change in the magnetism of the first magnet 161 into an electric signal, and outputs it to the calculation unit 170 provided on the substrate 120, for example. When the first sensor 141 is configured as a magnetic sensor, the magnetic sensor is not particularly limited, and for example, a sensor using a coil, a sensor using a reed switch, a sensor using a Hall element, and a sensor using a magnetic resistance element can be used. The same applies when other sensors described later are configured as magnetic sensors. It should be noted that the first sensor 141 is not limited to a magnetic sensor. When the first sensor 141 is configured with a sensor other than a magnetic sensor, for example, an optical sensor, a slit disk or the like is used for the rotating body, and the first magnet 161 is not required. When a sensor using a magnetic resistance element and a gear made of a magnetic material are used, a magnet can be placed on a fixed part such as a substrate instead of the first magnet 161 provided on the rotating shaft. The calculation unit 170 may be configured with, for example, a CPU (Central Processing Unit), and acquires the electric signal output from the first sensor 141 and calculates the rotation angle θ of the rotating shaft 130. sensor1 That is, the first sensor 141 calculates the rotation angle θ of the rotation shaft 130 via the calculation unit 170. sensor1 Detect.
[0020] The eccentric portion 132a of the crank portion 132 is in contact with the inner peripheral surface 152if that defines the through hole of the second gear 152 so as to be slidable relative to the inner peripheral surface 152if. At least one of the eccentric portion 132a and the inner peripheral surface 152if of the second gear 152 may be coated to improve the wear resistance and slidability between the eccentric portion 132a and the inner peripheral surface 152if. A second number N2 of external teeth, which is smaller than the first number N1, is formed on the outer peripheral surface of the second gear 152 (i.e., the surface of the second gear 152 opposite to the rotary shaft 130 side in the radial direction) over the entire circumference. The second gear 152 is disposed inside the internal teeth 151it of the first gear 151 and is surrounded by the internal teeth 151it of the first gear 151 over the entire circumference. Each of the plurality of external teeth 152ot can be meshed with each of the plurality of internal teeth 151it of the first gear 151.
[0021] When the rotating shaft 130 rotates around the center 130c, the eccentric portion 132a of the crank portion 132 also rotates around the center 130c together with the rotating shaft 130, and the second gear 152 swings with the rotation of the eccentric portion 132a. Due to the swing of the second gear 152, the external teeth 152ot on the straight line SL extending radially from the center 130c through the eccentric portion 132a mesh with the internal teeth 151it on the straight line SL. The straight line SL is indicated by a broken line in FIG. 3. Hereinafter, the position where a part of the external teeth 152ot of the second gear 152 meshes with a part of the internal teeth 151it of the first gear 151 is referred to as the meshing position EP. The meshing position EP is on the straight line SL.
[0022] As shown in FIG. 4, when the rotating shaft 130 rotates by a predetermined angle from the state of FIG. 3, that is, when the eccentric portion 132a of the crank portion 132 rotates by a predetermined angle from the state of FIG. 3, the meshing position EP also moves by the same angle along the circumferential direction of the first gear 151. In this manner, the meshing position EP moves sequentially along the circumferential direction of the first gear 151 with the rotation of the rotating shaft 130. Then, when the rotating shaft 130 rotates once, the meshing position EP goes around once along the circumferential direction of the first gear 151. Here, as described above, the first number N1 of the internal teeth 151it of the first gear 151 is greater than the second number N2 of the external teeth 152ot of the second gear 152. Therefore, when the meshing position EP rotates once along the circumferential direction of the first gear 151, that is, when the rotating shaft 130 rotates once, the second gear 152 rotates relative to the first gear 151 along the circumferential direction of the first gear 151 by a number of teeth difference between the first number N1 and the second number N2. Therefore, the reduction ratio Gr of the second gear 152 with respect to the rotating shaft 130 can be expressed by the following equation (1).
[0023]
number
[0024] For example, if the number of teeth of the first gear 151 (first number N1) is 101 and the number of teeth of the second gear 152 (second number N2) is 100, the reduction ratio Gr of the second gear 152 with respect to the rotating shaft 130 is 100. The rotation direction of the second gear 152 is opposite to the rotation direction of the rotating shaft 130.
[0025] In this way, the first gear 151 and the second gear 152 are configured as an eccentric oscillating type reducer. More specifically, the first gear 151 and the second gear 152 function as a reduction mechanism 100 that constitutes a hypocycloid mechanism, more specifically, an involute gear type hypocycloid mechanism.
[0026] As shown in FIG. 1, a ring-shaped second magnet 162 is fixed to the surface of the second gear 152 on the substrate 120 side in the axial direction. As shown in FIG. 2, the above-mentioned second sensor 142 overlaps with the second gear 152 when viewed from the axial direction, and the second magnet 162 is between the second gear 152 and the second sensor 142 in the axial direction. However, the positional relationship between the second sensor 142, the second gear 152, and the second magnet 162 is not limited to this. In this embodiment, the second sensor 142 is configured as a magnetic sensor. The second sensor 142 detects that the magnetism generated from the second magnet 162 changes as the second magnet 162 rotates with the rotation of the second gear 152, converts the change in the magnetism of the second magnet 162 into an electric signal, and outputs it to, for example, the calculation unit 170. It should be noted that the second sensor 142 is not limited to a magnetic sensor. When the second sensor 142 is configured with a sensor other than a magnetic sensor, for example, an optical sensor, a slit disk or the like is used as the rotor, and therefore the second magnet 162 is not required. Also, when a sensor using a magnetic resistance element and a gear made of a magnetic material are used, a magnet is not required. The calculation unit 170 acquires the electric signal output from the second sensor 142 and calculates the rotation angle θ of the second gear 152. sensor2 That is, in this embodiment, the second sensor 142 calculates the rotation angle θ sensor2 is being detected.
[0027] As described above, when the rotating shaft 130 makes one rotation, the second gear 152 rotates along the circumferential direction of the first gear 151 by a number of teeth that is the difference between the first number N1 and the second number N2, so the reduction ratio Gr of the second gear 152 can be expressed by the above formula (1). Therefore, the rotation angle θ of the second gear 152 when the rotating shaft 130 makes one rotation gear2(1) can be expressed by the following equation (2).
[0028]
number
[0029] For example, when the reduction ratio Gr is 100, when the rotating shaft 130 rotates once (360°), the second gear 152 rotates by 3.6° in the opposite direction to the rotating shaft 130. Therefore, the rotation angle θ of the second gear 152 detected by the second sensor 142 via the calculation unit 170 is sensor2 By dividing by the value obtained by the above formula (2), the number of rotations Tm of the rotating shaft 130 (the number of rotations the rotating shaft has made) can be calculated. That is, the number of rotations Tm can be calculated based on the following formula (3).
[0030]
number
[0031] In addition, the rotation angle θ of the rotating shaft 130 taking into consideration the number of rotations of the rotating shaft 130 is the rotation angle θ of the rotating shaft 130. sensor1 Using this, it can be expressed as the following equation (4).
[0032]
number
[0033] In addition, in the formula (4), INT means to round down to the nearest integer.
[0034] The calculation unit 170 calculates the rotation angle θ of the rotation shaft 130. sensor1 and the rotation angle θ of the second gear 152 sensor2 Based on this data and the above formulas (1) to (4), the number of rotations Tm and the rotation angle θ of the rotating shaft 130 are calculated. In this way, the encoder 1 can detect the number of rotations Tm of the rotating shaft 130 as well as the rotation angle of the rotating shaft 130. The upper limit of the number of rotations that the encoder 1 can detect corresponds to the reduction ratio Gr. Therefore, for example, when the reduction ratio is 100, the upper limit of the number of rotations Tm that can be detected is 100 rotations.
[0035] As described above, the encoder 1 according to this embodiment has a rotation shaft 130 and a rotation angle θ sensor1a fixed first gear 151 having a first number N1 of internal teeth 151it on the radial side of the rotary shaft 130; a second gear 152 having a second number N2 of external teeth 152ot on the radial side opposite to the rotary shaft 130, the second gear 152 rotating with the rotary shaft 130; and a rotation angle θ of the second gear 152. sensor2 The encoder 1 includes a second sensor 142 that detects the rotation angle θ sensor2 Based on this, the number of rotations Tm of the rotating shaft is calculated.
[0036] In order to increase the number of rotations of the detectable shaft, a large reduction ratio is required, and generally, the larger the required reduction ratio, the larger the increase in the number of gears tends to be. However, in the encoder 1 according to the present embodiment having the above configuration, a large reduction ratio (for example, reduction ratio 100) is obtained by using two gears (first gear 151 and second gear 152). Therefore, even if a large reduction ratio is required, the increase in the number of gears can be suppressed. In addition, in the encoder 1 according to the present embodiment, only one shaft, the rotating shaft 130, is sufficient for constituting the encoder 1. In this way, in the encoder 1 according to the present embodiment, it is possible to reduce the number of parts such as gears and shafts, and by reducing the number of parts, it is possible to reduce the manufacturing cost of the encoder, facilitate assembly, and achieve miniaturization (reduced diameter and thickness). In addition, in the present embodiment, the first gear 151 and the second gear 152 can be previously unitized as an involute gear type hypocycloid mechanism and can be provided for the assembly process, so that the number of parts during assembly can be further reduced, and the encoder can be more easily assembled.
[0037] Furthermore, in this embodiment, since the hypocycloid mechanism is used as the reduction mechanism, it is easy to make the rotating shaft hollow without increasing the size of the encoder.
[0038] Furthermore, by using the hypocycloid mechanism, as described above, it is possible to achieve a larger reduction ratio with a smaller number of gears, thereby effectively increasing the upper limit for detection of the number of rotations of the rotating shaft.
[0039] In this embodiment, a bearing may be disposed between the outer circumferential surface of the shaft 130 and the inner circumferential surface of the casing 110 and / or between the outer circumferential surface of the crank portion 132 and the inner circumferential surface of the second gear 152.
[0040] Second embodiment Next, an encoder according to a second embodiment will be described.
[0041] FIG. 5 is a perspective view showing the encoder in this embodiment, FIG. 6 is a cross-sectional view along the axial direction of the encoder shown in FIG. 5 in a certain reference state, FIG. 7 is a cross-sectional view along line VII-VII in FIG. 6 showing the encoder shown in FIG. 5, and FIG. 8 is a cross-sectional view along line VIII-VIII in FIG. 6 showing the encoder shown in FIG. 5.
[0042] 5 to 8, the encoder 2 according to this embodiment mainly comprises a casing 210, a substrate 220, a reduction mechanism 200, a rotating shaft 230, a first sensor 241, and a second sensor 242. Note that in Fig. 5, the casing 210 and the substrate 220 are shown in a see-through manner, and the see-through casing 210 and the substrate 220 are shown by dashed lines for the sake of convenience.
[0043] The casing 210 has a shape of a substantially flattened rectangular parallelepiped whose length in the axial direction is shorter than its length in the radial direction. A hole 210h is formed in the center of the casing 210 in the radial direction, penetrating the casing 210 in the axial direction. The inner circumferential surface of the casing 210 that defines the hole 210h is formed in a shape into which the rotating shaft 230 can be fitted. The casing 210 is composed of a first portion 211 on one side in the axial direction and a second portion 212 on the other side in the axial direction. In this embodiment, the length of the first portion 211 in the axial direction is shorter than the length of the second portion 212 in the axial direction, but is not limited to this. The first portion 211 and the second portion 212 are overlapped in the axial direction and fixed to each other. A connector 221 is attached to the second portion 212.
[0044] The second portion 212 has a stepped inner surface 212i. The inner surface 212i has a first inner surface 212iu located on the first portion 211 side in the axial direction, a second inner surface 212id located on the opposite side to the first portion 211 side in the axial direction, and a connecting surface 212is connecting the first inner surface 212iu and the second inner surface 212id. The connecting surface 212is is a plane parallel to the radial direction. When viewed from the axial direction, the inner surfaces 212iu and 212id are concentric circles centered on the center 230c of the rotation shaft 230, and the diameter of the second inner surface 212id is smaller than the diameter of the first inner surface 212iu. A first number N1 of multiple internal teeth 251it are formed on the second inner surface 212id over its entire circumference. That is, the second portion 212 of the casing 210 is formed as a first gear 251 having a plurality of internal teeth 251it on the radial side of the rotation shaft 230. In this manner, the first gear 251 is a part of the casing 210 and is fixed to the casing 210. Note that the first gear 251 may be a separate member from the casing 210 and fixed to the casing 210.
[0045] The substrate 220 is fixed to the casing 210 at least at the first portion 211 and the second portion 212 of the casing 210 in the axial direction. The rotating shaft 230 passes through the substrate 220 at approximately the center in the radial direction. Two sensors (a first sensor 241 and a second sensor 242) are attached to the surface of the substrate 220 on the second portion 212 side. In this embodiment, the sensors 241 and 242 are disposed at positions on the opposite side of the center 230c of the rotating shaft 230, but the positional relationship between the sensors 241 and 242 is not limited thereto. As described later, the first sensor 241 detects the magnetic field generated from the first magnet 261, and the second sensor 242 detects the magnetic field generated from the second magnet 262, so that each sensor may be disposed at a position where it is easy to detect the magnetic field of the magnet to be detected. In addition, a connector 221 is connected to the surface of the substrate 220 on the second portion 212 side. Through a terminal connected to this connector 221, power from the outside may be supplied to the sensors 241, 242 and a calculation unit 270 described later, and data calculated by the calculation unit 270 may be output to the outside.
[0046] The rotating shaft 230 is fitted into a hole 210h of the casing 210 and is supported by the casing 210 so as to be rotatable relative to the casing 210. In this embodiment, the rotating shaft 230 includes a shaft body 231 and a crank portion 232. The shaft body 231 is formed in a circular ring shape centered on the center 230c of the rotating shaft 230 when viewed from the axial direction. In this embodiment, the shaft body 231 is formed in a cylindrical shape, that is, hollow, and has an inner circumferential surface 231i centered on the center 230c and extending in the axial direction. That is, in this embodiment, the rotating shaft 230 is a hollow shaft. Note that another rotating shaft (for example, a main shaft of a motor, etc.) may be attached to the inner circumferential surface 231i of the shaft body 231 by, for example, press-fitting. In this way, by attaching another rotating shaft to the rotating shaft 230, the present invention functions as an encoder that detects the amount of rotation of another rotating body.
[0047] Crank portion 232 is formed on the outer peripheral surface of shaft body 231. Crank portion 232 may be formed integrally with shaft body 231, or may be formed separately and then fixed to shaft body 231. In the axial direction, at least a part of crank portion 232 and at least a part of second gear 252 described later are at the same position (height), and at least a part of crank portion 232 and at least a part of third gear 253 described later are at the same position (height). FIG. 7 is a cross-sectional view along the radial direction at a portion in the axial direction where at least a part of crank portion 232 and at least a part of second gear 252 are located. FIG. 8 is a cross-sectional view along the radial direction at a portion in the axial direction where at least a part of crank portion 232 and at least a part of third gear 253 are located. As shown in Figs. 7 and 8, when focusing on a portion 232of (hereinafter, for convenience, referred to as the "crank forming surface 232of") on the outer circumferential surface of the rotating shaft 230 where the crank portion 232 is formed, the crank portion 232 includes an eccentric portion 232a which is a surface that is radially eccentric with respect to a center 230c of the rotating shaft 230 (i.e., the center of the shaft body 231). The eccentric portion 232a is a portion (surface) where the distance RL from the center 230c to the crank forming surface 232of in the radial direction is longer (i.e., the distance RL is maximum) than other portions of the crank forming surface 232of. Note that it is sufficient that at least the portions of the rotating shaft 230 that come into contact with the second gear 252 and the third gear 253 are eccentric.
[0048] The second gear 252 and the third gear 253 are supported at the position of the crank forming surface 232of in the axial direction so that the position of the crank portion 232 in the axial direction does not change. In this embodiment, the second gear 252 and the third gear 253 are spur gears formed integrally. For convenience, the second gear 252 and the third gear 253 may be collectively referred to as "gears 252, 253". The third gear 253 is formed integrally with the second gear 252 on one side of the second gear 252 in the axial direction, and is on the substrate 220 side in the axial direction with respect to the second gear 252. The outer peripheral surface of the second gear 252 faces the inner surface 212id of the second part 212 of the casing 210 in the radial direction. That is, the outer peripheral surface of the second gear 252 faces the internal teeth 251it of the first gear 251 in the radial direction. The second gear 252 has an outer peripheral surface formed with a second number N2 of external teeth 252ot. On the other hand, the outer peripheral surface of the third gear 253 faces the inner surface 212iu of the second part 212 of the casing 210 in the radial direction via a fourth gear 254 described later. The third gear 253 has an outer peripheral surface formed with a third number N3 of external teeth 253ot. A through hole having a shape that roughly corresponds to the shape of the crank forming surface 232of of the crank part 232 penetrates the center of the gears 252, 253 in the radial direction along the axial direction. The crank part 232 is inserted through this through hole. In addition, a ring-shaped first magnet 261 is fixed to the outer peripheral surface of the crank part 232. That is, the ring-shaped first magnet 261 is fixed to the rotating shaft 230.
[0049] In this embodiment, the above-mentioned first sensor 241 is configured as a magnetic sensor. The first sensor 241 detects that the magnetism generated from the first magnet 261 changes as the first magnet 261 rotates with the rotation of the rotating shaft 230, converts the change in the magnetism of the first magnet 261 into an electric signal, and outputs it to the calculation unit 270 provided on the substrate 220, for example. Note that the first sensor 241 is not limited to a magnetic sensor, and when the first sensor 241 is configured with a sensor other than a magnetic sensor, for example an optical sensor, a slit disk or the like is used as the rotating body, so that the first magnet 261 is not necessary. Also, when a sensor using a magnetoresistance element and a gear made of a magnetic material are used, a magnet can be arranged on a fixed part such as a substrate instead of the first magnet 261 provided on the rotating shaft 230. The calculation unit 270 acquires the above-mentioned electric signal output from the first sensor 241 and calculates the rotation angle θ of the rotating shaft 230. sensor1 That is, the first sensor 241 calculates the rotation angle θ of the rotation shaft 230 via the calculation unit 270. sensor1 Detect.
[0050] The eccentric portion 232a of the crank portion 232 is in slidable contact with inner circumferential surfaces 252if, 253if (the inner circumferential surface 252if of the second gear 252 and the inner circumferential surface 253if of the third gear 253) that define the through holes of the gears 252, 253. At least one of the eccentric portion 232a and the inner circumferential surfaces 252if, 253if of the gears 252, 253 may be coated to improve the wear resistance and slidability between the eccentric portion 232a and the inner circumferential surfaces 252if, 253if.
[0051] 7, a second number N2 of external teeth 252ot, which is smaller than the first number N1, is formed on the outer circumferential surface of the second gear 252 (i.e., the surface of the second gear 252 opposite to the rotary shaft 230 in the radial direction). The second gear 252 is disposed on the inner side of the internal teeth 251it of the first gear 251, and is surrounded by the internal teeth 251it of the first gear 251 over the entire circumference. Each of the external teeth 252ot can mesh with each of the internal teeth 251it of the first gear 251.
[0052] When the rotating shaft 230 rotates around the center 230c, the eccentric portion 232a of the crank portion 232 also rotates around the center 230c together with the rotating shaft 230, and the gears 252 and 253 swing with the rotation of the eccentric portion 232a. Due to the swing of the gears 252 and 253, the external teeth 252ot of the second gear 252 on the straight line SL extending radially from the center 230c through the eccentric portion 232a mesh with the internal teeth 251it of the first gear 251 on the straight line SL. The straight line SL is indicated by a broken line in Figs. 7 and 8. Hereinafter, the position where a part of the external teeth 252ot of the second gear 252 meshes with a part of the internal teeth 251it of the first gear 251 is referred to as a first meshing position EP1. The first meshing position EP1 is on the straight line SL.
[0053] When the rotating shaft 230 rotates by a predetermined angle from the state of FIG. 7, that is, when the eccentric portion 232a of the crank portion 232 rotates by a predetermined angle from the state of FIG. 7, the first meshing position EP1 also moves by the same angle along the circumferential direction of the first gear 251. In this manner, the first meshing position EP1 moves sequentially along the circumferential direction of the first gear 251 with the rotation of the rotating shaft 230. Then, when the rotating shaft 230 rotates once, the first meshing position EP1 goes around once along the circumferential direction of the first gear 251. Here, as described above, the first number N1 of the internal teeth 251it of the first gear 251 is greater than the second number N2 of the external teeth 252ot of the second gear 252. Therefore, when the first meshing position EP1 rotates once along the circumferential direction of the first gear 251, that is, when the rotating shaft 230 rotates once, the second gear 252 (i.e., gears 252, 253) rotates relative to the first gear 251 along the circumferential direction of the first gear 251 by a difference in the number of teeth between the first number N1 and the second number N2. Therefore, the reduction ratio Gr2 of the second gear 252 with respect to the rotating shaft 230 can be expressed by the following equation (5).
[0054]
number
[0055] For example, when the number of teeth N1 of the first gear 251 is 101 and the number of teeth N2 of the second gear 252 is 100, the reduction ratio Gr of the second gear 252 with respect to the rotating shaft 230 is 100. The rotation direction of the second gear 252 is opposite to the rotation direction of the rotating shaft 230.
[0056] As shown in FIG. 6, a fourth gear 254 formed as a spur gear is placed on the connecting surface 212is of the second part 212 of the casing 210. The fourth gear 254 is formed in a ring shape and is arranged so that the center 230c of the rotating shaft 230 is the center. The fourth gear 254 is supported by the casing 210 by a configuration not shown so that the position in the axial direction does not change. A through hole 254h is formed in the center of the fourth gear 254 in the radial direction, and the rotating shaft 230 passes through this through hole 254h, and the above-mentioned first magnet 261 is arranged inside the through hole 254h. The inner peripheral surface of the fourth gear 254 is cut out from the inside to the outside. Due to this cutout, the fourth gear 254 includes a ring-shaped outer peripheral edge portion 254A and a disk-shaped disk portion 254B extending inward from a portion of the outer peripheral edge portion 254A on the substrate 220 side in the axial direction. A fourth number N4 of internal teeth 254it, which is greater than the third number N3 of the external teeth 253ot of the third gear 253, is formed on the inner peripheral surface of the outer peripheral edge portion 254A. That is, the fourth gear 254 has a fourth number N4 of internal teeth 254it, which is greater than the external teeth 253ot of the third gear 253, on the rotating shaft 230 side in the radial direction. In the radial direction, the internal teeth 254it of the fourth gear 254 face the external teeth 253ot of the third gear 253. The external teeth 253ot of the third gear 253 are surrounded by the internal teeth 254it of the fourth gear 254 over its entire circumference. A ring-shaped second magnet 262 is fixed to the surface of the disk portion 254B of the fourth gear 254 on the substrate 220 side in the axial direction.
[0057] As shown in Fig. 8, the outer peripheral surface 254of of the fourth gear 254 is in contact with the inner surface 212iu of the second part 212 of the casing 210 so as to be slidable relative to the inner surface 212iu. At least one of the outer peripheral surface 254of of the fourth gear 254 and the inner surface 212iu of the casing 210 may be coated to improve the wear resistance and slidability between the fourth gear 254 and the casing 210. Each of the multiple external teeth 253ot of the third gear 253 can mesh with each of the multiple internal teeth 254it of the fourth gear 254. In this embodiment, the external teeth 253ot of the third gear 253 on the straight line SL mesh with the internal teeth 254it of the fourth gear 254 on the straight line SL. Hereinafter, a position where a part of the external teeth 253ot of the third gear 253 meshes with a part of the internal teeth 254it of the fourth gear 254 will be referred to as a second meshing position EP2. The second meshing position EP2 is on a straight line SL.
[0058] When the gears 252, 253 rotate relative to the first gear 251 along the circumferential direction of the first gear 251 by the difference in the number of teeth between the first number N1 and the second number N2 as the rotating shaft 230 rotates once, the second meshing position EL2 also moves from the state of FIG. 8 along the circumferential direction of the fourth gear 254 by an angle equal to the difference in the number of teeth between the first number N1 and the second number N2. In this way, the second meshing position EP2 moves sequentially along the circumferential direction of the fourth gear 254 along with the rotation of the gears 252, 253. Then, when the gears 252, 253 rotate once along the circumferential direction of the first gear 251, the second meshing position EP2 moves once along the circumferential direction of the fourth gear 254. Here, as described above, the fourth number N4 of the internal teeth 254it of the fourth gear 254 is greater than the third number N3 of the external teeth 253ot of the third gear 253. Therefore, when the second meshing position EP2 rotates once along the circumferential direction of the fourth gear 254, that is, when the gears 252, 253 rotate once along the circumferential direction of the first gear 251, the fourth gear 254 rotates relative to the casing 210 along the circumferential direction of the fourth gear 254 by a difference in the number of teeth between the fourth number N4 and the third number N3. Therefore, the reduction ratio Gr4 of the fourth gear 254 with respect to the gears 252, 253 can be expressed by the following equation (6).
[0059]
number
[0060] For example, if the number of teeth of the fourth gear 254 (fourth number N4) is 102 and the number of teeth of the third gear 253 (third number N3) is 101, the reduction ratio Gr4 of the fourth gear 254 with respect to the gears 252, 253 is 101. The rotation direction of the fourth gear 254 is opposite to the rotation direction of the gears 252, 253 and is the same as the rotation direction of the rotating shaft 230.
[0061] More specifically, the reduction ratio Gr of the fourth gear 254 relative to the rotating shaft 230 can be calculated by multiplying Gr2 calculated by equation (5) and Gr4 calculated by equation (6). Therefore, if the reduction ratio Gr2 of the gears 252, 253 relative to the rotating shaft 230 is, for example, 100, and the reduction ratio Gr4 of the fourth gear 254 relative to the gears 252, 253 is, for example, 101, the reduction ratio Gr is 10100, which is an even larger reduction ratio than that of the encoder 1 according to the first embodiment.
[0062] In this way, each of the first pair of the first gear 251 and the second gear 252 and the second pair of the third gear 253 and the fourth gear 254 is an eccentric oscillating type reducer, and more specifically, the first gear 251, the gears 252, 253, and the fourth gear 254 function as a reduction mechanism 200 that constitutes an involute gear type hypocycloid mechanism.
[0063] As shown in FIG. 6, the second sensor 242 overlaps with the fourth gear 254 when viewed from the axial direction, and the second magnet 262 is located between the fourth gear 254 and the second sensor 242 in the axial direction. However, the positional relationship between the second sensor 242, the fourth gear 254, and the second magnet 262 is not limited to this. In this embodiment, the second sensor 242 is configured as a magnetic sensor. The second sensor 242 detects that the magnetism generated from the second magnet 262 changes as the second magnet 262 rotates with the rotation of the fourth gear 254, converts the change in the magnetism of the second magnet 262 into an electric signal, and outputs it to, for example, the calculation unit 270. Note that the second sensor 242 is not limited to a magnetic sensor, and when the second sensor 242 is configured with a sensor other than a magnetic sensor, for example, an optical sensor, a slit disk or the like is used as the rotating body, so the second magnet 262 is not necessary. In addition, when a sensor using a magnetoresistance element and a gear made of a magnetic material are used, a magnet is not required. The calculation unit 270 acquires the above-mentioned electric signal output from the second sensor 242 and calculates the rotation angle θ of the fourth gear 254. sensor2 That is, in this embodiment, the second sensor 242 calculates the rotation angle θ sensor2 Detect.
[0064] As described above, the reduction ratio Gr of the fourth gear 254 with respect to the rotating shaft 230 can be obtained by multiplying the reduction ratio Gr2 of the gears 252 and 253 with respect to the rotating shaft 230 by the reduction ratio Gr4 of the fourth gear 254 with respect to the gears 252 and 253. Therefore, the rotation angle θ of the fourth gear 254 when the rotating shaft 230 rotates once is gear4(1) can be expressed by the following equation (7).
[0065]
number
[0066] Therefore, the rotation angle θ of the fourth gear 254 detected by the second sensor 242 via the calculation unit 270 issensor2 By dividing by the value obtained from the above formula (7), it is possible to calculate the number of rotations Tm of the rotating shaft 230. That is, the number of rotations Tm can be calculated based on the following formula (8).
[0067]
number
[0068] Moreover, the rotation angle θ of the rotating shaft 230 taking into consideration the number of rotations of the rotating shaft 230 can be obtained by substituting Tm obtained by the formula (8) into the above formula (4).
[0069] The calculation unit 270 calculates the rotation angle θ of the rotation shaft 230. sensor1 and the rotation angle θ of the fourth gear 254 sensor2 Based on this data and the above formulas (4), (5) to (8), the number of rotations Tm and the rotation angle θ of the rotating shaft 230 are calculated. In this way, the encoder 2 can detect the number of rotations Tm of the rotating shaft 230 as well as the rotation angle of the rotating shaft 230. The upper limit of the detection of the number of rotations of the encoder 2 corresponds to the value obtained by multiplying the reduction ratios Gr2 and Gr4. Therefore, for example, when Gr2 is 100 and Gr4 is 101, the upper limit of the detection of the number of rotations Tm is 10100 rotations.
[0070] As described above, the encoder 2 according to this embodiment has a rotation shaft 230 and a rotation angle θ sensor1a fixed first gear 251 having a first number N1 of internal teeth 251it on the radial side of the rotary shaft 230; a second gear 252 having a second number N2 of external teeth 252ot on the opposite side of the rotary shaft 230 in the radial direction, the second gear 252 rotating with the rotary shaft 230; a third gear 253 integrally formed with the second gear 252 on one side of the second gear 252 in the axial direction of the rotary shaft 230, the third gear 253 having a third number N3 of external teeth 253ot on the opposite side of the rotary shaft 230 in the radial direction; a fourth gear 254 having a fourth number N4 of internal teeth 254it on the radial side of the rotary shaft 230, the fourth gear 254 rotating with the rotary shaft 253; sensor2 The rotation angle θ detected by the second sensor 242 is calculated based on the rotation angle θ of the first gear 251 and the second gear 252, and the rotation angle θ of the third gear 253 and the fourth gear 254. sensor2 Based on this, the number of rotations Tm of the rotating shaft 230 is calculated.
[0071] In the encoder 2 according to the present embodiment having the above configuration, a large reduction ratio (for example, a reduction ratio of 100100) can be obtained by using four gears (the first gear 251, the second gear 252, the third gear 253, and the fourth gear 254). Therefore, even if a large reduction ratio is required, the increase in the number of gears can be suppressed. In particular, according to the reduction mechanism 200 of the encoder 2, a reduction ratio obtained by multiplying the reduction ratio of the first pair of the first gear 251 and the second gear 252 by the reduction ratio of the second pair of the third gear 253 and the fourth gear 254 can be obtained, so that a larger reduction ratio can be realized, for example, compared to the encoder 1 according to the first embodiment. As a result, the detection upper limit of the number of rotations of the rotating shaft can be increased, for example, compared to the encoder 1 according to the first embodiment (see formula (8)). In addition, in the encoder 2, the second gear 252 and the third gear 253 are formed as an integral gear, so that although the above-mentioned large reduction ratio and large detection upper limit can be realized, the number of gears required is substantially three. Furthermore, in the encoder 2, only one shaft, the rotating shaft 230, is required to configure the encoder 2. In this manner, in the encoder 2 according to this embodiment, it is possible to reduce the number of parts such as gears and shafts, and by reducing the number of parts, it is possible to reduce the manufacturing cost of the encoder, facilitate assembly, and achieve miniaturization (smaller diameter, thinner). In addition, in this embodiment, the first gear 251, the second gear 252, the third gear 253, and the fourth gear 254 can be unitized in advance as an involute gear type hypocycloid mechanism and provided for the assembly process, so that the number of parts during assembly can be further reduced, and the encoder can be more easily assembled.
[0072] Furthermore, in this embodiment, since the hypocycloid mechanism is used as the reduction mechanism, it is easy to make the rotating shaft hollow without increasing the size of the encoder.
[0073] Furthermore, in this embodiment, by using the hypocycloid mechanism, as described above, it is possible to achieve a larger reduction ratio with a smaller number of gears, thereby effectively increasing the upper limit for detection of the number of rotations of the rotating shaft.
[0074] In this embodiment, a bearing may be disposed at least one between the outer circumferential surface of shaft 230 and the inner circumferential surface of casing 210 and between the outer circumferential surface of crank portion 232 and the inner circumferential surfaces of gears 252 and 253 .
[0075] Third embodiment Next, an encoder according to a third embodiment will be described.
[0076] FIG. 9 is an oblique view showing an encoder in this embodiment, FIG. 10 is a cross-sectional view along the axial direction shown in FIG. 9 in a certain reference state, FIG. 11 is a cross-sectional view along line XI-XI in FIG. 10 showing the encoder shown in FIG. 9, and FIG. 12 is a cross-sectional view along line XII-XII in FIG. 10 showing the encoder shown in FIG. 9.
[0077] 9 to 12, the encoder 3 according to this embodiment mainly includes a casing 310, a substrate 320, a reduction mechanism 300, a rotating shaft 330, a first sensor 341, a second sensor 342, and a third sensor 343. The reduction mechanism 300 has two involute gear type hypocycloid mechanisms arranged in the axial direction. Note that in FIG. 9, the casing 310 and the substrate 320 are shown in a see-through manner, and the see-through casing 310 and the substrate 320 are shown by dashed lines for convenience.
[0078] The casing 310 has a generally flat rectangular parallelepiped shape in which the length in the axial direction is shorter than the length in the radial direction. A hole 310h is formed in the center of the casing 310 in the radial direction, penetrating the casing 310 in the axial direction. The inner circumferential surface of the casing 310 that defines the hole 310h is formed in a shape that allows the rotating shaft 330 to fit into it. The casing 310 is composed of a first portion 311 on one side in the axial direction and a second portion 312 on the other side. In this embodiment, the first portion 311 and the second portion 312 have approximately the same length in the axial direction, but are not limited to this. The first portion 311 and the second portion 312 are overlapped in the axial direction and fixed to each other. A connector 321 is attached to the first portion 311.
[0079] The first portion 311 of the casing 310 has a stepped inner surface 311i. The inner surface 311i has a first inner surface 311id located on the second portion 312 side in the axial direction, and a second inner surface 311iu located on the opposite side to the second portion 312 side in the axial direction. When viewed from the axial direction, the inner surfaces 311id and 311iu are concentric circles centered on the center 330c of the rotating shaft 330, and the diameter of the first inner surface 311id is larger than the diameter of the second inner surface 311iu. A first number N1 of multiple internal teeth 351it are formed on the second inner surface 311iu over its entire circumference. That is, the first portion 311 of the casing 310 is formed as a first gear 351 having multiple internal teeth 351it on the rotating shaft 330 side in the radial direction. In this way, the first gear 351 is a part of the casing 310 and is fixed to the casing 310. The first gear 351 may be a separate component from the casing 310 and fixed to the casing 310 .
[0080] The second portion 312 of the casing 310 has a stepped inner surface 312i. The inner surface 312i has a first inner surface 312iu located on the first portion 311 side in the axial direction, and a second inner surface 312id located on the opposite side to the first portion 311 side in the axial direction. When viewed from the axial direction, the inner surfaces 312iu and 312id are concentric circles centered on the center 330c of the rotation shaft 330, and the diameter of the first inner surface 312iu is larger than the diameter of the second inner surface 312id. In this embodiment, the diameter of the first inner surface 312iu of the second portion 312 and the diameter of the first inner surface 311id of the first portion 311 are approximately equal, and the inner surfaces 312iu and 311id are adjacent to each other in the axial direction with the substrate 320 sandwiched therebetween. In this embodiment, the diameter of the second inner surface 312id of the second portion 312 is smaller than the diameter of the second inner surface 311iu of the first portion 311. A third number N3 of internal teeth 353it are formed on the second inner surface 312id of the second portion 312 over its entire circumference. That is, the second portion 312 of the casing 310 is formed as a third gear 353 having a plurality of internal teeth 353it on the rotating shaft 330 side in the radial direction. In this way, the third gear 353 is a part of the casing 310 and is fixed to the casing 310. The third gear 353 may be a separate member from the casing 310 and fixed to the casing 310.
[0081] The substrate 320 is fixed to the casing 310 at least at the first portion 311 and the second portion 312 of the casing 310 in the axial direction. The rotating shaft 330 passes through the substrate 320 at approximately the center in the radial direction. One sensor (second sensor 342) is attached to the surface of the substrate 320 on the first portion 311 side. On the other hand, two sensors (first sensor 341 and third sensor 343) are attached to the surface of the substrate 320 on the second portion 312 side. In this embodiment, the sensors 341 and 343 are disposed at positions on the opposite sides of the center 330c of the rotating shaft 330, but the positional relationship between the sensors 341 and 343 is not limited thereto. As described later, the first sensor 341 detects the magnetic field generated from the first magnet 361, and the third sensor 343 detects the magnetic field generated from the third magnet 363, so that each sensor should be disposed at a position where it is easy to detect the magnetic field of the magnet to be detected. A connector 321 is connected to the surface of the substrate 320 on the side of the first portion 311. Through a terminal connected to the connector 321, power from the outside is supplied to the sensors 341, 342, 343 and a calculation unit 370 described later, and data calculated by the calculation unit 370 may be output to the outside.
[0082] The rotating shaft 330 is fitted into a hole 310h of the casing 310 and is supported by the casing 310 so as to be rotatable relative to the casing 310. In this embodiment, the rotating shaft 330 includes a shaft body 331 and a crank portion 332. The shaft body 331 is formed in a circular ring shape centered on the center 330c of the rotating shaft 330 when viewed from the axial direction. In this embodiment, the shaft body 331 is formed in a cylindrical shape, that is, hollow, and has an inner circumferential surface 331i centered on the center 330c and extending in the axial direction. That is, in this embodiment, the rotating shaft 330 is a hollow shaft. Note that another rotating shaft (for example, a main shaft of a motor, etc.) may be attached to the inner circumferential surface 331i of the shaft body 331 by, for example, press-fitting. In this way, by attaching another rotating shaft to the rotating shaft 330, the present invention functions as an encoder that detects the amount of rotation of another rotating body.
[0083] Crank portion 332 is formed on the outer circumferential surface of shaft body 331. Crank portion 332 may be formed integrally with shaft body 331, or may be formed separately and then fixed to shaft body 331. In the axial direction, at least a part of crank portion 332 and at least a part of second gear 352 described later are at the same position (height), and at least a part of crank portion 332 and at least a part of fourth gear 354 described later are at the same position (height). FIG. 11 is a cross-sectional view along the radial direction at a portion in the axial direction where at least a part of crank portion 332 and at least a part of second gear 352 are located. FIG. 12 is a cross-sectional view along the radial direction at a portion in the axial direction where at least a part of crank portion 332 and at least a part of fourth gear 354 are located. As shown in FIG. 11 and FIG. 12, when focusing on a portion 332of (hereinafter, for convenience, referred to as the "crank forming surface 332of") on the outer circumferential surface of the rotating shaft 330 where the crank portion 332 is formed, the crank portion 332 includes an eccentric portion 332a which is a surface that is radially eccentric with respect to a center 330c of the rotating shaft 330 (i.e., the center of the shaft body 331). In this embodiment, as shown in FIG. 10, the crank forming surface 232of has two eccentric portions 332a spaced apart in the axial direction. Each of the two eccentric portions 332a is a portion (surface) where the distance RL from the center 330c to the crank forming surface 332of in the radial direction is longer (i.e., the distance RL is maximum) than other portions of the crank forming surface 332of. Note that it is sufficient that at least the portions of the rotating shaft 330 that are in contact with the second gear 352 and the fourth gear 354 are eccentric.
[0084] The second gear 352 and the fourth gear 354 are supported at the position of the crank forming surface 332of in the axial direction so that the position in the axial direction does not change. In this embodiment, the second gear 352 and the fourth gear 354 are spur gears. The second gear 352 is on the first gear 351 side in the axial direction with respect to the substrate 320, and the fourth gear 354 is on the third gear 353 side in the axial direction with respect to the substrate 320. That is, the second gear 352 and the fourth gear 354 are separated from each other and formed as separate bodies. In each of the second gear 352 and the fourth gear 354, a through hole having a shape that roughly corresponds to the shape of the crank forming surface 332of of the crank portion 332 penetrates along the axial direction at the center in the radial direction. The crank portion 332 is inserted into each of the through hole of the second gear 352 and the through hole of the fourth gear 354. A ring-shaped first magnet 361 is fixed to the outer circumferential surface of the crank portion 332. That is, the ring-shaped first magnet 361 is fixed to the rotating shaft 330. The first magnet 361 is located between the two eccentric portions 332a and between the second gear 352 and the fourth gear 354 in the axial direction.
[0085] In this embodiment, the first sensor 341 is configured as a magnetic sensor. The first sensor 341 detects that the magnetism generated from the first magnet 361 changes as the first magnet 361 rotates with the rotation of the rotating shaft 330, converts the change in the magnetism of the first magnet 361 into an electric signal, and outputs it to a calculation unit 370 provided on the substrate 320, for example. Note that the first sensor 341 is not limited to a magnetic sensor, and when the first sensor 341 is configured with a sensor other than a magnetic sensor, for example an optical sensor, a slit disk or the like is used as the rotating body, so that the first magnet 361 is not necessary. Also, when a sensor using a magnetoresistance element and a gear made of a magnetic material are used, a magnet can be arranged on a fixed part such as a substrate instead of the first magnet 361 provided on the rotating shaft 330. The calculation unit 370 acquires the electric signal output from the first sensor 341 and calculates the rotation angle θ of the rotating shaft 330. sensor1That is, the first sensor 341 calculates the rotation angle θ of the rotation shaft 330 via the calculation unit 370. sensor1 Detect.
[0086] The eccentric portion 332a of the crank portion 332 is in contact with the inner peripheral surface 352if that defines the through hole of the second gear 352 so as to be slidable relative to the inner peripheral surface 352if. At least one of the eccentric portion 332a and the inner peripheral surface 352if of the second gear 352 may be coated to improve the wear resistance and slidability of the eccentric portion 332a and the inner peripheral surface 352if. As shown in FIG. 11, a plurality of external teeth 352ot having a second number N2, which is smaller than the first number N1, is formed on the outer peripheral surface of the second gear 352 (i.e., the surface of the second gear 352 on the opposite side to the rotary shaft 330 in the radial direction). The second gear 352 is disposed inside the internal teeth 351it of the first gear 351, and is surrounded by the internal teeth 351it of the first gear 351 over the entire circumference. Each of the plurality of external teeth 352ot can mesh with each of the plurality of internal teeth 351it of the first gear 351.
[0087] When the rotating shaft 330 rotates around the center 330c, the eccentric portion 332a of the crank portion 332 also rotates around the center 330c together with the rotating shaft 330, and the second gear 352 swings with the rotation of the eccentric portion 332a. Due to the swing of the second gear 352, the external teeth 352ot on the straight line SL extending radially from the center 330c through the eccentric portion 332a mesh with the internal teeth 351it on the straight line SL. The straight line SL is indicated by a broken line in Figs. 11 and 12. Hereinafter, the position where a part of the external teeth 352ot of the second gear 352 meshes with a part of the internal teeth 351it of the first gear 351 is referred to as a first meshing position EP1. The first meshing position EP1 is on the straight line SL.
[0088] When the rotating shaft 330 rotates by a predetermined angle from the state of FIG. 11, that is, when the eccentric portion 332a of the crank portion 332 rotates by a predetermined angle from the state of FIG. 11, the first meshing position EP1 also moves by the same angle along the circumferential direction of the first gear 351. In this manner, the first meshing position EP1 moves sequentially along the circumferential direction of the first gear 351 with the rotation of the rotating shaft 330. Then, when the rotating shaft 330 rotates once, the first meshing position EP1 goes around once along the circumferential direction of the first gear 351. Here, as described above, the first number N1 of the internal teeth 351it of the first gear 351 is greater than the second number N2 of the external teeth 352ot of the second gear 352. Therefore, when the first meshing position EP1 rotates once along the circumferential direction of the first gear 351, that is, when the rotating shaft 330 rotates once, the second gear 352 rotates relative to the first gear 351 along the circumferential direction of the first gear 351 by a difference in the number of teeth between the first number N1 and the second number N2. Therefore, the reduction ratio Gr2 of the second gear 352 with respect to the rotating shaft 330 can be expressed by the following equation (9).
[0089]
number
[0090] The rotation direction of the second gear 352 is opposite to the rotation direction of the rotation shaft 330 .
[0091] In this way, the first pair of the first gear 351 and the second gear 352 is configured as an eccentric oscillating type reducer, and more specifically, configures an involute gear type hypocycloid mechanism.
[0092] The eccentric portion 332a of the crank portion 332 is in contact with the inner peripheral surface 354if that defines the through hole of the fourth gear 354 so as to be slidable relative to the inner peripheral surface 354if. At least one of the eccentric portion 332a and the inner peripheral surface 354if of the fourth gear 354 may be coated to improve the wear resistance and slidability between the eccentric portion 332a and the inner peripheral surface 354if. As shown in FIG. 12, a fourth number N4 of external teeth, which is less than the third number N3, is formed on the outer peripheral surface of the fourth gear 354 (i.e., the surface of the fourth gear 354 on the opposite side to the rotary shaft 330 in the radial direction). The fourth gear 354 is disposed inside the internal teeth 353it of the third gear 353 and is surrounded by the internal teeth 353it of the third gear 353 over the entire circumference. Each of the plurality of external teeth 354ot can be meshed with each of the plurality of internal teeth 353it of the third gear 353.
[0093] When the eccentric portion 332a of the crank portion 332 rotates as described above, the fourth gear 354 swings in accordance with the rotation of the eccentric portion 332a. Due to the swing of the fourth gear 354, the external teeth 354ot on the straight line SL extending radially from the center 330c through the eccentric portion 332a mesh with the internal teeth 353it on the straight line SL. Hereinafter, the position where a part of the external teeth 354ot of the fourth gear 354 meshes with a part of the internal teeth 353it of the third gear 353 is referred to as a second meshing position EP2. The second meshing position EP2 is on the straight line SL.
[0094] When the rotating shaft 330 rotates by a predetermined angle from the state of FIG. 12, that is, when the eccentric portion 332a of the crank portion 3332 rotates by a predetermined angle from the state of FIG. 12, the second meshing position EP2 also moves by the same angle along the circumferential direction of the third gear 353. In this manner, the second meshing position EP2 moves sequentially along the circumferential direction of the third gear 353 with the rotation of the rotating shaft 330. Then, when the rotating shaft 330 rotates once, the second meshing position EP2 goes around once along the circumferential direction of the third gear 353. Here, as described above, the third number N3 of the internal teeth 353it of the third gear 353 is greater than the fourth number N4 of the external teeth 354ot of the fourth gear 354. Therefore, when the second meshing position EP2 rotates once along the circumferential direction of the third gear 353, that is, when the rotating shaft 330 rotates once, the fourth gear 354 rotates relative to the third gear 353 along the circumferential direction of the third gear 353 by a difference in the number of teeth between the third number N3 and the fourth number N4. Therefore, the reduction ratio Gr4 of the fourth gear 354 with respect to the rotating shaft 330 can be expressed by the following formula (10).
[0095]
number
[0096] The rotation direction of the fourth gear 354 is opposite to the rotation direction of the rotation shaft 330 .
[0097] In this manner, the second pair of the third gear 353 and the fourth gear 354 is configured as an eccentric oscillating type reducer, and more specifically, configures an involute gear type hypocycloid mechanism.
[0098] Therefore, in this embodiment, a first pair of a first gear 351 and a second gear 352 and a second pair of a third gear 353 and a fourth gear 354 are aligned in the axial direction to constitute the reduction gear mechanism 300, and the reduction gear mechanism 300 has a configuration in which two involute gear type hypocycloid mechanisms are aligned in the axial direction.
[0099] The reduction ratio Gr2 calculated from the above formula (9) corresponds to the reduction ratio of the first pair, and the reduction ratio Gr4 calculated from the above formula (10) corresponds to the reduction ratio of the second pair. The encoder 3 is configured so that the reduction ratio Gr2 and the reduction ratio Gr4 are different. This means that when the rotating shaft 330 rotates once, a difference occurs between the rotation angle (amount of rotation) of the second gear 352 and the rotation angle (amount of rotation) of the fourth gear 354. In this embodiment, the reduction ratio Gr2 is larger than the reduction ratio Gr4. Therefore, in this embodiment, the rotation amount of the fourth gear 354 is larger than the rotation amount of the second gear 352. However, the magnitude relationship between the reduction ratio Gr2 and the reduction ratio Gr4 may be reversed.
[0100] As shown in FIG. 10, a ring-shaped second magnet 362 is fixed to the surface of the second gear 352 on the substrate 320 side in the axial direction. The above-mentioned second sensor 342 overlaps with the second gear 352 when viewed from the axial direction, and the second magnet 362 is between the second gear 352 and the second sensor 342 in the axial direction. However, the positional relationship between the second sensor 342, the second gear 352, and the second magnet 362 is not limited to this. In this embodiment, the second sensor 342 is configured as a magnetic sensor. The second sensor 342 detects that the magnetism generated from the second magnet 362 changes as the second magnet 362 rotates with the rotation of the second gear 352, converts the change in the magnetism of the second magnet 362 into an electric signal, and outputs it to, for example, the calculation unit 370. It should be noted that the second sensor 342 is not limited to a magnetic sensor. When the second sensor 342 is configured with a sensor other than a magnetic sensor, for example an optical sensor, a slit disk or the like is used as the rotor, and therefore the second magnet 362 is not required. Also, when a sensor using a magnetic resistance element and a gear made of a magnetic material are used, a magnet is not required. The calculation unit 370 acquires the electric signal output from the second sensor 342 and calculates the rotation angle θ of the second gear 352. sensor2 That is, in this embodiment, the second sensor 342 calculates the rotation angle θ of the second gear 352 via the calculation unit 370. sensor2 Detect.
[0101] As shown in FIG. 10, a ring-shaped third magnet 363 is fixed to the surface of the fourth gear 354 on the substrate 320 side in the axial direction. The above-mentioned third sensor 343 overlaps with the fourth gear 354 when viewed from the axial direction, and the third magnet 363 is between the fourth gear 354 and the third sensor 343 in the axial direction. However, the positional relationship between the third sensor 343, the fourth gear 354, and the third magnet 363 is not limited to this. In this embodiment, the third sensor 343 is configured as a magnetic sensor. The third sensor 343 detects that the magnetism generated from the third magnet 363 changes as the third magnet 363 rotates with the rotation of the fourth gear 354, converts the change in the magnetism of the third magnet 363 into an electric signal, and outputs it to, for example, the calculation unit 370. It should be noted that the third sensor 343 is not limited to a magnetic sensor. When the third sensor 343 is configured with a sensor other than a magnetic sensor, for example, an optical sensor, a slit disk or the like is used as the rotor, and therefore the third magnet 363 is not required. Also, when a sensor using a magnetic resistance element and a gear made of a magnetic material are used, a magnet is not required. The calculation unit 370 acquires the electric signal output from the third sensor 343 and calculates the rotation angle θ of the fourth gear 354. sensor3 That is, in this embodiment, the third sensor 343 calculates the rotation angle θ sensor3 Detect.
[0102] As described above, in this embodiment, since the rotation amount of the fourth gear 354 is larger than the rotation amount of the second gear 352, the difference α in the rotation angle between the fourth gear 354 and the second gear 352 is θ sensor3 From θ sensor2 In addition, the rotation angle θ of the fourth gear 354 that occurs when the rotation shaft 330 rotates once is sensor3 and the rotation angle θ of the second gear 352 sensor2 The difference β between the reduction ratios Gr2 and Gr4 can be expressed by the following formula (11).
[0103]
number
[0104] Therefore, the number of rotations Tm of the rotating shaft 330 in this embodiment can be calculated by dividing α by β, and specifically, can be calculated based on the following formula (12).
[0105]
number
[0106] The rotation angle θ of the rotating shaft 330 taking into consideration the number of rotations of the rotating shaft 330 is calculated by subtracting the rotation angle θ of the rotating shaft 330 detected by the first sensor 341 via the calculation unit 370 from the rotation angle θ of the rotating shaft 330 detected by the first sensor 341 via the calculation unit 370. sensor1 Using this, it can be expressed by the above formula (4).
[0107] The calculation unit 370 calculates the rotation angle θ of the rotation axis 330. sensor1 and the rotation angle θ of the second gear 352 sensor2 and the rotation angle θ of the fourth gear 354 sensor3 Based on this data and the above equations (4), (9) to (12), the number of rotations Tm and the rotation angle θ of the rotating shaft 330 are calculated. In this way, the encoder 3 can detect the number of rotations Tm of the rotating shaft 330 as well as the rotation angle of the rotating shaft 330.
[0108] As described above, the encoder 3 detects the rotation shaft 330 and the rotation angle θ of the rotation shaft 330. sensor1a fixed first gear 351 having a first number N1 of internal teeth 351it on the radial side of the rotary shaft 330; a second gear 352 having a second number N2 of external teeth 352ot on the opposite side of the rotary shaft 330 in the radial direction, the second gear 352 rotating with the rotary shaft 330; a fixed third gear 353 having a third number N3 of internal teeth 353it on the radial side of the rotary shaft 330; a fourth gear 354 having a fourth number N4 of external teeth 354ot on the opposite side of the rotary shaft 330 in the radial direction, the fourth gear 354 rotating with the rotary shaft 330; sensor2 and a second sensor 342 for detecting the rotation angle θ of the fourth gear 354. sensor3 The encoder 3 includes a third sensor 343 that detects the rotation angle θ detected by the second sensor 342, and a calculation unit 370. In the encoder 3, a first pair of a first gear 351 and a second gear 352 and a second pair of a third gear 353 and a fourth gear 354 are each an eccentric oscillating type reducer. sensor2 and the rotation angle θ detected by the third sensor 343. sensor3 Based on the difference between these values, the number of rotations Tm of the rotating shaft 330 is calculated.
[0109] In the encoder 3 according to the present embodiment having the above configuration, a large reduction ratio is obtained by using four gears (the first gear 351, the second gear 352, the third gear 353, and the fourth gear 354). Therefore, even if a large reduction ratio is required, the increase in the number of gears can be suppressed. In particular, according to the reduction mechanism 300 of the encoder 3, as shown in the formula (12), the number of rotations of the rotating shaft is calculated based on the difference between the rotation angle of the second gear 352 in the first pair of the first gear 351 and the second gear 352 and the rotation angle of the fourth gear 354 in the second pair of the third gear 353 and the fourth gear 354, and the value obtained by multiplying the reduction ratio Gr2 of the first pair by the reduction ratio Gr4 of the second pair. Therefore, compared to the encoder 1 according to the first embodiment 1, for example, the upper limit of detection of the number of rotations of the rotating shaft can be increased. Furthermore, in the encoder 4, although the large upper limit of detection can be realized as described above, the number of gears required is substantially four. Furthermore, in the encoder 4, only one shaft, the rotating shaft 330, is required to configure the encoder 4. In this way, in the encoder 4 according to this embodiment, it is possible to reduce the number of parts such as gears and shafts, and by reducing the number of parts, it is possible to reduce the manufacturing cost of the encoder, facilitate assembly, and achieve miniaturization (smaller diameter, thinner). In addition, in this embodiment, the first gear 351, the second gear 352, the third gear 353, and the fourth gear 354 can be previously unitized as an involute gear type hypocycloid mechanism stacked in two stages in the axial direction and provided for the assembly process, so that the number of parts during assembly can be further reduced, and the encoder can be more easily assembled.
[0110] Furthermore, in this embodiment, since the hypocycloid mechanism is used as the reduction mechanism, it is easy to make the rotating shaft hollow without increasing the size of the encoder.
[0111] Furthermore, in this embodiment, by using the hypocycloid mechanism, as described above, it is possible to achieve a larger reduction ratio with a smaller number of gears, thereby effectively increasing the upper limit for detection of the number of rotations of the rotating shaft.
[0112] In this embodiment, bearings may be disposed in at least one of the following locations: between the outer peripheral surface of shaft 330 and the inner peripheral surface of casing 310; between the outer peripheral surface of crank portion 332 and the inner peripheral surface of second gear 352; and between the outer peripheral surface of crank portion 332 and the inner peripheral surface of fourth gear 354.
[0113] (Fourth embodiment) Next, an encoder according to a fourth embodiment will be described.
[0114] FIG. 13 is a perspective view showing an encoder in this embodiment, FIG. 14 is a cross-sectional view along the axial direction of the encoder shown in FIG. 13 in a certain reference state, and FIG. 15 is a cross-sectional view along XV-XV of FIG. 14 showing the encoder shown in FIG. 13.
[0115] 13 to 15, the encoder 4 according to this embodiment mainly includes a casing 410, a substrate 420, a reduction mechanism 400, a rotating shaft 430, a first sensor 441, a second sensor 442, and a third sensor 443. The reduction mechanism 400 has a configuration in which two involute gear type hypocycloid mechanisms are arranged in the radial direction. Note that in FIG. 13, the casing 410 and the substrate 420 are shown in a see-through manner, and the see-through casing 410 and the substrate 420 are shown by dashed lines for convenience.
[0116] The casing 410 has a shape of a substantially flattened rectangular parallelepiped whose length in the axial direction is shorter than its length in the radial direction. A hole 410h is formed in the center of the casing 410 in the radial direction, penetrating the casing 410 in the axial direction. The inner peripheral surface of the casing 410 that defines the hole 410h is formed in a shape into which the rotating shaft 430 can be fitted. The casing 410 is composed of a first portion 411 on one side in the axial direction and a second portion 412 on the other side in the axial direction. In this embodiment, the length of the second portion 412 in the axial direction is longer than the length of the first portion 411 in the axial direction, but is not limited to this. The first portion 411 and the second portion 412 are overlapped in the axial direction and fixed to each other. A connector 421 is attached to the second portion 412.
[0117] The second portion 412 includes a bottom portion 413 on the opposite side to the first portion 411 in the axial direction, an outer peripheral wall 415 extending from the outer peripheral edge of the bottom portion 413 toward the first portion 411 in the axial direction, and a wall portion 414 located between the rotation shaft 430 and the outer peripheral wall 415 in the radial direction. The wall portion 414 extends from the bottom portion 413 toward the first portion 411 in the axial direction. When viewed from the axial direction, the wall portion 414 and the outer peripheral wall 415 form concentric circles centered on the center 430c of the rotation shaft 430. In this embodiment, the wall portion 414 is located approximately in the center of the bottom portion 413 in the radial direction, but is not limited thereto.
[0118] A first number N1 of internal teeth 451it are formed on the inner peripheral surface (the surface on the rotating shaft 430 side) of the wall portion 414 all around. That is, the wall portion 414 of the casing 410 is formed as a first gear 451 having a plurality of internal teeth 451it on the rotating shaft 430 side in the radial direction. In this manner, the first gear 451 is a part of the casing 410 and is fixed to the casing 410. Note that the first gear 451 may be a separate member from the casing 410 and fixed to the casing 410.
[0119] A third number N3 of internal teeth 453it are formed on the inner peripheral surface (the surface on the rotating shaft 430 side) of the outer peripheral wall 415 all around. That is, the outer peripheral wall 415 of the casing 410 is formed as a third gear 453 having a plurality of internal teeth 453it on the rotating shaft 430 side in the radial direction. In this manner, the third gear 453 is a part of the casing 410 and is fixed to the casing 410. The third gear 453 may be formed as a separate member from the casing 410 and fixed to the casing 410.
[0120] The substrate 420 is fixed to the casing 410 at least at the first portion 411 and the second portion 412 of the casing 410 in the axial direction. A rotating shaft 430 passes through the substrate 420 at approximately the center in the radial direction. Three sensors (a first sensor 441, a second sensor 442, and a third sensor 443) are attached to the surface of the substrate 420 on the second portion 412 side. The three sensors are arranged in the order of the first sensor 441, the second sensor 442, and the third sensor 443 from the inside to the outside in the radial direction. As described later, the first sensor 441 detects a magnetic field generated from the first magnet 461, the second sensor 442 detects a magnetic field generated from the second magnet 462, and the third sensor 443 detects a magnetic field generated from the third magnet 463, so that each sensor should be disposed at a position where it is easy to detect the magnetic field of the magnet to be detected. A connector 421 is connected to the surface of the substrate 420 on the side of the second portion 412. Through a terminal connected to the connector 421, power from the outside is supplied to the sensors 441, 442, 443 and a calculation unit 470 described later, and data calculated by the calculation unit 470 may be output to the outside.
[0121] The rotating shaft 430 is fitted into a hole 410h of the casing 410 and is supported by the casing 410 so as to be rotatable relative to the casing 410. In this embodiment, the rotating shaft 430 includes a shaft body 431 and a crank portion 432. The shaft body 431 is formed in a circular ring shape centered on the center 430c of the rotating shaft 430 when viewed from the axial direction. In this embodiment, the shaft body 431 is formed in a cylindrical shape, that is, hollow, and has an inner circumferential surface 431i centered on the center 430c and extending in the axial direction. That is, in this embodiment, the rotating shaft 430 is a hollow shaft. Note that another rotating shaft (for example, a main shaft of a motor, etc.) may be attached to the inner circumferential surface 431i of the shaft body 431 by, for example, press-fitting. In this way, by attaching another rotating shaft to the rotating shaft 430, the present invention functions as an encoder that detects the amount of rotation of another rotating body.
[0122] Crank portion 432 is formed on the outer circumferential surface of shaft body 431. Crank portion 432 may be formed integrally with shaft body 431, or may be formed separately and then fixed to shaft body 431. In the axial direction, at least a part of crank portion 432 and at least a part of second gear 452 described later are at the same position (height), and at least a part of crank portion 432 and at least a part of fourth gear 454 described later are at the same position (height). Also, as described later, in the axial direction, at least a part of second gear 452 and at least a part of fourth gear 454 are at the same position (height). FIG. 15 is a cross-sectional view along the radial direction at an axial portion where at least a part of crank portion 432, at least a part of second gear 452, and at least a part of fourth gear 454 are located. As shown in FIG. 15, when focusing on a portion 432of (hereinafter, for convenience, referred to as the "crank forming surface 432of") on the outer circumferential surface of the rotating shaft 430 where the crank portion 432 is formed, the crank portion 432 includes an eccentric portion 432a which is a surface that is radially eccentric with respect to a center 430c of the rotating shaft 430 (i.e., the center of the shaft body 431). The eccentric portion 432a is a portion (surface) where the distance RL from the center 430c to the crank forming surface 432of in the radial direction is longer (i.e., the distance RL is maximum) compared with other portions of the crank forming surface 432of. Note that it is sufficient that the portions of the rotating shaft 430 that come into contact with the second gear 452 and the fourth gear 454 are eccentric.
[0123] In this embodiment, the crank portion 432 includes a flange portion 433 that protrudes from the outer circumferential surface 432of toward the outside in the radial direction. That is, the flange portion 433 is a part of the rotating shaft 430, and rotates integrally with the shaft body 431. The flange portion 433 is formed of a non-magnetic material and has a circular ring shape when viewed from the axial direction. The flange portion 433 includes a ring-shaped disk portion 433A extending in the radial direction, and an outer wall portion 433B extending in the axial direction from the outer circumferential edge of the disk portion 433A toward the bottom portion 413 of the casing 410. The disk portion 433A is disposed on the substrate 420 side relative to the wall portion 414 of the casing 410 with a gap therebetween in the axial direction. The outer wall portion 433B of the flange portion 433 is formed in a cylindrical shape and disposed outside the wall portion 414 with a gap therebetween in the radial direction.
[0124] A ring-shaped groove is formed on the surface of the disk portion 433A facing the substrate 420, and a ring-shaped first magnet 461 is fitted into this groove. When viewed from the axial direction, the first sensor 441 overlaps the first magnet 461. The first sensor 441 is configured as a magnetic sensor. The first sensor 441 detects that the magnetism generated from the first magnet 461 changes as the first magnet 461 rotates with the rotation of the rotating shaft 430, converts the change in the magnetism of the first magnet 461 into an electric signal, and outputs it to a calculation unit 470 provided on the substrate 420, for example. The calculation unit 470 acquires the electric signal output from the first sensor 441 and calculates the rotation angle θ of the rotating shaft 430. sensor1 It should be noted that the first sensor 441 is not limited to a magnetic sensor. When the first sensor 441 is configured with a sensor other than a magnetic sensor, for example, an optical sensor, a slit disk or the like is used for the rotating body, and therefore the first magnet 461 is not necessary. When a sensor using a magnetic resistance element and a gear made of a magnetic material are used, a magnet can be disposed on a fixed part such as a substrate instead of the first magnet 461 provided on the rotating shaft 430. That is, the first sensor 441 calculates the rotation angle θ of the rotating shaft 430 via the calculation unit 470. sensor1 Detect.
[0125] The second gear 452 is supported at the position of the crank forming surface 432of in the axial direction so that the position in the axial direction does not change. In this embodiment, the second gear 452 is a spur gear. The second gear 452 is located radially inside the wall portion 414 (the first gear 451) and between the disk portion 433A of the flange portion 433 and the bottom portion 413 of the casing 410 in the axial direction. The eccentric portion 432a of the crank portion 432 is in contact with the inner peripheral surface 452if of the second gear 452 so as to be slidable relative to the inner peripheral surface 452if. At least one of the eccentric portion 432a and the inner peripheral surface 452if of the second gear 452 may be coated to improve the wear resistance and slidability between the eccentric portion 432a and the inner peripheral surface 452if. 15, a second number N2 of external teeth 452ot, which is smaller than the first number N1, is formed on the outer circumferential surface of the second gear 452 (i.e., the surface of the second gear 452 on the radially opposite side to the rotating shaft 430 side). The second gear 452 is disposed on the inner side of the internal teeth 451it of the first gear 451, and is surrounded by the internal teeth 451it of the first gear 451 around the entire circumference. Each of the external teeth 452ot can mesh with each of the internal teeth 451it of the first gear 451.
[0126] When the rotating shaft 430 rotates around the center 430c, the eccentric part 432a of the crank part 432 also rotates around the center 430c together with the rotating shaft 430, and the second gear 452 swings with the rotation of the eccentric part 432a. Due to the swing of the second gear 452, the external teeth 452ot on the straight line SL extending radially from the center 430c through the eccentric part 432a mesh with the internal teeth 451it on the straight line SL. The straight line SL is indicated by a broken line in FIG. 15. Hereinafter, the position where a part of the external teeth 452ot of the second gear 452 meshes with a part of the internal teeth 451it of the first gear 451 is referred to as a first meshing position EP1. The first meshing position EP1 is on the straight line SL.
[0127] When the rotating shaft 430 rotates by a predetermined angle from the state of FIG. 15, that is, when the eccentric portion 432a of the crank portion 432 rotates by a predetermined angle from the state of FIG. 15, the first meshing position EP1 also moves by the same angle along the circumferential direction of the first gear 451. In this manner, the first meshing position EP1 moves sequentially along the circumferential direction of the first gear 451 with the rotation of the rotating shaft 430. Then, when the rotating shaft 430 rotates once, the first meshing position EP1 goes around once along the circumferential direction of the first gear 451. Here, as described above, the first number N1 of the internal teeth 451it of the first gear 451 is greater than the second number N2 of the external teeth 452ot of the second gear 452. Therefore, when the first meshing position EP1 rotates once along the circumferential direction of the first gear 451, that is, when the rotating shaft 430 rotates once, the second gear 452 rotates relative to the first gear 451 along the circumferential direction of the first gear 451 by a difference in the number of teeth between the first number N1 and the second number N2. Therefore, the reduction ratio Gr2 of the second gear 452 with respect to the rotating shaft 430 can be expressed by the formula (9) as in the third embodiment. Note that the rotation direction of the second gear 452 is opposite to the rotation direction of the rotating shaft 430.
[0128] In this way, the first pair of the first gear 451 and the second gear 452 is configured as an eccentric oscillating type reducer, and more specifically, configures an involute gear type hypocycloid mechanism.
[0129] A ring-shaped second magnet 462 is fixed to the surface of the second gear 452 on the substrate 420 side. In this embodiment, when viewed from the axial direction, the second sensor 442 overlaps the second magnet 462 and the second gear 452 via the disk portion 433A of the flange portion 433, and the second magnet 462 is between the second gear 452 and the second sensor 442 in the axial direction. However, the positional relationship between the second sensor 442, the second gear 452, and the second magnet 462 is not limited to this. The second sensor 442 is configured as a magnetic sensor. The second sensor 442 detects that the magnetism generated from the second magnet 462 changes as the second magnet 462 rotates with the rotation of the second gear 452, converts the change in the magnetism of the second magnet 462 into an electric signal, and outputs it to, for example, a calculation unit 470 provided on the substrate 420. The second sensor 442 is not limited to a magnetic sensor. When the second sensor 442 is configured with a sensor other than a magnetic sensor, for example, an optical sensor, a slit disk or the like is used as the rotating body, and therefore the second magnet 462 is not required. Also, when a sensor using a magnetic resistance element and a gear made of a magnetic material are used, a magnet is not required. The calculation unit 470 acquires the electric signal output from the second sensor 442 and calculates the rotation angle θ of the second gear 452. sensor2 That is, in this embodiment, the second sensor 442 calculates the rotation angle θ sensor2 Detect.
[0130] The fourth gear 454 is supported at the position of the outer wall portion 433B in the axial direction so that its position in the axial direction does not change. In this embodiment, the fourth gear 454 is a spur gear. The fourth gear 454 is located between the wall portion 414 and the outer peripheral wall 415 (the third gear 453) in the radial direction, and between the substrate 420 and the bottom portion 413 of the casing 410 in the axial direction. More specifically, the fourth gear 454 is located at approximately the same position (height) as the second gear 452 in the axial direction. However, the positional relationship between the fourth gear 454 and the second gear 452 in the axial direction is not limited to this. The portion of the outer peripheral surface 433of of the outer wall portion 433B of the crank portion 432 located on the above-mentioned straight line SL is in contact with the inner peripheral surface 454if of the fourth gear 454 so as to be slidable relative to the inner peripheral surface 454if. In addition, at least one of the outer peripheral surface 433of of the outer wall portion 433B and the inner peripheral surface 454if of the fourth gear 454 may be coated to improve the wear resistance and sliding properties between the outer wall portion 433B and the inner peripheral surface 454if of the fourth gear 454. As shown in FIG. 15, a fourth number N4 of external teeth 454ot, which is less than the third number N3, is formed on the outer peripheral surface of the fourth gear 454 (i.e., the surface opposite to the rotating shaft 430 side in the radial direction of the fourth gear 454). The fourth gear 454 is disposed inside the internal teeth 453it of the third gear 453 and is surrounded by the internal teeth 453it of the third gear 453 over the entire circumference. Each of the external teeth 454ot can be meshed with each of the internal teeth 453it of the third gear 453.
[0131] When the rotating shaft 430 rotates around the center 430c, the eccentric portion 432a of the crank portion 432 also rotates around the center 430c together with the rotating shaft 430, and the fourth gear 454 swings with the rotation of the eccentric portion 432a. Due to the swing of the fourth gear 454, the external teeth 454ot on the above-mentioned straight line SL mesh with the internal teeth 453it on the straight line SL. Hereinafter, the position where a part of the external teeth 454ot of the fourth gear 454 meshes with a part of the internal teeth 453it of the third gear 453 is referred to as a second meshing position EP2. The second meshing position EP2 is on the straight line SL.
[0132] When the rotating shaft 430 rotates by a predetermined angle from the state of FIG. 15, that is, when the eccentric portion 432a of the crank portion 432 rotates by a predetermined angle from the state of FIG. 15, the second meshing position EP2 also moves by the same angle along the circumferential direction of the third gear 453. In this manner, the second meshing position EP2 moves sequentially along the circumferential direction of the third gear 453 with the rotation of the rotating shaft 430. Then, when the rotating shaft 430 rotates once, the second meshing position EP2 goes around once along the circumferential direction of the third gear 453. Here, as described above, the third number N3 of the internal teeth 453it of the third gear 453 is greater than the fourth number N4 of the external teeth 454ot of the fourth gear 454. Therefore, when the second meshing position EP2 rotates once along the circumferential direction of the third gear 453, that is, when the rotating shaft 430 rotates once, the fourth gear 454 rotates relative to the third gear 453 along the circumferential direction of the third gear 453 by a difference in the number of teeth between the third number N3 and the fourth number N4. Therefore, the reduction ratio Gr4 of the fourth gear 454 with respect to the rotating shaft 430 can be expressed by the formula (10) as in the third embodiment. Note that the rotation direction of the second gear 452 is opposite to the rotation direction of the rotating shaft 430.
[0133] In this way, the second pair of the third gear 453 and the fourth gear 454 is configured as an eccentric oscillating type reducer, and more specifically, configures an involute gear type hypocycloid mechanism.
[0134] Therefore, in this embodiment, a first pair of a first gear 451 and a second gear 452 and a second pair of a third gear 453 and a fourth gear 454 are arranged radially to constitute a reduction gear mechanism 400, and the reduction gear mechanism 400 has a configuration in which two involute gear type hypocycloid mechanisms are arranged radially.
[0135] The reduction ratio Gr2 calculated from the above formula (9) corresponds to the reduction ratio of the first pair, and the reduction ratio Gr4 calculated from the above formula (10) corresponds to the reduction ratio of the second pair. The encoder 4 is configured so that the reduction ratio Gr2 and the reduction ratio Gr4 are different. This means that when the rotating shaft 430 rotates once, a difference occurs between the rotation angle (amount of rotation) of the second gear 452 and the rotation angle (amount of rotation) of the fourth gear 454. In this embodiment, the reduction ratio Gr2 is larger than the reduction ratio Gr4. Therefore, in this embodiment, the rotation amount of the fourth gear 454 is larger than the rotation amount of the second gear 452. However, the magnitude relationship between the reduction ratio Gr2 and the reduction ratio Gr4 may be reversed.
[0136] As shown in FIG. 14, a ring-shaped third magnet 463 is fixed to the surface of the fourth gear 454 on the substrate 420 side in the axial direction. The above-mentioned third sensor 443 overlaps the third magnet 463 and the fourth gear 454 when viewed from the axial direction, and the third magnet 463 is between the fourth gear 454 and the third sensor 443 in the axial direction. However, the positional relationship between the third sensor 443, the fourth gear 454, and the third magnet 463 is not limited to this. In this embodiment, the third sensor 443 is configured as a magnetic sensor. The third sensor 443 detects that the magnetism generated from the third magnet 463 changes as the third magnet 463 rotates with the rotation of the fourth gear 454, converts the change in the magnetism of the third magnet 463 into an electric signal, and outputs it to, for example, the calculation unit 470. The third sensor 443 is not limited to a magnetic sensor. When the third sensor 443 is configured with a sensor other than a magnetic sensor, for example, an optical sensor, a slit disk or the like is used as the rotor, and therefore the third magnet 463 is not required. Also, when a sensor using a magnetic resistance element and a gear made of a magnetic material are used, a magnet is not required. The calculation unit 470 acquires the electric signal output from the third sensor 443 and calculates the rotation angle θ of the fourth gear 454. sensor3 That is, in this embodiment, the third sensor 443 calculates the rotation angle θ sensor3Detect.
[0137] As described above, in this embodiment, since the rotation amount of the fourth gear 454 is larger than the rotation amount of the second gear 452, the difference α in the rotation angle between the fourth gear 454 and the second gear 452 is θ sensor3 From θ sensor2 The difference β between the rotation angle of the fourth gear 454 and the rotation angle of the second gear 452 when the rotating shaft 430 makes one rotation can be expressed by equation (11) using the reduction ratios Gr2 and Gr4, as in the third embodiment. Therefore, the number of rotations Tm of the rotating shaft 430 in this embodiment can be calculated based on equation (12) as in the third embodiment. The rotation angle θ of the rotating shaft 430 taking into account the number of rotations of the rotating shaft 430 is calculated by subtracting the rotation angle θ of the rotating shaft 430 detected by the first sensor 441 via the calculation unit 470 from the rotation angle θ of the rotating shaft 430 detected by the first sensor 441 via the calculation unit 470. sensor1 Using this, it can be expressed by the above formula (4).
[0138] The calculation unit 470 calculates the rotation angle θ of the rotation axis 330. sensor1 and the rotation angle θ of the second gear 452 sensor2 and the rotation angle θ of the fourth gear 454 sensor3 Based on this data and the above equations (4), (9) to (12), the number of rotations Tm and the rotation angle θ of the rotating shaft 430 are calculated. In this way, the encoder 4 can detect the number of rotations Tm of the rotating shaft 430 as well as the rotation angle of the rotating shaft 430.
[0139] As described above, the encoder 4 detects the rotation shaft 430 and the rotation angle θ of the rotation shaft 430. sensor1a fixed first gear 451 having a first number N1 of internal teeth 451it on the side of the rotating shaft 430 in the radial direction; a second gear 452 having a second number N2 of external teeth 452ot on the opposite side of the rotating shaft 430 in the radial direction, the second gear 452 rotating with the rotation of the rotating shaft 430; a fixed third gear 453 having a third number N3 of internal teeth 453it on the side of the rotating shaft 430 in the radial direction; a fourth gear 454 having a fourth number N4 of external teeth 454ot on the opposite side of the rotating shaft 430 in the radial direction, the fourth gear 454 rotating with the rotation of the rotating shaft 430; sensor2 and a second sensor 442 for detecting the rotation angle θ of the fourth gear 454. sensor3 The encoder 4 includes a third sensor 443 that detects the rotation angle θ detected by the second sensor 442, and a calculation unit 470. In the encoder 4, the first pair of the first gear 451 and the second gear 452 and the second pair of the third gear 453 and the fourth gear 454 are each an eccentric oscillating type reducer. sensor2 and the rotation angle θ detected by the third sensor 443. sensor3 Based on the difference between these values, the number of rotations Tm of the rotating shaft 430 is calculated.
[0140] According to the encoder 4 having such a configuration, the same effects as those of the encoder 3 according to the third embodiment can be obtained.
[0141] Furthermore, in the encoder 4, since the first pair and the second pair are aligned radially, the axial length of the encoder can be shortened and the encoder can be made thinner when achieving a similar reduction ratio, compared to the encoder 3 of the third embodiment in which the first pair and the second pair are aligned axially.
[0142] On the other hand, according to the encoder 3 of the third embodiment, since the first pair and the second pair are aligned in the axial direction, the cross-sectional area perpendicular to the axial direction of the encoder can be made smaller when the same reduction ratio is actually rotated, compared to the encoder 4 in which the first pair and the second pair are aligned in the radial direction.
[0143] In this embodiment, bearings may be arranged in at least one of the following locations: between the outer peripheral surface of shaft 430 and the inner peripheral surface of casing 410; between a portion of the outer peripheral surface of crank portion 432 facing second gear 452 and the inner peripheral surface of second gear 452; and between outer wall portion 433B of crank portion 432 and the inner peripheral surface of fourth gear 454.
[0144] Although the present invention has been described above by taking the above embodiment as an example, the present invention is not limited to this.
[0145] For example, in the first to fourth embodiments, the reduction mechanism is configured with an involute gear type hypocycloid mechanism, but the reduction mechanism may be configured with other mechanisms. This point will be described below with reference to the first and second modified examples of the first embodiment.
[0146] (First Modification) First, a first modified example will be described. Fig. 16 is a cross-sectional view along the axial direction, which shows a schematic view of an encoder according to this modified example. Fig. 17 is a cross-sectional view along the radial direction, which shows a schematic view of the encoder shown in Fig. 16. Note that the same components as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and detailed description thereof will be omitted.
[0147] 16 and 17, in an encoder 1A according to this modification, the reduction gear mechanism 100 is replaced with a reduction gear mechanism 100A. In addition, in the encoder 1A, by employing the reduction gear mechanism 100A, the rotating shaft 130 is composed only of a shaft body 131A. In the encoder 1A, a ring-shaped first magnet 161 is fixed to an outer circumferential surface 131of of the shaft body 131.
[0148] The reduction gear mechanism 100A of the encoder 1A includes a first gear 1151 fixed to a casing (not shown), a second gear 1152 located inside the first gear 1151, and a rotating member 1153 located inside the second gear 1152. The rotating member 1153 is an elliptical ring-shaped member when viewed from the axial direction, and its inner peripheral surface is fixed to the outer peripheral surface 131of of the shaft body 131. Therefore, the rotating member 1153 rotates integrally with the rotating shaft 130. When viewed from the axial direction, the center of the rotating member 1153 coincides with the center 130c of the rotating shaft 130.
[0149] The second gear 1152 is supported by a casing (not shown) so as to be rotatable relative to the casing. The second gear 1152 is flexible, and when it is subjected to a pressure acting radially from the inside to the outside, it can bend (deform) in response to the pressure. When not deformed, the second gear 1152 has a circular ring-shaped outer shape when viewed from the axial direction, and includes a cylindrical outer peripheral wall 1152A and a flange portion 1152B protruding from one end of the outer peripheral wall 1152A in the axial direction toward the rotating shaft 130. A rotating member 1153 is disposed inside an inner peripheral surface 1152if of the outer peripheral wall 1152A.
[0150] When the second gear 1152 is not deformed, the diameter of the inner peripheral surface 1152if of the outer peripheral wall 1152A is shorter than the major axis LA of the rotating member 1153 and longer than the minor axis of the rotating member 1153. Therefore, the inner peripheral surface 1152if of the outer peripheral wall 1152A is pressed from the inside to the outside in the radial direction by the part of the major axis LA of the rotating member 1153 that is located inside the outer peripheral wall 1152A. As a result, the second gear 1152 is deformed into an elliptical shape when viewed from the axial direction. In FIG. 17, the major axis LA of the rotating member 1153 and the extension line of the major axis LA are indicated by dashed lines. The part of the outer peripheral surface 1153of of the rotating member 1153 other than the part through which the major axis LA passes is not in contact with the inner peripheral surface 1152if of the outer peripheral wall 1152A. An outer peripheral surface 1153of of the rotating member 1153 can slide in contact with an inner peripheral surface 1152if of the outer peripheral wall 1152A. A second number N2 of external teeth 1152ot are formed on the outer peripheral surface of the outer peripheral wall 1152A (i.e., the surface on the radially opposite side to the rotating shaft 130).
[0151] The flange portion 1152B of the second gear 1152 is a ring-shaped plate-like member, and the rotating shaft 130 passes through a through hole defined by the inner peripheral surface of the flange portion 1152B. The substrate 120 is located on one side of the flange portion 1152B in the axial direction, and the rotating member 1153 is located on the other side. The flange portion 1152B faces the first magnet 161 in the radial direction. A ring-shaped second magnet 162 is fixed to a surface of the flange portion 1152B on the substrate 120 side in the axial direction.
[0152] The first gear 1151 is made of a highly rigid material and is formed so as not to deform. The first gear 1151 is fixed to a casing (not shown). The first gear 1151 is in the shape of a circular ring when viewed from the axial direction, and the center of the first gear 1151 coincides with the center 130c of the rotating shaft 130. The first number N1 of internal teeth 1152it, which is greater than the second number N2, is formed on the inner peripheral surface of the first gear 1151 (i.e., the surface on the rotating shaft 130 side in the radial direction). In this embodiment, the difference between the first number N1 and the second number N2 is 2n (n is any natural number). The internal teeth 1152it of the first gear 1151 surround the external teeth 1152ot of the second gear 1152 over the entire circumference.
[0153] Each of the multiple external teeth 1152ot of the second gear 1152 can mesh with each of the multiple internal teeth 1151it of the first gear 1151. In this embodiment, as shown in FIG. 17, the external teeth 1152ot of the multiple external teeth 1152ot of the second gear 1152, through which the extension line of the long axis LA passes, mesh with the internal teeth 1151it of the first gear 1151. Therefore, the external teeth 1152ot at two positions through which the extension line of the long axis LA passes, that is, at two positions symmetrically positioned with respect to the center 130c, among the multiple external teeth 1152ot, mesh with the internal teeth 1151it. In this way, the encoder 1A according to this modification has two meshing positions EP.
[0154] When the rotating shaft 130 rotates around the center 130c, the rotating member 1153 also rotates around the center 130c together with the rotating shaft 130. That is, the long axis LA of the rotating member 1153 rotates around the center 130c. When the long axis LA rotates by a predetermined angle, the meshing position EP also moves along the circumferential direction of the first gear 1151 by the same angle. In this way, the meshing position EP moves sequentially along the circumferential direction of the first gear 1151 with the rotation of the rotating shaft 130. Then, when the rotating shaft 130 rotates once, the meshing position EP goes around the circumferential direction of the first gear 1151. Here, as described above, the first number N1 of the internal teeth 1151it of the first gear 1151 is 2n more than the second number N2 of the external teeth 1152ot of the second gear 1152. Therefore, when the meshing position EP rotates once along the circumferential direction of the first gear 1151, that is, when the rotating shaft 130 rotates once, the second gear 1152 rotates relative to the first gear 1151 along the circumferential direction of the first gear 1151 by a difference in the number of teeth between the first number N1 and the second number N2 (a difference in the number of teeth of 2n). The rotation direction of the second gear 1152 is opposite to the rotation direction of the rotating shaft 130.
[0155] In this modification, the rotating member 1153 can be regarded as being similar to the crank portion 132 in the first embodiment. In this manner, the first gear 1151 and the second gear 1152 are configured as an eccentric oscillating type reducer, and furthermore function as a reduction mechanism 100A that constitutes a strain wave gear mechanism.
[0156] A first sensor 141 and a second sensor 142, which are magnetic sensors, are attached to the surface of the substrate 120 on the flange portion 1152B side in the axial direction. The first sensor 141 detects that the magnetism generated by the first magnet 161 changes as the first magnet 161 rotates with the rotation of the rotating shaft 130, and calculates the rotation angle θ of the rotating shaft 130 via the calculation unit 170. sensor1 The second sensor 142 detects that the magnetism generated by the second magnet 162 changes as the second magnet 162 rotates with the rotation of the second gear 1152, and calculates the rotation angle θ sensor2Detect.
[0157] Therefore, according to the encoder 1A of this modification, like the first embodiment, the number of rotations Tm and the rotation angle θ of the rotating shaft 130 can be calculated based on the formulas (1) to (4).
[0158] In the second to fourth embodiments described above, the speed reduction mechanism may also be configured with a strain wave gear mechanism as explained in this modified example.
[0159] (Second Modification) Next, a second modified example will be described. Fig. 18 is a perspective view showing an encoder in this modified example. Fig. 19 is a cross-sectional view taken along the axial direction of the encoder shown in Fig. 18. Note that the same components as those in the first embodiment are denoted by the same reference numerals as those in the first embodiment, and detailed description thereof will be omitted.
[0160] 18 and 19, in an encoder 1B according to this modification, the speed reduction mechanism 100 is replaced with a speed reduction mechanism 100B. The speed reduction mechanism 100B of the encoder 1B includes a first gear 2151 and a second gear 2152.
[0161] The second gear 2152 is supported at the axial position of the crank portion 132 of the rotating shaft 130 so that the position in the axial direction does not change. The eccentric portion 132a of the crank portion 132 is in contact with the inner peripheral surface of the second gear 2152 so as to be slidable relative to the inner peripheral surface of the second gear 2152. As described in the above embodiment, at least one of these surfaces may be coated. When viewed from the axial direction, the outer peripheral surface of the second gear 2152 (the surface opposite to the rotating shaft 130 side in the radial direction) is formed to draw an epitrochoid curve. Therefore, the outer edge of the second gear 2152 is formed by a plurality of arc-shaped protruding portions 2152T protruding outward in the number N2. In this modification, each of these plurality of protruding portions 2152T functions as an external tooth 2152ot of the second gear 2152.
[0162] A ring-shaped second magnet 162 is fixed to the surface of the second gear 2152 facing the first portion 111 in the axial direction. A ring-shaped first magnet 161 is fixed to the outer circumferential surface of the crank portion 132. A first sensor 141 and a second sensor 142 are attached as magnetic sensors to the surface of the substrate 120 facing the second gear 2152 in the axial direction. The first sensor 141 calculates the rotation angle θ of the rotating shaft 130 via the calculation unit 170 based on a change in magnetism generated from the first magnet 161 due to the rotation of the rotating shaft 130. sensor1 Detect.
[0163] The second portion 112 of the casing 110 has a bottom portion 112B on the opposite side to the first portion 111 in the axial direction. The bottom portion 112B forms the bottom of the casing 110. The bottom portion 112B is provided with a first number N1 of pins 2153 having the same dimensions. The first number N1 is greater than the second number N2. Each of the pins 2153 is formed in a cylindrical shape and protrudes from the bottom portion 112B toward the first portion 111 along the axial direction. The pins 2153 are disposed radially inward relative to the outer wall 110of of the casing 110. The pins 2153 are disposed at equal intervals along the circumferential direction of the circle Cr on the same circle Cr centered on the center 130c of the rotating shaft 130. In addition, in FIG. 18, a part of the circle Cr is indicated by a dashed line. Each of the multiple protrusions 2152T (external teeth 2152ot) of the second gear 2152 can mesh between two pins 2153 adjacent to each other in the circumferential direction of the circle Cr. In this manner, the multiple pins 2153 function as internal teeth 2151it that mesh with the external teeth 2152ot of the second gear 2152. Therefore, the second portion 112 of the casing 110 functions as a first gear 2151 having a first number N1 of multiple internal teeth 2151it on the rotating shaft 130 side in the radial direction.
[0164] In this embodiment, as shown in FIG. 18, the external teeth 2152ot on the straight line SL among the multiple external teeth 2152ot mesh with the internal teeth 2151it on the straight line SL (more specifically, the gap through which the straight line SL passes among the gaps between two internal teeth 2151it adjacent in the circumferential direction of the circle Cr). As in the first embodiment, the straight line SL is a straight line extending in the radial direction from the center 130c through the eccentric part 132a of the crank part 132. In FIG. 18, the straight line SL is indicated by a broken line. Therefore, the encoder 1B has a meshing position EP where a part of the external teeth 2152ot meshes with a part of the internal teeth 2151it. The meshing position EP in this modification may be defined as the gap through which the straight line SL passes among the gaps between two internal teeth 2151it adjacent in the circumferential direction of the circle Cr.
[0165] When the rotating shaft 130 rotates by a predetermined angle from the state of FIG. 18, that is, when the eccentric portion 132a of the crank portion 132 rotates by a predetermined angle from the state of FIG. 18, the meshing position EP also moves by the same angle along the circumferential direction of the first gear 2151 (the circumferential direction of the circle Cr). In this way, the meshing position EP moves sequentially along the circumferential direction of the first gear 2151 with the rotation of the rotating shaft 130. Then, when the rotating shaft 130 rotates once, the meshing position EP goes around once along the circumferential direction of the first gear 2151. Here, as described above, the first number N1 of the internal teeth 2151it of the first gear 2151 is greater than the second number N2 of the external teeth 2152ot of the second gear 2152. Therefore, when the meshing position EP rotates once along the circumferential direction of the first gear 2151, that is, when the rotating shaft 130 rotates once, the second gear 2152 rotates relative to the first gear 2151 along the circumferential direction of the first gear 2151 by a difference in the number of teeth between the first number N1 and the second number N2. The rotation direction of the second gear 2152 is opposite to the rotation direction of the rotating shaft 130.
[0166] In this way, the first gear 2151 and the second gear 2152 are configured as an eccentric oscillating type reducer, and more specifically, function as a reduction mechanism 100B that constitutes a hypocycloid mechanism, more specifically, a pin gear type hypocycloid.
[0167] The second sensor 142 calculates the rotation angle θ of the second gear 2152 via the calculation unit 170 based on the change in magnetism generated from the second magnet 162 due to the rotation of the second gear 2152. sensor2 Detect.
[0168] Therefore, according to the encoder 1B of this modification, like the first embodiment, the number of rotations Tm and the rotation angle θ of the rotating shaft 130 can be calculated based on the formulas (1) to (4).
[0169] In the second to fourth embodiments described above, the speed reduction mechanism may also be configured with a strain wave gear mechanism as explained in this modified example.
[0170] In addition, in each of the above-described embodiments and modified examples, the rotating shaft is a hollow shaft, but the rotating shaft is not limited to a hollow shaft.
[0171] Fifth embodiment Next, a fifth embodiment will be described. In the fifth embodiment, among the encoders 1 to 4 described in the first to fourth embodiments and the encoders 1A and 1B described in the first and second modified examples, the rotation angles θ of the second gears 152, 352, 452, and 2152 in the encoders 1, 1A, 1B, 3, and 4 are sensor2) The rotation angle θ of the second gear 152, 352, 452, 2152 after the correction is sub The process of calculating the number of rotations Tm of the rotating shaft 130 and the rotation angle θ of the rotating shaft 130 taking into account the number of rotations of the rotating shaft 130 based on the above will be described below with reference mainly to the encoder 1 described in the first embodiment.
[0172] The calculation unit 170 is a program processing device (e.g., a computer such as a microcontroller (MCU (Micro Control Unit))) having hardware elements such as a processor such as a CPU (Central Processing Unit), various memories such as a ROM (Read Only Memory) and a RAM (Random Access Memory), a timer, a counter, an A / D conversion circuit, an input / output I / F circuit, and a clock generation circuit, and each component is connected to each other via a bus or a dedicated line. The calculation unit 170 has a rewritable non-volatile storage device such as a flash memory or an EEPROM (Electrically Erasable Programmable Read-Only Memory) as a memory. The calculation unit 170 acquires signals indicating the rotation angles output from each of the angle sensors 141 and 142, and executes a rotation angle calculation method that calculates the rotation angle θ of the rotation shaft 130 taking into account the number of rotations of the rotation shaft 130 as shown in the above-mentioned formula (4).
[0173] Each block of the calculation unit 170 shown in FIG. 20 represents a function realized by the CPU as the calculation unit 170 executing a program. As shown in FIG. 20, the calculation unit 170 has an angle information generation unit 171p, an angle correction unit 171q, and a storage unit 171b as functional units for executing the above-mentioned rotation angle calculation method. In other words, the calculation unit 170 is an example of a computer for executing a rotation angle calculation program. Each block of the calculation unit 170 can be realized in terms of hardware by elements and mechanical devices such as a computer's CPU and RAM (Random Access Memory), and in terms of software by a computer program or the like. Here, functional blocks realized by their cooperation are depicted. Therefore, it will be understood by those skilled in the art who have read this specification that these functional blocks can be realized in various forms by a combination of hardware and software.
[0174] The storage unit 171b is realized in terms of hardware by the above-mentioned memory in the calculation unit 170. A reference angle table 171b1 and an angle error table 171b2 are stored in the storage unit 171b. In addition, the storage unit 171b stores various computer programs executed by the calculation unit 170 in addition to the above-mentioned rotation angle calculation program.
[0175] The angle correction unit 171q corrects the angle of the second gear 152 serving as a second gear part performing eccentric motion. Hereinafter, an angle error included in the rotation angle acquired by the second sensor 142 serving as an angle sensor in the encoder 1, and the angle correction process performed by the angle correction unit 171q will be described.
[0176] FIG. 21 is a schematic diagram showing a path drawn by a point P on a pitch circle of the second gear 152 when the second gear 152 rotates in the encoder 1. As shown in FIG. 21, in the encoder 1, the second gear 152, which is an object from which the second sensor 142 acquires position information, rotates at a reduced speed while inscribed in the first gear 151 as a first gear part of an internal gear provided on the outer periphery of the rotating shaft 130. At this time, the second gear 152, which is a planetary gear, has a path of a point P on a pitch circumference that draws a hypocycloid (hypocycloid) curve HC. The point P(x, y) is expressed by the following formulas (13) and (14). In formulas (13) and (14), the radius of the pitch circle of the first gear 151 is a, and the radius of the pitch circle of the second gear 152 is b.
[0177]
number
[0178]
number
[0179] FIG. 22 is a schematic diagram showing a trajectory drawn by a point P1 located at a position away from the center of the second gear 152 when the second gear 152 rotates in the encoder 1. In the encoder 1, the second sensor 142 acquires a change in magnetism from the second magnet 162 fixed to the surface of the second gear 152 on the substrate 120 side in the axial direction, and converts it into an electric signal. The second magnet 162 is attached to the surface of the second gear 152 on the substrate 120 side in the axial direction, on the inner side of the point P on the pitch circle shown in FIG. 21, that is, to a point P1 that is a predetermined distance c away from the center of the second gear 152. As shown in FIG. 22, the trajectory of the point P1 of the second magnet 162 also draws a hypocycloid curve HC1, similar to the trajectory of the point P shown in FIG. 21. The point P1(x, y) is expressed by the following formulas (15) and (16). In formulas (15) and (16), the radius of the pitch circle of first gear 151 is a, the radius of the pitch circle of second gear 152 is b, and the distance from the center of second gear 152 is c. Note that, depending on the position of the detection reference of the magnet specified for the magnetic sensor to be used, it is possible to appropriately select whether to use the locus of point P or the locus of point P1.
[0180]
number
[0181]
number
[0182] From here on, a description will be given taking the point P1 of the second magnet 162 as an example. The encoder 1 obtains a change in magnetism from the second magnet 162 and calculates a rotation angle θ of the second gear 152 using an electric signal converted by the second sensor 142. sensor2 As described above, the point P1 of the second magnet 162 moves on the inner circumferential side of the first gear 151 while describing the hypocycloid curve HC1. In other words, the trajectory of the point P1 of the second magnet 162 is different from that when the second gear 152 rotates in a perfect circular motion. For this reason, the encoder 1 calculates the rotation angle θ of the second gear 152.sensor2 cannot be used as is as an encoder to calculate the angle of the rotating shaft 130, so it becomes necessary to correct it to a rotation angle in the case of a perfect circular motion.
[0183] 23 is a graph showing the reference angle and the detected angle of the second gear 152 in the encoder 1. In FIG. 23, the horizontal axis shows the rotation angle θ (deg) of the main shaft, and the vertical axis shows the rotation angle θ of the second gear 152. sensor2 23, the rotation angle θ of the second gear 152 before correction is sensor2 is indicated by a solid line, and the angle when the point P1 of the second gear 152 performs a perfect circular motion with respect to the center of the rotation shaft 130 (hereinafter referred to as the "reference angle θ ref " ) is shown with a dashed line.
[0184] FIG. 24 shows the rotation angle θ of the second gear 152 before correction in the encoder 1. sensor2 24 is a graph showing the angle error with respect to the reference angle θ of the second gear 152. In FIG. ref and the rotation angle θ before correction sensor2 (hereinafter referred to as "angle error θ error " ) (deg).
[0185] In the hypocycloid gear mechanism shown in FIG. 23 and FIG. 24, in which the second gear 152 rotates once for every 10 rotations of the rotating shaft 130, the angle error θ error The angle error θ error is the reference angle θ ref and point P1(x, y) obtained by equations (15) and (16), the following equation (17) can be used to calculate:
[0186]
number
[0187] The angle correction unit 171q corrects the rotation angle θ of the second gear 152 before correction. sensor2is corrected as an angle when the point P1 is a point that rotates in a perfect circular motion on a circle of radius c. The rotation angle of the second gear 152 after the correction calculated by the angle correction unit 171q (hereinafter, referred to as the “rotation angle θ sub ") is the rotation angle θ of the second gear 152 before correction. sensor2 θ sub_detect Then, it can be calculated from equation (17) as the following equation (18).
[0188]
number
[0189] FIG. 25 shows the rotation angle θ of the second gear 152 after correction in the encoder 1. sub 25, the horizontal axis indicates the rotation angle θ (deg) of the rotating shaft 130, and the vertical axis indicates the corrected rotation angle θ of the second gear 152. sub 25, the angle correction unit 171q corrects the rotation angle θ of the second gear 152 before correction obtained from the second sensor 142. sub_detect from the angle error θ error Rotation angle θ excluding sub can be corrected to.
[0190] Fig. 26 is a flowchart showing the processing by the angle correction unit 171q in the encoder 1. The above-described processing by the angle correction unit 171q will be described with reference to the flowchart shown in Fig. 26.
[0191] The angle correction unit 171q calculates an angle θ sensor2 (Step S101).
[0192] The angle correction unit 171q calculates the reference angle θ ref (Step S102). ref is, for example, the number of rotations Tm′ detected as an incremental value of the first sensor 141 for the magnet 161 attached to the main shaft 130, and the rotation angle θ of the rotating shaft 130. sensor1 can be calculated using the following equation (19).
[0193]
number
[0194] In addition, the angle correction unit 171q calculates a value obtained from another rotation detection means for detecting the rotation angle of the main shaft 130 as a reference angle θ ref It may be calculated as:
[0195] The angle correction unit 171q calculates the equation (17) and the reference angle θ ref Using the angle error θ error is calculated (step S103).
[0196] The angle correction unit 171q corrects the rotation angle θ of the second gear 152 before correction. sensor2 and the angle error θ error From this, the rotation angle θ of the second gear 152 after correction is calculated using the formula (18). sub (Step S104). The angle correction unit 171q calculates, for example, the angle error θ error may be specified.
[0197] The angle correction unit 171q calculates the corrected rotation angle θ of the second gear 152. sub to the angle information generating unit 171p (step S105).
[0198] The angle information generating unit 171p receives the rotation angle θ of the rotation shaft 130 from the first sensor 141 as a rotation shaft sensor. sensor1 The angle information generating unit 171p also obtains the corrected rotation angle θ of the second gear 152 from the angle correcting unit 171q. sub The angle information generating unit 171p calculates the number of rotations Tm based on the above-mentioned formula (3) and obtains the rotation angle θ of the rotating shaft 130. sensor1 and the corrected rotation angle θ of the second gear 152 subUsing this, the rotation angle θ of the rotating shaft 130 is calculated based on the above-mentioned formula (4), taking into account the number of rotations of the rotating shaft 130. The rotation angle θ is the sum of the angles rotated over multiple rotations of the rotating shaft 130. The angle information generating unit 171p outputs the calculated rotation angle θ of the rotating shaft 130, taking into account the number of rotations of the rotating shaft 130, to an external device that controls a motor or the like.
[0199] Therefore, according to the encoder 1 in which the angle correction unit 171q is realized by the calculation unit 170 that executes the rotation angle calculation program, the rotation angle θ sub Therefore, the encoder 1 can calculate the rotation angle θ of the rotating shaft 130.
[0200] Furthermore, the process by the angle correction unit 171q is effective when the encoder 1 is used as an absolute encoder that detects the absolute position or angle of the rotating shaft 130 of a motor or the like.
[0201] Furthermore, the processing by the angle correction unit 171q is not limited to the encoders 1, 3, and 4 having a hypocycloid gear mechanism, but can also calculate the rotation angle θ corrected to true circular motion even when a gear mechanism in which a point on the pitch circumference of the external gear does not perform a true circular motion, such as encoder 1B, is used.
[0202] In addition, those skilled in the art can appropriately modify the encoder of the present invention in accordance with conventionally known knowledge. As long as the configuration of the present invention is still provided even after such modifications, the modifications are of course included in the scope of the present invention.
[0203] For example, the reduction ratios and the numbers of teeth of the gear mechanisms shown in the respective embodiments are merely examples, and various combinations of reduction ratios and the numbers of teeth of the gear mechanisms can be used in the encoder of the present invention. [Explanation of symbols]
[0204] 1...encoder, 100...reduction mechanism, 110...casing, 110h...hole, 110of...outer wall, 111...first part, 112...second part, 112B...bottom, 112i...inner surface, 112id...second inner surface, 112id...inner surface, 112iu...first inner surface, 112iu...inner surface, 120...substrate, 121...connector, 130...rotating shaft, 130c...center, 131...shaft body, 131A...shaft body, 131i...inner peripheral surface, 131of...outer peripheral surface, 132...crank portion, 132...crank portion, 132a...eccentric portion, 132of...outer peripheral surface, 141...first sensor, 142...second sensor, 151...first gear, 151it...internal teeth, 152...second gear, 152ot...external teeth, 152if...inner peripheral surface, 152ot...external teeth, 153...third gear, 161...first magnet, 162...second magnet, 170...calculation portion, 171b...storage portion, 171b1...reference angle table, 171b2...angle error table, 171p...angle information generation portion, 171q...angle correction portion
Claims
1. An encoder for detecting a total rotation angle over multiple rotations of a rotary shaft, A first gear portion which is an internal gear provided on an outer circumferential side of the rotating shaft; a second gear portion which is a gear that performs eccentric motion to rotate at a reduced speed on an inner peripheral side of the first gear portion at a predetermined reduction ratio with respect to the first gear portion in response to rotation of the rotating shaft; an angle sensor for acquiring an angle of the second gear portion; an angle correction unit that corrects an angle of the second gear unit; Equipped with Encoder.
2. a rotation shaft sensor for detecting an angle of the rotation shaft; an angle information generating unit that calculates a rotation angle based on the angle of the rotation shaft and the angle of the second gear part corrected by the angle correcting unit; Equipped with The encoder of claim 1 .
3. The angle correction unit is correcting the angle so that the position of a predetermined point on the second gear portion acquired by the angle sensor indicates a position on a circle when the second gear portion performs a perfect circular motion about the center of the rotation shaft; An encoder according to claim 1 or 2.
4. The angle correction unit is correcting the angle based on an angle between the rotation axis and a point that rotates in a perfect circular motion on a circle having a radius of a predetermined distance from the center of the second gear portion; An encoder according to claim 1 or 2.
5. a first gear portion which is an internal gear provided on an outer circumferential side of a rotating shaft; a second gear portion which is a gear that performs eccentric motion to rotate at a reduced speed on an inner peripheral side of the first gear portion at a predetermined reduction ratio with respect to the first gear portion in response to rotation of the rotating shaft; and a computer that detects a total rotation angle over multiple rotations of the rotary shaft, The computer, correcting an angle of the second gear portion; calculating a rotation angle based on the angle of the rotation shaft and the corrected angle of the second gear part; Execute How to calculate the rotation angle.
6. a first gear portion which is an internal gear provided on an outer circumferential side of a rotating shaft; a second gear portion which is a gear that performs eccentric motion to rotate at a reduced speed on an inner peripheral side of the first gear portion at a predetermined reduction ratio with respect to the first gear portion in response to rotation of the rotating shaft; and a computer that detects a total rotation angle over multiple rotations of the rotary shaft, The computer includes: correcting an angle of the second gear portion; calculating a rotation angle based on the angle of the rotation shaft and the corrected angle of the second gear part; Execute the Rotation angle calculation program.
Citation Information
Patent Citations
Positioning error compensation method for actuator
JP2002244740A
Multi-rotation absolute angle detection mechanism and detection method
JP2006300621A
Absolute encoder of geared motor
JP2018100859A
