Absolute encoder

The absolute encoder addresses alignment issues by using a fixed circuit substrate with adjustable distance control, enhancing detection accuracy and precision in rotation amount measurement.

CN113631892BActive Publication Date: 2024-12-17MINEBEAMITSUMI INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080024637.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-29
Filing Date
2020-03-13
Publication Date
2024-12-17
Estimated Expiration
2040-03-13

AI Technical Summary

Technical Problem

Conventional absolute encoders suffer from decreased detection accuracy due to misalignment between the circuit substrate and the rotating disk, resulting from low mounting accuracy, which affects the precision of rotation amount measurement.

Method used

The absolute encoder incorporates a circuit substrate fixed by a fixing unit on pillars along the motor's rotating shaft, with adjustable distance control between the substrate and the substrate's fixing portions to maintain parallelism and enhance detection accuracy.

Benefits of technology

This design effectively suppresses the decrease in detection accuracy by ensuring precise alignment, thereby maintaining high measurement precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113631892B_ABST
    Figure CN113631892B_ABST
Patent Text Reader

Abstract

An absolute encoder comprises: a circuit substrate, which is fixed by a fixing unit on the front end surface of each of a plurality of pillars that are arranged in isolation from the rotating shaft along the axial direction of the rotating shaft of a motor and extend from the motor side; and a sensor, which is arranged on the circuit substrate opposite to a rotating body that rotates with the rotation of the rotating shaft and detects the rotation amount of the rotating body. The circuit substrate has: a first fixing portion, which is fixed to the front end surface by the fixing unit; and a second fixing portion, which is fixed and grounded to the front end surface by the fixing unit. The first fixing portion has: an adjustment portion, which is located between the circuit substrate and the front end surface, and by adjusting the distance between the circuit substrate and the front end surface, the height position of the circuit substrate in the first fixing portion is equal to the height position of the circuit substrate in the second fixing portion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an absolute encoder. Background Art

[0002] A rotary encoder used to detect the position or angle of a movable element in various control mechanical devices is well known. Such encoders include incremental encoders for detecting relative positions or angles and absolute encoders for detecting absolute positions or angles. For example, Patent Document 1 discloses an absolute rotary encoder having a plurality of magnetic encoder parts for detecting the angular positions of a main shaft and a secondary shaft using magnetism, and the absolute position of the main shaft can be measured based on the detection results.

[0003] [Reference document]

[0004] [Patent document]

[0005] [Patent Document 1] (Japan) Patent Publication No. 2013-24572 Summary of the invention

[0006] [Technical issues to be solved]

[0007] However, conventional absolute encoders have adopted a structure in which a light receiving element provided on a circuit substrate is arranged opposite to the surface of a rotating disk, and the rotation amount of the rotating disk is detected by the light receiving element. Therefore, conventional absolute encoders have the following problem: if the mounting accuracy of the circuit substrate is low, the detection surface of the light receiving element and the surface of the rotating disk will become non-parallel to each other, resulting in a decrease in the detection accuracy of the light receiving element.

[0008] The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide an absolute encoder capable of suppressing a decrease in the detection accuracy of the rotation amount.

[0009] [Technical solution]

[0010] An absolute encoder according to an embodiment of the present invention comprises: a circuit substrate, which is fixed by a fixing unit on the front end surface of each of a plurality of pillars that are arranged in isolation from the rotating shaft along the axial direction of the rotating shaft of the motor and extend from the motor side; and a sensor, which is arranged on the circuit substrate relative to a rotating body that rotates with the rotation of the rotating shaft and detects the rotation amount of the rotating body. The circuit substrate comprises: a first fixing portion, which is fixed to the front end surface by the fixing unit; and a second fixing portion, which is fixed and grounded to the front end surface by the fixing unit. The first fixing portion comprises: an adjustment portion, which is located between the circuit substrate and the front end surface, and which adjusts the distance between the circuit substrate and the front end surface so that the height position of the circuit substrate in the first fixing portion is equal to the height position of the circuit substrate in the second fixing portion.

[0011] [Beneficial Effects]

[0012] The absolute encoder of the present invention has an effect of being able to suppress a decrease in the detection accuracy of the rotation amount. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] 〔 Figure 1 〕A perspective view showing a state where the absolute encoder 100 - 1 according to the first embodiment of the present invention is mounted on the motor 200 .

[0014] 〔 Figure 2 〕 means from Figure 1 The illustrated perspective view is of a state in which the cover portion 116 is removed from the housing portion 115 .

[0015] 〔 Figure 3 〕 means from Figure 2 The illustrated absolute encoder 100 - 1 is a perspective view showing a state in which a base plate 120 and base plate mounting screws 122 are removed.

[0016] 〔 Figure 4 〕Bottom view of substrate 120.

[0017] 〔 Figure 5 〕 Figure 3 A plan view of an absolute encoder 100 - 1 is shown.

[0018] 〔 Figure 6 〕A cross-sectional view of the absolute encoder 100 - 1 cut along a plane passing through the center of the motor shaft 201 and parallel to the XZ plane. Here, the second counter gear 138 and the magnetic sensor 90 are shown.

[0019] 〔 Figure 7 〕A cross-sectional view of the absolute encoder 100 - 1 cut along a plane perpendicular to the center line of the first intermediate gear 102 and passing through the center of the first countershaft gear 105 .

[0020] 〔 Figure 8 〕A cross-sectional view of the absolute encoder 100-1 cut along a plane passing through the center of the second counter gear 138 and the center of the second intermediate gear 133 and parallel to the Z-axis direction as viewed from substantially the right side.

[0021] 〔 Fig. 9 〕A diagram showing a functional configuration of a microcomputer (microcomputer) 121 included in the absolute encoder 100-1 according to the first embodiment of the present invention.

[0022] 〔 Fig.10 〕Schematic diagram of the concepts of the waveform (A) obtained by detecting the magnetic flux of the permanent magnet 9 provided on the main shaft gear 101 (main shaft gear 1) by the magnetic sensor 40, the waveform (B) obtained by detecting the magnetic flux of the permanent magnet 8 provided on the first secondary shaft gear 105 (secondary shaft gear 5) by the magnetic sensor 50, and the magnetic interference waveform (C) obtained by detecting the state in which a part of the magnetic flux of the permanent magnet 8 overlaps with the magnetic flux of the permanent magnet 9 as leakage flux by the magnetic sensor 40.

[0023] 〔 Fig.11 〕Schematic diagram of the concepts of the waveform (A) obtained by detecting the magnetic flux of the permanent magnet 8 provided on the first countershaft gear 105 (countershaft gear 5) by the magnetic sensor 50, the waveform (B) obtained by detecting the magnetic flux of the permanent magnet 9 provided on the main shaft gear 101 (main shaft gear 1) by the magnetic sensor 40, and the magnetic interference waveform (C) obtained by detecting the state in which a part of the magnetic flux of the permanent magnet 9 is overlapped with the magnetic flux of the permanent magnet 8 as leakage flux by the magnetic sensor 50.

[0024] 〔 Fig.12 〕express Figure 4 FIG. 2 is a bottom view showing the arrangement of the first fixing portion 20A and the second fixing portion 20B of the substrate 120 shown.

[0025] 〔 Fig.13 〕A schematic cross-sectional view showing a cross-sectional structure of a portion (a first fixing portion 20A and a second fixing portion 20B) of the substrate 120 in the absolute encoder 100 - 1 according to the first embodiment of the present invention.

[0026] 〔 Fig.14 〕express Fig.13 The illustrated cross-sectional view is a state in which the substrate 120 is fixed to the first support portion 10A and the second support portion 10B.

[0027] 〔 Fig.15 〕 Fig.13 1 is a schematic cross-sectional view showing a cross-sectional structure of a modified example of the substrate 120 shown.

[0028] 〔 Fig.16 〕express Fig.15 The illustrated cross-sectional view is a state in which the substrate 120 is fixed to the first support portion 10A and the second support portion 10B.

[0029] 〔 Fig.17 〕A perspective view showing a state where an absolute encoder 100 - 2 according to Embodiment 2 of the present invention is mounted on a motor 200 .

[0030] 〔 Fig.18 〕 means from Fig.17 The illustrated absolute encoder 100 - 2 is a perspective view showing a state in which the housing 15 and the mounting screws 16 are removed.

[0031] 〔 Fig.19 〕 means from Fig.18 The illustrated absolute encoder 100 - 2 is a perspective view showing a state in which the base plate 20 and the base plate mounting screws 13 are removed.

[0032] 〔 Fig. 20 〕To express Fig.19 The perspective view showing the absolute encoder 100 - 2 being mounted on the motor 200 is a perspective view showing a state where the motor 200 and the screw 14 are removed.

[0033] 〔 Fig.21 〕right Fig. 20 The main base 10, the intermediate gear 2, etc. shown in the figure are shown in a plan view.

[0034] 〔 Fig. 22 〕Align the plane passing through the center of the intermediate gear 2 and parallel to the X-Y plane Fig.21 The absolute encoder 100 - 2 shown is a cut-away cross-sectional view.

[0035] 〔 Fig.23 〕right Fig. 22 The illustrated partial enlarged cross-sectional view is a view showing a state where the bearing 3 is removed from the intermediate gear 2.

[0036] 〔 Fig.24 〕Along the way through Fig.21 The center of the main shaft gear 1 is shown and the plane perpendicular to the center line of the intermediate gear 2 is Fig.18 The absolute encoder 100 - 2 shown is a cross-sectional view in which the substrate 20 and the magnetic sensor 40 are not cut.

[0037] 〔 Fig.25 〕Along the way through Fig. 22 The center of the countershaft gear 5 shown is aligned with a plane perpendicular to the center line of the intermediate gear 2. Fig.18The absolute encoder 100 - 2 shown is a cross-sectional view in which the substrate 20 and the magnetic sensor 50 are cut.

[0038] 〔 Fig.26 〕right Fig.19 This is a perspective view showing a state in which the intermediate gear 2 is removed from among the plurality of components shown.

[0039] 〔 Fig. 27 〕To Fig.26 The wall 70 is a perspective view showing the state of the screw 12 removed, the state of the leaf spring 11 after the screw 12 is removed, and the wall 70 having the leaf spring mounting surface 10e facing the leaf spring 11. The motor 200 and the main shaft gear 1 are not shown here.

[0040] 〔 Fig.28 〕Along the way through Fig.21 The center of the substrate positioning pin 10g and the center of the substrate positioning pin 10j are aligned with a plane parallel to the Z-axis direction. Fig.18 The absolute encoder 100 - 2 shown is a cross-sectional view in which a cutout is made. Here, the magnetic sensor 40 is not made to have a cross section.

[0041] 〔 Fig.29 〕From the side of the lower surface 20-1 Fig.18 A diagram showing the substrate 20 as viewed.

[0042] 〔 Fig.30 〕from Fig.17 The figure is a diagram when the motor 200 is removed and viewed from the lower surface 10 - 2 side of the main base 10 .

[0043] 〔 Fig.31 〕 Fig.17 An oblique view of the housing 15 is shown.

[0044] 〔 Fig.32 〕Along the way through Fig.19 The center of the substrate positioning pin 10g and the center of the substrate positioning pin 10j are aligned with a plane parallel to the Z-axis direction. Fig.17 The absolute encoder 100 - 2 is shown in a cutaway cross-sectional view. Here, the motor 200 and the main shaft gear 1 are not cut into sections.

[0045] 〔 Fig.33 〕A functional configuration diagram of the microcomputer 21 included in the absolute encoder 100-2 according to the second embodiment of the present invention.

[0046] 〔 Fig.34 〕A schematic diagram of the permanent magnet 9A that can be applied to the absolute encoders 100-1 and 100-2 of the first and second embodiments.

[0047] 〔 Fig.35 〕A schematic diagram of the permanent magnet 9B applicable to the absolute encoders 100-1 and 100-2 of the first and second embodiments.

[0048] 〔 Fig.36 〕 Fig.25 An exploded oblique view of the permanent magnet 8, magnet seat 6, countershaft gear 5 and bearing 7 is shown.

[0049] 〔 Fig.37 〕 Fig.24 The permanent magnet 9, the main shaft gear 1 and the motor shaft 201 are shown in an exploded perspective view.

[0050] 〔 Fig.38 〕 is a bottom view showing the arrangement of the first fixing portion 20A and the second fixing portion 20B of the substrate 20 included in the absolute encoder 100 - 2 according to the second embodiment. DETAILED DESCRIPTION

[0051] Hereinafter, the configuration of the absolute encoder according to the embodiment of the present invention will be described in detail based on the drawings. It should be noted that the present invention is not limited to these embodiments.

[0052] <Implementation method 1>

[0053] Figure 1 This is an oblique view showing a state where the absolute encoder 100-1 according to Embodiment 1 of the present invention is mounted on the motor 200. The following description is based on the XYZ rectangular coordinate system. The X-axis direction corresponds to the horizontal left-right direction, the Y-axis direction corresponds to the horizontal front-back direction, and the Z-axis direction corresponds to the vertical up-down direction. The Y-axis direction and the Z-axis direction are respectively orthogonal to the X-axis direction. The X-axis direction is referred to as the left direction or the right direction, the Y-axis direction is referred to as the front direction or the rear direction, and the Z-axis direction is referred to as the up direction or the down direction. Figure 1 In the diagram, the state observed from above along the Z-axis direction is called a plan view, the state observed from the front along the Y-axis direction is called a front view, and the state observed from left and right along the X-axis direction is called a side view. Such a direction representation does not limit the use posture of the absolute encoder 100-1, and the absolute encoder 100-1 can be used in any posture. It should be noted that the tooth shape is omitted in the drawings.

[0054] Figure 2 It means from Figure 1 The illustrated perspective view is of a state in which the cover portion 116 is removed from the housing portion 115 . Figure 3 It means from Figure 2 The illustrated absolute encoder 100 - 1 is a perspective view showing a state in which a base plate 120 and base plate mounting screws 122 are removed. Figure 4 is a bottom view of the substrate 120 . Figure 5 yes Figure 3 A plan view of an absolute encoder 100 - 1 is shown. Figure 6 This is a cross-sectional view of the absolute encoder 100 - 1 cut along a plane that passes through the center of the motor shaft 201 and is parallel to the XZ plane. Here, the second counter gear 138 and the magnetic sensor 90 are shown. Figure 7 This is a cross-sectional view of the absolute encoder 100 - 1 cut along a plane perpendicular to the center line of the first intermediate gear 102 and passing through the center of the first counter gear 105 . Figure 7 In the figure, descriptions of the shell portion 115 and the cover portion 116 are omitted. Figure 8 This is a cross-sectional view of the absolute encoder 100 - 1 when it is cut along a plane passing through the center of the second counter gear 138 and the center of the second intermediate gear 133 and parallel to the Z-axis direction as viewed from the substantially right side. Figure 8 In the figure, description of the shell portion 115 and the cover portion 116 is omitted.

[0055] Below, refer to Figures 1 to 8 The structure of the absolute encoder 100-1 is described in detail. The absolute encoder 100-1 is an absolute encoder that determines and outputs the rotation amount of multiple rotations of the main shaft of the motor 200. As an example, the motor 200 may be a stepping motor or a DC brushless motor. As an example, the motor 200 may also be used as a driving source for driving an industrial robot via a reduction mechanism such as a wave gear device. The motor shaft 201 of the motor 200 protrudes from both sides of the Z-axis direction of the motor 200. The absolute encoder 100-1 outputs the rotation amount of the motor shaft 201 as a digital signal. It should be noted that the motor shaft 201 is an example of a main shaft.

[0056] The absolute encoder 100-1 is disposed at the end of the motor 200 in the Z-axis direction. The shape of the absolute encoder 100-1 is not particularly limited. In the embodiment, the absolute encoder 100-1 has a substantially rectangular shape in a plan view, and has a thin and elongated rectangular shape along the extension direction of the main axis (hereinafter referred to as the axial direction. In the first embodiment, the axial direction is a direction parallel to the Z-axis direction) in the front view and the side view. That is, the absolute encoder 100-1 has a rectangular parallelepiped shape that is flat along the Z-axis direction.

[0057] The absolute encoder 100-1 has a hollow rectangular cylindrical shell 115 that accommodates its internal structure. The shell 115 includes a plurality of (for example, four) outer wall portions 115a, 115b, 115c, and 115d that surround at least the main shaft and the intermediate rotating body. A cover 116 is fixed to the ends of the outer wall portions 115a, 115b, 115c, and 115d of the shell 115. The cover 116 is a plate-like component that has a generally rectangular shape in a plan view and is thin in the axial direction.

[0058] The outer wall portion 115a, the outer wall portion 115b, the outer wall portion 115c and the outer wall portion 115d are connected in this order. The outer wall portion 115a and the outer wall portion 115c are arranged parallel to each other. The outer wall portion 115b and the outer wall portion 115d are arranged across the side ends of the outer wall portion 115a and the outer wall portion 115c, and are arranged parallel to each other. In this example, the outer wall portion 115a and the outer wall portion 115c extend along the X-axis direction in a plan view, and the outer wall portion 115b and the outer wall portion 115d extend along the Y-axis direction in a plan view.

[0059] The absolute encoder 100-1 includes a main base 110, a shell 115, a cover 116, a substrate 120, a leaf spring 111, and a plurality of screws 164. The main base 110 is a base for axially supporting each rotating body and each gear. The main base 110 includes a base 110a, a plurality of (for example, 4) pillars 141, a shaft 106, a shaft 134, and a shaft 139.

[0060] The base 110a of the main base 110 is a plate-shaped portion of the absolute encoder 100-1 facing the motor 200 and extending in the X-axis direction and the Y-axis direction. The hollow rectangular cylindrical shell 115 is fixed to the base 110a of the main base 110 by a plurality of (for example, three) screws 164.

[0061] The support column 141 provided on the main base 110 is a substantially cylindrical portion protruding from the base 110a in the axial direction and in a direction away from the motor 200, and is used to support the substrate 120. The substrate 120 is fixed to the protruding end of the support column 141 by the substrate mounting screw 122. Figure 2 1 shows a case where the substrate 120 is arranged in a manner covering the inside of the encoder. The substrate 120 has a generally rectangular shape in a plan view and is a plate-like printed wiring substrate that is relatively thin in the axial direction. The substrate 120 mainly has the magnetic sensor 50, the magnetic sensor 40, the magnetic sensor 90 and the microcomputer 121 mounted thereon.

[0062] In addition, the absolute encoder 100-1 includes a main shaft gear 101, a worm gear portion 101c, a worm wheel portion 102a, a first intermediate gear 102, a first worm gear portion 102b, a worm wheel portion 105a, a first counter shaft gear 105, a second worm gear portion 102h, and a worm wheel portion 133a. In addition, the absolute encoder 100-1 includes a second intermediate shaft gear 133, a fourth drive gear portion 133d, a fourth driven gear portion 138a, a second counter shaft gear 138, a permanent magnet 8, a permanent magnet 9, a permanent magnet 17, a magnetic sensor 50, a magnetic sensor 40, a magnetic sensor 90, and a microcomputer 121.

[0063] The main shaft gear 101 rotates with the rotation of the motor shaft 201, and transmits the rotation of the motor shaft 201 to the worm gear portion 101c. Figure 6 As shown, the main shaft gear 101 includes a first cylindrical portion 101a that is engaged with the outer periphery of the motor shaft 201, a disc portion 101b formed with a worm gear portion 101c, and a magnet holding portion 101d that holds the permanent magnet 9. The magnet holding portion 101d has a cylindrical recessed shape provided at the central portion of the disc portion 101b and the upper end surface of the first cylindrical portion 101a. The first cylindrical portion 101a, the disc portion 101b, and the magnet holding portion 101d are integrally formed in a manner such that the central axes thereof are substantially consistent. The main shaft gear 101 can be formed of various materials such as resin materials and metal materials. The main shaft gear 101 can be formed, for example, of polyacetal resin.

