Press-fitting device, press-fitting method, manufacturing method of encoder, learning device, and inference device

The press-fitting device addresses precision issues in existing technologies by using a two-stage press-fitting head with measurement and control units to directly measure and adjust stroke amounts, achieving accurate alignment and reducing errors in the press-fitting process.

JP2024126421AActive Publication Date: 2024-09-20MITSUBISHI ELECTRIC CORP

Patent Information

Application Number
JP2023034786
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-07
Publication Date
2024-09-20
Estimated Expiration
2043-03-07

AI Technical Summary

Technical Problem

Existing press-fitting devices, such as described in Patent Document 1, suffer from reduced precision due to indirect measurement of elastic deformation, leading to inaccurate press-fitting of components.

Method used

A press-fitting device that includes a press-fitting head with a two-stage structure, a position measuring unit, and a load detecting unit, controlled by a control unit to perform precise press-fitting by measuring relative distances and loads, allowing for accurate alignment and adjustment of stroke amounts during multiple press-fitting stages.

Benefits of technology

The device enables high-precision press-fitting of components by directly measuring elastic deformation and adjusting stroke amounts, ensuring accurate alignment and reducing errors in the press-fitting process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024126421000001
    Figure 2024126421000001
Patent Text Reader

Abstract

To obtain a press-fitting device which enables a press-fitting component to be press-fitted in a press-fitted component with high accuracy.SOLUTION: A press-fitting device 100 includes a measuring unit 70 having: a position measuring unit configured to measure a relative distance between a position of an end surface at a direction opposite to a press-fitting direction (a press-fitting opposite direction) side which faces the opposite side of the press-fitting direction in an outer peripheral side component, which is integrated with a press-fitted component and disposed at the outer periphery side of a press-fitting component and the press-fitted component, in a direction along the press-fitting direction and a position of a press-fitting head reference position, which is located at the press-fitting opposite direction relative to the end surface at the press-fitting opposite direction side of the outer peripheral side component in a press-fitting head 63 during press-fitting, in the direction along the press-fitting direction; and a load cell 64 which detects a load applied to the press-fitting head 63. A control unit 90 controls first press-fitting in which the press-fitting component is press-fitted with a first stroke amount which is determined based on the relative distance and smaller than a target press-fitting amount and controls second press-fitting in which the press-fitting component is press-fitted with a second stroke amount determined based on information on the first press-fitting obtained from the measuring unit 70.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a press-fitting device that presses a press-fit part into a press-received part, a press-fitting method, a manufacturing method for an encoder, a learning device, and an inference device. [Background technology]

[0002] Patent Document 1 describes a press-fitting device that measures the press-fit amount and press-fitting load, performs press-fitting in multiple steps, and performs press-fitting while taking into account the derived deformation amount after press-fitting to derive the deformation amount of the press-fitted part against the press-fitting load. The press-fitting device in Patent Document 1 measures the position of the end face of the press-fitted part relative to the reference surface of the press-fitting device. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2004-25378 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the press-fitting device of Patent Document 1, the sum of the elastic deformation amount of the part to be pressed in and the press-fit amount is measured by a position sensor, and the elastic deformation amount is derived from the sum. In this way, in the press-fitting device of Patent Document 1, the elastic deformation amount cannot be measured directly, but is a predicted value. In other words, in the press-fitting device of Patent Document 1, press-fitting is performed based on the predicted value, which causes a problem of reduced press-fitting accuracy.

[0005] The present disclosure has been made in consideration of the above, and has an object to provide a press-fitting device that can press-fit a press-fit part into a part to be pressed in with high accuracy. [Means for solving the problem]

[0006] In order to solve the above-mentioned problems and achieve the object, a press-fitting device according to the present disclosure is a press-fitting device that presses a press-fit part into a press-received part by a target press-fit amount. The press-fitting device includes a press-fitting head that holds the press-fit part on an end face facing a press-fitting direction, which is a direction in which the press-fit part is pressed into the press-received part, and a press-fitting drive unit that drives the press-fitting head in the press-fitting direction to press the press-fit part into the press-received part. The press-fitting device includes a measuring unit that measures a relative distance between a position in a direction along the press-fitting direction of an end face on the counter-press-fitting direction side of an outer peripheral part that is integrated with a press-fitted part and disposed on the outer peripheral side of the press-fitted part and the press-fitted part during press-fitting, and a position in a direction along the press-fitting direction of a press-fitting head reference position that is located on the counter-press-fitting direction side of the end face on the counter-press-fitting direction side of the outer peripheral part in the press-fitting direction when the press-fitted part is pressed into the press-fitted part, and a load detecting unit that detects a load applied to the press-fitting head. The press-fitting device includes a control unit that controls the press-fitting drive unit based on information acquired by the measuring unit to control the movement of the press-fitting head in the press-fitting direction. The control unit controls a first press-fitting to press-fit the press-fitted part with a first stroke amount that is smaller than a target press-fit amount determined based on the relative distance, and controls a second press-fitting to press-fit the press-fitted part with a second stroke amount determined based on information acquired from the measuring unit for the first press-fitting. Effect of the Invention

[0007] The press-fitting device according to the present disclosure has an advantage that the press-fitting component can be press-fitted into the press-received component with high accuracy. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a vertical cross-sectional view showing a schematic structure of an optical encoder according to a first embodiment; [Diagram 2] FIG. 1 is a longitudinal sectional view showing an outline of an assembly structure of an optical encoder according to a first embodiment; [Diagram 3] FIG. 1 is a front view of a press-fitting device according to a first embodiment; [Figure 4] FIG. 1 is a side view of a press-fitting device according to a first embodiment; [Diagram 5]1 is a flowchart showing a procedure of a press-fitting operation of a press-fitting device according to a first embodiment. [Figure 6] FIG. 1 is an enlarged longitudinal sectional view of a measurement point in a press-fitting device according to a first embodiment; [Figure 7] FIG. 1 is an enlarged cross-sectional view of a measurement point in a press-fitting device according to a first embodiment. [Figure 8] FIG. 1 is a conceptual diagram for explaining dimensions managed in a press-fitting device according to a first embodiment; [Figure 9] FIG. 13 is a diagram showing a configuration of a learning device according to a second embodiment; [Figure 10] 11 is a flowchart showing a procedure of a learning process performed by the learning device according to the second embodiment. [Figure 11] FIG. 13 is a diagram showing a configuration of a neural network used by a learning device according to a second embodiment; [Figure 12] FIG. 13 is a diagram showing a configuration of an inference device according to a second embodiment. [Figure 13] 11 is a flowchart showing a procedure of an inference process performed by the inference device according to the second embodiment. [Figure 14] FIG. 1 is a diagram showing a configuration in which the functions of a control unit according to the first and second embodiments are realized by hardware. [Figure 15] FIG. 1 is a diagram showing a configuration in which the functions of a control unit according to the first and second embodiments are realized by software. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, a press-fitting device, a press-fitting method, an encoder manufacturing method, a learning device, and an inference device according to embodiments will be described in detail with reference to the drawings.

[0010] Embodiment 1 FIG. 1 is a vertical cross-sectional view showing a schematic structure of an optical encoder according to a first embodiment. FIG. 1 shows a state in which an optical encoder 10 is fixed to a motor 20. In the first embodiment, the left-right direction in FIG. 1 is the X-axis direction. The depth direction of the paper in FIG. 1 is the Y-axis direction. The up-down direction in FIG. 1 is the Z-axis direction. The X-axis direction is a direction perpendicular to the Y-axis direction and the Z-axis direction. The Y-axis direction is a direction perpendicular to the X-axis direction and the Z-axis direction. The Z-axis direction is a direction perpendicular to the X-axis direction and the Y-axis direction. The Z-axis direction is a direction along the axial direction of a rotating shaft 21 of the motor 20.

[0011] The optical encoder 10 is composed of a housing 11 that forms the outer shell of the optical encoder 10, a mirror receiver 12 that is a disk-shaped base component that supports the optical components of the optical encoder 10, a concave mirror 13 fixed and held by the mirror receiver 12, a scale disk 15 that is fixed to the concave mirror 13 and has translucency, and a substrate 17 fixed to the housing 11.

[0012] The housing 11 has a cylindrical shape and is fixed to a motor body 22 of the motor 20 to which the optical encoder 10 is fixed. The housing 11 is integrated with the motor 20, which is a part to be pressed in, in a press-fitting device 100 described later, and can be said to be an outer periphery part that is arranged on the outer periphery of the mirror receiver 12 and the rotating shaft 21 of the motor 20 when the mirror receiver 12 is pressed in.

[0013] The substrate 17 is fixed to the housing 11, and is fixed to a motor body 22 of the motor 20 via the housing 11. A light receiving element 18 and a light emitting diode (LED) 19 are provided on a surface of the substrate 17 facing the motor 20 in the Z-axis direction.

[0014] A light ray 31 emitted from the LED 19 toward the concave mirror 13 is reflected by the concave mirror 13, which is provided with a reflective film 14. A light ray 32, which is the reflected light ray 31, is collimated by the concave mirror 13 to become a parallel light ray. The light ray 32 is applied to almost the entire surface of the scale disk 15 facing the concave mirror 13 in the Z-axis direction, and is then incident on the scale disk 15.

[0015] The scale disk 15 has a slit 16, which is made up of a transparent portion and a non-transparent portion (not shown), on a surface facing the substrate 17 in the Z-axis direction. The light beam 32 transmitted through the scale disk 15 is encoded by the slit 16 and detected by the light receiving element 18.

[0016] The mirror receiver 12, the concave mirror 13 and the scale disk 15 are fixed to a rotating shaft 21 of a motor 20 to which the optical encoder 10 is fixed.

[0017] 2 is a vertical cross-sectional view showing an outline of the assembly structure of the optical encoder according to the first embodiment. In assembling the optical encoder 10, first, the housing 11 is fixed to the motor body 22 of the motor 20, and then the mirror receiver 12 is press-fitted onto the rotating shaft 21 of the motor 20. Next, the concave mirror 13 is fixed to the upper surface of the mirror receiver 12 using an adhesive 34. Next, the scale disk 15 is fixed to the upper surface of the concave mirror 13 using an adhesive 35. Finally, the substrate 17 is fixed to the upper surface of the housing 11 using an adhesive 36.

[0018] In order for the light beam 32 to become parallel, the LED 19 needs to be placed at the focal height of the concave mirror 13 in the Z-axis direction. The relative distance between the LED 19 and the concave mirror 13 is determined by the amount of press-fitting of the mirror receiver 12. The accuracy of press-fitting the mirror receiver 12 onto the rotating shaft 21 of the motor 20 affects the quality of the optical encoder 10. For this reason, the mirror receiver 12 needs to be press-fitted with an accuracy of, for example, 10 μm.