[0064] The worm gear 101c is an example of a first drive gear that drives the worm wheel 102a. Specifically, the worm gear 101c is a worm gear having one gear formed on the outer circumference of the disk 101b. The rotation axis of the worm gear 101c extends along the axial direction of the motor shaft 201.

[0065] like Figure 5As shown, the first intermediate gear 102 is a gear portion that transmits the rotation of the main shaft gear 101 to the worm wheel portion 105a and the second intermediate gear 133. The first intermediate gear 102 is axially supported by the shaft 104 around the rotation axis La extending approximately parallel to the base 110a. The first intermediate gear 102 is a substantially cylindrical component extending in the direction of its rotation axis La. The first intermediate gear 102 includes a base 102c, a first cylinder portion 102d forming the worm wheel portion 102a, a second cylinder portion 102e forming the first worm gear portion 102b, and a third cylinder portion 102f forming the second worm gear portion 102h, and a through hole is formed in the interior thereof, and the shaft 104 can be inserted into the through hole. The shaft 104 is inserted into the holes formed in the support parts 110b and 110c provided on the base 110a of the main base 110, so that the first intermediate gear 102 can be axially supported. In addition, grooves are provided near both ends of the shaft 104 protruding outward from the support parts 110b and 110c, respectively, and the stop rings 107 and 108 for preventing the shaft 104 from coming out are fitted into the grooves, thereby preventing the shaft 104 from falling off.

[0066] The outer wall portion 115a is provided on the side of the first intermediate gear 102 opposite to the motor shaft 201. The outer wall portion 115c is provided in parallel with the outer wall portion 115a on the side of the first intermediate gear 102 on which the motor shaft 201 is provided. The first intermediate gear 102 can be configured in such a manner that its rotation axis La faces any direction. The rotation axis La of the first intermediate gear 102 can be provided in a range of 5° to 30° in a plan view relative to the extension direction of the outer wall portion 115a provided on the side of the first intermediate gear 102 opposite to the motor shaft 201. Figure 5 In the example, the rotation axis La of the first intermediate gear 102 is inclined by 20° relative to the extension direction of the outer wall portion 115a. In other words, the shell portion 115 includes the outer wall portion 115a extending in a direction inclined by 5° to 30° relative to the rotation axis La of the first intermediate gear 102 in a plan view. Figure 5 In the example, the inclination Ds between the extending direction of the outer wall portion 115 a and the rotation axis La of the first intermediate gear 102 is set to 20°.

[0067] In the first embodiment, the base 102c of the first intermediate gear 102 has a cylindrical shape, and the first cylinder 102d, the second cylinder 102e, and the third cylinder 102f have a cylindrical shape with a diameter larger than that of the base 102c. In addition, a through hole is formed in the center of the first intermediate gear 102. The base 102c, the first cylinder 102d, the second cylinder 102e, the third cylinder 102f and the through hole are integrally formed in a manner that the central axes are roughly consistent. The second cylinder 102e, the first cylinder 102d and the third cylinder 102f are arranged in this order at positions separated from each other. The first intermediate gear 102 can be formed of various materials such as resin materials and metal materials. In the first embodiment, the first intermediate gear 102 can be formed of polyacetal resin.

[0068] The support portion 110b and the support portion 110c are respectively protruding parts protruding from the base portion 110a in the positive direction of the Z axis by cutting and raising a part of the base portion 110a of the main base portion 110, and are formed with a hole for inserting the shaft 104 of the first intermediate gear 102. In addition, grooves are formed near both ends of the shaft 104 extending from the support portion 110b and the support portion 110c, and the stop ring 107 and the stop ring 108 for preventing the shaft 104 from coming out are fitted into the grooves, thereby preventing the shaft 104 from falling off. By configuring in this way, the first intermediate gear 102 can be rotatably supported around the rotation axis La as an axis.

[0069] The leaf spring 111 is described. As for the first intermediate gear 102, each worm gear is driven by the first worm gear portion 102b and the second worm gear portion 102h, and a reaction force acts along the axial direction Td of the first intermediate gear 102, and the position in the axial direction Td can be changed. Therefore, in Embodiment 1, a leaf spring 111 that applies a force to the first intermediate gear 102 is provided. The leaf spring 111 can suppress the position change in the axial direction Td by applying a force in the direction of the rotation axis La of the first intermediate gear 102 to the first intermediate gear 102. The leaf spring 111 includes a mounting portion 111b mounted on the base 110a of the main base 110 and a sliding portion 111a extending from the mounting portion 111b and contacting the hemispherical protrusion 102g. The mounting portion 111b and the sliding portion 111a are formed of a thin plate-shaped spring material, and the root of the sliding portion 111a is bent at a substantially right angle to the mounting portion 111b. In this way, by directly contacting and pressing the hemispherical protrusion 102g of the first intermediate gear 102 with the leaf spring 111, a force can be applied to the first intermediate gear 102 in the axial direction Td. In addition, the sliding portion 102i of the first intermediate gear 102 can contact and slide with the supporting portion 110c of the main base 110. According to this, the change of the position of the first intermediate gear 102 in the axial direction Td can be suppressed.

[0070] In the first embodiment, the direction of the reaction force received by the first intermediate gear 102 from the worm wheel portion 105a of the first counter gear 105 by the rotation of the first worm gear portion 102b meshing with the worm wheel portion 105a of the first counter gear 105 is set to be opposite to the direction of the reaction force received by the first intermediate gear 102 from the worm wheel portion 133a of the second intermediate gear 133 by the rotation of the second worm gear portion 102h meshing with the worm wheel portion 133a of the second intermediate gear 133. That is, the shape of the teeth of each worm gear is set so that the components of the axial direction Td of the first intermediate gear 102 of each reaction force are opposite to each other. Specifically, the inclination direction of the teeth in each worm gear is set to be opposite to the direction of the components of the axial direction Td of the reaction force applied to the first intermediate gear 102. In this case, compared with the case where the components of the axial direction Td of the reaction force received by the first intermediate gear 102 from each worm gear are in the same direction, the combined reaction force in the axial direction Td is smaller, thereby reducing the biasing force of the leaf spring 111. As a result, the rotational resistance of the first intermediate gear 102 is reduced, and the first intermediate gear 102 can rotate smoothly.

[0071] The above method is more effective when the sliding resistance caused by the meshing of the worm gear portion 101c of the main shaft gear 101 and the worm wheel portion 102a of the first intermediate gear 102 is small, and the force in the axial direction Td applied to the first intermediate gear 102 by the rotation of the main shaft gear 101 is smaller than the reaction force received by the first intermediate gear 102 from the worm wheel portion 105a of the first countershaft gear 105 and the worm wheel portion 133a of the second intermediate gear 133; however, when the sliding resistance caused by the meshing of the worm gear portion 101c of the main shaft gear 101 and the worm wheel portion 102a of the first intermediate gear 102 is large, the following method is more effective.

[0072] Figure 5In the case where the main shaft gear 101 rotates rightward, a force in the right direction relative to the axial direction Td is applied to the first intermediate gear 102 by the sliding resistance caused by the meshing of the worm gear portion 101c of the main shaft gear 101 and the worm wheel portion 102a of the first intermediate gear 102, and the first intermediate gear 102 intends to move in the right direction. At this time, when the force in the axial direction Td generated by the worm gears at both ends of the first intermediate gear 102 is set to cancel each other out by the above-mentioned method, the sliding resistance caused by the meshing of the worm gear portion 101c of the main shaft gear 101 and the worm wheel portion 102a of the first intermediate gear 102 as described above causes the force in the right direction acting on the first intermediate gear 102 to become relatively large. In order to resist the rightward force acting on the first intermediate gear 102 and prevent the first intermediate gear 102 from moving in the right direction, it is necessary to increase the pressing force of the leaf spring 111. Accordingly, the sliding resistance between the sliding portion 111a of the leaf spring 111 and the hemispherical protrusion 102g of the first intermediate gear 102 abutting against and pressed by the sliding portion 111a, and the sliding resistance between the sliding portion 102i at the end of the first intermediate gear 102 in the opposite direction of the hemispherical protrusion 102g and the support portion 110c increase, and the rotational resistance of the first intermediate gear 102 becomes larger.

[0073] When the main shaft gear 101 rotates right, the direction of the reaction force received by the first intermediate gear 102 from the worm wheel portion 105a of the first secondary shaft gear 105 due to the rotation of the first worm gear portion 102b meshing with the worm wheel portion 105a of the first secondary shaft gear 105 and the direction of the reaction force received by the first intermediate gear 102 from the worm wheel portion 133a of the second intermediate gear 133 due to the rotation of the second worm gear portion 102h meshing with the worm wheel portion 133a of the second intermediate gear 133 are both set to forces in the direction of moving the first intermediate gear 102 to the left relative to the axial direction Td. As a result, the rightward force acting on the first intermediate gear 102 can be reduced by the sliding resistance caused by the meshing of the worm gear portion 101c of the main shaft gear 101 and the worm wheel portion 102a of the first intermediate gear 102. This can reduce the biasing force applied by the leaf spring 111 to the first intermediate gear 102. Therefore, the rotation resistance of the first intermediate gear 102 is reduced, and the first intermediate gear 102 can rotate smoothly.

[0074] On the other hand, when the main shaft gear 101 rotates counterclockwise, a force in the left direction relative to the axial direction Td acts on the first intermediate gear 102 due to the sliding resistance caused by the meshing of the worm gear portion 101c of the main shaft gear 101 and the worm wheel portion 102a of the first intermediate gear 102, and the first intermediate gear 102 attempts to move leftward. At this time, the reaction forces received by the first worm gear portion 102b and the second worm gear portion 102h located at both ends of the first intermediate gear 102 are both forces that attempt to move the first intermediate gear 102 rightward. Therefore, in this case, the force in the left direction acting on the first intermediate gear 102 can also be reduced. The biasing force applied to the first intermediate gear 102 by the leaf spring 111 is always a force in the left direction relative to the axial direction Td, so the force in the left direction acting on the first intermediate gear 102 due to the meshing of the three gears is reduced, and accordingly, the total force in the left direction applied to the first intermediate gear 102 is also reduced. Therefore, the rotation resistance caused by the sliding between the sliding portion 102i at the left end of the first intermediate gear 102 in the figure and the support portion 110c provided on the base portion 110a of the main base 110 can be reduced.

[0075] Figure 5 1, the worm wheel portion 102a is an example of a first driven gear meshing with the worm gear portion 101c of the main shaft gear 101. The worm wheel portion 102a is a worm wheel having 20 teeth formed on the outer periphery of the first cylinder portion 102d. The worm gear portion 101c and the worm wheel portion 102a constitute a first worm gear transmission mechanism. The rotation axis of the worm wheel portion 102a extends in a direction perpendicular to the axial direction of the motor shaft 201.

[0076] When the number of teeth of the worm gear portion 101c of the main shaft gear 101 is 1 and the number of teeth of the worm wheel portion 102a of the first intermediate gear 102 is 20, the reduction ratio is 20. That is, when the main shaft gear 101 rotates 20 times, the first intermediate gear 102 rotates 20÷20=1 time.

[0077] The first worm gear portion 102b is an example of a second drive gear that drives the worm wheel portion 105a, and is a gear portion of the first intermediate gear 102. In particular, the first worm gear portion 102b is a worm gear having a number of 5 formed on the outer periphery of the second cylinder portion 102e. The rotation axis of the first worm gear portion 102b extends in a direction perpendicular to the axial direction of the motor shaft 201.

[0078] Figure 5 and Figure 7, the first countershaft gear 105 is decelerated along with the rotation of the motor shaft 201, and rotates integrally with the permanent magnet 8. The first countershaft gear 105 is a member having a substantially circular shape in a plan view, including a cylindrical bearing portion 105b axially supported by a shaft 106 protruding substantially vertically from a base portion 110a of a main base portion 110, a disc portion 105c formed with a worm gear portion 105a, and a retaining portion 105d for retaining the permanent magnet 8.

[0079] Figure 7 In the embodiment, the disc portion 105c has a disc shape extending from the outer periphery of the bearing portion 105b in the radial direction. In the first embodiment, the disc portion 105c is arranged at a position close to the end of the bearing portion 105b away from the base 110a. The retaining portion 105d has a cylindrical recessed shape arranged on the end surface of the disc portion 105c away from the base 110a in the axial direction. The bearing portion 105b, the disc portion 105c and the retaining portion 105d are integrally formed in a manner in which their central axes are roughly consistent. The first countershaft gear 105 can be formed of various materials such as resin materials and metal materials. In the first embodiment, the first countershaft gear 105 can be formed of polyacetal resin.

[0080] The worm wheel portion 105a is an example of a second driven gear that meshes with the first worm gear portion 102b. In particular, the worm wheel portion 105a is a gear having 25 teeth formed on the outer periphery of the disk portion 105c. The first worm gear portion 102b and the worm wheel portion 105a constitute a second worm gear transmission mechanism. The rotation axis of the worm wheel portion 105a extends in a direction parallel to the axial direction of the motor shaft 201.

[0081] When the number of teeth of the first worm gear portion 102b of the first intermediate gear 102 is 5 and the number of teeth of the worm gear portion 105a of the first countershaft gear 105 is 25, the reduction ratio is 5. That is, if the first intermediate gear 102 rotates 5 times, the first countershaft gear 105 rotates once. Therefore, if the main shaft gear 101 rotates 100 times, the first intermediate gear 102 rotates 100÷20=5 times, and the first countershaft gear 105 rotates 5÷5=1 time. The first countershaft gear 105 rotates integrally with the permanent magnet 8, so if the main shaft gear 101 rotates 100 times, the permanent magnet 8 rotates once. That is, the magnetic sensor 50 can determine the rotation amount of 100 rotations of the main shaft gear 101.

[0082] In the absolute encoder 100-1 thus constructed, the rotation amount of the main shaft gear 101 can be determined. As an example, when the main shaft gear 101 rotates once (one turn), the first countershaft gear 105 and the permanent magnet 8 rotate 1 / 100 times, that is, rotate 3.6°. Therefore, if the rotation angle of the first countershaft gear 105 is less than 3.6°, the main shaft gear 101 can be determined to be within 1 rotation.

[0083] Figure 5 , the second worm gear portion 102h is an example of a third drive gear that drives the worm wheel portion 133a, and is a gear portion of the first intermediate gear 102. In particular, the second worm gear portion 102h is a worm gear having a number of = 1 formed on the outer periphery of the third cylinder portion 102f. The rotation axis of the second worm gear portion 102h extends in a direction perpendicular to the axial direction of the motor shaft 201.

[0084] Figure 5 , the second intermediate gear 133 is a disc-shaped gear portion that rotates with the rotation of the motor shaft 201, reduces the rotation of the motor shaft 201, and transmits it to the second countershaft gear 138. The second intermediate gear 133 is provided between the second worm gear portion 102h and the fourth driven gear portion 138a provided on the second countershaft gear 138. The fourth driven gear portion 138a meshes with the fourth drive gear portion 133d. The second intermediate gear 133 has a worm gear portion 133a that meshes with the second worm gear portion 102h of the third drive gear and a fourth drive gear portion 133d that drives the fourth driven gear portion 138a. The second intermediate gear 133 can be formed of, for example, polyacetal resin. The second intermediate gear 133 is a member that is substantially circular in plan view. The second intermediate gear 133 includes a bearing portion 133 b axially supported by the base portion 110 a of the main base 110 , and a projecting portion 133 c on which the worm wheel portion 133 a is formed.

[0085] Figure 5 In the embodiment, by providing the second intermediate gear 133, the second countershaft gear 138 described later can be arranged at a position away from the second worm gear part 102h, that is, the distance away is the second intermediate gear 133, that is, the second intermediate gear 133 is provided between the second countershaft gear 138 and the second worm gear part 102h. For this reason, by lengthening the distance between the permanent magnet 9 and the permanent magnet 17, the influence of the leakage magnetic flux between them can be reduced. In addition, by providing the second intermediate gear 133, the range in which the reduction ratio can be set can be expanded by the second intermediate gear 133, thereby improving the degree of freedom in design.

[0086] Figure 8In the embodiment, the extension portion 133c has a disc shape extending from the outer periphery of the bearing portion 133b in the radial direction. In the first embodiment, the extension portion 133c is provided at a position close to the end of the base portion 110a away from the main base portion 110 and close to the bearing portion 133b. The fourth drive gear portion 133d is formed on the outer periphery of the region of the bearing portion 133b that is closer to the base portion 110a side than the extension portion 133c. The bearing portion 133b and the extension portion 133c are integrally formed in a manner that their respective central axes are substantially consistent.

[0087] The worm wheel portion 133a is a gear portion of the second intermediate gear 133 meshing with the second worm gear portion 102h. In particular, the worm wheel portion 133a is a worm wheel having 30 teeth formed on the outer periphery of the extension portion 133c. The second worm gear portion 102h and the worm wheel portion 133a constitute a third worm gear transmission mechanism. The rotation axis of the worm wheel portion 133a extends in a direction parallel to the axial direction of the motor shaft 201.

[0088] When the number of teeth of the second worm gear portion 102h of the first intermediate gear 102 is 1 and the number of teeth of the worm wheel portion 133a of the second intermediate gear 133 is 30, the reduction ratio is 30. That is, if the first intermediate gear 102 rotates 30 times, the second intermediate gear 133 rotates once. Therefore, if the main shaft gear 101 rotates 600 times, the first intermediate gear 102 rotates 600÷20=30 times, and the second intermediate gear 133 rotates 30÷30=1 time.

[0089] The fourth drive gear portion 133d is a transmission element that drives the fourth driven gear portion 138a. The fourth drive gear portion 133d is provided on the side of the main shaft gear 101 opposite to the first countershaft gear 105 side, and rotates with the rotation of the worm gear portion 133a. The fourth drive gear portion 133d is a spur gear having 24 teeth formed on the outer periphery of the bearing portion 133b.

[0090] Figure 8 , the second countershaft gear 138 is a gear portion having a circular shape in a plan view, which rotates with the rotation of the motor shaft 201, reduces the speed of the rotation of the motor shaft 201, and transmits it to the permanent magnet 17. The second countershaft gear 138 is axially supported around a rotation axis extending substantially vertically from the base 110a of the main base 110. The second countershaft gear 138 includes a bearing portion 138b axially supported by the base 110a of the main base 110, an extension portion 138c formed with the fourth driven gear portion 138a, and a magnet holding portion 138d for holding the permanent magnet 17. The bearing portion 138b has a cylindrical shape that surrounds the shaft 139 protruding from the base 110a of the main base 110 via a gap.

[0091] The extension portion 138c has a disc shape extending from the outer periphery of the bearing portion 138b in the radial direction. In Embodiment 1, the extension portion 138 is arranged at a position of the base 110a of the main base 110 close to the bearing portion 138b. The magnet holding portion 138d has a cylindrical recessed shape arranged on the end surface of the bearing portion 138b away from the base 110a in the axial direction. The bearing portion 138b, the extension portion 138c and the magnet holding portion 138d are integrally formed in a manner in which their central axes are roughly consistent. The second countershaft gear 138 can be formed of various materials such as resin materials and metal materials. In Embodiment 1, the second countershaft gear 138 can be formed of polyacetal resin.

[0092] The fourth driven gear portion 138a is a transmission element driven by the fourth driving gear portion 133d. The fourth driven gear portion 138a and the fourth driving gear portion 133d constitute a speed reduction mechanism. In particular, the fourth driven gear portion 138a is a spur gear having 40 teeth formed on the outer periphery of the extension portion 138c.