[0019] In the following, the press-in amount is the amount by which the mirror receiver 12 is pressed into the rotating shaft 21 of the motor 20 in the Z-axis direction as a result of the press-in driving unit 60 operating under the control of the control unit 90, and is a value obtained from a measurement. The target press-in amount is the amount by which the optical encoder 10 satisfies the product function. The stroke amount is the amount by which the control unit 90 drives the press-in driving unit 60 to lower the press-in head 63 in order to obtain the target press-in amount of the mirror receiver 12, and is an instruction value that indicates the amount by which the press-in head 63 is lowered.

[0020] Fig. 3 is a front view of the press-fitting device according to the first embodiment. Fig. 4 is a side view of the press-fitting device according to the first embodiment. Fig. 4 shows the press-fitting device 100 as viewed from the right side in Fig. 3. Note that the control unit 90 is illustrated shifted from its position in Fig. 3 for ease of illustration. The press-fitting device 100 according to the first embodiment is an encoder press-fitting device for press-fitting the mirror receiver 12 of the optical encoder 10 into the tip of the rotating shaft 21 of the motor 20.

[0021] The press-fitting device 100 includes a frame 50, a press-fitting driving unit 60, a measuring unit 70, and a control unit 90.

[0022] The frame 50 includes a base plate 51, a top plate 53, columns 52 connecting the base plate 51 and the top plate 53, and a motor support 54 that is installed on the base plate 51 and on which the motor 20 is placed and that holds the motor 20.

[0023] The press-fit driving unit 60 performs a press-fitting operation for press-fitting the mirror receiver 12 of the optical encoder 10 into the tip of the rotating shaft 21 of the motor 20. The press-fit driving unit 60 is installed on the top plate 53, and includes a press-fitting rod 61, a press-fitting motor 62 which is a driving unit that drives the press-fitting rod 61 in the press-fitting direction, a press-fitting head 63 which is a holding unit attached to the end face of the press-fitting rod 61 on the press-fitting direction side and holds the mirror receiver 12 which is a press-fit part, and a load cell 64 which is a load detection unit that measures the load applied to the press-fitting head 63.

[0024] The press-fitting direction is the direction in which the mirror receiver 12 of the optical encoder 10 is press-fitted into the tip of the rotating shaft 21 of the motor 20, the downward direction in the up-down direction, the direction toward the motor 20 in the Z-axis direction, and the direction along the axial direction of the rotating shaft 21 of the motor 20, which will be described later. The direction opposite to the press-fitting direction in the Z-axis direction is defined as the counter press-fitting direction.

[0025] The press-fitting head 63 is equipped with a vacuum suction mechanism (not shown) and holds the mirror receiver 12 on the end face on the press-fitting direction side by vacuum suction. The press-fitting head 63 is composed of a first press-fitting head part 631 and a second press-fitting head part 632, each having a cylindrical shape with different diameters. In other words, the press-fitting head 63 has a two-stage structure in which two stages of cylinders with different diameters are stacked on top of each other. The end face on the press-fitting direction side is a press-fitting direction side end face 632a, which is an end face on the press-fitting direction side that faces the press-fitting direction, which is the direction in which the mirror receiver 12 is press-fitted into the tip of the rotating shaft 21 of the motor 20.

[0026] The first press-fit head portion 631 is a columnar portion that has a relatively large diameter and is disposed on the load cell 64 side in the Z-axis direction and attached to the load cell 64. The diameter of the first press-fit head portion 631 attached to the load cell 64 is approximately the same as the diameter of the cylindrical shape of the housing 11.

[0027] The second press-fit head portion 632 is a cylindrical portion that has a relatively small diameter and is disposed on the mirror receiver 12 side in the Z-axis direction and is in contact with the mirror receiver 12. The diameter of the second press-fit head portion 632 that is in contact with the mirror receiver 12 is the same as the diameter of the disk shape of the mirror receiver 12.

[0028] The load cell 64 detects the load applied to the press-fit head 63 and the mirror receiver 12 at a predetermined period during a press-fit operation for press-fitting the mirror receiver 12 of the optical encoder 10 into the tip of the rotating shaft 21 of the motor 20. The load cell 64 transmits information on the detected load applied to the press-fit head 63 to the control unit 90.

[0029] The measuring unit 70 includes a Y-axis actuator 71, a Z-axis actuator 72, a motor chuck 73, and a laser line sensor 80.

[0030] Y-axis actuator 71 is attached to Z-axis actuator 72, and moves freely in the Y-axis direction in accordance with the width of motor 20 to which optical encoder 10 is attached. The width of motor 20 is the width of motor body 22 in a plane direction perpendicular to rotation shaft 21 of motor 20. A laser line sensor 80 is mounted on Y-axis actuator 71.

[0031] The Y-axis actuator 71 holds a light projector 81 and a light receiver 82 (described later) of the laser line sensor 80 at a distance from each other on the XY plane. The Y-axis actuator 71 includes a first Y-axis actuator portion 71a on which the light projector 81 is placed and held, and a second Y-axis actuator portion 71b on which the light receiver 82 is placed and held. The first Y-axis actuator portion 71a and the second Y-axis actuator portion 71b may be provided connected to each other and attached to the Z-axis actuator 72, or may be provided independently of each other and attached to the Z-axis actuator 72.

[0032] The Z-axis actuator 72 moves freely in the Z-axis direction in accordance with the height of the motor 20 to which the optical encoder 10 is attached. The height of the motor 20 is the length of the motor 20 in the Z-axis direction. A Y-axis actuator 71 and a motor chuck 73 are mounted on the Z-axis actuator 72.

[0033] The motor chuck 73 fixes and holds the motor 20 arranged on the surface plate 51 .

[0034] The laser line sensor 80 includes a projector 81 that emits laser light 83, and a receiver 82 that detects the laser light 83 emitted from the projector 81. The projector 81 is mounted on the first Y-axis actuator section 71a. The receiver 82 is mounted on the second Y-axis actuator section 71b. In the press-fitting device 100, the laser line sensor 80 emits laser light 83 from the projector 81 toward the object to be measured, and detects the laser light 83 that has passed through to the receiver 82 side without being reflected by the object to be measured, thereby measuring the position of the portion in the Z-axis direction through which the laser light 83 has passed.

[0035] Specifically, the light projector 81 irradiates a sheet-like laser light 83 parallel to the press-fitting direction toward the press-fitting head 63 and the housing 11, which is an outer peripheral part. The light receiver 82 detects the amount of received laser light 83 to measure the position of the anti-press-fitting side surface 11a of the housing 11 in the direction along the press-fitting direction and the position of the step surface 63a of the press-fitting head 63, which is the press-fitting head reference position, in the direction along the press-fitting direction.

[0036] The control unit 90 controls the press-fitting motor 62 based on information from the load cell 64 and the laser line sensor 80. That is, the control unit 90 controls the press-fitting driving unit 60 based on information acquired by the measuring unit 70 to control the movement of the press-fitting head 63 in the press-fitting direction.

[0037] Next, a description will be given of the press-fitting operation of the press-fitting device 100 according to the first embodiment. Fig. 5 is a flowchart showing the procedure of the press-fitting operation of the press-fitting device according to the first embodiment.

[0038] First, in step S110, the type data of the motor 20 is read in the control unit 90. Specifically, the control unit 90 acquires the product number of the motor 20 from outside the control unit 90, and reads type data, which is information on the type of the motor 20 linked to the product number, from a device external to the press-fitting device 100, such as a database. The control unit 90 then reads information on the dimensions of the motor 20 included in the type data of the motor 20. After that, the process proceeds to step S120.

[0039] In step S120, based on the dimensional information of motor 20 read in step S110, measuring unit 70 is raised and lowered in the Z-axis direction so that the top surface of housing 11 is aligned with the center of the measurement area of ​​laser line sensor 80. In other words, the top surface of housing 11 is anti-press-fit side surface 11a, which is the end surface on the anti-press-fit direction side of housing 11. Then, proceed to step S130.

[0040] In step S130, the motor 20 is chucked. Specifically, the motor 20 is placed on the motor receiver 54, and chucked and fixed by the motor chuck 73. As a result, the motor 20 is positioned in the horizontal plane of the motor 20, i.e., in the XY plane. At this time, the underside of the motor 20 is in contact with the motor receiver 54, and the motor 20 is also positioned in the height direction. As described above, the motor chuck 73 is also attached to the measuring unit 70, and the motor chuck 73 is pre-adjusted to be at the height of the motor body 22 when the height of the measuring unit 70 is adjusted to the dimensions of the motor 20 in step S120. Then, the process proceeds to step S140.

[0041] In step S140, the mirror receiver 12 is brought into contact with the rotating shaft 21. Specifically, a holding step is performed in which the mirror receiver 12 is held by vacuum suction at the tip of the press-in head 63. In this state, the control unit 90 moves the press-in head 63 in the press-in direction, i.e., lowers the press-in head 63, so that the mirror receiver 12 is brought into contact with the rotating shaft 21.

[0042] The control unit 90 lowers the press-fit head 63 at a first speed determined based on the dimensional information of the motor 20 read in step S110, up to a predetermined height position immediately before the mirror receiver 12 comes into contact with the rotating shaft 21. Thereafter, the control unit 90 reduces the lowering speed of the press-fit head 63 to a second speed determined in advance, which is slower than the first speed, and further lowers the press-fit head 63. The second speed is set to, for example, 10 mm / s or less.

[0043] Then, when the load cell 64 detects a predetermined load applied to the press-fit head 63, the control unit 90 determines that the mirror receiver 12 and the rotating shaft 21 have come into contact with each other, and stops the descent of the press-fit head 63. That is, the load cell 64 transmits information on the load applied to the press-fit head 63 detected at a predetermined cycle to the control unit 90. The control unit 90 monitors the information on the load applied to the press-fit head 63 detected by the load cell 64, and when it detects that the load applied to the press-fit head 63 has reached a predetermined first load, it determines that the mirror receiver 12 and the rotating shaft 21 have come into contact with each other, and stops the descent of the press-fit head 63. The first load is, for example, 5 N. Thereafter, the process proceeds to step S150.

[0044] In step S150, the chuck of the motor 20 is released. Specifically, the control unit 90 releases the chuck of the motor 20 by the motor chuck 73. The motor 20 was sandwiched from above and below by the motor receiver 54 and the press-fit head 63 in step S140, and will not fall over even if the motor chuck 73 is released. Then, the process proceeds to step S160.

[0045] In step S160, a press-fit measurement is performed. Specifically, the press-fit measurement in step S160 is a first press-fit measurement for calculating the press-fit amount of the mirror receiver 12 in the next step S170, and the relative distance L between the mirror receiver 12 and the housing 11 is measured. That is, step S160 is a pre-press-fit measurement process in which the position of the anti-press-fit side surface 11a of the housing 11 in the direction along the press-fit direction and the position of the step surface 63a of the press-fit head 63, which is the press-fit head reference position, in the direction along the press-fit direction are measured, and the relative distance L is measured.

[0046] Fig. 6 is a vertical sectional view of an enlarged measurement location in the press-fitting device according to the first embodiment. Fig. 7 is a horizontal sectional view of an enlarged measurement location in the press-fitting device according to the first embodiment. Fig. 8 is a conceptual diagram for explaining dimensions managed in the press-fitting device according to the first embodiment.

[0047] As described above, the accuracy of press-fitting the mirror receiver 12 onto the rotating shaft 21 of the motor 20 affects the quality of the optical encoder 10, so it is necessary to manage the amount of press-fitting of the mirror receiver 12 onto the rotating shaft 21 of the motor 20. In the press-fitting device 100, the relative distance L between the mirror receiver 12 and the housing 11 is managed in order to manage the amount of press-fitting of the mirror receiver 12 onto the rotating shaft 21 of the motor 20.

[0048] However, when controlling the relative distance L between the mirror receiver 12 and the housing 11, the mirror receiver 12 is hidden by the housing 11 and the motor body 22 while the mirror receiver 12 is pressed into the rotating shaft 21, and therefore measurement cannot be performed using the method shown in Figure 1 of Prior Art 1.

[0049] In the press-fitting device 100, the head tip length of the press-fitting head 63 is set longer than the target relative distance L0. As a result, during press-fitting of the mirror receiver 12 onto the rotating shaft 21 of the motor 20, a gap 41 is generated between the anti-press-fitting side surface 11a, which is the end surface of the housing 11 on the side opposite to the press-fitting direction, and the step surface 63a of the press-fitting head 63. That is, in the press-fitting device 100, by making the head length 632L of the second press-fitting head portion 632 of the press-fitting head 63 longer than the target relative distance L0, during press-fitting of the mirror receiver 12 onto the rotating shaft 21 of the motor 20, a gap 41 is generated between the anti-press-fitting side surface 11a of the housing 11 and the step surface 63a of the press-fitting head 63.

[0050] The head tip length of the press-fit head 63 is the head length 632L of the second press-fit head portion 632 of the press-fit head 63, and is the length of the second press-fit head portion 632 in the Z-axis direction. In addition, the head tip length of the press-fit head 63 is a predetermined known design dimension of the head tip length of the press-fit head 63, i.e., the predetermined known design dimension of the head length 632L of the second press-fit head portion 632. The head tip length is determined in advance and stored in the control unit 90.

[0051] The step surface 63a is a step surface in the two-step structure of the press-fitting head 63, is a step surface between the first press-fitting head portion 631 and the second press-fitting head portion 632, and is a press-fitting direction side end surface 631a which is an end surface on the press-fitting direction side of the first press-fitting head portion 631. The position of the step surface 63a in the Z-axis direction can be said to be a press-fitting head reference position which is located on the counter-press-fitting direction side of the counter-press-fitting side surface 11a which is an end surface on the counter-press-fitting direction side of the housing 11 which is an outer periphery side component in the press-fitting head 63 when the mirror receiver 12 which is a press-fit component is press-fitted into the rotating shaft 21 of the motor 20.

[0052] The relative distance L between the mirror receiver 12 and the housing 11 is the relative distance in the Z-axis direction between the counter-press-fit side surface 11a of the housing 11 and the counter-press-fit end surface 12a, which is the end surface of the mirror receiver 12 on the counter-press-fit direction side. The counter-press-fit end surface 12a of the mirror receiver 12 can be said to be the upper surface of the mirror receiver 12. The position of the counter-press-fit end surface 12a of the mirror receiver 12 in the Z-axis direction varies with the movement of the press-fit head 63 in the Z-axis direction, i.e., with the movement of the second press-fit head portion 632 in the Z-axis direction. Therefore, the relative distance L between the mirror receiver 12 and the housing 11 varies with the movement of the press-fit head 63 in the Z-axis direction, i.e., with the movement of the second press-fit head portion 632 in the Z-axis direction.

[0053] The target relative distance L0 is the relative distance between the mirror receiver 12 and the housing 11 in the Z-axis direction, which corresponds to a state in which the mirror receiver 12 is pressed into the rotating shaft 21 of the motor 20 by a target press-in amount, which is a target amount of press-in. Specifically, the target relative distance L0 is the relative distance between the anti-press-fit side surface 11a of the housing 11 and the anti-press-fit direction end surface 12a of the mirror receiver 12 in the Z-axis direction, which corresponds to a state in which the mirror receiver 12 is pressed into the rotating shaft 21 of the motor 20 by a target press-in amount, which is a target amount of press-in. Therefore, the target relative distance L0 does not change with the movement of the press-fit head 63 in the Z-axis direction, i.e., with the movement of the second press-fit head part 632 in the Z-axis direction.

[0054] The target relative distance L0 has a lower limit L1 and an upper limit L2, and has an allowable range of not less than the lower limit L1 but not more than the upper limit L2. The target press-in amount also has an allowable range. The lower limit L1 is the relative distance L corresponding to a state in which the target press-in amount is pressed in at the lower limit of the allowable range. The upper limit L2 is the relative distance L corresponding to a state in which the target press-in amount is pressed in at the upper limit of the allowable range. The information on the target relative distance L0, the lower limit L1, the upper limit L2, the target press-in amount, and the allowable range of the target press-in amount is determined in advance and stored in the control unit 90.

[0055] In the press-fitting device 100, in order to obtain the relative distance L between the mirror receiver 12 and the housing 11, the length of the gap 41 in the Z-axis direction is measured using a laser line sensor 80. As shown in Fig. 6, the laser line sensor 80 emits laser light 83 from a projector 81 toward the housing 11, the object to be measured, and the press-fitting head 63, and detects the laser light 83 that has passed through the receiver 82 without being reflected by the object to be measured, with the receiver 82, thereby measuring the dimension of the portion in the Z-axis direction through which the laser light 83 has passed.

[0056] In the Z-axis direction, the lower end position of the laser light 83 received by the light receiver 82 corresponds to the height position of the housing 11, i.e., the position of the counter press-fit side surface 11a. In the Z-axis direction, the upper end position of the laser light 83 received by the light receiver 82 corresponds to the height position of the step surface 63a of the press-fit head 63, i.e., the position of the press-fit direction side end surface 631a of the first press-fit head portion 631 of the press-fit head 63. Therefore, by measuring the lower end position of the laser light 83 received by the light receiver 82 and the upper end position of the laser light 83 received by the light receiver 82, the length of the gap 41 in the Z-axis direction can be measured. The laser line sensor 80 can be said to be a position measuring unit that measures the position of the counter press-fit side surface 11a of the housing 11 and the position of the counter press-fit side surface 11a of the first press-fit head portion 631.

[0057] When the attitude of the press-fit head 63 and the motor 20 deviates from the expected positional relationship, that is, when the axial direction of the press-fit head 63 and the axial direction of the rotation shaft 21 of the motor 20 are inclined, an error occurs in the length of the gap 41 in the Z-axis direction measured using the laser line sensor 80. For this reason, it is preferable to calculate the average value of values ​​measured at two locations symmetrical to the center position of the rotation shaft 21 of the motor 20 in the Y-axis direction to reduce the error, for the length of the gap 41 in the Z-axis direction.

[0058] That is, it is preferable that the laser line sensor 80 measures the length of the gap 41 at two points symmetrical with respect to the center position of the rotation shaft 21 of the motor 20 in the in-plane direction perpendicular to the press-fitting direction in a direction perpendicular to the press-fitting direction. This makes it possible to calculate the length of the gap 41 at the center position of the rotation shaft 21 of the motor 20 even if the attitude of the press-fitting head 63 and the motor 20 deviates from the expected positional relationship, thereby improving the press-fitting accuracy of the mirror receiver 12.

[0059] 7, laser line sensor 80 measures the length of gap 41 in the Z-axis direction at a first measurement position and a second measurement position, which are two positions symmetrical with respect to the center position of rotation shaft 21 of motor 20 in the Y-axis direction. Control unit 90 calculates the average value of the measured length of gap 41 at the first measurement position and the measured length of gap 41 at the second measurement position, and sets this as the length of gap 41 in the Z-axis direction.

[0060] Then, the control unit 90 calculates the relative distance L by subtracting the measured length of the gap 41 from the predetermined head tip length of the press-fitting head 63, i.e., the predetermined head length 632L of the second press-fitting head part 632. That is, the control unit 90 calculates the relative distance L using the calculation formula "relative distance L = head tip length of the press-fitting head 63 (= head length 632L of the second press-fitting head part 632) - length of the gap 41". Thereafter, the process proceeds to step S170.

[0061] In step S170, a first target press-in amount is calculated, which is a target press-in amount in the first press-in of the mirror receiver 12 to the rotating shaft 21 of the motor 20. Specifically, the control unit 90 calculates the first target press-in amount by subtracting the relative distance L calculated in step S160 from the lower limit value L1 of the target relative distance L0. The control unit 90 determines the first target press-in amount as a first stroke amount, which is a stroke amount for lowering the press-in rod 61 from the current position of the press-in rod 61 in the Z-axis direction. The first target press-in amount is a target press-in amount in the first press-in that is smaller than the target press-in amount, which is determined based on the information acquired by the laser line sensor 80 and the lower limit value L1 of the target relative distance L0. The first stroke amount is a press-in stroke amount in the first press-in that is smaller than the stroke amount corresponding to the target press-in amount. Then, the process proceeds to step S180.

[0062] In step S180, the mirror receiver 12 is pressed into the rotating shaft 21 of the motor 20. Step S180 is a first press-fitting step in which the mirror receiver 12 is pressed in with a first target press-fitting amount that is a target press-fitting amount in the first press-fitting determined based on information acquired in step S160, which is a pre-press-fitting measurement step. Also, step S180 is a first press-fitting step in which the mirror receiver 12 is pressed in with a first stroke amount that is less than the stroke amount corresponding to the target press-fitting amount. That is, in the first press-fitting step, the mirror receiver 12 is pressed into the rotating shaft 21 of the motor 20 with a first stroke amount that is less than the target press-fitting amount.