[0093] When the number of teeth of the fourth driving gear portion 133d is 24 and the number of teeth of the fourth driven gear portion 138a is 40, the reduction ratio is 40 / 24=5 / 3. If the main shaft gear 101 rotates 1000 times, the first intermediate gear 102 rotates 1000÷20=50 times, and the second intermediate gear 133 rotates 50÷30=5 / 3 times. Therefore, the second countershaft gear 138 rotates 5 / 3÷5 / 3=1 time. The second countershaft gear 138 rotates integrally with the permanent magnet 17, so if the main shaft gear 101 rotates 1000 times, the permanent magnet 17 rotates once. That is, the magnetic sensor 90 can determine the rotation amount of 1000 rotations of the main shaft gear 101.

[0094] Figures 5 to 8 , permanent magnet 9 is the first permanent magnet, permanent magnet 8 is the second permanent magnet, and permanent magnet 17 is the third permanent magnet. Permanent magnet 8, permanent magnet 9 and permanent magnet 17 (hereinafter referred to as each permanent magnet) each have a roughly cylindrical shape that is flat in the axial direction. Each permanent magnet is formed of, for example, a magnetic material such as ferrite, Nd (neodymium) -Fe (iron) -B (boron) and the like. Each permanent magnet may be, for example, a rubber magnet or a bonded magnet containing a resin binder. A magnetic pole is provided on each permanent magnet. There is no particular limitation on the magnetization direction of each permanent magnet. In embodiment 1, as Fig.31 and Fig.32 As shown, the two-pole magnetic pole is provided on the end face of each permanent magnet facing the magnetic sensor. The magnetic flux density distribution in the rotation direction of each permanent magnet can be a trapezoidal waveform, or a sine wave or a rectangular wave.

[0095] Part or all of each permanent magnet is stored in a recess formed at the end of each rotating body, and can be fixed by, for example, bonding, forging, press-fitting, etc. The permanent magnet 8 is bonded and fixed to the retaining portion 105d of the first countershaft gear 105. The permanent magnet 9 is bonded and fixed to the magnet retaining portion 101d of the main shaft gear 101. The permanent magnet 17 is bonded and fixed to the magnet retaining portion 138d of the second countershaft gear 138.

[0096] If the distance between the permanent magnets is short, the leakage flux of the adjacent magnets will cause the detection error of the magnetic sensor to increase. Figure 5 In the example, the permanent magnet 9 and the permanent magnet 8 are arranged in a mutually isolated manner on the line of sight Lm inclined relative to the outer wall portion 115a of the shell 115 in a plan view. The line of sight Lm is a virtual line connecting the permanent magnet 8 and the permanent magnet 9. The permanent magnet 9 and the permanent magnet 17 are arranged in a mutually separated manner on the line of sight Ln inclined relative to the outer wall portion 115a of the shell 115. The line of sight Ln is equal to the virtual line connecting the permanent magnet 17 and the permanent magnet 9. In Example 1, the lines of sight Lm and Ln are arranged in a tilted manner relative to the outer wall portion 115a, so that the distance between the permanent magnets can be made longer compared to the case where the lines of sight Lm and Ln are parallel to the outer wall portion 115a.

[0097] The magnetic sensor 50, the magnetic sensor 40, and the magnetic sensor 90 (hereinafter referred to as each magnetic sensor) are sensors for detecting the absolute rotation angle of each rotating body in the range of 0° to 360° corresponding to one rotation. Each magnetic sensor outputs a signal (e.g., a digital signal) based on the detected rotation angle to the microcomputer 121. Each magnetic sensor can output the same rotation angle as before the power supply was stopped even when the power supply is temporarily stopped and then turned on again. For this reason, a configuration without a backup power supply is also possible.

[0098] For each magnetic sensor, Figure 4As shown in FIG. 1 , the substrate 120 is fixed on the same plane by welding, bonding, or the like on the surface of the base 110a side of the main base 110. The magnetic sensor 40 is fixed on the substrate 120 so as to be located at a position facing the end face of the permanent magnet 9 provided on the main shaft gear 101 with a certain gap. The magnetic sensor 40 is a first angle sensor that detects the rotation angle of the main shaft gear 101 corresponding to the change of the magnetic flux generated by the permanent magnet 9. The magnetic sensor 50 is fixed on the substrate 120 so as to be located at a position facing the end face of the permanent magnet 8 provided on the first countershaft gear 105 with a certain gap. The magnetic sensor 50 is a second angle sensor that detects the rotation angle of the first countershaft gear 105 corresponding to the change of the magnetic flux generated by the permanent magnet 8. The magnetic sensor 90 is fixed on the substrate 120 so as to be located at a position facing the end face of the permanent magnet 17 provided on the second countershaft gear 138 with a certain gap. The magnetic sensor 90 is a third angle sensor that detects the rotation angle of the second counter gear 138 corresponding to the change in magnetic flux generated from the permanent magnet 17 .

[0099] Each magnetic sensor may use a magnetic angle sensor with a relatively high resolution. The magnetic angle sensor is arranged relative to the end face of each permanent magnet containing the magnetic poles in the axial direction of each rotating body with a certain gap therebetween. According to the rotation of these magnetic poles, the rotation angle of the relative rotating body can be determined and a digital signal can be output. As an example, the magnetic angle sensor includes a detection element for detecting the magnetic pole and an operation circuit for outputting a digital signal based on the output of the detection element. The detection element may include, for example, a plurality of (for example, 4) Hall elements, GMR (Giant Magneto Resistive) elements and other magnetic field sensing elements.

[0100] The operation circuit can be configured, for example, to use the difference or ratio of the outputs of multiple detection elements as a key and use a lookup table, thereby determining the rotation angle by table processing. The detection element and the operation circuit can be integrated on an IC chip. The IC chip can be embedded in a resin having a thin rectangular shape. Each magnetic sensor can output a digital signal corresponding to the rotation angle of each rotating body detected, that is, an angle signal, to the microcomputer 121 via a wiring component not shown in the figure. For example, each magnetic sensor can output the rotation angle of each rotating body as a digital signal of multiple bits (for example, 7 bits).

[0101] Fig. 91 is a diagram showing the functional configuration of the microcomputer 121 included in the absolute encoder 100-1 according to the first embodiment of the present invention. The microcomputer 121 is fixed to the surface of the base 110a side of the main base 110 of the substrate 120 by welding, bonding, etc. The microcomputer 121 is composed of a CPU, and can obtain digital signals indicating the rotation angles outputted from the magnetic sensors 40, 50, and 90, respectively, and calculate the rotation amount of the main shaft gear 101. Fig. 9 Each block of the microcomputer 121 shown represents a function (Function) realized by executing a program (Program) as the CPU of the microcomputer 121. As for each block of the microcomputer 121, from the perspective of hardware, it can be realized by components or mechanical devices headed by the CPU (central processing unit) of the computer, and from the perspective of software, it can be realized by a computer program, etc. Here, the functional blocks realized by the cooperation of hardware and software are drawn. Therefore, those skilled in the art who have read this specification can understand that these functional blocks can be realized in various ways by combining hardware and software.

[0102] The microcomputer 121 includes a rotation angle acquisition unit 121p, a rotation angle acquisition unit 121q, a rotation angle acquisition unit 121r, a table processing unit 121b, a rotation amount determination unit 121c, and an output unit 121e. The rotation angle acquisition unit 121q acquires a rotation angle Aq as angle information indicating the rotation angle of the main shaft gear 101 based on the signal output from the magnetic sensor 40. The rotation angle acquisition unit 121p acquires a rotation angle Ap as angle information indicating the rotation angle of the first counter shaft gear 105 based on the signal output from the magnetic sensor 50. The rotation angle acquisition unit 121r acquires a rotation angle Ar as angle information indicating the rotation angle of the second counter shaft gear 138 detected by the magnetic sensor 90.

[0103] The table processing unit 121b can determine the number of revolutions of the main shaft gear 101 corresponding to the acquired rotation angle Ap by referring to the first correspondence table storing the rotation angle Ap and the number of revolutions of the main shaft gear 101 corresponding to the rotation angle Ap. In addition, the table processing unit 121b can determine the number of revolutions of the main shaft gear 101 corresponding to the acquired rotation angle Ar by referring to the second correspondence table storing the rotation angle Ar and the number of revolutions of the main shaft gear 101 corresponding to the rotation angle Ar.

[0104] The rotation amount determination unit 121c can determine the first rotation amount of the multiple rotations of the main shaft gear 101 based on the number of rotations of the main shaft gear 101 determined by the table processing unit 121b and the acquired rotation angle Aq. The output unit 121e converts the rotation amount of the multiple rotations of the main shaft gear 101 determined by the rotation amount determination unit 121c into information indicating the rotation amount, and outputs it.

[0105] The operation and effects of the absolute encoder 100 - 1 according to the first embodiment configured in this manner will be described below.

[0106] The absolute encoder 100-1 of the first embodiment is an absolute encoder for determining the rotation amount of the motor shaft 201 for multiple rotations, and includes a worm gear portion 101c that rotates with the rotation of the motor shaft 201, a worm wheel portion 102a that meshes with the worm gear portion 101c, a first worm gear portion 102b that rotates with the rotation of the worm wheel portion 102a, a worm wheel portion 105a that meshes with the first worm gear portion 102b, a first countershaft gear 105 that rotates with the rotation of the worm wheel portion 105a, a permanent magnet 8 that rotates integrally with the first countershaft gear 105, and a magnetic sensor 50 that detects the rotation angle of the permanent magnet 8. With this configuration, the rotation amount of the motor shaft 201 for multiple rotations can be determined based on the detection result of the magnetic sensor 50. In addition, since the absolute encoder 100-1 is provided with a first worm gear change mechanism including a worm gear portion 101c and a worm wheel portion 102a meshing with the worm gear portion 101c, and a second worm gear change mechanism including a first worm gear portion 102b and a worm wheel portion 105a meshing with the first worm gear portion 102b, the absolute encoder 100-1 can be thinned (thinned) by forming a curved transmission path.

[0107] The absolute encoder 100-1 of the first embodiment is an absolute encoder for determining the rotation amount of multiple rotations of the motor shaft 201, and includes a first intermediate gear 102 that rotates at a first reduction ratio as the motor shaft 201 rotates, a first countershaft gear 105 that rotates at a second reduction ratio as the first intermediate gear 102 rotates, a permanent magnet 8 that rotates integrally with the first countershaft gear 105, and a magnetic sensor 50 that detects the rotation angle of the permanent magnet 8. The rotation axis of the motor shaft 201 is located at a position skewed relative to the rotation axis of the first intermediate gear 102, and is set to be parallel to the rotation axis of the first countershaft gear 105. With this configuration, the rotation amount of multiple rotations of the motor shaft 201 can be determined based on the detection result of the magnetic sensor 50. Since the rotation axis of the first intermediate gear 102 is located at a position oblique to the rotation axes of the motor shaft 201 and the first counter gear 105 and is orthogonal in a front view, the absolute encoder 100 - 1 can be made thinner by forming a curved transmission path.

[0108] The absolute encoder 100-1 of the first embodiment is an absolute encoder for determining the rotation amount of the multiple rotations of the motor shaft 201, and includes a reduction mechanism including a first worm gear transmission mechanism and rotating the permanent magnet 8 with the rotation of the motor shaft 201, and a magnetic sensor 50 for detecting the rotation angle of the permanent magnet 8 based on the magnetic poles of the permanent magnet 8, and the rotation axis of the motor shaft 201 is set to be parallel to the rotation axis of the permanent magnet 8. With this configuration, the rotation amount of the multiple rotations of the motor shaft 201 can be determined based on the detection result of the magnetic sensor 50. Since the first worm gear transmission mechanism is included and the rotation axis of the motor shaft 201 and the rotation axis of the permanent magnet 8 are set to be parallel, the absolute encoder 100-1 can be made thinner by configuring a curved transmission path.

[0109] The absolute encoder 100-1 of the first embodiment includes a magnetic sensor 40 for detecting the rotation angle of the motor shaft 201. With this configuration, the rotation angle of the motor shaft 201 can be determined based on the detection result of the magnetic sensor 40. Compared with the case where the magnetic sensor 40 is not provided, the absolute encoder 100-1 can improve the resolution of the rotation angle of the motor shaft 201 that can be determined.

[0110] The absolute encoder 100-1 of the first embodiment includes a second worm gear portion 102h that rotates with the rotation of the worm wheel portion 102a, a worm wheel portion 133a that meshes with the second worm gear portion 102h, a second countershaft gear 138 that rotates with the rotation of the worm wheel portion 133a, a permanent magnet 17 that rotates integrally with the second countershaft gear 138, and a magnetic sensor 90 that detects the rotation angle of the permanent magnet 17. With this configuration, the rotation amount of the motor shaft 201 for multiple rotations can be determined based on the detection result of the magnetic sensor 90. Compared with the case where the magnetic sensor 90 is not provided, the absolute encoder 100-1 can increase the range of the rotation amount of the motor shaft 201 that can be determined.

[0111] In the absolute encoder 100-1 of the first embodiment, the first intermediate gear 102 is provided with a first worm gear portion 102b and a second worm gear portion 102h, and the direction of the reaction force received by the first intermediate gear 102 due to the rotation of the first worm gear portion 102b is set to be opposite to the direction of the reaction force received by the first intermediate gear 102 due to the rotation of the second worm gear portion 102h. With this configuration, the combined reaction force of the two reaction forces can be reduced compared to the case where the directions of the reaction forces are the same.

[0112] In the absolute encoder 100 - 1 of Embodiment 1, the outer diameter of the worm wheel 102 a is set smaller than the outer diameter of the worm gear 101 c . This configuration makes it easier to reduce the thickness of the worm wheel 102 a than when the outer diameter of the worm wheel 102 a is larger.

[0113] Here, for example, when the main shaft gear 101 and the first secondary shaft gear 105 are arranged adjacent to each other, a portion of the magnetic flux generated by the permanent magnet 8 and the permanent magnet 9 will affect the magnetic sensor that does not correspond to the permanent magnet 8 and the permanent magnet 9, that is, the so-called magnetic interference, which is explained below.

[0114] Fig.10 This is a diagram showing the concept of a waveform (A) obtained by detecting the magnetic flux of the permanent magnet 9 provided on the main shaft gear 101 (main shaft gear 1) by the magnetic sensor 40, a waveform (B) obtained by detecting the magnetic flux of the permanent magnet 8 provided on the first counter shaft gear 105 (counter shaft gear 5) by the magnetic sensor 50, and a magnetic interference waveform obtained by detecting a state in which a part of the magnetic flux of the permanent magnet 8 overlaps with the magnetic flux of the permanent magnet 9 as leakage flux by the magnetic sensor 40. The vertical axis represents the magnetic flux, and the horizontal axis represents the rotation angle of the main shaft gear 101. Thus, in the magnetic sensor 40, it is expected to detect the waveform (A), but when magnetic interference occurs, it becomes a waveform as shown in (C), so the correct waveform cannot be detected.

[0115] same, Fig.11 This is a conceptual diagram showing the waveform (A) obtained by detecting the magnetic flux of the permanent magnet 8 provided on the first countershaft gear 105 (countershaft gear 5) by the magnetic sensor 50, the waveform (B) obtained by detecting the magnetic flux of the permanent magnet 9 provided on the main shaft gear 101 (main shaft gear 1) by the magnetic sensor 40, and the magnetic interference waveform (C) obtained by detecting the state in which a part of the magnetic flux of the permanent magnet 9 overlaps with the magnetic flux of the permanent magnet 8 as leakage flux by the magnetic sensor 50. The vertical axis represents the magnetic flux, and the horizontal axis represents the rotation angle of the first countershaft gear 105. In this way, the waveform (A) is expected to be detected in the magnetic sensor 50, but when magnetic interference occurs, it becomes the waveform shown in (C), so the correct waveform cannot be detected. In addition, the main shaft gear 101 and the second countershaft gear 138 are also connected. Fig.11 (C) There is also the possibility of magnetic interference occurring.

[0116] The absolute encoder 100-1 of the first embodiment includes a housing 115 including an outer wall portion 115a disposed on the side of the first intermediate gear 102 opposite to the motor shaft 201, and the rotation axis La of the first intermediate gear 102 is inclined by 20 degrees relative to the extending direction of the outer wall portion 115a in a plan view. With this configuration, the inclination of the arrangement straight line of each permanent magnet relative to the outer wall portion 115a can be increased compared to the case where the rotation axis La of the first intermediate gear 102 is not inclined. For this reason, the distance between each permanent magnet can be increased. In this way, by increasing the distance between each permanent magnet, the occurrence of magnetic interference that affects the magnetic sensor that does not correspond to the permanent magnet 8, the permanent magnet 9, and the permanent magnet 17 can be reduced. For example, the interference caused by a part of the magnetic flux generated by the permanent magnet 9 provided on the main shaft gear 101 as leakage magnetic flux to the magnetic sensor 50 provided for the purpose of detecting the change of the magnetic flux generated by the permanent magnet 8 provided on the first counter shaft gear 105 can be reduced. Furthermore, it is possible to reduce interference caused by a part of the magnetic flux generated by the permanent magnet 8 provided on the first countershaft gear 105 as leakage flux on the magnetic sensor 40 provided for the purpose of detecting changes in the magnetic flux generated by the permanent magnet 9. Therefore, the influence of the leakage flux of the adjacent magnet can be reduced.

[0117] [Method for fixing substrate 120]

[0118] Refer to the following Figure 12 to Figure 14 A method of fixing the substrate 120 in the absolute encoder 100 - 1 according to the first embodiment will be described in detail.

[0119] As for the absolute encoder 100-1 of the first embodiment, Figure 6 As shown, by making the detection surface (lower surface) of the magnetic sensor 40 provided on the substrate 120 and the upper surface of the permanent magnet 9 provided on the main shaft gear 101 parallel to each other, the rotation angle of the main shaft gear 101 (an example of a "rotating body") can be detected with high precision by the magnetic sensor 40.

[0120] On the other hand, in the absolute encoder 100-1 of the first embodiment, as Figure 3 As shown in FIG. 1 , four pillars 141 are provided on the main base 110. Figure 2 As shown, the absolute encoder 100 - 1 according to the first embodiment adopts a structure in which four fixing portions of a base plate 120 are screw-fixed to four pillars 141 by base plate mounting screws 122 (an example of “fixing means”).

[0121] To this end, with respect to the absolute encoder 100-1 of embodiment 1, if the height positions of the substrate 120 at the four fixed portions of the substrate 120 (the heights from the substrate 120 to the base 110a of the main base 110) are different from each other, the substrate 120 will tilt, causing the detection surface of the magnetic sensor 40 and the upper surface of the permanent magnet 9 to no longer be parallel to each other, and the distance accuracy between the detection surface of the magnetic sensor 40 and the upper surface of the permanent magnet 9 will also deteriorate, thereby possibly reducing the detection accuracy of the magnetic sensor 40.

[0122] In particular, in the absolute encoder 100-1 of embodiment 1, one of the four fixed parts of the substrate 120 has a connection terminal that is screwed by the substrate mounting screw 122 and is also grounded. Since the structure of the fixed part of the substrate 120 having the connection terminal is different from the structure of other fixed parts of the substrate 120, it is easy to cause the height of the fixed part to be different from the height of other fixed parts.