[0063] In the first press-in, the control unit 90 controls the press-in rod 61 to be lowered by the first stroke amount calculated in step S170, and the mirror receiver 12 is pressed into the rotating shaft 21 of the motor 20 for the first time. That is, the control unit 90 controls the first press-in to press-in the mirror receiver 12 by the first stroke amount that is smaller than the stroke amount corresponding to the target press-in amount determined based on the relative distance L. The control unit 90 stops the press-in rod 61 at the time when the first press-in is completed, and keeps the press-in rod 61, the mirror receiver 12, and the rotating shaft 21 in contact. That is, the control unit 90 keeps the press-in head 63 in contact with the mirror receiver 12. Then, the process proceeds to step S190. In the second press-in, the control unit 90 controls the press-in rod 61 to be lowered by the second stroke amount described later, and keeps the mirror receiver 12 in contact with the rotating shaft 21 of the motor 20.

[0064] In step S190, a press-in measurement is performed. Step S190 is a first press-in measurement process for measuring the relative distance L and the load applied to the mirror receiver 12 and the press-in head 63 after the first press-in. The press-in measurement in step S190 is a second press-in measurement, and in addition to measuring the gap 41 similar to step S170, the load M applied to the motor 20 and the press-in rod 61, i.e., the load M applied to the motor 20 and the press-in head 63, is measured by the load cell 64. In this case, since the measurement is performed with the load applied to the press-in rod 61, the tip side of the press-in rod 61 is contracted, that is, the tip side of the press-in head 63 is compressed and contracted, and is deformed, and the deformation amount becomes a measurement error. For this reason, the material and shape of the press-in head 63 are designed in advance so that the deformation amount of the tip side of the press-in head 63 is 1 / 10 or less of the required press-in accuracy, thereby reducing the error. Then, proceed to step S200.

[0065] In step S200, it is determined whether the relative distance L after the first press-fit is within the allowable range of the target relative distance L0. Specifically, the control unit 90 obtains the relative distance L after the first press-fit in the same manner as in step S160, based on the measurement result of the gap 41 in step S190. Then, the control unit 90 determines whether the relative distance L after the first press-fit is within a range equal to or greater than a lower limit value L1 of the allowable range of the target relative distance L0 and equal to or less than an upper limit value L2 of the allowable range of the target relative distance L0.

[0066] If it is determined that the relative distance L after the first press-fitting falls within the allowable range of the target relative distance L0, the result in step S200 is Yes, and the process proceeds to step S210. If it is determined that the relative distance L after the first press-fitting does not fall within the allowable range of the target relative distance L0, the result in step S200 is No, and the process proceeds to step S220.

[0067] In step S210, a quality judgment is performed to the effect that a quality product has been manufactured. Specifically, the control unit 90 performs the quality judgment to the effect that a quality product has been manufactured. The control unit 90 performs control to display a quality judgment message to the effect that a quality product has been manufactured on a display unit (not shown), for example. This completes the series of processes.

[0068] In step S220, it is determined whether the relative distance L after the first press-fit is greater than the upper limit value L2 of the allowable range of the target relative distance L0. Specifically, the control unit 90 determines whether the relative distance L after the first press-fit is greater than the upper limit value L2 of the allowable range of the target relative distance L0.

[0069] If it is determined that the relative distance L after the first press-fit is greater than the upper limit value L2 of the allowable range of the target relative distance L0, the mirror receiver 12 has been excessively pressed-in beyond the allowable range of the target relative distance L0, the result is Yes in step S220, and the process proceeds to step S230. If it is determined that the relative distance L after the first press-fit is not greater than the upper limit value L2 of the allowable range of the target relative distance L0, the amount of press-fitting of the mirror receiver 12 does not satisfy the allowable range of the target relative distance L0 and additional press-fitting is necessary, the result is No in step S220, and the process proceeds to step S240.

[0070] In step S230, a defective product determination is made to the effect that a defective product has been manufactured. Specifically, the control unit 90 makes the defective product determination to the effect that a defective product has been manufactured. The control unit 90 performs control to display a defective product determination message to the effect that a defective product has been manufactured, for example, on a display unit (not shown). With the above, a series of processes is completed.

[0071] In step S240, the second target press-in amount is calculated. Step S240 is a calculation step for calculating a correction value of the press-in amount for correcting the press-in amount to press-in the mirror receiver 12 at the target press-in amount based on the information acquired in step S190, which is the measurement step after the first press-in. Specifically, the control unit 90 determines that the current press-in state of the mirror receiver 12 into the rotating shaft 21 of the motor 20 is insufficient in press-in amount, and calculates a second target press-in amount, which is the press-in amount from the current press-in state after the first press-in and is the target press-in amount to be targeted in the second press-in, based on the relative distance L and load M obtained in step S190 in order to press-in again. That is, the second target press-in amount is the target press-in amount to be targeted in the second press-in determined based on the information acquired from the measurement unit 70 about the first press-in. The second target press-in amount is a correction value for the press-in amount for performing a second press-in to correct the press-in amount of the mirror support 12 after the first press-in in order to press-in the mirror support 12 at the target press-in amount.

[0072] First, the control unit 90 calculates a target press-in amount based on the relative distance L after the first press-in, in the same manner as in steps S160 and S170, based on the measured length of the gap 41. The control unit 90 calculates the relative distance L after the first press-in by performing a calculation to subtract the length of the gap 41 measured in step S190 from the predetermined head tip length of the press-in head 63, i.e., the predetermined head length 632L of the second press-in head part 632. That is, the control unit 90 calculates the relative distance L after the first press-in using the calculation formula "relative distance L = head tip length of the press-in head 63 (= head length 632L of the second press-in head part 632) - length of the gap 41".

[0073] Then, the control unit 90 subtracts the relative distance L after the first press-fit from the lower limit value L1 of the target relative distance L0 to calculate a target press-fit amount based on the relative distance L after the first press-fit.

[0074] Furthermore, since the motor 20 also shrinks in the Z-axis direction due to the press-fit load, the mirror receiver 12 is pressed in shallower than expected. For this reason, the amount of deformation of the rotating shaft 21 of the motor 20 is taken into consideration in the second press-fit. In the press-fitting device 100, the lower end position of the laser light 83 received by the light receiver 82 is the height position of the housing 11 in the Z-axis direction, so it is possible to confirm the change in the height position of the housing 11 before press-fitting and after the first press-fitting. The height position of the housing 11 is the position of the anti-press-fit side surface 11a, which is the end face of the housing 11 on the anti-press-fit side in the Z-axis direction.

[0075] The amount of change in the height position of the housing 11 before and after the first press-fitting is the amount of deformation of the motor 20 in the Z-axis direction due to the first press-fitting load, which is the press-fitting load in the first press-fitting. The control unit 90 acquires and stores detection information of the laser line sensor 80 before and after the first press-fitting. Then, the control unit 90 can calculate the amount of deformation of the motor 20 due to the first press-fitting load, which is the press-fitting load in the first press-fitting, based on the detection information. By acquiring and storing detection information of the laser line sensor 80 before and after the press-fitting, the control unit 90 can similarly calculate the amount of deformation of the motor 20 after the second press-fitting.

[0076] Then, the control unit 90 calculates a second target press-in amount by adding the deformation amount of the motor 20 due to the first press-in load to the target press-in amount based on the relative distance L after the first press-in. Then, the control unit 90 determines the second target press-in amount as the second stroke amount. After that, the process returns to step S180.

[0077] This step S180 is a second press-fitting step in which the press-fit component is press-fitted with a second stroke amount determined based on information acquired in step S190, which is a measurement step after the first press-fitting. That is, the control unit 90 controls the second press-fitting in which the mirror receiver 12 is press-fitted with a second stroke amount determined based on information acquired from the measurement unit 70 for the first press-fitting.

[0078] In the press-fitting device 100 according to the first embodiment described above, the control unit 90 can calculate the relative distance L between the mirror receiver 12 and the housing 11 using the counter-press-fitting direction end face 12a, which is the end face of the mirror receiver 12 on the counter-press-fitting direction side, which is the upper face of the mirror receiver 12, as a reference. Then, the control unit 90 can obtain the actual press-fitting amount after press-fitting based on the relative distance L between the mirror receiver 12 and the housing 11 and the allowable range of the target relative distance L0. This allows the control unit 90 to obtain the actual press-fitting amount, which does not include the elastic deformation amount of the motor 20, which is the part to be pressed in.

[0079] Furthermore, in the press-fitting device 100, the change in the height position of the housing 11 before and after the first press-fitting can be confirmed based on the lower end position of the laser light 83 received by the light receiver 82. The amount of change in the height position of the housing 11 before and after the first press-fitting is the amount of deformation of the motor 20 in the Z-axis direction due to the first press-fitting load, which is the press-fitting load in the first press-fitting. Therefore, the control unit 90 can accurately measure the amount of elastic deformation of the motor 20 rather than obtaining it as a predicted value.

[0080] Then, the control unit 90 calculates a second target press-in amount by adding the deformation amount of the motor 20 due to the first press-in load to the press-in amount based on the relative distance L after the first press-in. Then, the control unit 90 determines the second target press-in amount as the second stroke amount, and performs the second press-in with the second stroke amount. This allows the press-in device 100 to improve the accuracy of the second press-in that takes into account the elastic deformation amount of the motor 20.

[0081] Furthermore, in the press-fitting device 100, the length of the gap 41 between the anti-press-fit side surface 11a, which is the end surface of the housing 11 on the anti-press-fitting direction side, and the step surface 63a of the press-fitting head 63 is measured using the laser line sensor 80. Then, the control unit 90 calculates the relative distance L by subtracting the measured length of the gap 41 from the known head length 632L of the known second press-fitting head portion 632. As a result, in the press-fitting device 100, even if the mirror receiver 12, which is the press-fitting component, is hidden by the housing 11 and the motor body 22 of the motor 20, which is the component to be pressed in, the relative distance L between the mirror receiver 12 and the housing 11 can be accurately calculated.

[0082] Therefore, the press-fitting device 100 according to the first embodiment has the effect of being able to press-fit a press-fit component into a part to be pressed-fitted with high precision.

[0083] Embodiment 2 In the second embodiment, a case will be described in which a learning device and an inference device are used to calculate the second target press-in amount, which is a target press-in amount aimed at in the second press-in in step S240 of the above-mentioned first embodiment in Fig. 5. That is, a case will be described in which the control unit 90 has a machine learning device 200 including a learning device 210 and an inference device 220, and the second target press-in amount is calculated using the machine learning device.

[0084] First, the learning phase in learning device 210 of machine learning device 200 will be described.

[0085] The learning device 210 learns a second target press-in amount, which is a target press-in amount used for the second press-in, based on the learning data. The learning device 210 learns a second target press-in amount, which is a target press-in amount used for the second press-in, based on learning data acquired during the press-in of the mirror support 12 onto the rotating shaft 21 of the motor 20, which is input to the learning device 210. This allows the learning device 210 to learn the second target press-in amount by taking into account various factors that vary the press-in amount of the mirror support 12 onto the rotating shaft 21 of the motor 20, such as the deformation amount of the mirror support 12, which is the press-in part, the deformation amount of the motor 20, which is the pressed-in part, and the variation in the friction coefficient between the press-in part and the pressed-in part.

[0086] 9 is a diagram showing a configuration of a learning device according to the second embodiment. The learning device 210 includes a data acquiring unit 211, a model generating unit 212, and a trained model storage unit 213. The data acquiring unit 211 is a first data acquiring unit in the press-fitting device 100. The trained model storage unit 213 may be provided inside the learning device 210.

[0087] The data acquisition unit 211 acquires input information 231 and press-in amount information 232 as learning data. The press-in amount information 232 is information on the actual press-in amount in the second press-in in the state corresponding to the input information 231. Since the press-in amount is managed by the relative distance L between the mirror receiver 12 and the housing 11, the actual press-in amount in the second press-in in the state corresponding to the input information 231 is managed by the actual relative distance L in the second press-in in the state corresponding to the input information 231.

[0088] The input information 231 includes information on the press-in state in the first press-in and information on the press-in parameters in the second press-in. The information on the press-in state in the first press-in includes information on the press-in state during the first press-in and information on the press-in state after the first press-in. The information on the press-in state in the first press-in includes information on time-series data of the press-in state during the first press-in. The learning device 210 can learn with higher accuracy by using information on the time-series data of the press-in state during the first press-in, which is more detailed information on the press-in state during the first press-in, as learning data, and can generate a learned model 233 with higher accuracy.

[0089] The information on the press-fit state in the first press-fitting includes information on the position of the anti-press-fit side surface 11a, which is the end surface of the housing 11 on the anti-press-fitting direction side in the press-fitting direction, information on the position of the step surface 63a of the press-fitting head 63, information on the relative distance L, and information on the load applied to the press-fitting head 63. The relative distance L can be calculated from the information on the position of the anti-press-fit side surface 11a and the information on the position of the step surface 63a of the press-fitting head 63.

[0090] The information on the press-fitting parameters in the second press-fitting includes information on the pre-correction second stroke amount. The information on the pre-correction second stroke amount included in the information on the press-fitting parameters in the second press-fitting corresponds to the "target press-fitting amount based on the relative distance L after the first press-fitting" described in step S240 of the first embodiment, and is the press-fitting stroke amount in the second press-fitting that does not take into account the influence of various factors that change the press-fitting amount of the mirror receiver 12 to the rotating shaft 21 of the motor 20, such as the deformation amount of the motor 20 due to the first press-fitting load and the variation in the friction coefficient between the mirror receiver 12, which is the press-fitted part, and the rotating shaft 21 of the motor 20, which is the part to be pressed in.

[0091] The pre-correction second stroke amount is determined as the pre-correction second stroke amount based on the target press-in amount calculated as described in step S240 of the above-mentioned embodiment 1 based on the relative distance L after the first press-in. That is, for example, the control unit 90 calculates the target press-in amount based on the relative distance L after the first press-in as described in step S240 of the above-mentioned embodiment 1, and determines the target press-in amount based on the relative distance L after the first press-in as the pre-correction second stroke amount.

[0092] The press-in amount information 232 is information on the actual press-in amount in the second press-in corresponding to the state shown in the input information 231. Specifically, the press-in amount information 232 is information on the press-in state of the mirror receiver 12 in the first press-in acquired by the measuring unit 70 in the first press-in, information on the pre-correction second stroke amount, and information on the actual press-in amount of the mirror receiver 12 after the second press-in in a state corresponding to the information on the press-in state of the mirror receiver 12 in the first press-in and the information on the pre-correction second stroke amount acquired by the measuring unit 70 in the first press-in. In other words, the press-in amount information 232 is not information on the amount by which the mirror receiver 12 is pressed in by the second press-in, but is information on the actual press-in amount of the mirror receiver 12 after the second press-in corresponding to the state shown in the input information 231.

[0093] The press-in amount in the second press-fitting can be found by comparing the relative distance L before the press-fitting and the relative distance L after the second press-fitting. Therefore, after the second press-fitting step, a measurement step after the second press-fitting is performed to measure the position of the anti-press-fit side surface 11a, which is the end face of the housing 11 on the anti-press-fitting direction side in the press-fitting direction, the position of the step surface 63a of the press-fitting head 63, the relative distance L, and the load applied to the press-fitting head 63, thereby enabling the data acquisition unit 211 to acquire the press-fitting amount information 232.

[0094] Therefore, the learning data acquired by the data acquisition unit 211, including the input information 231 and the pressing amount information 232, can be rephrased as learning data including information on the pressing state at the first pressing acquired by the measurement unit 70 at the first pressing, information on the pre-correction second stroke amount, and information on the actual pressing amount after the second pressing in a state corresponding to the information on the pressing state at the first pressing acquired by the measurement unit 70 at the first pressing and the information on the pre-correction second stroke amount.

[0095] Here, the learning data is data in which the input information 231 and the press-in amount information 232 are associated with each other. The data acquiring unit 211 acquires the learning data from the control unit 90. The learning data may also be input to the data acquiring unit 211 from a device external to the control unit 90. The data acquiring unit 211 generates the learning data by associating the input information 231 with the press-in amount information 232. In other words, the learning data is created based on a combination of the input information 231 and the press-in amount information 232 corresponding to the state indicated by the input information 231.

[0096] The model generation unit 212 learns the press-in amount of the mirror receiver 12 after the second press-in, based on learning data created based on a combination of the input information 231 sent from the data acquisition unit 211 and the press-in amount information 232 corresponding to the state indicated in the input information 231. That is, the model generation unit 212 generates a learned model 233 for inferring the press-in amount of the mirror receiver 12 after the second press-in, which corresponds to the state indicated in the input information 231, from the input information 231 and the press-in amount information 232 corresponding to the state indicated in the input information 231.

[0097] Next, a processing procedure of the learning process by the learning device 210 will be described with reference to Fig. 10. Fig. 10 is a flowchart showing a processing procedure of the learning process by the learning device according to the second embodiment.

[0098] In step S310, the data acquiring unit 211 acquires learning data. Specifically, the data acquiring unit 211 acquires, as learning data, the input information 231 and the press-in amount information 232 corresponding to the state indicated in the input information 231. The data acquiring unit 211 may acquire the input information 231 and the press-in amount information 232 corresponding to the state indicated in the input information 231 at the same timing, or may acquire them at different timings. That is, the data acquiring unit 211 may acquire the input information 231 and the press-in amount information 232 at any timing, as long as the input information 231 and the press-in amount information 232 corresponding to the state indicated in the input information 231 can be associated with each other.

[0099] In step S320, the model generation unit 212 performs a learning step of executing a learning process according to learning data which is a combination of the input information 231 and the press-in amount information 232 corresponding to the state indicated by the input information 231, acquired by the data acquisition unit 211. The model generation unit 212 generates a learned model 233, for example, by so-called supervised learning, according to the learning data.

[0100] In step S330, the trained model storage unit 213 stores the trained model 233. That is, the model generation unit 212 stores the generated trained model 233 in the trained model storage unit 213.

[0101] The learning algorithm used by the model generation unit may be a known algorithm such as supervised learning, unsupervised learning, reinforcement learning, etc. As an example, a case will be described in which the model generation unit 212 executes supervised learning using a neural network.

[0102] The model generation unit 212 learns the second target injection amount, which is the target injection amount to be used for the second injection, by so-called supervised learning, for example, according to a neural network model. Here, supervised learning refers to a method in which a set of input and result (label) data is provided to a learning device, the learning device learns the features of the learning data, and the result is inferred from the input.

[0103] A neural network is composed of an input layer consisting of multiple neurons, an intermediate layer (hidden layer) consisting of multiple neurons, and an output layer consisting of multiple neurons. The intermediate layer may be one layer, or two or more layers.

[0104] Fig. 11 is a diagram showing the configuration of a neural network used by the learning device according to the second embodiment. For example, in the case of a three-layered neural network as shown in Fig. 11, when a plurality of pieces of data are input to the input layers X1 to X3, the values ​​are multiplied by weights w11 to w16 and input to the intermediate layers Y1 to Y2, and the results are further multiplied by weights w21 to w26 and output from the output layers Z1 to Z3. This output result changes depending on the values ​​of the weights w11 to w16 and the weights w21 to w26.

[0105] In the second embodiment, the neural network learns the second target press-in amount, which is the target press-in amount to be used for the second press-in, by so-called supervised learning in accordance with learning data (data set) created based on a combination of input information 231 acquired by the data acquisition unit 211 and press-in amount information 232.

[0106] That is, the neural network learns by inputting input information 231 into input layers X1 to X3 and adjusting weights w11 to w16, w21 to w26 so that the results output from output layers Z1 to Z3 approach the press-in amount information 232 corresponding to the state indicated by the input information 231.

[0107] The model generation unit 212 executes the above-mentioned learning to generate and output a trained model 233.

[0108] The trained model storage unit 213 stores the trained model 233 output from the model generation unit 212.

[0109] Next, the utilization phase in the inference device 220 of the machine learning device 200 will be described.

[0110] 12 is a diagram showing a configuration of an inference device according to the second embodiment. The inference device 220 includes a data acquisition unit 221 and an inference unit 222. The data acquisition unit 221 is a second data acquisition unit in the press-fitting device 100. The inference unit 222 is connected to the learned model storage unit 213.

[0111] The data acquisition unit 221 acquires information on the press-fit state in the first press-fit and the pre-correction second stroke amount as inference data. The inference data is input to the data acquisition unit 221 from the control unit 90.

[0112] The inference unit 222 uses the obtained trained model 233 to output an inferred value of the press-in amount due to the second press-in of the mirror receiver 12. The inference unit 222 reads out the trained model 233 from the trained model storage unit 213. The inference unit 222 inputs the input information 231 to the trained model 233. As a result, the inference unit 222 infers a second target press-in amount which is a target press-in amount used for the second press-in. That is, the inference unit 222 can output an inferred value of the press-in amount due to the second press-in inferred from the input information 231 by inputting the input information 231 for inferring the inferred value of the press-in amount due to the second press-in, acquired by the data acquisition unit 221, to the trained model 233 for inferring the inferred value of the press-in amount due to the second press-in.

[0113] The inferred press-in amount for the second press-in of the mirror support 12 is a second target press-in amount, which is a target press-in amount to be used for the second press-in of the mirror support 12 inferred by the inference unit 222, and is not an inferred value of the amount by which the mirror support 12 will be pressed in at the second press-in from the state after the first press-in, but an inferred value of the press-in amount of the mirror support 12 after the second press-in.