[0123] Therefore, in the absolute encoder 100-1 of the first embodiment, as described below, in order to make the height positions of the four fixing portions of the substrate 120 equal to each other, a structure is adopted in which the substrate 120 can be fixed to the four pillars 141. According to this, in the absolute encoder 100-1 of the first embodiment, since the substrate 120 can be fixed to the base 110a of the main base 110 while being kept horizontal, the detection surface of the magnetic sensor 40 and the upper surface of the permanent magnet 9 can be made parallel to each other. Therefore, the absolute encoder 100-1 of the first embodiment can suppress the reduction of the detection accuracy of the magnetic sensor 40.

[0124] (Structure of Substrate 120)

[0125] Fig.12 Yes means Figure 4 FIG. 1 is a bottom view of the arrangement of the first fixing portion 20A and the second fixing portion 20B of the substrate 120 shown in FIG. Fig.12 As shown, the substrate 120 has three first fixing portions 20A and one second fixing portion 20B.

[0126] The substrate 120 is a circuit substrate fixed to the front end surface of each support 141 (an example of a "support portion") which is arranged apart from the motor shaft 201 along the axial direction (Z-axis direction) of the motor shaft 201, i.e., the rotation axis of the motor 200, and extends from the main base 110 on the motor 200 side. The substrate 120 includes a magnetic sensor 40 (an example of a "sensor"), which is arranged opposite to the permanent magnet 9 (an example of a "rotating body") that rotates with the rotation of the motor shaft 201, so as to detect the rotation amount of the permanent magnet 9.

[0127] The first fixed portion 20A is a portion having a through hole 20A1 that penetrates the substrate 120 in the up-down direction (Z-axis direction in the figure), and a substrate mounting screw 122 that penetrates the through hole 20A1 from top to bottom, thereby screwing the pillar 141 serving as the first pillar portion 10A among the four pillars 141 of the main base 110.

[0128] The second fixing portion 20B includes a through hole 20B1 penetrating the substrate 120 in the vertical direction (Z-axis direction in the figure) and a connection terminal 20h (see FIG. 1 ) formed in the through hole 20B1. Fig.13 ), and by means of a substrate mounting screw 122 that penetrates the connection terminal 20h from top to bottom in the through hole 20B1, the support 141 serving as the second support portion 10B among the four supports 141 of the main base 110 is screwed and grounded.

[0129] (Cross-sectional structure of substrate 120)

[0130] Fig.13 It is a schematic cross-sectional view of the cross-sectional structure of a part (the first fixing portion 20A and the second fixing portion 20B) of the substrate 120 in the absolute encoder 100 - 1 according to the first embodiment of the present invention. Fig.14 Yes means Fig.13 The cross-sectional view of the substrate 120 shown in FIG. 1 is a state where the substrate 120 is fixed to the first support portion 10A and the second support portion 10B. It should be noted that the three first fixing portions 20A of the substrate 120 have a common (same) cross-sectional structure. Fig.13 and Fig.14 In FIG. 1 , one of the three first fixing portions 20A is used as a representative to show the cross-sectional structure of the first fixing portion 20A. In addition, Fig.14 In the figure, for the sake of convenience, the cross sections of the substrate mounting screws 122, the first support portion 10A, and the second support portion 10B are not shown.

[0131] like Fig.13 As shown, the substrate 120 is a flat plate-shaped member formed of a relatively hard material. The substrate 120 has a lower surface 20-1 and an upper surface 20-2, both of which are horizontal planes (i.e., planes parallel to the XY plane). As the substrate 120, for example, a rigid substrate such as a glass epoxy substrate can be used.

[0132] In addition, if Fig.13As shown, a wiring layer 20f and a protective (resist) layer 20g are also formed on each of the lower surface 20-1 and the upper surface 20-2 of the substrate 120. The wiring layer 20f has a thin film formed of a conductive material and constitutes a wiring pattern for transmitting various control signals. As the wiring layer 20f, for example, copper foil can be used. The protective layer 20g has a thin film formed of an insulating material and covers the lower surface 20-1 and the upper surface 20-2 in the state where the wiring layer 20f is formed, thereby protecting the lower surface 20-1 and the upper surface 20-2 including the wiring layer 20f.

[0133] (Structure of the First Fixing Portion 20A)

[0134] like Fig.13 As shown, a through hole 20A1 is formed in the first fixing portion 20A of the substrate 120, penetrating the substrate 120 in the vertical direction (Z-axis direction in the figure). A protective layer 20g is formed on the upper surface 20-2 of the substrate 120, including the area around the through hole 20A1. In addition, a protective layer 20g is also formed on the lower surface 20-1 of the substrate 120, including the area around the through hole 20A1.

[0135] like Fig.14 As shown, with respect to the first fixed portion 20A, the surface of the protective layer 20g formed on the area around the through hole 20A1 of the lower surface 20-1 of the substrate 120 is in contact with the upper surface of the first columnar portion 10A1 of the first pillar portion 10A, thereby enabling the height position to be positioned. In this state, the first pillar portion 10A can be screwed to the substrate mounting screw 122 that penetrates the through hole 20A1.

[0136] like Fig.14 As shown, the first pillar portion 10A has a cylindrical first columnar portion 10A1 extending upward (in the positive direction of the Z axis in the figure) from the main base 110 and a cylindrical second columnar portion 10A2 erected upward (in the positive direction of the Z axis in the figure) from the center of the upper surface of the first columnar portion 10A1.

[0137] like Fig.14 As shown, the first columnar portion 10A1 has an outer diameter larger than the inner diameter of the through hole 20A1 and thus does not penetrate the through hole 20A1. In addition, the second columnar portion 10A2 has an outer diameter smaller than the inner diameter of the through hole 20A1 and thus can penetrate the through hole 20A1.

[0138] The second columnar portion 10A2 has a screw hole 10A3 extending in the vertical direction (Z-axis direction in the figure) formed therein, so that the second columnar portion 10A2 can be screwed to the screw hole 10A3 by the substrate mounting screw 122 .

[0139] It should be noted that, in the first embodiment, the first support portion 10A includes both the first columnar portion 10A1 and the second columnar portion 10A2, but the present invention is not limited thereto, and the first support portion 10A may include only the first columnar portion 10A1, and the screw hole 10A3 may be formed in the first columnar portion 10A1. However, by providing the second columnar portion 10A2 on the first support portion 10A, the screwing amount of the substrate mounting screw 122 can be limited, thereby preventing the substrate mounting screw 122 from excessively pressing the substrate 120 and causing damage.

[0140] (Structure of the Second Fixing Section 20B)

[0141] like Fig.13 As shown, a through hole 20B1 is formed in the second fixing portion 20B of the substrate 120, which passes through the substrate 120 in the up-down direction (Z-axis direction in the figure). A connection terminal 20h is formed in the through hole 20B1. The connection terminal 20h has a first exposed portion 20h1 formed around the through hole 20B1 on the upper surface 20-2 of the substrate 120, a second exposed portion 20h2 formed around the through hole 20B1 on the lower surface 20-1 of the substrate 120, and a connection portion 20h3 formed along the inner circumferential surface of the through hole 20B1 to connect the first exposed portion 20h1 and the second exposed portion 20h2. In addition, a through hole 20h4 is formed in the connection terminal 20h, which passes through the connection terminal 20h in the up-down direction, and the substrate mounting screw 122 can pass through the through hole 20h4.

[0142] like Fig.14 As shown, in the second fixing portion 20B, the surface of the second exposed portion 20h2 of the connection terminal 20h contacts the upper surface of the first columnar portion 10B1 of the second support portion 10B, thereby positioning the height position and electrically connecting to the second support portion 10B. In this state, the connection terminal 20h can be screwed to the second support portion 10B by the substrate mounting screw 122 penetrating the through hole 20h4 of the connection terminal 20h. The second support portion 10B is electrically connected to the frame 202 of the motor 200. Therefore, the connection terminal 20h is electrically connected to the second support portion 10B, and can be grounded to the frame 202 of the motor 200 through the second support portion 10B.

[0143] like Fig.14As shown, the second support portion 10B has a cylindrical first columnar portion 10B1 extending upward (in the positive direction of the Z axis in the figure) from the main base 110 and a cylindrical second columnar portion 10B2 erected upward (in the positive direction of the Z axis in the figure) from the center of the upper surface of the first columnar portion 10B1.

[0144] like Fig.14 As shown, the first columnar portion 10B1 has an outer diameter larger than the inner diameter of the through hole 20h4 of the connection terminal 20h, so it does not penetrate the through hole 20h4. In addition, the second columnar portion 10B2 has an outer diameter smaller than the inner diameter of the through hole 20h4, so it can penetrate the through hole 20h4.

[0145] The second columnar portion 10B2 has a screw hole 10B3 extending in the vertical direction (Z-axis direction in the figure) formed therein, so that the second columnar portion 10B2 can be screwed to the screw hole 10B3 by the substrate mounting screw 122 .

[0146] It should be noted that, in the first embodiment, the second pillar portion 10B includes both the first pillar portion 10B1 and the second pillar portion 10B2, but the present invention is not limited thereto, and the second pillar portion 10B may include only the first pillar portion 10B1, and the screw hole 10B3 may be formed in the first pillar portion 10B1. However, by providing the second pillar portion 10B2 on the second pillar portion 10B, the screwing amount of the substrate mounting screw 122 can be limited, thereby preventing the substrate mounting screw 122 from excessively pressing the connection terminal 20h and causing damage.

[0147] Here, if Fig.13 and Fig.14 As shown, in the absolute encoder 100-1 of embodiment 1, the height position of the upper surface of the first pillar portion 10A (the first columnar portion 10A1) is the same as the height position of the upper surface of the second pillar portion 10B (the first columnar portion 10B1), and the distance D1 from the lower surface 20-1 of the substrate 120 to the upper surface of the first pillar portion 10A (the first columnar portion 10A1) in the first fixing portion 20A is equal to the distance D2 from the lower surface 20-1 of the substrate 120 to the upper surface of the second pillar portion 10B (the first columnar portion 10B1) in the second fixing portion 20B.

[0148] This is because the thickness of the protective layer 20g formed around the through hole 20A1 of the lower surface 20-1 of the substrate 120 in the first fixing portion 20A (corresponding to the distance D1) is equal to the thickness of the second exposed portion 20h2 of the connection terminal 20h in the second fixing portion 20B (corresponding to the distance D2).

[0149] That is, in the absolute encoder 100-1 of the first embodiment, the protective layer 20g formed around the through hole 20A1 of the lower surface 20-1 of the substrate 120 is used as the "adjustment portion 20C" and the thickness of the adjustment portion 20C is partially adjusted, so that the above-mentioned distance D1 and the above-mentioned distance D2 can be equalized.

[0150] For example, after a protective layer 20g is formed thicker in the area around the through hole 20A1 of the lower surface 20-1 of the substrate 120 than in other areas of the lower surface 20-1 of the substrate 120, the surface of the protective layer 20g is ground or cut so that the thickness of the protective layer 20g becomes an appropriate thickness, thereby making the thickness of the protective layer 20g equal to the thickness of the second exposed portion 20h2 of the connecting terminal 20h.

[0151] For example, when the thickness of the wiring layer 20f formed on the substrate 120 is "37 μm", and the thickness of the protective layer 20g formed on the substrate 120 is "25 μm", the thickness of the second exposed portion 20h2 of the connection terminal 20h is "37 μm". In this case, after the protective layer 20g with a thickness of "37 μm" or more is formed on the portion around the through hole 20A1 of the lower surface 20-1 of the substrate 120, the surface of the protective layer 20g is ground or cut so that the thickness of the protective layer 20g is "37 μm", thereby making the thickness of the protective layer 20g equal to the thickness of the second exposed portion 20h2 of the connection terminal 20h.

[0152] Accordingly, regarding the absolute encoder 100-1 of the first embodiment, Fig.14 As shown, when the substrate 120 is screwed to the first support portion 10A and the second support portion 10B, the height position of the substrate 120 in the first fixing portion 20A and the height position of the substrate 120 in the second fixing portion 20B are equal, so the substrate 120 can maintain a horizontal state.

[0153] As a result, in the absolute encoder 100-1 of the first embodiment, Figure 6 As shown, the detection surface of the magnetic sensor 40 provided on the substrate 120 and the upper surface of the permanent magnet 9 provided on the main shaft gear 101 are parallel to each other, and the distance between the two can also be kept at a constant distance with high accuracy. Therefore, according to the absolute encoder 100-1 of the first embodiment, the reduction in the detection accuracy of the magnetic sensor 40 can be suppressed.

[0154] [Modification of the substrate 120]

[0155] Refer to the following Figure 15-16 A modification of the substrate 120 will be described. It should be noted that in the following description, only the modification of the substrate 120 will be described. Fig.13and Fig.14 The different changes of the substrate 120 shown in FIG. Fig.15 and Fig.16 In the substrate 120 of the present variation shown in FIG. Fig.13 and Fig.14 The same components as the substrate 120 shown in FIG. Fig.13 and Fig.14 The same reference numerals are used for the substrate 120 shown, and detailed description thereof is omitted.

[0156] Fig.15 yes Fig.13 1 is a schematic cross-sectional view showing a cross-sectional structure of a modified example of the substrate 120 shown. Fig.16 Yes means Fig.15 The illustrated cross-sectional view is a state in which the substrate 120 is fixed to the first support portion 10A and the second support portion 10B.

[0157] like Fig.15 As shown, in the substrate 120 of this modified example, a protective layer 20g is formed entirely on the lower surface 20-1 of the substrate 120 of the first fixing portion 20A, except for the area around the through hole 20A1. Fig.13 The substrate 120 shown is different, and a wiring layer 20f is formed thereon.

[0158] like Fig.16 As shown, in the substrate 120 of this variation, with respect to the first fixed portion 20A, the surface of the wiring layer 20f formed around the through hole 20A1 formed on the lower surface 20-1 of the substrate 120 is in contact with the upper surface of the first pillar portion 10A, thereby enabling the height position to be positioned. In this state, the substrate can be fixed to the first pillar portion 10A by means of a substrate mounting screw 122 that penetrates the through hole 20A1.

[0159] Here, if Fig.15 and Fig.16 As shown, in the absolute encoder 100-1 of this modified example, the height position of the upper surface of the first pillar portion 10A (the first columnar portion 10A1) is equal to the height position of the upper surface of the second pillar portion 10B (the first columnar portion 10B1), and the distance D3 from the lower surface 20-1 of the substrate 120 to the upper surface of the first pillar portion 10A (the first columnar portion 10A1) in the first fixed portion 20A is equal to the distance D2 from the lower surface 20-1 of the substrate 120 to the upper surface of the second pillar portion 10B (the first columnar portion 10B1) in the second fixed portion 20B.

[0160] This is because the thickness of the wiring layer 20f around the through hole 20A1 formed on the lower surface 20-1 of the substrate 120 in the first fixing portion 20A (corresponding to the distance D3) is equal to the thickness of the second exposed portion 20h2 of the connection terminal 20h in the second fixing portion 20B (corresponding to the distance D2).

[0161] That is, in the absolute encoder 100-1 of the present modification, the distance D3 and the distance D2 can be made equal by using the wiring layer 20f formed around the through hole 20A1 of the lower surface 20-1 of the substrate 120 as the "adjustment portion 20D" and adjusting the thickness of the adjustment portion 20D. The wiring layer 20f formed around the through hole 20A1 of the lower surface 20-1 of the substrate 120 (i.e., the adjustment portion 20D) is a dummy wiring layer that is not electrically connected to the wiring layer 20f (i.e., the wiring layer 20f constituting the wiring pattern) formed entirely on the lower surface 20-1 of the substrate 120. Accordingly, in the absolute encoder 100-1 of the present modification, since the wiring pattern of the substrate 120 is not grounded in the adjustment portion 20D, it is possible to prevent noise from intruding into the wiring pattern from the adjustment portion 20D.

[0162] For example, a wiring layer 20f having the same thickness as the second exposed portion 20h2 of the connecting terminal 20h may be directly formed in the area around the through hole 20A1 of the lower surface 20-1 of the substrate 120. Alternatively, a wiring layer 20f having a thickness greater than the thickness of the second exposed portion 20h2 of the connecting terminal 20h may be formed in the area and then the surface of the wiring layer 20f may be ground or cut to make the thickness of the wiring layer 20f equal to the thickness of the second exposed portion 20h2 of the connecting terminal 20h.

[0163] For example, when the thickness of the wiring layer 20f formed on the substrate 120 is "37 μm", and the thickness of the protective layer 20g formed on the substrate 120 is "25 μm", the thickness of the second exposed portion 20h2 of the connection terminal 20h is "37 μm". In this case, the wiring layer 20f having a thickness of "37 μm" may be directly formed at the portion around the through hole 20A1 of the lower surface 20-1 of the substrate 120, or the wiring layer 20f having a thickness of "37 μm" or more may be formed at the portion, and then the surface of the wiring layer 20f may be ground or cut so that the thickness of the wiring layer 20f is "37 μm", so that the thickness of the wiring layer 20f can be equal to the thickness of the second exposed portion 20h2 of the connection terminal 20h.

[0164] It should be noted that, instead of providing a dummy wiring layer, as the adjustment portion 20D, a connection terminal identical to the connection terminal 20h of the through hole 20B1 may be provided as a dummy connection terminal. In this case, it is not necessary to provide a dummy wiring layer, but the connection terminal is formed similarly for the through hole 20A1 and the through hole 20B1, so that the height positions of the substrate 120 in the through holes 20A1 and 20B1 can be made equal to each other.

[0165] Therefore, in the case of the absolute encoder 100-1 of this modified example, Fig.16 As shown, when the substrate 120 is screwed to the first support portion 10A and the second support portion 10B, the height position of the substrate 120 in the first fixing portion 20A and the height position of the substrate 120 in the second fixing portion 20B are equal, and the substrate 120 can maintain a horizontal state.

[0166] As a result, in the absolute encoder 100-1 of this modified example, Figure 6 As shown, the detection surface of the magnetic sensor 40 provided on the substrate 120 and the upper surface of the permanent magnet 9 provided on the main shaft gear 101 are parallel to each other, and the distance between the two can also be maintained at a certain distance with high precision. Therefore, according to the absolute encoder 100-1 of this modified example, the reduction in the detection accuracy of the magnetic sensor 40 can be suppressed.

[0167] <Implementation method 2>

[0168] Fig.17 1 is an oblique view showing a state where the absolute encoder 100-2 according to the second embodiment of the present invention is mounted on the motor 200. The following description is based on the XYZ rectangular coordinate system in the same manner as the first embodiment. The X-axis direction corresponds to the horizontal left-right direction, the Y-axis direction corresponds to the horizontal front-back direction, and the Z-axis direction corresponds to the vertical up-down direction. The Y-axis direction and the Z-axis direction are respectively orthogonal to the X-axis direction. The X-axis direction is referred to as the left direction or the right direction, the Y-axis direction is referred to as the front direction or the rear direction, and the Z-axis direction is referred to as the up direction or the down direction. Fig.17 In the diagram, the state observed from above along the Z-axis direction is called a plan view, the state observed from the front along the Y-axis direction is called a front view, and the state observed from left and right along the X-axis direction is called a side view. Such a direction representation does not limit the use posture of the absolute encoder 100-2, and the absolute encoder 100-2 can be used in any posture. It should be noted that the tooth shape is omitted in the drawings.

[0169] Fig.18 It means from Fig.17 The illustrated absolute encoder 100 - 2 is a perspective view showing a state in which the housing 15 and the mounting screws 16 are removed. Fig.18In FIG. 1 , a plurality of components provided on the lower surface 20 - 1 of the substrate 20 are shown transparently. Fig.19 It means from Fig.18 The illustrated absolute encoder 100 - 2 is a perspective view showing a state where the base plate 20 and the base plate mounting screws 13 are removed. Fig. 20 It is to express Fig.19 The perspective view of the absolute encoder 100 - 2 shown in the figure is a perspective view showing a state where the motor 200 and the screw 14 are removed from the absolute encoder 100 - 2 mounted on the motor 200 . Fig.21 Yes Fig. 20 The main base 10, the intermediate gear 2, etc. shown in the figure are shown in a plan view. Fig.21 The diagram shows the arrangement of main components among a plurality of components included in the absolute encoder 100 - 2 . Fig. 22 It is along the plane passing through the center of the intermediate gear 2 and parallel to the X-Y plane. Fig.21 The absolute encoder 100 - 2 shown is a cutaway cross-sectional view.

[0170] Fig.23 Yes Fig. 22 The illustrated partial enlarged cross-sectional view shows a state where the bearing 3 is removed from the intermediate gear 2. Fig.23 In order to facilitate understanding of the configuration relationship between the bearing 3 and the press-fit portion 2d formed on the intermediate gear 2, the bearing 3 is separated from the press-fit portion 2d of the intermediate gear 2. Fig.23 In order to facilitate understanding of the arrangement relationship between the bearing 3 and the wall portion 80 provided on the base 60 of the main base 10 , the bearing 3 is separated from the wall portion 80 .

[0171] Fig.24 It passes through Fig.21 The center of the main shaft gear 1 is shown and the plane perpendicular to the center line of the intermediate gear 2 is Fig.11 The absolute encoder 100 - 2 shown is a cross-sectional view in which the substrate 20 and the magnetic sensor 40 are cut. Fig.24 , the permanent magnet 9 is mounted on the main shaft gear 1 and the main shaft gear 1 is mounted on the motor shaft 201. Fig.24 The worm gear portion 1d of the main shaft gear 1 and the worm wheel portion 2a of the intermediate gear 2 are shown in a state where they are meshed. Fig.24 It can be seen that the upper surface 9 a of the permanent magnet 9 provided on the main shaft gear 1 exists at a position away from the magnetic sensor 40 by a certain distance in the Z-axis direction.

[0172] Fig.25 It passes through Fig. 22 The center of the countershaft gear 5 shown is aligned with a plane perpendicular to the center line of the intermediate gear 2. Fig.18 The absolute encoder 100 - 2 shown is a cross-sectional view in which the substrate 20 and the magnetic sensor 50 are cut. Fig.25 The worm wheel portion 5a and the worm gear portion 2b are shown in a state where they are meshed. Fig.25 The figure shows the state where the shaft portion 6b of the magnet holder 6 is held by two bearings 7 and the state where the permanent magnet 8 is held by the magnet holder 6. Fig.25 The figure shows a state where the radially outer surface of the head 6c provided on the magnet seat 6 is separated from the tooth tip circle of the worm gear part 2b. Fig.25 It can be seen that the surface 8a of the permanent magnet 8 provided on the magnet holder 6 exists at a position separated by a certain distance from the magnetic sensor 50 in the Z-axis direction. Fig.25 The cross-sectional shape of the bearing seat portion 10 d of the main base 10 is shown.

[0173] Fig.26 Yes means Fig.19 This is a perspective view showing a state in which the intermediate gear 2 is removed from among the plurality of components shown. Fig. 27 It means from Fig.26 The wall portion 70 is shown in a perspective view with the screw 12 removed, the leaf spring 11 removed, and the leaf spring mounting surface 10e facing the leaf spring 11. The motor 200 and the main shaft gear 1 are not shown here.

[0174] Fig.28 It passes through Fig.21 The center of the substrate positioning pin 10g and the center of the substrate positioning pin 10j are aligned with a plane parallel to the Z-axis direction. Fig.18 The absolute encoder 100 - 2 shown is a cross-sectional view in which the magnetic sensor 40 is cut.

[0175] Fig.29 Yes Fig.18 The substrate 20 shown is a view viewed from the lower surface 20 - 1 side. Fig.30 is from Fig.17 The motor 200 is removed and the lower surface 10-2 of the main base 10 is viewed from the side. The lower surface 10-2 of the main base 10 is Fig. 27 The lower surface 10 - 2 of the main base 10 is also a surface facing the motor 200 . Fig.31 yes Fig.17 An oblique view of the housing 15 is shown.

[0176] Fig.32 It passes through Fig.19The center of the substrate positioning pin 10g and the center of the substrate positioning pin 10j are aligned with the surface parallel to the Z-axis direction. Fig.17 The absolute encoder 100 - 2 shown is a cross-sectional view in which the motor 200 , the main shaft gear 1 , and the magnetic sensor 40 are not cut. Fig.32 The diagram shows a state where the claw 15a provided on the shell 15 is locked (engaged) with the recess 10aa provided on the main base 10, and a state where the claw 15b provided on the shell 15 is engaged with the recess 10ab provided on the main base 10. Fig.36 yes Fig.25 An exploded oblique view of the permanent magnet 8, magnet seat 6, countershaft gear 5 and bearing 7 is shown. Fig.37 yes Fig.24 The permanent magnet 9, the main shaft gear 1 and the motor shaft 201 are shown in an exploded perspective view.

[0177] The following reference Figures 17 to 37 The structure of the absolute encoder 100-2 is described in detail. The absolute encoder 100-2 includes a main shaft gear 1, an intermediate gear 2, a bearing 3, a shaft 4, a counter shaft gear 5, a magnet holder 6, a bearing 7, a permanent magnet 8, a permanent magnet 9, a main base 10, a leaf spring 11, a screw 12, a substrate mounting screw 13 and a screw 14, a shell 15, a mounting screw 16, a substrate 20, a microcomputer 21, a bidirectional driver 22, a line driver 23, a connector 24, a magnetic sensor 40, and a magnetic sensor 50.

[0178] The motor 200 is, for example, a stepping motor, a DC brushless motor, etc. The motor 200 can be used as a driving source for driving an industrial robot via a speed reduction mechanism such as a wave gear device. The motor 200 includes a motor shaft 201. Fig.24 As shown in FIG. 1 , one end of the motor shaft 201 protrudes from the frame 202 of the motor 200 in the positive direction of the Z axis. Fig.17 As shown, the other end of the motor shaft 201 protrudes from the housing 202 of the motor 200 in the negative direction of the Z axis. The motor shaft 201 is an example of a main shaft.

[0179] The outer shape of the motor 200 in the plan view is, for example, square. The lengths of the four sides constituting the outer shape of the motor 200 are, for example, 25 mm each. The first side of the four sides constituting the outer shape of the motor 200 and the second side parallel to the first side are parallel to the Y axis. In addition, the third side adjacent to the first side and the fourth side parallel to the third side are parallel to the X axis. In addition, as for the absolute encoder 100-2 provided on the motor 200, in the plan view, the side length is also 25 mm in accordance with the outer shape of the motor 200 having a side length of 25 mm.

[0180] Next, a plurality of components included in the absolute encoder 100 - 2 will be described respectively.

[0181] like Fig.24 As shown, the main shaft gear 1 is a cylindrical member coaxially arranged with the motor shaft 201. The main shaft gear 1 includes a cylindrical first cylindrical portion 1a, and a cylindrical second cylindrical portion 1b coaxially arranged on the positive direction side of the first cylindrical portion 1a in the Z axis. In addition, the main shaft gear 1 includes a connecting portion 1c that connects the first cylindrical portion 1a and the second cylindrical portion 1b arranged on the radial inner side of the second cylindrical portion 1b, and a worm gear portion 1d arranged on the radial outer side of the second cylindrical portion 1b. By forming the connecting portion 1c in this way, the connecting portion 1c can function as an escape path for air when the main shaft gear 1 is press-fitted to the motor shaft 201. The inner diameter of the connecting portion 1c is smaller than the inner diameter of the first cylindrical portion 1a and the inner diameter of the second cylindrical portion 1b. The space enclosed by the end surface of the connecting portion 1c in the negative direction of the Z axis, i.e., the bottom surface 1e, and the inner peripheral surface of the first cylindrical portion 1a is a press-fit portion 1f for fixing the main shaft gear 1 to the end of the motor shaft 201. The press-fit portion 1f is a recessed portion that is recessed from the end of the first cylindrical portion 1a in the negative direction of the Z axis toward the positive direction of the Z axis. After the motor shaft 201 is press-fitted into the press-fit portion 1f, the main shaft gear 1 can rotate integrally with the motor shaft 201. The worm gear portion 1d is the gear portion of the main shaft gear 1.

[0182] The space enclosed by the end face of the connecting portion 1c in the positive direction of the Z axis, i.e., the bottom face 1g, and the inner peripheral surface of the second cylindrical portion 1b is a magnet holding portion 1h for fixing the permanent magnet 9. The magnet holding portion 1h is a recessed portion that is recessed from the end of the second cylindrical portion 1b in the positive direction of the Z axis toward the negative direction of the Z axis. The permanent magnet 9 is press-fitted into the magnet holding portion 1h. As for the permanent magnet 9 that is press-fitted into the magnet holding portion 1h, its outer peripheral surface is in contact with the inner peripheral surface of the second cylindrical portion 1b, and its lower surface 9b is in contact with the bottom face 1g. Based on this, the permanent magnet 9 can be positioned in the axial direction, and positioning in a direction orthogonal to the axial direction can also be performed. The axial direction of the permanent magnet 9 is the same as the central axis direction of the motor shaft 201.

[0183] like Figure 20 to Figure 22 and Fig.24 As shown, the worm gear portion 1d is composed of a tooth portion formed in a spiral shape, and meshes with the worm wheel portion 2a of the intermediate gear 2. The worm wheel portion 2a is a gear portion of the intermediate gear 2. Fig.24 In the figure, the shape of the tooth portion is omitted. The worm gear portion 1d can be formed of, for example, polyacetal resin. The worm gear portion 1d is an example of a first drive gear.

[0184] like Figure 20 to Figure 23As shown in the figures, the intermediate gear 2 is axially supported by the shaft 4 on the upper surface of the main base 10. The center axis of the intermediate gear 2 is parallel to the X-Y plane. In addition, the center axis of the intermediate gear 2 is not parallel to the X-axis and the Y-axis in the plan view. That is, the center axis direction of the intermediate gear 2 is inclined to the extension direction of the X-axis and the Y-axis. The center axis direction of the intermediate gear 2 is inclined to the extension direction of the X-axis and the Y-axis means that the center axis of the intermediate gear 2 extends obliquely relative to the four sides of the main base 10. As shown in the figures, the center axis of the intermediate gear 2 is parallel to the X-Y plane. Fig. 20 and Fig.21 As shown, the four sides of the main base 10 are composed of a first side 301 parallel to the Y-Z plane, a second side 302 parallel to the first side 301, a third side 303 parallel to the X-Z plane and adjacent to the first side 301, and a fourth side 304 parallel to the third side 303. The first side 301 is a side provided on the positive side of the X-axis of the main base 10. The second side 302 is a side provided on the negative side of the X-axis of the main base 10. The third side 303 is a side provided on the positive side of the Y-axis of the main base 10. The fourth side 304 is a side provided on the negative side of the Y-axis of the main base 10.

[0185] As for the size of the absolute encoder 100-2 in the plan view, as an example, it matches the size of the motor 200 with a side length of 25 mm. For this reason, by setting the intermediate gear 2 arranged in parallel in the X-Y plane so as to extend obliquely relative to the four sides of the main base 10, the size of the absolute encoder 100-2 in the horizontal direction can be reduced. The horizontal direction is equal to the direction orthogonal to the central axis of the motor shaft 201 and also equal to the direction parallel to the X-Y plane.

[0186] like Figures 19 to 23 As shown in the figures, the intermediate gear 2 has a worm wheel portion 2a, a worm gear portion 2b, a bearing portion 2c, a press-fit portion 2d, a sliding portion 2e, a bottom surface 2f, and a through hole 2g. The intermediate gear 2 is a cylindrical component in which the shaft 4 is inserted into the through hole 2g that penetrates along the center axis. The through hole 2g is a space surrounded by the inner circumferential surface of the intermediate gear 2. The intermediate gear 2 is a component integrally formed of metal, resin, etc. Here, as an example, it can be formed of polyacetal resin.

[0187] The worm wheel portion 2a is a gear meshing with the worm gear portion 1d of the main shaft gear 1. The worm wheel portion 2a is an example of a first driven gear and is a gear portion of the intermediate gear 2. The worm wheel portion 2a is provided at a position close to the center of the intermediate gear 2 in the axial direction of the intermediate gear 2. In addition, the worm wheel portion 2a is composed of a plurality of teeth provided on the outer peripheral portion of the cylindrical portion of the intermediate gear 2.

[0188] The outer diameter of the worm wheel 2a is smaller than that of the worm gear 1d. The central axis of the worm wheel 2a is parallel to the upper surface of the main base 10, so by reducing the outer diameter of the worm wheel 2a, the absolute encoder 100-2 can be miniaturized in the Z-axis direction (height direction).

[0189] The worm gear portion 2b is composed of a tooth portion formed in a spiral shape, and is arranged coaxially and adjacent to the worm wheel portion 2a. In addition, the worm gear portion 2b is arranged on the outer peripheral portion of the cylindrical portion of the intermediate gear 2. By meshing the worm gear portion 2b with the worm wheel portion 5a provided on the countershaft gear 5, the rotational force of the intermediate gear 2 can be transmitted to the countershaft gear 5. The worm gear portion 2b is an example of a second drive gear and is a gear portion of the intermediate gear 2. The worm wheel portion 5a is a gear portion of the countershaft gear 5. As for the center line of the worm wheel portion 5a and the center line of the worm gear portion 2b, they are perpendicular to the center line of the worm wheel portion 5a, and are orthogonal to each other when viewed in a direction perpendicular to the center line of the worm gear portion 2b.

[0190] In order to reduce the size of the absolute encoder 100 - 2 in the Z-axis direction (height direction), the outer diameter of the worm gear portion 2 b is set to a value as small as possible.

[0191] like Fig. 22 As shown, the bearing portion 2c is provided on the inner peripheral surface of the intermediate gear 2 on the side opposite to the press-fit portion 2d side, that is, on the sliding portion 2e side of the intermediate gear 2. The shaft 4 is slidably inserted into the bearing portion 2c, and the intermediate gear 2 is rotatably supported by the shaft 4.

[0192] The press-fit portion 2d is a recessed portion that is recessed from the end surface of the intermediate gear 2 toward the center of the axial direction Td of the intermediate gear 2 on the inner side of the worm gear portion 2b, and is connected to the through hole 2g. The press-fit portion 2d can also be considered as a portion that enlarges the opening diameter of the end of the through hole 2g. The outer ring 3a of the bearing 3 is press-fitted to the press-fit portion 2d and fixed.

[0193] like Figure 20 to Figure 22 , Fig.26 , Fig. 27 As shown in the figures, the sliding portion 2e of the intermediate gear 2 is provided on one end side of the intermediate gear 2, that is, on the side opposite to the worm gear portion 2b side in the axial direction Td of the intermediate gear 2. The sliding portion 2e of the intermediate gear 2 abuts against the sliding portion 11a of the leaf spring 11. The leaf spring 11 is an example of an elastic member, and is made of metal, for example. The sliding portion 11a of the leaf spring 11 is composed of two branches branched from the base 11d of the leaf spring 11. The base 11d of the leaf spring 11 is a plate-shaped member provided between the mounting portion 11b and the sliding portion 11a in the entirety of the leaf spring 11.

[0194] A gap larger than the diameter of the shaft 4 is formed between the two branches constituting the sliding portion 11a of the leaf spring 11. For this reason, the mounting portion 11b of the leaf spring 11 is fixed to the leaf spring mounting surface 10e provided on the wall portion 72 of the main base 10 by screws 12 in a manner that the two branches straddle the shaft 4 without contacting the shaft 4.

[0195] The sliding portion 11a of the leaf spring 11 is provided at a position facing the sliding portion 2e of the intermediate gear 2 after the intermediate gear 2 is mounted. The sliding portion 2e of the intermediate gear 2 is urged along the central axis of the shaft 4 and in a direction from the one end 4a side of the shaft 4 toward the other end 4b side of the shaft 4 by abutting against and being pressed by the sliding portion 11a of the leaf spring 11. When the intermediate gear 2 rotates in this state, the sliding portion 2e of the intermediate gear 2 slides while abutting against the sliding portion 11a of the leaf spring 11.

[0196] The bottom surface 2f of the intermediate gear 2 is located next to the press-fit portion 2d and contacts the side surface 3c of the outer ring 3a of the bearing 3. The outer ring 3a is press-fitted into the press-fit portion 2d until the side surface 3c of the outer ring 3a contacts the bottom surface 2f.

[0197] The through hole 2g of the intermediate gear 2 penetrates from the bearing portion 2c toward the press-fit portion 2d along the center axis of the intermediate gear 2 and is arranged coaxially with the shaft 4. The inner diameter of the through hole 2g is larger than the outer diameter of the shaft 4, so that a space can be ensured between the through hole 2g and the outer peripheral surface of the shaft 4.

[0198] like Fig. 22 and Fig.23 As shown, the bearing 3 has an outer ring 3a, an inner ring 3b, a side surface 3c and a side surface 3d. The side surface 3c of the bearing 3 is Fig. 22 The side surface of the outer ring 3a in the axial direction Td of the shaft 4 indicated by the middle arrow is the side surface of the inner ring 3b in the same direction. It should be noted that in the embodiment of the present invention, the (center) axial direction of the intermediate gear 2 or the shaft 4 is denoted as Td.

[0199] The outer ring 3a of the bearing 3 is press-fitted to the press-fit portion 2d and fixed, and the side surface 3c is in contact with the bottom surface 2f and fixed. The shaft 4 is inserted into the inner side of the inner ring 3b. Fig. 22As shown, the side surface 3d of the inner ring 3b abuts against the abutment surface 10c of the wall portion 80 of the main base 10. The abutment surface 10c defines the position of the intermediate gear 2 in the axial direction Td. As described above, the intermediate gear 2 is urged in the axial direction Td from the one end 4a of the shaft 4 toward the other end 4b of the shaft 4 by the leaf spring 11, so the side surface 3c of the outer ring 3a of the bearing 3 in contact with the bottom surface 2f of the intermediate gear 2 is also urged in the same direction. Accordingly, the inner ring 3b of the bearing 3 is also urged in the same direction, so that the side surface 3d of the inner ring 3b of the bearing 3 can abut against the abutment surface 10c of the wall portion 80. As a result, the applied force can be transmitted to the abutment surface 10c of the wall portion 80, and the intermediate gear 2 can be stably supported in the axial direction Td of the shaft 4. The details of the applied force will be described later.

[0200] The outer ring 3a of the bearing 3 is arranged to be freely rotatable relative to the inner ring 3b. Fig. 22 The intermediate gear 2 shown in the figure can be rotatably supported at two locations, namely the bearing portion 2c and the bearing 3, by the shaft 4. It should be noted that the shaft 4 can be formed of, for example, stainless steel.

[0201] like Fig. 22 As shown, the wall portion 70 and the wall portion 80 are an example of a holding portion that can hold the intermediate gear 2 rotatably via the shaft 4. The wall portion 80 is integrally provided on the upper surface of the base 60 in a pair with the wall portion 70, and extends from the upper surface of the base 60 in the positive direction of the Z axis. The wall portion 80 is provided in a region of the entire upper surface of the base 60 that is closer to the second side 302 than the center in the X-axis direction and closer to the third side 303 than the center in the Y-axis direction. In addition, the wall portion 80 is also provided in a position close to the second side 302 and close to the center in the Y-axis direction in this region. The wall portion 70, the wall portion 80 and the shaft 4 can function as a holding portion that can hold the intermediate gear 2 rotatably. The shaft 4 is a cylindrical member having one end 4a and the other end 4b. The other end 4b of the shaft 4 is press-fitted into a hole 10b formed in the wall portion 80 of the main base 10, and is fixed on this basis. On the other hand, the one end 4a of the shaft 4 only needs to be inserted into the hole 10a formed in the wall portion 70 to be positioned, and there is no need to press-fit the one end 4a of the shaft 4 into the hole 10a. In this way, the shaft 4 can be easily mounted compared to the case where the one end 4a of the shaft 4 is press-fitted into the hole 10a.