[0114] Next, a procedure of inference processing by the inference device 220 for obtaining a second target press-in amount, which is a target press-in amount used for the second press-in of the mirror support 12, using the inference device 220, that is, for obtaining an inferred value of the press-in amount after the second press-in of the mirror support 12, will be described with reference to Fig. 13. Fig. 13 is a flowchart showing the procedure of inference processing by the inference device according to the second embodiment.

[0115] In step S410, the data acquisition unit 221 acquires data for deduction. That is, the data acquisition unit 221 acquires information on the press-fit state in the first press-fit and information on the pre-correction second stroke amount as data for deduction.

[0116] In step S420, the inference unit 222 inputs information on the press-in state in the first press-in and information on the pre-corrected second stroke amount, which are inference data acquired by the data acquisition unit 221, into the learned model 233 stored in the learned model memory unit 213, and obtains, as the inference result obtained by the learned model 233, an inferred value of the press-in amount in the second press-in of the mirror support 12 corresponding to the input information.

[0117] In step S430, the inference result obtained by the trained model 233 is output to the press-fitting device 100. Specifically, the inference unit 222 outputs the inference result obtained by the trained model 233 to the control unit 90.

[0118] In step S440, the control unit 90 acquires the inference result output by the inference unit 222 in the above-mentioned step S240, corrects the pre-correction second stroke amount by the difference between the press-in amount inferred value and the target press-in amount, determines the final second stroke amount, and performs the second press-in with the second stroke amount. That is, in the second embodiment, the press-in amount of the mirror receiver 12 when the second press-in of the mirror receiver 12 is performed with the pre-correction second stroke amount that does not take into account the influence of various factors that change the press-in amount of the mirror receiver 12 to the rotating shaft 21 of the motor 20, such as the deformation amount of the motor 20 due to the first press-in load and the variation in the friction coefficient between the mirror receiver 12, which is the press-in part, and the rotating shaft 21 of the motor 20, which is the part to be pressed in, is learned and inferred, and the second press-in of the mirror receiver 12 is performed with the final second stroke amount obtained by adding the "target press-in amount - press-in amount inferred value" to the pre-correction second stroke amount. As a result, the pressing device 100 can perform pressing with high accuracy even if there are various factors that vary the amount of pressing of the mirror support 12 into the rotating shaft 21 of the motor 20, such as the amount of deformation between the mirror support 12 and the rotating shaft 21 of the motor 20, and variations in the coefficient of friction between the mirror support 12 and the rotating shaft 21 of the motor 20.

[0119] In this way, the inference unit 222 uses the learned model 233 generated by supervised learning, and therefore, by simply acquiring information on the press-in state in the first press-in, it can easily infer an inferred value of the press-in amount for the second press-in that takes into account various factors that vary the press-in amount of the mirror support 12 into the rotating shaft 21 of the motor 20, such as the amount of deformation between the mirror support 12 and the rotating shaft 21 of the motor 20, and the variation in the friction coefficient between the mirror support 12 and the rotating shaft 21 of the motor 20. As a result, the press-in device 100 can perform the second press-in with good press-in accuracy by using the inferred value of the press-in amount for the second press-in inferred by the inference unit 222.

[0120] The learning device 210 and the inference device 220 are used to learn the second injection amount, i.e., to learn the injection amount inference value by the second injection, but the learning device 210 and the inference device 220 may be devices connected to the control unit 90 via a network such as the Internet, and separate from the control unit 90. At least one of the learning device 210 and the inference device 220 may be connected to the control unit 90 via a network, for example. At least one of the learning device 210 and the inference device 220 may be a device separate from the control unit 90. At least one of the learning device 210 and the inference device 220 may exist on a cloud server. At least one of the learning device 210 and the inference device 220 may be built into the control unit 90.

[0121] In addition, in the second embodiment, it has been described that an estimated value of the press-in amount due to the second press-in is output using the trained model 233 trained by the model generation unit 212 of the control unit 90, but it is also possible to obtain a trained model from an external device such as another control unit 90 and output an estimated value of the press-in amount due to the second press-in based on this trained model.

[0122] In the second embodiment, a case has been described in which supervised learning is applied to the learning algorithm used by the model generation unit 212, but the present invention is not limited to this. As for the learning algorithm, reinforcement learning, unsupervised learning, semi-supervised learning, or the like can also be applied in addition to supervised learning.

[0123] The model generating unit may learn the estimated value of the press-in amount for the second press-in according to the learning data created for the multiple press-in devices 100. The model generating unit 212 may acquire learning data from multiple press-in devices 100 used in the same area, or may learn the second target press-in amount, which is the target press-in amount used for the second press-in, by using learning data collected from multiple press-in devices 100 operating independently in different areas. It is also possible to add or remove the press-in device 100 that collects the learning data to the target midway. Furthermore, a learning device that has learned the second target press-in amount, which is the target press-in amount used for the second press-in for a certain press-in device 100, may be applied to another press-in device 100, and the second target press-in amount, which is the target press-in amount used for the second press-in for the other press-in device 100, may be re-learned and updated.

[0124] In addition, the learning algorithm used in the model generation unit 212 can be deep learning, which learns to extract the features themselves, or machine learning can be performed according to other known methods, such as genetic programming, functional logic programming, and support vector machines.

[0125] Next, a description will be given of the hardware configuration of each of the control units 90 according to the first and second embodiments. Each function of the control unit 90 according to the first and second embodiments is realized by a processing circuit. The processing circuit may be a dedicated hardware, or may be a processing device that executes a program stored in a storage device.

[0126] When the processing circuit is a dedicated hardware, the processing circuit corresponds to a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit, a field programmable gate array, or a combination of these. Figure 14 is a diagram showing a configuration in which the functions of the control unit according to the first and second embodiments are realized by hardware. A logic circuit 91a that realizes the functions of the control unit 90 is incorporated in the processing circuit 91.

[0127] When the processing circuit 91 is a processing device, the functions of the control unit 90 are realized by software, firmware, or a combination of software and firmware.

[0128] FIG. 15 is a diagram showing a configuration in which the functions of the control unit according to the first and second embodiments are realized by software. The processing circuit 91 has a processor 911 that executes a program 91b, a random access memory 912 that the processor 911 uses as a work area, and a storage device 913 that stores the program 91b. The processor 911 deploys the program 91b stored in the storage device 913 on the random access memory 912 and executes it, thereby realizing the functions of the control unit 90. The software or firmware is written in a program language and stored in the storage device 913. The processor 911 can be exemplified by a central processing unit, but is not limited to this. The storage device 913 can be a semiconductor memory such as a random access memory (RAM), a read only memory (ROM), a flash memory, an erasable programmable read only memory (EPROM), or an electrically erasable programmable read only memory (EEPROM (registered trademark)). The semiconductor memory may be a non-volatile memory or a volatile memory. Further, in addition to a semiconductor memory, a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD (Digital Versatile Disc) can be applied to the storage device 913. The processor 911 may output data such as a calculation result to the storage device 913 for storage, or may store the data in an auxiliary storage device (not shown) via the random access memory 912. By integrating the processor 911, the random access memory 912, and the storage device 913 on one chip, the functions of the control unit 90 can be realized by a microcomputer.

[0129] The processing circuit 91 realizes the functions of the control unit 90 by reading and executing a program 91b stored in the storage device 913. It can also be said that the program 91b causes a computer to execute procedures and methods for realizing the functions of the control unit 90.

[0130] The processing circuit 91 may be configured so that some of the functions of the control unit 90 are realized by dedicated hardware, and some of the functions of the control unit 90 are realized by software or firmware.

[0131] Thus, the processing circuitry 91 can realize each of the above-described functions by hardware, software, firmware, or a combination of these.

[0132] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies, or the embodiments may be combined with each other. Also, parts of the configurations may be omitted or modified without departing from the spirit of the invention.

[0133] Various aspects of the present disclosure are summarized below as appendices.

[0134] (Appendix 1) A press-fitting device that presses a press-fitting part into a press-fitted part at a target press-fitting amount, a press-fitting head that holds the press-fitting part on an end surface facing a press-fitting direction, which is a direction in which the press-fitting part is press-fitted into the press-fitted part; a drive unit that drives the press-fitting head in the press-fitting direction to press the press-fitting part against the part to be pressed in; A press-fit drive unit having the press-fit drive unit; a position measuring unit that measures the relative distance between a position, in a direction along the press-fitting direction, of an end face on a counter-press-fitting direction side that faces the opposite side to the press-fitting direction of an outer peripheral side part that is integrated with the press-fitted part and is disposed on the outer peripheral side of the press-fitted part and the press-fitted part during press-fitting, and a position, in a direction along the press-fitting direction, of a press-fitting head reference position that is located on the counter-press-fitting direction side of the end face on the counter-press-fitting direction side of the outer peripheral side part in the press-fitting head when the press-fitted part is pressed into the press-fitted part; A load detection unit that detects a load applied to the press-fitting head; A measuring unit having a control unit that controls the press-fitting drive unit based on information acquired by the measurement unit to control movement of the press-fitting head in the press-fitting direction; Equipped with The control unit is controlling a first press-fitting operation to press-fit the press-fit component with a first stroke amount that is smaller than the target press-fit amount and that is determined based on the relative distance; controlling a second press-fitting operation to press-fit the press-fit component with a second stroke amount determined based on information acquired from the measurement unit regarding the first press-fitting operation; A press-fitting device characterized by the above. (Appendix 2) The position measurement unit a light projector that irradiates the press-fitting head and the outer periphery side component with a sheet-shaped laser light that is parallel to a direction along the press-fitting direction; a light receiver that detects the amount of light of the laser light to measure a position of the end face of the outer periphery side component in a direction along the press-fitting direction and a position of the press-fitting head reference position in the direction along the press-fitting direction; To have 2. The press-fitting device according to claim 1, (Appendix 3) a transfer unit that transfers the light projector and the light receiver in a direction perpendicular to the press-fitting direction, the position measuring unit measures in a direction perpendicular to the press-fitting direction at two positions symmetrical with respect to a center position of the press-fitted part in an in-plane direction perpendicular to the press-fitting direction; 3. The press-fitting device according to claim 2, (Appendix 4) a first data acquisition unit that acquires learning data including information on the press-fit state of the press-fit component in the first press-fit acquired by the measuring unit in the first press-fit, information on the second stroke amount, and information on the press-fit amount of the press-fit component after a second press-fit in a state corresponding to the information on the press-fit state of the press-fit component in the first press-fit acquired by the measuring unit in the first press-fit and the information on the second stroke amount; a model generation unit that generates a trained model for inferring a press-in amount inference value, which is a press-in amount of the press-in part after the second press-in, from information on a press-in state of the press-in part in the first press-in acquired by the measurement unit in the first press-in, using the learning data; A learning device having 4. The press-fitting device according to claim 1, (Appendix 5) The information on the press-fit state of the press-fit component in the first press-fit acquired by the measuring unit in the first press-fit includes time series data of the press-fit amount and time series data of the press-fit load; 5. The press-fitting device according to claim 4, (Appendix 6) a second data acquisition unit that acquires information on a press-fit state of the press-fit component in the first press-fitting acquired by the measurement unit in the first press-fitting; an inference unit that infers a press-in amount inference value from information on the press-in state of the press-in part in the first press-fit acquired by the second data acquisition unit, using a trained model for inferring a press-in amount inference value, which is a press-in amount of the press-in part after the second press-fit, from information on the press-in state of the press-in part in the first press-fit acquired by the measurement unit in the first press-fit; a reasoning device having 6. The press-fitting device according to claim 1, (Appendix 7) the second stroke amount is a correction value of a stroke amount for performing a second press-in for correcting the press-in amount of the press-in part after the first press-in in order to press-in the press-in part at the target press-in amount; 7. The press-fitting device according to any one of claims 1 to 6, (Appendix 8) A press-fitting method for press-fitting a press-fitting part into a press-fitted part at a target press-fitting amount in a press-fitting device, comprising: a holding step of holding the press-fit component on an end surface of a press-fit head facing a press-fit direction, which is a direction in which the press-fit component is press-fitted into the press-received component; a pre-press-fitting measurement process for measuring the relative distance between a position, in a direction along the press-fitting direction, of an end face on a counter-press-fitting direction side of an outer peripheral part that is integrated with the pressed-in part and that is disposed on the outer peripheral side of the press-in part and the pressed-in part at the time of press-fitting, facing away from the press-fitting direction, and a position, in a direction along the press-fitting direction, of a press-fitting head reference position that is located on the counter-press-fitting direction side of the end face on the counter-press-fitting direction side of the outer peripheral part on the press-fitting head when the press-fitting part is pressed into the pressed-in part; a first press-fitting step of press-fitting the press-fit part with a first stroke amount that is a target press-fitting amount in a first press-fitting step determined based on the relative distance acquired in the pre-press-fitting measurement step and is smaller than the target press-fitting amount; a measurement step after the first press-fitting, in which the relative distance and the load applied to the press-fitted part are measured after the first press-fitting; a calculation process for calculating a second stroke amount by adding a deformation amount of the press-fitted part due to a load applied to the press-fitted part, the deformation amount being determined based on the information obtained in the pre-press-fit measurement process and the information obtained in the first post-press-fit measurement process, to the press-fit amount determined based on the relative distance obtained in the first post-press-fit measurement process; a second press-fitting step of press-fitting the press-fit part by the second stroke amount; A method for pressing in, comprising: (Appendix 9) a second post-press-fit measuring step of measuring, after the second press-fit step, a position of the end face of the outer periphery side component in a direction along the press-fit direction, a position of the press-fit head reference position of the press-fit head in a direction along the press-fit direction, the relative distance, and a load applied to the press-fitted component; a learning process of acquiring learning data including information on the press-fit state of the press-fit part in the first press-fit acquired in the first press-fit process, information on the second stroke amount, and information on the press-fit amount of the press-fit part after the second press-fit in a state corresponding to the information on the press-fit state of the press-fit part in the first press-fit acquired in the first press-fit and the information on the second stroke amount, and generating a trained model using the learning data to infer a press-fit amount inference value, which is the press-fit amount of the press-fit part after the second press-fit process, from the information on the press-fit state of the press-fit part in the first press-fit acquired in the first press-fit process; Including, In the calculation step, information on the press-fit state of the press-fit part in the first press-fitting step acquired in the first press-fitting step is input to the trained model to acquire the press-fit amount inference value; 9. The pressing method according to claim 8, (Appendix 10) acquiring, during the first press-fitting step, time series data of a position of an end face of the outer periphery side component in a direction along the press-fitting direction, time series data of a position of the press-fitting head reference position in a direction along the press-fitting direction, time series data of the relative distance, and time series data of a load applied to the press-fitted component; 10. The pressing method according to claim 9, (Appendix 11) A method for manufacturing an encoder, comprising the steps of: pressing a base part for supporting an optical component of the encoder into a rotating shaft of a motor with a target pressing amount in a pressing device, a holding step of holding the base part on an end surface of a press-fitting head facing a press-fitting direction, which is a direction in which the base part is press-fitted into the motor; a pre-press-fitting measurement process for measuring the relative distance between a position, in a direction along the press-fitting direction, of an end face on a counter-press-fitting direction side of an outer peripheral part that is integrated with the motor and is disposed on the outer peripheral side of the base part and the motor at the time of press-fitting, facing away from the press-fitting direction, and a position, in a direction along the press-fitting direction, of a press-fitting head reference position that is located on the counter-press-fitting direction side of the end face on the counter-press-fitting direction side of the outer peripheral part in the press-fitting head when the base part is pressed into the motor; a first press-fitting step of press-fitting the base component with a first stroke amount that is a target press-fitting amount for a first press-fitting step, the first stroke amount being smaller than the target press-fitting amount, the first stroke amount being determined based on the relative distance acquired in the pre-press-fitting measurement step; a measurement step after the first press-fitting, in which the relative distance and the load applied to the motor are measured after the first press-fitting; a calculation process of calculating a second stroke amount by adding a deformation amount of the motor due to a load applied to the motor, the deformation amount being determined based on the information obtained in the pre-press-fit measurement process and the information obtained in the first post-press-fit measurement process, to a press-in amount determined based on the relative distance obtained in the first post-press-fit measurement process; a second press-fitting step of press-fitting the base part by the second stroke amount; A method for manufacturing an encoder comprising the steps of: (Appendix 12) a second post-press-fitting measurement step of measuring, after the second press-fitting step, a position of the end face of the outer periphery side component in a direction along the press-fitting direction, a position of the press-fitting head reference position of the press-fitting head in a direction along the press-fitting direction, the relative distance, and a load applied to the motor; a learning process for acquiring learning data including information on the press-in state of the base part in the first press-in acquired in the first press-in process, information on the second stroke amount, and information on the press-in amount of the base part after the second press-in in a state corresponding to the information on the press-in state of the base part in the first press-in acquired in the first press-in and the information on the second stroke amount, and using the learning data to generate a learned model for inferring a press-in amount inference value, which is the press-in amount of the base part after the second press-in process, from the information on the press-in state of the base part in the first press-in acquired in the first press-in process; Including, In the calculation step, information on the press-fit state of the base component in the first press-fitting step obtained in the first press-fitting step is input to the trained model to obtain the press-fit amount inference value; A method for manufacturing an encoder according to claim 11, (Appendix 13) acquiring time series data of the base part, the relative distance, and the load applied to the rotation shaft during the first press-fitting process; A method for manufacturing an encoder according to claim 12, (Appendix 14) A learning device that learns a press-in amount for pressing a press-in part into a press-received part at a target press-in amount in a press-in device, a first data acquisition unit that acquires learning data including information on a press-fit state of the press-fit part in a first press-fitting operation, the information being acquired in a first press-fitting operation in which the press-fit part is pressed in with a first stroke amount that is smaller than the target press-fit amount, information on a second stroke amount determined based on the information acquired in the first press-fitting operation, and information on a press-fit amount of the press-fit part after a second press-fitting operation in a state corresponding to the information on the press-fit state of the press-fit part in the first press-fitting operation acquired in the first press-fitting operation and the information on the second stroke amount; A model generation unit that generates a trained model for inferring a press-in amount inference value, which is a press-in amount of the press-in part after the second press-in, from information on the press-in state of the press-in part in the first press-in acquired in the first press-in, using the learning data; and A learning device comprising: (Appendix 15) An inference device that infers a press-in amount for pressing a press-in part into a press-received part at a target press-in amount in a press-in device, a second data acquisition unit that acquires information on a press-fit state of the press-fit part in a first press-fitting operation in which the press-fit part is press-fitted with a first stroke amount that is smaller than the target press-fitting amount; an inference unit that infers a press-in amount inference value from information on the press-in state of the press-in part in the first press-fit acquired by the second data acquisition unit, using a trained model for inferring a press-in amount inference value, which is a press-in amount of the press-in part after a second press-fit, from information on the press-in state of the press-in part in the first press-fit acquired in the first press-fit; An inference device comprising: [Explanation of symbols]

[0135] 10 Optical encoder, 11 Housing, 11a Anti-press-fit side, 12 Mirror receiver, 12a Anti-press-fit side end face, 13 Concave mirror, 14 Reflective film, 15 Scale disk, 16 Slit, 17 Board, 18 Light receiving element, 20 Motor, 21 Rotating shaft, 22 Motor body, 31, 32 Light beam, 34, 35, 36 Adhesive, 41 Gap, 50 Frame, 51 Surface plate, 52 Pillar, 53 Top plate, 54 Motor receiver, 60 Press-fit drive part, 61 Press-fit rod, 62 Press-fit motor, 63 Press-fit head, 63a Step surface, 64 Load cell, 70 Measurement part, 71 Y-axis actuator, 72 Z-axis actuator, 73 Motor chuck, 80 Laser line sensor, 81 Emitter, 82 Receiver, 83 Laser light, 90 Control unit, 91 processing circuit, 91a logic circuit, 91b program, 100 pressing device, 200 machine learning device, 210 learning device, 211 data acquisition unit, 212 model generation unit, 213 learned model memory unit, 220 inference device, 221 data acquisition unit, 222 inference unit, 231 input information, 232 pressing amount information, 233 learned model, 631a pressing direction side end face, 632L head length, 911 processor, 912 random access memory, 913 storage device, L relative distance, L0 target relative distance, L1 lower limit value, L2 upper limit value, M load.

Claims

1. A press-fitting device that presses a press-fitting part into a press-fitted part at a target press-fitting amount, a press-fitting head that holds the press-fitting part on an end surface facing a press-fitting direction, which is a direction in which the press-fitting part is press-fitted into the press-fitted part; a drive unit that drives the press-fitting head in the press-fitting direction to press the press-fitting part against the part to be pressed in; A press-fit drive unit having the press-fit drive unit; a position measuring unit that measures the relative distance between a position, in a direction along the press-fitting direction, of an end face on a counter-press-fitting direction side that faces the opposite side to the press-fitting direction of an outer peripheral side part that is integrated with the press-fitted part and is disposed on the outer peripheral side of the press-fitted part and the press-fitted part during press-fitting, and a position, in a direction along the press-fitting direction, of a press-fitting head reference position that is located on the counter-press-fitting direction side of the end face on the counter-press-fitting direction side of the outer peripheral side part in the press-fitting head when the press-fitted part is pressed into the press-fitted part; A load detection unit that detects a load applied to the press-fitting head; A measuring unit having a control unit that controls the press-fitting drive unit based on information acquired by the measurement unit to control movement of the press-fitting head in the press-fitting direction; Equipped with The control unit is controlling a first press-fitting operation to press-fit the press-fit component with a first stroke amount that is smaller than the target press-fit amount and that is determined based on the relative distance; controlling a second press-fitting operation to press-fit the press-fit component with a second stroke amount determined based on information acquired from the measurement unit regarding the first press-fitting operation; A press-fitting device characterized by the above.