[0202] like Fig.21As shown in FIG. 1 and FIG. 2 , in the absolute encoder 100-2, the counter gear 5 is provided on the side of the intermediate gear 2 opposite to the main gear 1. For example, the counter gear 5 is arranged in an area close to a corner of the main base 10 in an area surrounded by four sides of the main base 10. The corner is, for example, Fig.21 The portion where the second side 302 and the third side 303 are intersecting is shown. In this way, the counter gear 5 and the main shaft gear 1 can be arranged to sandwich the intermediate gear 2 by utilizing the limited area on the main base 10. Accordingly, compared with the case where the counter gear 5 and the main shaft gear 1 are arranged adjacent to each other without sandwiching the intermediate gear 2, the distance from the counter gear 5 to the main shaft gear 1 can be increased.

[0203] The magnetic sensor 40 can detect the rotation angle of the corresponding main shaft gear 1 by detecting the change of the magnetic flux generated by the permanent magnet 9 due to the rotation of the permanent magnet 9 rotating together with the main shaft gear 1. On the other hand, the magnetic sensor 50 can detect the rotation angle of the corresponding counter shaft gear 5 by detecting the change of the magnetic flux generated by the permanent magnet 8 due to the rotation of the permanent magnet 8 rotating together with the counter shaft gear 5.

[0204] Here, for example, when the main shaft gear 1 and the counter shaft gear 5 are arranged adjacent to each other, a portion of the magnetic flux generated by the permanent magnet 8 and the permanent magnet 9 will affect the magnetic sensor that does not correspond to the permanent magnet 8 and the permanent magnet 9, which is the so-called magnetic interference, which is explained below.

[0205] Fig.10 This is a conceptual diagram of the waveform (A) obtained by detecting the magnetic flux of the permanent magnet 9 provided on the main shaft gear 1 by the magnetic sensor 40 when the main shaft gear 1 rotates, the waveform (B) obtained by detecting the magnetic flux of the permanent magnet 8 provided on the counter shaft gear 5 by the magnetic sensor 50, and the magnetic interference waveform (C) obtained by detecting the state in which a part of the magnetic flux of the permanent magnet 8 overlaps with the magnetic flux of the permanent magnet 9 as leakage magnetic flux by the magnetic sensor 40. The vertical axis represents the magnetic flux, and the horizontal axis represents the rotation angle of the main shaft gear 1. In this way, the magnetic sensor 40 is expected to detect the waveform (A), but when magnetic interference occurs, it becomes the waveform shown in (C), so the correct waveform cannot be detected.

[0206] same, Fig.11The waveform (A) obtained by detecting the magnetic flux of the permanent magnet 8 provided on the counter gear 5 by the magnetic sensor 50 when the main shaft gear 1 rotates, the waveform (B) obtained by detecting the magnetic flux of the permanent magnet 9 provided on the main shaft gear 1 by the magnetic sensor 40, and the magnetic interference waveform (C) obtained by detecting the state where a part of the magnetic flux of the permanent magnet 9 overlaps with the magnetic flux of the permanent magnet 8 as leakage magnetic flux by the magnetic sensor 50. The vertical axis represents the magnetic flux, and the horizontal axis represents the rotation angle of the counter gear 5. In this way, the waveform (A) is expected to be detected in the magnetic sensor 50, but when magnetic interference occurs, it becomes the waveform shown in (C), so the correct waveform cannot be detected.

[0207] Therefore, according to the absolute encoder 100-2 of the second embodiment, since the main shaft gear 1 and the permanent magnet 9 and the counter shaft gear 5 and the permanent magnet 8 are arranged to sandwich the intermediate gear 2 with a distance between them, the occurrence of magnetic interference that affects the magnetic sensors that do not correspond to the permanent magnets 8 and 9 can be reduced. For example, the interference caused by a part of the magnetic flux from the permanent magnet 9 provided on the main shaft gear 1 as leakage magnetic flux to the magnetic sensor 50 provided for the original purpose of detecting the change of the magnetic flux from the permanent magnet 8 provided on the counter shaft gear 5 can be reduced. In addition, the interference caused by a part of the magnetic flux from the permanent magnet 8 provided on the counter shaft gear 5 as leakage magnetic flux to the magnetic sensor 40 provided for the original purpose of detecting the change of the magnetic flux from the permanent magnet 9 can also be reduced.

[0208] Thus, according to the absolute encoder 100-2 of the second embodiment, it is known that not only the size of the absolute encoder 100-2 in a plan view can be relatively reduced, but also the detection accuracy of the rotation angle or the rotation amount of the counter shaft gear 5 caused by the magnetic sensor 50 can be prevented from being reduced. In addition, according to the absolute encoder 100-2, it is known that not only the size of the absolute encoder 100-2 in a plan view can be relatively reduced, but also the detection accuracy of the rotation angle or the rotation amount of the main shaft gear 1 caused by the magnetic sensor 40 can be prevented from being reduced.

[0209] like Fig.25 As shown, the countershaft gear 5 is a cylindrical member fixed by being press-fitted to the shaft portion 6b of the magnet holder 6. The countershaft gear 5 has a worm gear portion 5a and a through hole 5b. The countershaft gear 5 is a member integrally molded from metal or resin, and here, as an example, can be formed from polyacetal resin.

[0210] The worm wheel 5 a is a gear that meshes with the worm gear 2 b. The worm wheel 5 a is an example of a second driven gear. The worm wheel 5 a is composed of a plurality of teeth provided on the outer circumference of the cylindrical portion of the counter gear 5 . Fig. 20 In the embodiment, by the rotation of the intermediate gear 2, the rotational force of the intermediate gear 2 can be transmitted to the counter gear 5 via the worm gear portion 2b and the worm wheel portion 5a.

[0211] The through hole 5b is a hole that penetrates along the central axis of the cylindrical counter gear 5. When the shaft portion 6b of the magnet holder 6 is press-fitted into the through hole 5b, the counter gear 5 and the magnet holder 6 can rotate integrally.

[0212] like Fig.25 and Fig.36 As shown, the magnet holder 6 includes a magnet holding portion 6a, a shaft portion 6b, and a head portion 6c. The magnet holder 6 is a member integrally formed of metal or resin, and can be formed of non-magnetic stainless steel as an example.

[0213] The outer rings 7a of the two bearings 7 are press-fitted onto the inner peripheral surface 10dc of the bearing seat portion 10d formed on the main base 10. It should be noted that the two bearings 7 have an outer ring 7a and an inner ring 7b, respectively.

[0214] The shaft portion 6b of the magnet seat 6 is a cylindrical member that can be press-fitted into the through hole 5b of the countershaft gear 5, and the lower portion of the shaft portion 6b can be inserted into the inner rings 7b of the two bearings 7. Therefore, the magnet seat 6 can be axially supported by the two bearings 7 relative to the main base 10, thereby being integrally rotated with the countershaft gear 5.

[0215] In addition, a head 6c may be provided at the upper end of the magnet seat 6. The head 6c is a cylindrical component with a bottom. A magnet holding portion 6a may be formed on the head 6c. The magnet holding portion 6a is a recessed portion that is recessed from the upper end surface of the head 6c toward the lower side. The outer peripheral surface of the permanent magnet 8 arranged on the magnet holding portion 6a is in contact with the inner peripheral surface of the head 6c. Accordingly, the permanent magnet 8 can be fixed on the magnet holding portion 6a of the head 6c.

[0216] The magnet seat 6 can be prevented from tilting by axially supporting the shaft portion 6b of the magnet seat 6 with two bearings 7 disposed on the bearing seat portion 10d formed on the main base 10. Therefore, if the two bearings 7 are disposed as far away from each other as possible in the axial direction of the shaft portion 6b, the magnet seat 6 can be expected to be further prevented from tilting.

[0217] like Fig.25As shown, the upper portion 10db of the bearing seat portion 10d is the upper side region of the bearing seat portion 10d in the Z-axis direction of the entire bearing seat portion 10d. A bearing 7 is provided inside the upper portion 10db of the bearing seat portion 10d. In addition, the lower portion 10da of the bearing seat portion 10d is the lower side region of the bearing seat portion 10d in the Z-axis direction of the entire bearing seat portion 10d. A bearing 7 is provided inside the lower portion 10da of the bearing seat portion 10d.

[0218] like Fig.25 As shown, a cutout portion 202a is provided on a part of the frame 202 of the motor 200. The cutout portion 202a is a recessed portion that is recessed toward the negative direction of the Z axis. On the main base 10, the lower portion 10da of the bearing seat portion 10d is protruded, so by providing the cutout portion 202a on the frame 202 of the motor 200, mutual interference can be prevented. The lower portion 10da of the bearing seat portion 10d is the lower side area of ​​the bearing seat portion 10d in the Z axis direction of the entire bearing seat portion 10d. A bearing 7 is provided on the inner side of the lower portion 10da of the bearing seat portion 10d. In this way, by providing the cutout portion 202a on the frame 202 of the motor 200, the distance between the two bearings 7 in the Z axis direction can be separated compared to the case where the cutout portion 202a is not provided. Furthermore, the upper portion 10db of the bearing seat portion 10d is an upper region of the bearing seat portion 10d in the Z-axis direction in the entire bearing seat portion 10d.

[0219] If the bearing 7 is arranged at a position closer to the magnet holding portion 6a and the permanent magnet 8 in the axial direction of the shaft portion 6b of the magnet seat 6, the axial vibration of the magnet seat 6 and the permanent magnet 8 during rotation can be reduced. On the other hand, the outer diameter of the upper portion 10db of the bearing seat portion 10d is close to the intermediate gear 2, so by forming an inclined surface on the upper portion 10db of the bearing seat portion 10d, not only can the interference with the tooth top circle of the intermediate gear 2 be avoided, but the bearing 7 can also be arranged at a position closer to the magnet holding portion 6a and the permanent magnet 8.

[0220] The magnetic sensor 40 can detect the rotation angle of the corresponding main shaft gear 1 by detecting the change of the magnetic flux generated by the permanent magnet 9 due to the rotation of the permanent magnet 9 rotating together with the main shaft gear 1. On the other hand, the magnetic sensor 50 can detect the rotation angle of the corresponding counter shaft gear 5 by detecting the change of the magnetic flux generated by the permanent magnet 8 due to the rotation of the permanent magnet 8 rotating together with the counter shaft gear 5.

[0221] like Fig.25 and Fig.36As shown, the permanent magnet 8 has a surface 8a. The permanent magnet 8 is roughly cylindrical, and the central axis MC1 of the permanent magnet 8 (the axis representing the center of the permanent magnet 8 or the axis passing through the center of the boundary of the magnetic pole) is consistent with the central axis HC1 of the magnet holder 6, the central axis GC1 of the countershaft gear 5, and the central axis BC of the bearing 7. The surface 8a of the permanent magnet 8 is spaced a certain distance from and faces the surface 50a of the magnetic sensor 50. In this way, by making each central axis consistent, the rotation angle or rotation amount can be detected with higher accuracy.

[0222] It should be noted that in this embodiment, Fig.36 As shown, the two magnetic poles (N / S) of the permanent magnet 8 are formed adjacent to each other in a plane (X-Y plane) perpendicular to the central axis MC1 of the permanent magnet 8. That is, it is preferable that the rotation center of the permanent magnet 8 and the center of the boundary of the magnetic poles on the central axis MC1 are aligned. Accordingly, the detection accuracy of the rotation angle or the rotation amount can be further improved.

[0223] like Fig.24 and Fig.37 As shown, the permanent magnet 9 is a substantially cylindrical permanent magnet that is press-fitted into the interior of the magnet holding portion 1h of the main shaft gear 1, and has an upper surface 9a and a lower surface 9b. The upper surface 9a is spaced a certain distance from and faces the surface 40a of the magnetic sensor 40. The lower surface 9b is in contact with the bottom surface 1g of the magnet holding portion 1h of the main shaft gear 1, and can define the position in the direction of the center axis GC2 of the main shaft gear 1 (the position in the Z-axis direction). The center axis MC2 of the permanent magnet 9 (the axis representing the center of the permanent magnet 9 or the axis passing through the center of the boundary of the magnetic pole) is consistent with the center axis GC2 of the main shaft gear 1 and the center axis RC of the motor shaft 201. In this way, by making each center axis consistent, the rotation angle or rotation amount can be detected with higher accuracy.

[0224] It should be noted that in this embodiment, Fig.37 As shown, the two magnetic poles (N / S) of the permanent magnet 9 are preferably formed adjacent to each other in a plane (XY plane) perpendicular to the central axis MC2 of the permanent magnet 9. This can further improve the detection accuracy of the rotation angle or the rotation amount.

[0225] It should be noted that permanent magnets 8 and 9 can be formed of, for example, ferrite-based magnetic materials, Nd (neodymium)-Fe (iron)-B (boron)-based magnetic materials, etc. Permanent magnets 8 and 9 can also be, for example, rubber magnets containing resin binders, bonded magnets, etc.

[0226] Fig.29The figure shows a plurality of through holes formed on the substrate 20, namely, the positioning hole 20a, the positioning hole 20b, the hole 20c, the hole 20d, and the hole 20e. The shape of the wall surface forming the positioning hole 20a is, for example, circular. The shape of the wall surface forming the positioning hole 20b is, for example, elliptical. The holes 20c, 20d, and 20e are respectively used to Fig.18 The substrate mounting screw 13 shown fixes the substrate 20 to the through hole of the main base 10. The shape of the wall surface forming the hole 20c, the hole 20d and the hole 20e is, for example, circular. The diameter of the wall surface forming the hole 20c, the hole 20d and the hole 20e is larger than the diameter of the male screw part of the substrate mounting screw 13 and smaller than the diameter of the head of the substrate mounting screw 13.

[0227] like Figures 19 to 22 , Figure 26 to Figure 28 As shown in the figures, the main base 10 has a hole 10a, a hole 10b, a contact surface 10c, a bearing seat portion 10d, a leaf spring mounting surface 10e, a base 60, a wall portion 70, a wall portion 80, an opening 10-1, and a screw hole 10f. The main base 10 has a substrate positioning pin 10g, a substrate positioning pin 10j, a front end portion 10h, a front end portion 10k, a column 10m, a column 10q, a column 10s, a screw hole 10u, a screw hole 10v, and a screw hole 10w. The substrate positioning pin 10g, the substrate positioning pin 10j, the column 10m, the column 10q, and the column 10s are examples of columnar components. A step portion (step portion) 10i is formed between the front end portion 10h of the substrate positioning pin 10g extending from the main base 10 in the Z-axis direction and the base 10g1 of the substrate positioning pin 10g. When the front end 10h of the substrate positioning pin 10g is inserted into the positioning hole 20a formed on the substrate 20, a gap can be formed between the lower surface 20-1 of the substrate 20 and the step portion 10i. Similarly, a step portion 10l is formed between the front end 10k of the substrate positioning pin 10j extending from the main base 10 in the Z-axis direction and the base 10j 1 of the substrate positioning pin 10j. When the front end 10k of the substrate positioning pin 10j is inserted into the positioning hole 20b formed on the substrate 20, a gap can be formed between the lower surface 20-1 of the substrate 20 and the step portion 10l. In this way, when two substrate positioning pins 10g and 10j are used, the position of the substrate 20 in the direction orthogonal to the Z-axis direction can be limited. However, since gaps are formed between the step portion 10i and the step portion 10l and the substrate 20, respectively, the position of the substrate 20 in the Z-axis direction is not limited by the two substrate positioning pins 10g and 10j.

[0228] The base 60 of the main base 10 is, for example, an integrally formed aluminum die-cast member, and is a substantially square plate-shaped member in a plan view. The base 60 is an example of a plate portion. The base 60 is attached to the upper surface of the motor 200 .

[0229] Fig.19 The opening 10 - 1 shown penetrates the base 60 in the thickness direction (Z-axis direction). The main shaft gear 1 is inserted through the opening 10 - 1. The opening 10 - 1 is an example of a first through hole.

[0230] like Fig. 20 , Fig.21 , Fig.26 , Fig. 27 As shown in the figures, the wall portion 70 includes a wall portion 71 and a wall portion 72. The wall portion 70 has the function of supporting the shaft 4 and fixing the leaf spring 11. The wall portion 71 is integrally provided on the upper surface of the base 60 and extends from the base 60 in the positive direction of the Z axis. The wall portion 70 is provided in a region of the entire upper surface of the base 60 that is closer to the first side 301 than the center in the X-axis direction and closer to the fourth side 304 than the center in the Y-axis direction. The wall portion 71 includes a mounting surface 10ad located on the positive direction side of the X-axis and a screw hole 10ae that penetrates in the X-axis direction. As shown in FIG. Fig.17 , Fig.30 and Fig.31 As shown, by inserting the mounting screw 16 through the hole 15d of the case 15 and tightening it in the screw hole 10ae, the inner surface of the case 15 can abut against the mounting surface 10ad of the wall 71, thereby being fixed.

[0231] like Fig.21 As shown, the wall portion 72 is provided in a region of the entire upper surface of the base 60 that is further toward the first side 301 than the center in the X-axis direction and further toward the third side 303 than the center in the Y-axis direction in a plan view. The wall portion 72 is connected to the wall portion 71 and extends from the wall portion 71 toward the center of the third side 303. The end of the wall portion 72 on the third side 303 is connected to the column 10s. The column 10s connected to the wall portion 72 is provided at a position close to the center of the main base 10 in the X-axis direction and at a position close to the third side 303 of the main base 10. In this way, the wall portion 72 extends from the wall portion 71 toward the column 10s. That is, the wall portion 72 extends in directions oblique to the X-axis and the Y-axis in a plan view.

[0232] like Fig. 27 As shown, the screw 12 is inserted through the hole 11c formed on the mounting portion 11b of the leaf spring 11 and is tightened to the screw hole 10f formed on the wall portion 72 of the main base 10. As a result, the mounting portion 11b of the leaf spring 11 can abut against the leaf spring mounting surface 10e formed on the wall portion 72, thereby fixing the leaf spring 11 to the wall portion 72. The wall portion 72 can function as a fixing portion for fixing the leaf spring 11. At this time, as shown in FIG. Fig.21 and Fig. 22 As shown, the sliding portion 11 a of the leaf spring 11 abuts against the sliding portion 2 e of the intermediate gear 2 into which the shaft 4 is inserted.

[0233] right Fig. 22 The following description will be made with reference to the mounting angle θ shown in FIG. 1 . The worm gear portion 1d of the main shaft gear 1 meshes with the worm wheel portion 2a. Therefore, as the worm gear portion 1d of the main shaft gear 1 rotates, a first thrust is generated on the intermediate gear 2 in a direction from the other end 4b of the shaft 4 toward the one end 4a of the shaft 4 or from the one end 4a of the shaft 4 toward the other end 4b of the shaft 4. In addition, due to the meshing of the worm gear portion 2b with the worm wheel portion 5a of the counter shaft gear 5, a second thrust is generated on the intermediate gear 2 in a direction from the other end 4b of the shaft 4 toward the one end 4a of the shaft 4 or from the one end 4a of the shaft 4 toward the other end 4b of the shaft 4. Thus, even when the first thrust and the second thrust are generated, in order to accurately transmit the rotation amount of the worm gear portion 1d of the main shaft gear 1 to the worm wheel portion 5a of the counter shaft gear 5, it is necessary to suppress the movement of the intermediate gear 2 in the axial direction Td toward the shaft 4. The leaf spring 11 urges the intermediate gear 2 in a direction from the one end 4a of the shaft 4 toward the other end 4b of the shaft 4. The value of the biasing force generated by the leaf spring 11 is set to be higher than the combined force of the first thrust and the second thrust in the direction from the other end 4 b of the shaft 4 toward the one end 4 a of the shaft 4 .