2. The position measurement unit a light projector that irradiates the press-fitting head and the outer periphery side component with a sheet-shaped laser light that is parallel to a direction along the press-fitting direction; a light receiver that detects the amount of light of the laser light to measure a position of the end face of the outer periphery side component in a direction along the press-fitting direction and a position of the press-fitting head reference position in the direction along the press-fitting direction; To have The press-fitting device according to claim 1 .

3. a transfer unit that transfers the light projector and the light receiver in a direction perpendicular to the press-fitting direction, the position measuring unit measures in a direction perpendicular to the press-fitting direction at two positions symmetrical with respect to a center position of the press-fitted part in an in-plane direction perpendicular to the press-fitting direction; The press-fitting device according to claim 2 .

4. a first data acquisition unit that acquires learning data including information on the press-in state of the press-in part in the first press-fit acquired by the measuring unit in the first press-fit, information on the second stroke amount, and information on the press-in amount of the press-in part after a second press-fit in a state corresponding to the information on the press-in state of the press-in part in the first press-fit acquired by the measuring unit in the first press-fit and the information on the second stroke amount; a model generation unit that generates a trained model for inferring a press-in amount inference value, which is a press-in amount of the press-in part after the second press-in, from information on a press-in state of the press-in part in the first press-in acquired by the measurement unit in the first press-in, using the learning data; A learning device having The press-fitting device according to claim 1 .

5. The information on the press-fit state of the press-fit component in the first press-fit acquired by the measuring unit in the first press-fit includes time series data on the press-fit amount and time series data on the press-fit load; The press-fitting device according to claim 4 .

6. a second data acquisition unit that acquires information on a press-fit state of the press-fit component in the first press-fitting acquired by the measurement unit in the first press-fitting; an inference unit that infers a press-in amount inference value from information on the press-in state of the press-in part in the first press-fit acquired by the second data acquisition unit, using a trained model for inferring a press-in amount inference value, which is a press-in amount of the press-in part after the second press-fit, from information on the press-in state of the press-in part in the first press-fit acquired by the measurement unit in the first press-fit; a reasoning device having The press-fitting device according to claim 1 .

7. the second stroke amount is a correction value of a stroke amount for performing a second press-in, which corrects the press-in amount of the press-in part after the first press-in in order to press-in the press-in part at the target press-in amount; The press-fitting device according to claim 1 .

8. A press-fitting method for press-fitting a press-fitting part into a press-fitted part at a target press-fitting amount in a press-fitting device, comprising: a holding step of holding the press-fit component on an end surface of a press-fit head facing a press-fit direction, which is a direction in which the press-fit component is press-fitted into the press-received component; a pre-press-fitting measurement process for measuring the relative distance between a position, in a direction along the press-fitting direction, of an end face on a counter-press-fitting direction side of an outer peripheral part that is integrated with the pressed-in part and that is disposed on the outer peripheral side of the press-in part and the pressed-in part at the time of press-fitting, facing away from the press-fitting direction, and a position, in a direction along the press-fitting direction, of a press-fitting head reference position that is located on the counter-press-fitting direction side of the end face on the counter-press-fitting direction side of the outer peripheral part on the press-fitting head when the press-fitting part is pressed into the pressed-in part; a first press-fitting step of press-fitting the press-fit part with a first stroke amount that is a target press-fitting amount in a first press-fitting step determined based on the relative distance acquired in the pre-press-fitting measurement step and is smaller than the target press-fitting amount; a measurement step after the first press-fitting, in which the relative distance and the load applied to the press-fitted part are measured after the first press-fitting; a calculation process for calculating a second stroke amount obtained by adding a deformation amount of the press-fitted part due to a load applied to the press-fitted part, the deformation amount being determined based on the information obtained in the pre-press-fit measurement process and the information obtained in the first post-press-fit measurement process, to the press-fit amount determined based on the relative distance obtained in the first post-press-fit measurement process; a second press-fitting step of press-fitting the press-fit part by the second stroke amount; A method for pressing in, comprising:

9. a second post-press-fit measuring step of measuring, after the second press-fit step, a position of an end face of the outer peripheral side component on a side opposite to the press-fit direction in a direction along the press-fit direction, a position of the press-fit head reference position in a direction along the press-fit direction, the relative distance, and a load applied to the press-fitted component; a learning process of acquiring learning data including information on the press-in state of the press-fit part in the first press-fit acquired in the first press-fit process, information on the second stroke amount, and information on the press-in amount of the press-fit part after the second press-fit in a state corresponding to the information on the press-fit state of the press-fit part in the first press-fit acquired in the first press-fit and the information on the second stroke amount, and generating a trained model using the learning data to infer a press-in amount inference value, which is the press-in amount of the press-fit part after the second press-fit process, from the information on the press-fit state of the press-fit part in the first press-fit acquired in the first press-fit process; Including, In the calculation step, information on the press-fit state of the press-fit part in the first press-fitting step acquired in the first press-fitting step is input to the trained model to acquire the press-fit amount inference value; The press-fitting method according to claim 8, further comprising the steps of:

10. acquiring, during the first press-fitting step, time series data of a position of an end face of the outer periphery side component on a side opposite to the press-fitting direction in a direction along the press-fitting direction, time series data of a position of the press-fitting head reference position in a direction along the press-fitting direction, time series data of the relative distance, and time series data of a load applied to the press-fitted component; The press-fitting method according to claim 9, further comprising the steps of:

11. A method for manufacturing an encoder, comprising the steps of: pressing a base part for supporting an optical component of the encoder into a rotating shaft of a motor with a target pressing amount in a pressing device, a holding step of holding the base part on an end surface of a press-fitting head facing a press-fitting direction, which is a direction in which the base part is press-fitted into the motor; a pre-press-fitting measurement process for measuring the relative distance between a position, in a direction along the press-fitting direction, of an end face on a counter-press-fitting direction side of an outer peripheral part that is integrated with the motor and is disposed on the outer peripheral side of the base part and the motor at the time of press-fitting, facing away from the press-fitting direction, and a position, in a direction along the press-fitting direction, of a press-fitting head reference position that is located on the counter-press-fitting direction side of the end face on the counter-press-fitting direction side of the outer peripheral part in the press-fitting head when the base part is pressed into the motor; a first press-fitting step of press-fitting the base component with a first stroke amount that is a target press-fitting amount for a first press-fitting step, the first stroke amount being smaller than the target press-fitting amount, the first stroke amount being determined based on the relative distance acquired in the pre-press-fitting measurement step; a measurement step after the first press-fitting, in which the relative distance and the load applied to the motor are measured after the first press-fitting; a calculation step of calculating a second stroke amount by adding a deformation amount of the motor due to a load applied to the motor, the deformation amount being determined based on the information obtained in the pre-press-fit measurement step and the information obtained in the first post-press-fit measurement step, to a press-in amount determined based on the relative distance obtained in the first post-press-fit measurement step; a second press-fitting step of press-fitting the base part by the second stroke amount; A method for manufacturing an encoder comprising the steps of:

12. a second post-press-fitting measurement step of measuring, after the second press-fitting step, a position of the end face of the outer periphery side component in a direction along the press-fitting direction, a position of the press-fitting head reference position of the press-fitting head in a direction along the press-fitting direction, the relative distance, and a load applied to the motor; a learning process for acquiring learning data including information on the press-in state of the base part in the first press-in acquired in the first press-in process, information on the second stroke amount, and information on the press-in amount of the base part after the second press-in in a state corresponding to the information on the press-in state of the base part in the first press-in acquired in the first press-in and the information on the second stroke amount, and using the learning data to generate a learned model for inferring a press-in amount inference value, which is the press-in amount of the base part after the second press-in process, from the information on the press-in state of the base part in the first press-in acquired in the first press-in process; Including, In the calculation step, information on the press-fit state of the base component in the first press-fitting step acquired in the first press-fitting step is input to the trained model to acquire the press-fit amount inference value; The method for manufacturing an encoder according to claim 11 .

13. acquiring time series data of the base part, the relative distance, and the load applied to the rotation shaft during the first press-fitting process; The method for manufacturing an encoder according to claim 12 .

14. A learning device that learns a press-in amount for pressing a press-in part into a press-received part at a target press-in amount in a press-in device, a first data acquisition unit that acquires learning data including information on a press-fit state of the press-fit part in a first press-fitting operation, the information being acquired in a first press-fitting operation in which the press-fit part is pressed in with a first stroke amount that is smaller than the target press-fit amount, information on a second stroke amount determined based on the information acquired in the first press-fitting operation, and information on a press-fit amount of the press-fit part after a second press-fitting operation in a state corresponding to the information on the press-fit state of the press-fit part in the first press-fitting operation acquired in the first press-fitting operation and the information on the second stroke amount; A model generation unit that generates a trained model for inferring a press-in amount inference value, which is a press-in amount of the press-in part after the second press-in, from information on the press-in state of the press-in part in the first press-in acquired in the first press-in, using the learning data; and A learning device comprising:

15. An inference device that infers a press-in amount for pressing a press-in part into a press-received part at a target press-in amount in a press-in device, a second data acquisition unit that acquires information on a press-fit state of the press-fit part in a first press-fitting operation in which the press-fit part is press-fitted with a first stroke amount that is smaller than the target press-fitting amount; an inference unit that infers a press-in amount inference value from information on the press-in state of the press-in part in the first press-fit acquired by the second data acquisition unit, using a trained model for inferring a press-in amount inference value, which is a press-in amount of the press-in part after a second press-fit, from information on the press-in state of the press-in part in the first press-fit acquired in the first press-fit; An inference device comprising:

Citation Information

Patent Citations

  • Insert press-in device

    JP1994126551A

  • Nut runner controller

    JP1994206127A

  • Position correcting method and device thereof

    JP1996215990A

  • Method and device for manufacturing press-in connecting member

    JP2001138143A

  • Method and apparatus for assembling rotary slit board of rotary encoder

    JP2007171106A

Cited By

  • Bulldozer half-shaft electronic pressing machine control method and system, terminal and medium

    CN120663092A

  • A bulldozer half shaft electronic press mounting machine control method, system, terminal and medium

    CN120663092B

  • Automobile hub bearing press-fitting system and press-fitting process

    CN121339894A