[0234] Fig. 22 In the embodiment, the installation angle θ is equal to the angle formed by the base 11d of the leaf spring 11 fixed to the wall 72 of the main base 10 and the side surface 73 on the side of the intermediate gear 2, which is the surface of the hole 10a of the wall 72 into which the one end 4a of the shaft 4 is inserted, when the intermediate gear 2 is not inserted into the shaft 4. It should be noted that the side surface 73 and the shaft 4 are orthogonal in the present embodiment, but the present invention is not limited thereto. With respect to the installation angle θ, when the intermediate gear 2 is installed on the shaft 4, the sliding portion 11a of the leaf spring 11 abuts against the sliding portion 2e of the intermediate gear 2, and the leaf spring 11 is bent by a predetermined amount, thereby being set to an angle that can appropriately apply a force in the axial direction Td of the shaft 4 to the intermediate gear 2. Therefore, by causing the leaf spring 11 to apply force to the intermediate gear 2 in the direction from the one end 4a side of the shaft 4 toward the other end 4b side of the shaft 4, the movement of the intermediate gear 2 caused by the combined force of the first thrust and the second thrust in the direction from the other end 4b of the shaft 4 toward the one end 4a of the shaft 4 can be suppressed. As a result, the reduction in the rotation accuracy of the countershaft gear 5 can be prevented. It should be noted that the larger the value of the applied force, Fig. 22The larger the sliding resistance when the intermediate gear 2 shown rotates. For this reason, it is preferable to set the mounting angle θ to an appropriate value in a manner that can minimize the sliding resistance when the intermediate gear 2 rotates and generate a sufficiently large force that can suppress the movement of the intermediate gear 2 caused by the thrust. In this way, in order to set the mounting angle θ to an appropriate value, it is necessary to improve the surface accuracy of the leaf spring mounting surface 10e for mounting the leaf spring 11, and it is also necessary to reduce the error of the mounting angle of the wall portion 70 to the base 60.

[0235] In the absolute encoder 100-2 of the second embodiment, the main base 10 is formed by aluminum die casting, so that, for example, compared with the case where the base 60 and the wall 70 are separately made by sheet metal and combined with each other, the error of the mounting angle of the wall 70 to the base 60 can be reduced, and the surface accuracy of the leaf spring mounting surface 10e can be improved. As a result, the error of the mounting angle θ of the leaf spring 11 to the wall 72 is reduced, and the management of the applied force can be easily performed.

[0236] like Fig.26 As shown, the main base 10 can be fixed by inserting three screws 14 through the holes formed at three positions on the main base 10 and tightening them into the screw holes formed on the motor 200. The columns 10q, 10m and 10s extending from the main base 10 in the positive direction of the Z axis are respectively formed with screw holes 10v, 10u and 10w at the front ends in the positive direction of the Z axis. Fig.18 The substrate mounting screws 13 of the holes 20c, 20e and 20d formed on the substrate 20 are respectively tightened in the screw holes 10v, 10u and 10w. Fig.28 The lower surface 20 - 1 of the substrate 20 shown is in contact with each other. The lower surface 20 - 1 of the substrate 20 is the surface facing the main base 10 among the two substrate surfaces in the Z-axis direction of the substrate 20. As a result, the position of the substrate 20 in the Z-axis direction can be defined.

[0237] like Fig.17 , Figure 30 to Figure 32 As shown in the figures, the shell 15 includes an upper surface 15-1, a first side surface 15A, a second side surface 15B, a third side surface 15C, and a fourth side surface 15D, and is a box-shaped component with one side opened. The shell 15 is made of resin, for example, and is an integrally molded component. The upper surface 15-1 corresponds to the bottom of the box-shaped component. The upper surface 15-1 is facing the Fig.18The surface of the upper surface 20-2 of the substrate 20 shown. The upper surface 20-2 of the substrate 20 is the substrate surface on the side opposite to the lower surface 20-1 of the substrate 20. The first side surface 15A is a plate-shaped member extending from the side of the upper surface 15-1 on the positive direction of the X axis in the negative direction of the Z axis. The second side surface 15B is a plate-shaped member extending from the side of the upper surface 15-1 on the negative direction of the X axis in the negative direction of the Z axis. The third side surface 15C is a plate-shaped member extending from the side of the upper surface 15-1 on the negative direction of the Y axis in the negative direction of the Z axis. The fourth side surface 15D is a plate-shaped member extending from the side of the upper surface 15-1 on the positive direction of the Y axis in the negative direction of the Z axis. The shape of the shell 15 in a plan view is a rectangular shape corresponding to the shape of the motor 200 in a plan view. The space inside the shell 15 can accommodate a plurality of components provided in the absolute encoder 100-2.

[0238] like Fig.31 As shown in FIG. 1 , the shell 15 includes a claw 15a, a claw 15b, a claw 15c, a hole 15d, a recess 15e, a recess 15f, a recess 15g, a connector shell 15h, and an opening 15i. The claw 15a is provided near the end of the fourth side surface 15D in the negative direction of the Z axis. The claw 15a extends from the fourth side surface 15D in the negative direction of the Y axis in a manner facing the third side surface 15C. Fig.30 The claw portion 15b is provided near the end of the third side portion 15C in the negative direction of the Z axis. The claw portion 15b extends from the third side portion 15C in the positive direction of the Y axis so as to face the fourth side portion 15D. Fig.30 The claw portion 15c is provided near the end of the second side portion 15B in the negative direction of the Z axis. The claw portion 15c extends from the second side portion 15B in the negative direction of the X axis so as to face the first side portion 15A. Fig.30 The recesses 10ac provided on the main base 10 are shown to interlock.

[0239] Fig.31 The recesses 15e, 15f and 15g shown are for avoiding Fig.18 The heads of the three substrate mounting screws 13 shown interfere with each other, and a part of the upper surface 5 - 1 of the shell 15 is recessed in the positive direction of the Z axis to form a recessed portion.

[0240] The connector shell 15h is for Fig.18The connector 24 shown in the figure is covered by a recessed portion formed in a manner that a portion of the upper surface 5-1 of the shell 15 is recessed in the positive direction of the Z axis. The shape of the bottom surface of the connector shell 15h in a plan view is a rectangle. The connector shell 15h is provided in an area of ​​the upper surface 5-1 that is closer to the first side surface 15A than the center in the X-axis direction and is located near the center in the Y-axis direction. In addition, the connector shell 15h is provided in a portion of the area close to the first side surface 15A.

[0241] The opening 15i is formed between the bottom surface of the connector shell 15h and the first side surface 15A. Fig.18 The connector 24 shown is configured. The connector 24 is, for example, a female connector, into which a male connector provided on one end of an external wiring can be inserted. The male connector can be connected via Fig.31 The opening 15i shown is inserted into the connector 24 arranged on the connector shell 15h. According to this, the conductive terminal provided on the connector 24 can be electrically connected to the conductive terminal of the male connector provided on one end of the external wiring. As a result, the external device connected to the other end of the external wiring and the connector 24 can be electrically connected, thereby transmitting signals between the absolute encoder 100-2 and the external device.

[0242] In addition, by arranging the connector shell 15h at a position close to the first side surface 15A, Fig.18 As shown, the position of the connector 24 in a plan view is equal to the position of the connector 400 in a plan view of the motor 200. By configuring the absolute encoder 100-2 in this way, the pull-out position of the external wiring electrically connected to the conductive pin provided on the connector 24 can be close to the pull-out position of the external wiring electrically connected to the conductive pin provided on the connector 400. Therefore, these external wirings can be bundled together near the absolute encoder 100-2 and the motor 200, thereby making it easy to pull the bundled wiring group to the external device.

[0243] like Fig.29 As shown, the magnetic sensor 40, the magnetic sensor 50, the microcomputer 21, the bidirectional driver 22, and the line driver 23 can be arranged on the lower surface 20-1 of the substrate 20. The lower surface 20-1 of the substrate 20 is the mounting surface of the magnetic sensor 40 and the magnetic sensor 50. As mentioned above, the upper end surface 10r of the column 10q, the upper end surface 10p of the column 10m, and the upper end surface 10t of the column 10s are connected to the lower surface 20-1 of the substrate 20. In addition, as Fig. 20As shown, the column 10q, the column 10m and the column 10s are arranged on the main base 10 in a manner that the difference in the intervals between the main base 10 in the plane view is small. For example, the column 10q is arranged at a position close to the center of the Y-axis direction of the main base 10 and close to the second side 302. The column 10q is integrated with the wall portion 80. The column 10m is arranged near the corner where the first side 301 and the fourth side 304 intersect. The column 10s is arranged at a position close to the center of the X-axis direction of the main base 10 and close to the third side 303. The column 10s is integrated with the wall portion 70 and the substrate positioning pin 10g. By arranging the columns 10q, the columns 10m and the columns 10s in this way, the positions of the magnetic sensors 40 and the magnetic sensors 50 arranged on the substrate 20 in the Z-axis direction can be correctly defined. It should be noted that if the pillars 10 q , 10 m , and 10 s are formed at positions on the main base 10 that are as far apart as possible in the XY plane direction, the position of the substrate 20 can be maintained more stably.

[0244] In the absolute encoder 100-2 of the second embodiment, the main base 10 can be formed by die casting. For this reason, compared with, for example, the case where the base 60 of the main base 10 is made by sheet metal and assembled with the columns 10q, 10m, 10s, substrate positioning pins 10g, substrate positioning pins 10j, wall portions 70, wall portions 80, etc. that are made separately, the positional accuracy between the components can be improved. In addition, by reducing the number of components during manufacturing, the structure of the absolute encoder 100-2 can be simplified, thereby making it easy to assemble and thus shortening the manufacturing time, and also improving the reliability of the absolute encoder 100-2.

[0245] The magnetic sensor 40 is an example of a main shaft angle sensor. The magnetic sensor 40 is arranged at a predetermined interval just above the permanent magnet 9. The magnetic sensor 40 can detect and determine the rotation angle of the corresponding main shaft gear 1 by detecting the change in magnetic flux from the permanent magnet 9 caused by the rotation of the permanent magnet 9 rotating together with the main shaft gear 1, and can output angle information indicating the determined rotation angle as a digital signal.

[0246] The magnetic sensor 50 is an example of an angle sensor. In addition, the countershaft gear 5 is a rotating body that rotates with the rotation of the second driven gear, that is, the worm gear portion 5a. The magnetic sensor 50 is arranged just above the permanent magnet 8 at a predetermined interval. The magnetic sensor 50 can detect and determine the rotation angle of the corresponding countershaft gear 5 by detecting the change in the magnetic flux from the permanent magnet 8 caused by the rotation of the permanent magnet 8 rotating with the countershaft gear 5, and can output the angle information representing the determined rotation angle as a digital signal.

[0247] The magnetic sensor 40 and the magnetic sensor 50 are respectively provided with, for example, a detection element for detecting a change in magnetic flux and an operation circuit for outputting a digital signal representing a rotation angle according to the output of the detection element. The detection element may be, for example, a combination of multiple magnetic field sensing elements such as a Hall element and a GMR (Giant Magneto Resistive) element. The number of magnetic field sensing elements is, for example, four.

[0248] When the number of teeth of the worm gear portion 1d of the main shaft gear 1 is 4 and the number of teeth of the worm wheel portion 2a of the intermediate gear 2 is 20, the reduction ratio is 5. That is, if the main shaft gear 1 rotates 5 times, the intermediate gear 2 rotates once. In addition, when the number of teeth of the worm gear portion 2b of the intermediate gear 2 is 1 and the number of teeth of the worm wheel portion 5a of the counter shaft gear 5 is 18, the reduction ratio is 18. That is, if the intermediate gear 2 rotates 18 times, the counter shaft gear 5 rotates once. Therefore, if the main shaft gear 1 rotates 90 times, the intermediate gear 2 rotates 90÷5=18 times, and the counter shaft gear 5 rotates 18÷18=1 time.

[0249] The main shaft gear 1 and the counter shaft gear 5 are provided with permanent magnets 9 and 8 that rotate as one body. Therefore, the rotation angles of the main shaft gear 1 and the counter shaft gear 5 are detected by the magnetic sensors 40 and 50 corresponding thereto, and the rotation amount of the motor shaft 201 can be determined. If the main shaft gear 1 rotates once, the counter shaft gear 5 rotates 1 / 90 times, that is, it rotates 4 degrees. Therefore, when the rotation angle of the counter shaft gear 5 is less than 4 degrees, the rotation amount of the main shaft gear 1 is less than 1 rotation, and when the rotation angle of the counter shaft gear 5 is greater than 4 degrees and less than 8 degrees, the rotation amount of the main shaft gear 1 is greater than 1 rotation and less than 2 rotations. In this way, in the absolute encoder 100-2, the number of revolutions of the main shaft gear 1 can be determined according to the rotation angle of the counter shaft gear 5. In particular, in the absolute encoder 100 - 2 , by utilizing the reduction ratios between the worm gear 1 d and the worm wheel 2 a and between the worm gear 2 b and the worm wheel 5 a , the number of revolutions of the main shaft gear 1 can be determined even if the main shaft gear 1 rotates multiple times.

[0250] The microcomputer 21, the bidirectional driver 22, the line driver 23, and the connector 24 are mounted on the substrate 20. The microcomputer 21, the bidirectional driver 22, the line driver 23, and the connector 24 can be electrically connected via pattern wiring on the substrate 20.

[0251] The microcomputer 21 is composed of a CPU (Central Processing Unit), and can obtain digital signals indicating the rotation angles outputted from the magnetic sensor 40 and the magnetic sensor 50 , respectively, and calculate the rotation amount of the main shaft gear 1 .

[0252] The bidirectional driver 22 can communicate bidirectionally with an external device connected to the connector 24. The bidirectional driver 22 can convert data such as an operation signal into a differential signal and communicate with the external device. The line driver 23 can convert data representing the rotation amount into a differential signal and output the differential signal to the external device connected to the connector 24 in real time. The connector 24 is connected to a connector of an external device.

[0253] Fig.33 This is a diagram showing a functional configuration of a microcomputer 21 included in an absolute encoder 100 - 2 according to Embodiment 2 of the present invention. Fig.33 Each block of the microcomputer 21 shown represents a function realized by the CPU of the microcomputer 21 executing a program.

[0254] The microcomputer 21 includes a rotation angle acquisition unit 21p, a rotation angle acquisition unit 21q, a table processing unit 21b, a rotation amount determination unit 21c, and an output unit 21e. The rotation angle acquisition unit 21q acquires the rotation angle Aq of the main shaft gear 1 based on the signal output from the magnetic sensor 40. The rotation angle Aq is angle information indicating the rotation angle of the main shaft gear 1. The rotation angle acquisition unit 21p acquires the rotation angle Ap of the counter shaft gear 5 based on the signal output from the magnetic sensor 50. The rotation angle Ap is angle information indicating the rotation angle of the counter shaft gear 5. The table processing unit 21b can determine the number of revolutions of the main shaft gear 1 corresponding to the acquired rotation angle Ap by referring to a correspondence table storing the rotation angle Ap and the number of revolutions of the main shaft gear 1 corresponding to the rotation angle Ap. The rotation amount determination unit 21c can determine the rotation amount of the main shaft gear 1 for multiple rotations based on the number of revolutions of the main shaft gear 1 determined by the table processing unit 21b and the acquired rotation angle Aq. The output unit 21e can convert the rotation amount of the determined plurality of rotations of the main shaft gear 1 into information indicating the rotation amount and output the information.

[0255] like Fig.21 As shown in the figure, the countershaft gear 5 is arranged on the side of the intermediate gear 2 opposite to the mainshaft gear 1, so that the occurrence of magnetic interference that affects the magnetic sensors that do not correspond to the permanent magnets 8 and 9 can be reduced. In this way, with respect to the absolute encoder 100-2, by adopting a structure that can reduce the occurrence of magnetic interference, the size of the absolute encoder 100-2 in a plan view can be made relatively small. Therefore, not only can the absolute encoder 100-2 be miniaturized, but also the decrease in detection accuracy caused by the magnetic flux of each of the magnetic sensors 40 and 50 can be prevented.

[0256] Furthermore, in the absolute encoder 100-2 of the second embodiment, the intermediate gear 2 arranged in parallel with the upper surface of the main base 10 extends obliquely relative to the four sides of the main base 10, and the main shaft gear 1 and the counter shaft gear 5 are arranged on the opposite sides of the intermediate gear 2 relative to the intermediate gear 2. For this reason, the main shaft gear 1, the intermediate gear 2, and the counter shaft gear 5 can be arranged in a narrow area that is part of the entire area of ​​the upper surface of the main base 10, thereby reducing the size of the absolute encoder 100-2 relative to the horizontal direction.

[0257] In the absolute encoder 100 - 2 of Embodiment 2, the outer diameters of the worm wheel 2 a and the worm gear 2 b are set to be as small as possible. This can reduce the dimension of the absolute encoder 100 - 2 in the Z-axis direction (height direction).

[0258] As described above, the absolute encoder 100 - 2 according to the second embodiment has the effect of preventing the detection accuracy of the rotation amount of the main shaft gear 1 from being reduced and reducing the dimension in the Z-axis direction and the dimension in the direction perpendicular to the Z-axis direction.

[0259] In addition, in the absolute encoder 100-2 of embodiment 2, the intermediate gear 2 is axially supported relative to the shaft 4 respectively fixed to or inserted in the wall portion 80 and the wall portion 72, that is, it is rotatably supported, but the supporting method of the intermediate gear 2 is not limited to this as long as the intermediate gear 2 can be axially supported.

[0260] For example, the absolute encoder 100-2 may be configured such that one end 4a of the shaft 4 is inserted into the hole 10a formed in the wall portion 72, and the other end 4b of the shaft 4 is press-fitted and fixed in the hole 10b formed in the wall portion 80. In addition, the absolute encoder 100-2 may be configured such that the outer ring 3a of the bearing 3 is press-fitted and fixed to the press-fit portion 2d formed on the intermediate gear 2, and the shaft 4 is press-fitted and fixed to the inner ring 3b of the bearing 3. According to this, the movement of the intermediate gear 2 fixed to the shaft 4 in the axial direction Td can be restricted. When the absolute encoder 100-2 is configured in this way, the intermediate gear 2 can be axially supported by the shaft 4. In addition, the movement of the shaft 4 in the axial direction Td is restricted by the wall portion 72 and the wall portion 80, and the movement of the intermediate gear 2 in the axial direction is also restricted by the inner ring 3b of the bearing 3 fixed to the shaft 4. Therefore, it is not necessary to provide the leaf spring 11.

[0261] In addition, the absolute encoder 100-2 may be configured, for example, not to use Fig. 22 Instead of the bearing 3 shown in the figure, the shaft 4 is axially supported by a bearing (not shown) provided on at least one of the wall portion 72 and the wall portion 80 in a state where the intermediate gear 2 is fixed to the shaft 4.

[0262] When the outer ring of the bearing not shown in the figure is fixed to the wall portion 72 or the wall portion 80, and one end 4a or the other end 4b of the shaft 4 is inserted into the inner ring, the intermediate gear 2 is fixed to the shaft 4, and the shaft 4 is axially supported by the bearing not shown in the figure, so the shaft 4 and the intermediate gear 2 can rotate integrally. In this case, the shaft 4 is not fixed to the inner ring of the bearing, but is only inserted into the inner ring, so the shaft 4 can move in the axial direction Td together with the intermediate gear 2. For this purpose, it is necessary to provide a leaf spring 11 for applying force to the intermediate gear 2 in the axial direction Td to limit the position.

[0263] Alternatively, the outer ring of the bearing not shown in the figure can be fixed to the wall portion 72 or the wall portion 80, and the inner ring not shown in the figure can be press-fitted into one end 4a or the other end 4b of the shaft 4. In this case, the movement of the intermediate gear 2 fixed on the shaft 4 in the axial direction Td can be restricted. For this reason, the bearing not shown in the figure can not only rotatably support the intermediate gear 2 fixed on the shaft 4, but also restrict the movement of the shaft 4 in the axial direction Td, so the movement of the intermediate gear 2 in the axial direction Td can also be restricted. Therefore, it is not necessary to provide the leaf spring 11.

[0264] like Fig.24 As shown, the magnetic sensor 40 originally detects and determines the rotation angle of the main shaft gear 1 by detecting the change of the magnetic flux from the permanent magnet 9 rotating together with the main shaft gear 1. Fig.25 As shown, the magnetic sensor 50 detects the change in the magnetic flux of the permanent magnet 8 rotating together with the counter gear 5, thereby detecting and determining the rotation angle of the counter gear 5. As described above, the absolute encoder 100-2 of the second embodiment can reduce the influence of the magnetic flux from the permanent magnet 8 on the magnetic sensor 40 by adopting a structure that can reduce the occurrence of magnetic interference. In addition, the influence of the magnetic flux from the permanent magnet 9 on the magnetic sensor 50 can also be reduced. That is, the decrease in the detection accuracy of the rotation caused by the mutual magnetic interference between the main shaft gear 1 and the counter shaft gear 5 can be prevented.

[0265] Fig.34 This is a diagram showing a permanent magnet 9A applicable to the absolute encoders 100 - 1 and 100 - 2 of the first and second embodiments. Fig.35 This is a diagram showing a permanent magnet 9B applicable to the absolute encoders 100 - 1 and 100 - 2 of the first and second embodiments. Fig.34 A permanent magnet 9A of a first configuration example is shown. In the permanent magnet 9A, a first magnetic pole portion N of a first polarity and a second magnetic pole portion S of a second polarity different from the first polarity are arranged in a radial direction D1 of the permanent magnet 9A. Fig.35A permanent magnet 9B of a second configuration example is shown. In the permanent magnet 9B, the first magnetic pole portion N and the second magnetic pole portion S are arranged along the axial direction D2 of the permanent magnet 9B in the left half of the figure, with the center of the permanent magnet 9B as the boundary, and on the other hand, in the right half of the figure, the first magnetic pole portion N and the second magnetic pole portion S are arranged in the axial direction D2 of the permanent magnet 9 in the figure in the direction opposite to the left half. Fig.34 and Fig.35 The arrow "DM" shown in represents the magnetization direction.

[0266] Both permanent magnet 9A and permanent magnet 9B can be used as permanent magnet 9 of absolute encoder 100-1, 100-2 of embodiments 1 and 2. However, in permanent magnet 9B, the magnetic field formed by multiple magnetic lines of force is distributed more widely along axial direction D2 than the magnetic field generated by permanent magnet 9A. In contrast, in permanent magnet 9A, the magnetic field formed by multiple magnetic lines of force is distributed more widely along radial direction D1 than the magnetic field generated by permanent magnet 9B. For this reason, when permanent magnet 9A is used in absolute encoder 100-1, 100-2 of embodiments 1 and 2, magnetic interference is easily generated by the magnetic field generated by permanent magnet 9A more widely on the outside in the radial direction, which is the magnetic flux that affects other magnetic sensors as described above.

[0267] In the absolute encoders 100-1 and 100-2 of the modified examples of the first and second embodiments, when the permanent magnet 9B is used as the permanent magnet 9, the leakage flux generated from the permanent magnet 9 flows into the magnetic sensor 50 less than when the permanent magnet 9A is used. In addition, when the permanent magnet 9B is used as the permanent magnet 8, the leakage flux generated from the permanent magnet 8 flows into the magnetic sensor 40 less than when the permanent magnet 9A is used. As a result, the decrease in the detection accuracy of the rotation angle or the rotation amount of the counter shaft gear 5 or the main shaft gear 1 can be reduced. In addition, by reducing the decrease in the detection accuracy of the rotation angle or the rotation amount, the absolute encoders 100-1 and 100-2 can be further miniaturized.

[0268] It should be noted that the absolute encoder 100-1 of the first embodiment is configured such that the central axes of the permanent magnet 8 and the magnet holder 6 are aligned with each other. Fig.36 The permanent magnet 8 and the magnet holder 6 shown in the figure are similarly aligned with each other. In addition, the absolute encoder 100-1 of the first embodiment is configured so that the central axes of the permanent magnet 17 and the second counter gear 138 are aligned with each other. Fig.36 The permanent magnet 8 and the magnet holder 6 shown in the figure are also aligned with each other. In addition, the absolute encoder 100-1 of the first embodiment is further configured so that the central axes of the permanent magnet 9 and the main shaft gear 1 are aligned with each other. Fig.37The permanent magnet 9 and the main shaft gear 1 shown are also aligned with each other. With this configuration, the absolute encoder 100 - 1 of the first embodiment can detect the rotation angle or the rotation amount with higher accuracy.

[0269] The method for fixing the substrate 120 described in the first embodiment can be applied to any absolute encoder as long as the absolute encoder is configured to fix a circuit substrate provided with a sensor for detecting at least the rotation amount of a rotating body to the front end surfaces of each of a plurality of support portions. For example, the method for fixing the substrate 120 described in the first embodiment can also be applied to an absolute encoder in combination with a Figure 17 to Figure 33 The absolute encoder 100 - 2 of the second embodiment is described.

[0270] For example, Fig.38 This is a bottom view showing the arrangement of the first fixing portion 20A and the second fixing portion 20B of the substrate 20 of the absolute encoder 100 - 2 according to the second embodiment (ie, a rectangular absolute encoder with a side length of 25 mm in a plan view when viewed from above or below).

[0271] In the absolute encoder 100-2 of the second embodiment, as Fig.24 As shown, the detection surface (lower surface) of the magnetic sensor 40 provided on the substrate 20 and the upper surface 9a of the permanent magnet 9 provided on the main shaft gear 1 are parallel to each other. Accordingly, the rotation angle of the main shaft gear 1 (an example of a "rotating body") can be detected with high precision by the magnetic sensor 40.

[0272] On the other hand, in the absolute encoder 100-2 of the second embodiment, as shown in FIG. Fig.19 and Fig. 20 As shown in FIG. 1 , the main base 10 is provided with a column 10m, a column 10q, and a column 10s. Fig.18 As shown, a structure is adopted in which three fixing portions of the base plate 20 are screw-fixed to the column 10m, the column 10q, and the column 10s by the base plate mounting screws 13 (an example of the "fixing means").

[0273] To this end, with regard to the absolute encoder 100-2 of embodiment 2, if the heights of the substrate 20 at the three fixed portions of the substrate 20 are different from each other, the substrate 20 will tilt, causing the detection surface of the magnetic sensor 40 and the upper surface 9a of the permanent magnet 9 to no longer be parallel to each other, and the distance accuracy between the detection surface of the magnetic sensor 40 and the upper surface 9a of the permanent magnet 9 will also deteriorate, so that there is a risk that the detection accuracy of the magnetic sensor 40 may be reduced.

[0274] In particular, in the absolute encoder 100-2 of embodiment 2, one of the three fixed parts of the substrate 20 has a connection terminal that is screwed by the substrate mounting screw 13 and is also grounded. Since the structure of the fixed part of the substrate 20 having the connection terminal is different from the structure of other fixed parts of the substrate 20, it is easy to cause the height of the fixed part to be different from the height of other fixed parts.

[0275] For this reason, in the absolute encoder 100-2 of the second embodiment, as described below, in order to make the height positions of the three fixing parts of the substrate 20 equal to each other, a structure is adopted in which the substrate 20 can be fixed to the pillars 10m, 10q, and 10s. In this way, in the absolute encoder 100-2 of the second embodiment, the substrate 20 can be fixed in a horizontal state, so that the detection surface of the magnetic sensor 40 and the upper surface 9a of the permanent magnet 9 can be parallel to each other. Therefore, the absolute encoder 100-2 of the second embodiment can suppress the reduction of the detection accuracy of the magnetic sensor 40.

[0276] Specifically, if Fig.38 As shown, the substrate 20 included in the absolute encoder 100 - 2 has two first fixing portions 20A and one second fixing portion 20B.

[0277] The first fixing portion 20A has a through hole 20A1 penetrating the substrate 20 in the vertical direction (Z-axis direction in the figure) and is screwed to the first support portion 10A of the main base 10 by a substrate mounting screw 13 penetrating the through hole 20A1 from top to bottom. Fig.38 In the example shown, the holes 20c and 20d of the three holes 20c, 20e and 20d of the substrate 20 correspond to the through holes 20A1 of the first fixing portion 20A. Therefore, the first support portion 10A corresponds to the columns 10q and 10s of the columns 10m, 10q and 10s of the main base 10.

[0278] The second fixing portion 20B includes a through hole 20B1 penetrating the substrate 20 in the vertical direction (Z-axis direction in the figure) and a connection terminal 20h (see Fig.13 ), and is screwed and grounded to a portion of the second support portion 10B of the main base 10 by a substrate mounting screw 13 that penetrates the connection terminal 20h from top to bottom in the through hole 20B1. Fig.38 In the example shown, the hole 20e among the three holes 20c, 20e, and 20d of the substrate 20 corresponds to the through hole 20B1 of the second fixing portion 20B. Therefore, the second support portion 10B corresponds to the column 10m among the columns 10m, 10q, and 10s of the main base 10.

[0279] With respect to the substrate 20 possessed by the absolute encoder 100-2 constructed in this way, as in the first embodiment, an adjustment portion 20C or an adjustment portion 20D is provided on each of the two first fixing portions 20A so that the height position of each of the two first fixing portions 20A is equal to the height position of the second fixing portion 20B, thereby enabling the substrate 20 to be fixed in a horizontal state.

[0280] As a result, in the absolute encoder 100-2 of the second embodiment, Fig.24 As shown, the detection surface of the magnetic sensor 40 provided on the substrate 20 and the upper surface 9a of the permanent magnet 9 provided on the main shaft gear 1 are parallel to each other, and the distance between the two can be kept at a certain distance with high accuracy. Therefore, according to the absolute encoder 100-2 of the second embodiment, the reduction in the detection accuracy of the magnetic sensor 40 can be suppressed.

[0281] It should be noted that, in the absolute encoder 100-2 of the second embodiment, similarly to the absolute encoder 100-1 of the second embodiment, as the adjustment unit 20D, it is also possible to use Fig.15 and Fig.16 A dummy wiring layer (or dummy connection terminal) is shown.

[0282] In addition, it should be noted that, in Embodiment 1 and Embodiment 2, a screw is used as an example of a "fixing unit", but the present invention is not limited to this. For example, a rivet or the like may also be used as a "fixing unit". In addition, in Embodiment 1 and Embodiment 2, a protective layer and a wiring layer are used as an example of an "adjustment portion", but the present invention is not limited to this. For example, a gasket or the like may also be used as an "adjustment portion". However, by using a protective layer or a wiring layer as an "adjustment portion", the "adjustment portion" may be formed integrally with the protective layer or the wiring layer formed on the substrate.

[0283] It should be noted that the structure described in the above embodiment is only an example of the content of the present invention, and can also be combined with other known technologies. Without departing from the scope of the main purpose of the present invention, part of the structure can be omitted and changed.

[0284] It should be noted that the present application claims priority based on Japanese Patent Application No. 2019-068117 filed on March 29, 2019, and the contents of the Japanese Patent Application are incorporated herein by reference in their entirety.

[0285] [Explanation of Reference Numerals]

[0286] 1 Main shaft gear, 1a 1st cylindrical portion, 1b 2nd cylindrical portion, 1c communicating portion, 1d worm gear portion, 1e bottom surface, 1f press-fit portion, 1g bottom surface, 1h magnet holding portion, 2 Intermediate gear, 2a worm wheel portion, 2b worm gear portion, 2c bearing portion, 2d press-fit portion, 2e sliding portion, 2f bottom surface, 2g through hole, 2h 3rd worm gear portion, 3 Bearing, 3a outer ring, 3b inner ring, 3c side surface, 3d side surface, 4 Shaft, 4a one end, 4b the other end, 5 Counter shaft gear, 5-1 upper surface, 5a worm wheel portion, 5b through hole, 6 Magnet seat, 6a magnet holding portion, 6b shaft portion, 6c head portion, 7 Bearing, 7a outer ring, 7b inner ring, 8 magnet, 8a surface, 9 permanent magnet, 9A permanent magnet, 9B permanent magnet, 9a upper surface, 9b lower surface, 10 main base, 10-1 opening, 10-1a wall surface, 10-2 lower surface, 10-3a wall surface, 10a hole, 10aa recess, 10ab recess, 10ac recess, 10ad mounting surface, 10ae screw hole, 10b hole, 10c contact surface, 10d bearing seat, 10da lower part, 10db upper part, 10dc inner peripheral surface, 10e leaf spring mounting surface, 10f screw hole, 10g substrate positioning pin, 10g1 base, 10h front end, 10i step difference, 10j substrate positioning pin, 10j 1 base, 10k front end, 10l step portion, 10m column, 10p upper end surface, 10q column, 10r upper end surface, 10s column, 10t upper end surface, 10u screw hole, 10v screw hole, 10w screw hole, 11 leaf spring, 11a sliding portion, 11b mounting portion, 11c hole, 11d base, 12 screw, 13 substrate mounting screw, 14 screw, 15 shell, 15-1 upper surface portion, 1 5A first side portion, 15B second side portion, 15C third side portion, 15D fourth side portion, 15a claw portion, 15b claw portion, 15c claw portion, 15d hole, 15e recessed portion, 15f recessed portion, 15g recessed portion, 15h connector shell portion, 15i opening portion, 16 mounting screw, 17 permanent magnet, 20 substrate, 20-1 lower surface, 20-2 upper surface, 20a positioning hole, 20b positioning hole, 20c hole, 20d hole, 20e hole, 21 microcomputer, 21b table processing unit, 21c rotation amount determination unit, 21e output unit, 21p rotation angle acquisition unit, 21q rotation angle acquisition unit, 22 bidirectional driver, 23 line driver, 24 connector, 40 magnetic sensor, 40a surface, 50 magnetic sensor, 50a surface, 60 base, 61 magnetic flux shielding unit, 61a first plate surface, 61b second plate surface, 61c first end surface, 61d second end surface, 61e third end surface, 62 magnetic flux shielding unit, 62a first plate surface, 62b second plate surface, 62c first end surface, 62d second end surface, 62e third end surface, 164 screw, 70 wall, 71 wall, 72 wall, 73 side surface, 80 wall, 90 magnetic sensor, 100-1 absolute encoder, 100-2 absolute encoder,101 main shaft gear, 101a first cylindrical portion, 101b disk portion, 101c worm gear portion, 101d magnet holding portion, 102 first intermediate gear, 102a worm wheel portion, 102b first worm gear portion, 102c base portion, 102d first cylindrical portion, 102e second cylindrical portion, 102f third cylindrical portion, 102g hemispherical protrusion, 102h second worm gear portion, 102i sliding portion, 105 first countershaft gear, 105a worm wheel portion, 105b bearing portion, 105c disk portion, 105d holding portion holding portion, 106 shaft, 110 main base, 110a base, 110b support portion, 110c support portion, 107 blocking ring, 108 blocking ring, 110-1 opening portion, 110-1a wall surface, 111 leaf spring, 111a sliding portion, 111b mounting portion, 115 shell portion, 115a outer wall portion, 115b outer wall portion, 115c outer wall portion, 115d outer wall portion, 116 cover portion, 120 substrate, 121 microcomputer, 121b table processing portion, 121c rotation amount determination portion, 121e output part, 121p rotation angle acquisition part, 121q rotation angle acquisition part, 121r rotation angle acquisition part, 133 second intermediate gear, 133a worm gear part, 133b bearing part, 133c extension part, 133d fourth drive gear part, 138 second countershaft gear, 138a fourth driven gear part, 138b bearing part, 138c extension part, 138d magnet holding part, 139 shaft, 141 support, 200 motor, 201 motor shaft, 202 frame, 202a cutout part, 301 first side, 30 2 the second side, 303 the third side, 304 the fourth side, 400 the connector, 500 the magnetic flux shielding part, 500a the first plate surface, 500b the second plate surface, 500c the first end surface, 500d the second end surface, 500e the third end surface, 501 the magnetic flux shielding part, 501a the front end surface, 502 the magnetic flux shielding part, 502a the front end surface, Td the axial direction of the intermediate gear 2 or the shaft 4, 20A the first fixing part, 20B the second fixing part, 20C, 20D the adjusting parts, 10A the first supporting part, 10B the second supporting part. ,

Claims

1. An absolute encoder, characterized in that: have: a circuit substrate fixed by a fixing unit to the front end surface of each of a plurality of support portions which are arranged in an axial direction of the rotating shaft of the motor and are separated from the rotating shaft and extend from the motor side; and A sensor is arranged on the circuit substrate opposite to a rotating body that rotates along with the rotation of the rotating shaft to detect the rotation amount of the rotating body. Wherein, the circuit substrate comprises: A first fixing portion fixed to the front end surface by the fixing unit; and a second fixing portion fixed and grounded to the front end surface by the fixing unit, The first fixing portion has: an adjusting portion, located between the circuit substrate and the front end surface, and adjusting the distance between the circuit substrate and the front end surface so that the height position of the circuit substrate in the first fixing portion is equal to the height position of the circuit substrate in the second fixing portion, The adjustment portion is a protection layer formed on the surface of the circuit substrate between the surface and the front end surface.

2. The absolute encoder according to claim 1, characterized in that: a circuit substrate fixed by a fixing unit to the front end surface of each of a plurality of support portions which are arranged in an axial direction of the rotating shaft of the motor and are separated from the rotating shaft and extend from the motor side; and A sensor is arranged on the circuit substrate opposite to a rotating body that rotates along with the rotation of the rotating shaft to detect the rotation amount of the rotating body. Wherein, the circuit substrate comprises: A first fixing portion fixed to the front end surface by the fixing unit; and a second fixing portion fixed and grounded to the front end surface by the fixing unit, The first fixing portion has: an adjusting portion, located between the circuit substrate and the front end surface, and adjusting the distance between the circuit substrate and the front end surface so that the height position of the circuit substrate in the first fixing portion is equal to the height position of the circuit substrate in the second fixing portion, The second fixing portion has: a connecting terminal fixed and grounded to the front end surface by the fixing unit, The adjustment portion has a thickness equal to a thickness of a portion of the connection terminal that protrudes from the circuit substrate toward the front end surface.

3. The absolute encoder according to claim 2, characterized in that: The adjustment portion is a wiring layer formed on the surface of the circuit substrate between the surface and the front end surface.

4. The absolute encoder according to claim 3, characterized in that: The adjustment portion is a dummy wiring layer that is not connected to any other wiring layer formed on the surface of the circuit substrate.