The present disclosure relates to a measuring device that measures a dimension of a workpiece or a matching degree with a master workpiece, and a forming machine including such a measuring device.
As a conventional measuring device, there is known a device that measures a dimension of a workpiece by image processing of an image of the workpiece captured by a camera (for example, JP 5666954 B2 (see paragraph [0020],
However, in the above-described conventional measuring device, there may be a case where a support member supporting a workpiece is reflected on an image thereby hiding part of the workpiece during imaging, or a case where the support member is erroneously recognized as part of the workpiece during image processing, or another failure occurs, and measurement cannot be performed accurately. Hence, development of a technology for solving the issue is required.
A measuring device according to an aspect of the present invention includes: a guide bar having a curved rod shape with one end portion extending in a horizontal direction or a direction inclined with respect to the horizontal direction to be connected to a forming machine that forms a coil spring and fitted to an inner side of the coil spring that is being formed by the forming machine, and another end portion extending in a vertical direction below the one end portion, the guide bar discharging the coil spring from the another end portion; a camera configured to image, in air, the coil spring in a vertical posture freely falling from the guide bar; and an image processing unit configured to perform image processing on an image of the coil spring captured by the camera, and to measure a dimension of the coil spring or a matching degree with a master workpiece.
A forming machine 10A according to the present embodiment will be described with reference to
The wire rod feeding device 33 includes a pair of rollers 34 disposed on a front surface of a base 11 and arranged vertically. As illustrated in
A core metal 13 protruding from the front surface of the base 11 is provided in front of the wire rod guide 12 in a wire rod feeding direction. As illustrated in
As illustrated in
Each of a pair of coiling tools 16A and 16B is fixed to the slider 41 of each of the pair of coiling slide mechanisms 40A and 40B. As illustrated in
As illustrated in
A cutting tool 15 is fixed to the slider 31 of the pitch and cut slide mechanism 30A which is on an upper side, and the wire rod 90 is cut by the cutting tool 15 and the core metal 13. On the other hand, a pitch tool 14 is fixed to the slider 31 of the pitch and cut slide mechanism 30B which is on a lower side. As illustrated in
Specifically, in the spring forming program, for example, a plurality of division points obtained by dividing a feeding length of one compression coil spring 91 to be fed by the wire rod feeding device 33 into a plurality of parts are set, and teaching of positions of the coiling tools 16A and 16B, the pitch tool 14, and the cutting tool 15 are performed for each of the division points. When the spring forming program is executed, the wire rod feeding device 33, the coiling tools 16A and 16B, the pitch tool 14, and the cutting tool 15 operate as described below by a so-called teaching playback.
The wire rod feeding device 33 feeds the wire rod 90 that has been cut by the cutting tool 15 and the core metal 13 at a preset feeding speed (see
Next, as illustrated in
As illustrated in
The guide pipe 22 has, for example, a tapered portion 22A extending in the vertical direction as a whole and expanding in diameter upward at an upper end portion, and has a straight portion 22B having a uniform inner diameter below the tapered portion 22A. The guide pipe 22 is disposed coaxially below the terminal end portion 21C of the guide bar 21, and a lower end of the guide bar 21 abuts against an upper surface opening of the guide pipe 22. A through hole 22C laterally penetrating through the inside and the outside of the guide pipe 22 is formed near the lower end thereof, and is covered by a sensor 50 fixed to an outer surface of the guide pipe 22. When a lower end portion of the compression coil spring 91 passes in front of the through hole 22C, this passing is detected by the sensor 50.
The sensor 50 may be of any type as long as it is a non-contact type, and may be, for example, any of an optical type, a magnetic type, an electric field type, a capacitance type, or the like. The sensor 50 may be disposed above or below the guide pipe 22. Furthermore, the terminal end portion 21C of the guide bar 21 may be received inside the guide pipe 22. The guide bar 21 may be a solid bar or a hollow bar (that is, a pipe).
The guide pipe 22 is supported by a base portion 26, and the base portion 26 is supported by a bracket 27 fixed to the front surface of the base 11. Although not illustrated in detail, the bracket 27 has, for example, a structure in which a support plate is bridged between tips of a pair of opposing walls facing each other with a lower end portion of the pitch and cut slide mechanism 30B on a lower side laterally interposed therebetween. The base portion 26 is fixed to a front surface of the bracket 27, the front surface being opposite to the base 11.
As illustrated in
The camera 24 is, for example, a CCD camera or a CMOS camera with a telecentric lens, and a front surface (that is, a surface having a lens) of the camera 24 and the forward protruding portion 26A face each other with a space therebetween. The camera 24 may be of any type as long as it can capture an image as digital data.
A support beam 26D is fixed to an upper front surface of the upward protruding portion 26C, and the guide pipe 22 is supported by the support beam 26D. A lower end portion of the guide pipe 22 is positioned directly above a front region R2 (specifically, a region surrounded on three sides by the camera 24, the forward protruding portion 26A, and the laterally long portion 26B) of the camera 24. As a result, as illustrated in
A container (not illustrated) is provided below the front region R2 of the camera 24, and the compression coil spring 91 having passed through the front region R2 of the camera 24 is accommodated in the container and conveyed to the above-described grinding step. Instead of the container, for example, a bar or a pipe extending in the up-down direction may be provided, and the compression coil spring 91 may be fitted to the bar or the pipe.
As illustrated in
As illustrated in
When the image is taken into the flash memory 62D, the CPU 62A executes an image processing program stored in the ROM 62C. The CPU 62A when the image processing program is executed serves as an “image processing unit” of the measuring device 20A.
The CPU 62A as the image processing unit performs the following image processing on the image of the compression coil spring 91 illustrated in
Next, a total length L0 of the compression coil spring 91 is specified. Specifically, first, two rectangular frames G1 and G2 illustrated in the up and down portions of
Lastly, a pitch of the compression coil spring 91 is specified. Specifically, first, a rectangular frame K1 illustrated in
When the measurement data group is stored in the flash memory 62D, a quality control program stored in the ROM 62C is executed. The CPU 62A when the quality control program is executed serves as a “quality control unit” of the measuring device 20A. Here, in the ROM 62C, reference values of a plurality of stages are set in advance for each piece of measurement data of the spring length L0, the outer diameter D, and the pitches P1 to P3, for example. The CPU 62A as the quality control unit displays notifications having different levels such as warning, caution, and abnormality on a monitor 60M depending on which stage of the reference value each piece of the measurement data falls within. For example, when any piece of measurement data is at an abnormal level, an abnormality signal is output to the controller 43, and the forming machine 10A is stopped.
The configuration of the present embodiment has been described above. As described above, in the measuring device 20A according to the present embodiment, the dimension of the compression coil spring 91 is measured by performing the image processing of the image of the compression coil spring 91 captured in air. Therefore, occurrence of failures can be suppressed that the support member supporting the compression coil spring 91 is reflected on the image and is erroneously recognized as part of the compression coil spring 91, or part of the compression coil spring 91 is hidden by the support member as in the related art. Thus, measurement by the image processing can be more accurately performed than in the related art.
Furthermore, since the compression coil spring 91 discharged from the forming region R1 of the forming machine 10A is guided by the workpiece guide 23 so as to descend to a position above the front region R2 of the camera 24 and then falls into the front region R2 of the camera 24, a posture of the compression coil spring 91 during imaging is stabilized, and thereby measurement of dimension and the like by the image processing is facilitated.
The workpiece guide 23 includes the guide bar 21 having a curved rod shape, and the starting end portion 21A of the guide bar 21 is fitted to an inner side of the compression coil spring 91 that is being formed, and the terminal end portion 21C extends in the vertical direction, so that the compression coil spring 91 discharged from the forming region R1 of the forming machine 10A can be smoothly guided to a position directly above the front region R2 of the camera 24. In addition, since the compression coil spring 91 falls into the front region R2 of the camera 24 in a posture in which the center axis is aligned along the vertical direction, imaging of the entire compression coil spring 91 is facilitated.
The present embodiment includes the guide pipe 22 disposed coaxially below the guide bar 21. Since the compression coil spring 91 passes through the inner side of the guide pipe 22, the guide pipe 22 can be firmly supported from the outside. As a result, guiding of the compression coil spring 91 to the position directly above the front region R2 of the camera 24 is stabilized, and the posture of the compression coil spring 91 during imaging is further stabilized.
In addition, the guide pipe 22 is provided with the sensor 50 that detects the passage of the compression coil spring 91, and the camera 24 operates according to the detection result by the sensor 50, to image the compression coil spring 91. Therefore, the data amount of images caused by useless imaging in which the compression coil spring 91 is not reflected is suppressed, and storing images is facilitated.
In addition, since the backlight 29 is provided that is arranged to face the camera 24 from the front, the compression coil spring 91 and the background can be easily distinguished from each other in the image of the compression coil spring 91, and measurement of the dimension and the like of the compression coil spring 91 by the image processing is facilitated. Furthermore, since the camera 24 is provided with the telecentric lens, a difference in appearance of the compression coil spring 91 between a side close to the camera 24 and a side far from the camera 24 is suppressed, and the measurement of the dimension and the like of the compression coil spring 91 by the image processing is facilitated.
Furthermore, since the measuring device 20A is included in the forming machine 10A and sequentially measures the dimension of the sequentially formed compression coil spring 91, efficient measurement can be performed.
In the forming machine 10A according to the present embodiment, the measurement result by the measuring device 20A is used for quality control, but control data of the tool group of the forming machine 10A may be automatically changed on the basis of the measurement result by the measuring device 20A. For this purpose, for example, as disclosed in JP 5777184 B2, the forming machine 10A according to the present embodiment may be configured to predict a dimension management target part by an autoregressive model to calculate a correction amount.
Furthermore, for example, regression analysis by machine learning may be used. Specifically, for example, the control data of each tool group set by teaching is changed to various values as explanatory variables, and the compression coil spring 91 is actually formed with each piece of control data changed to the various values. Then, the measuring device 20A measures the spring length L0, the outer diameter D, and the pitches P1 to P3 of the compression coil spring 91, and performs regression analysis by machine learning using the measurement results as target variables for the above-described explanatory variables. Then, the control data for forming any desired spring length L0, outer diameter D, and pitches P1 to P3 may be determined using the learned model.
A measuring device 20B according to the present embodiment is a modification of the first embodiment, and includes a plurality of the (for example, two) cameras 24 as illustrated in
As described above, according to the configuration of the present embodiment, since the dimension and the like of the compression coil spring 91 are measured on the basis of the images simultaneously captured by the plurality of the cameras 24, specifying the posture of the compression coil spring 91 during imaging is facilitated. Therefore, measurement error due to variation in the posture of the compression coil spring 91 can be suppressed.
The present embodiment is a modification of the first and the second embodiments, and is different from the first and the second embodiments in measuring a matching degree between the compression coil spring 91 and a master workpiece 91M as illustrated in
The present embodiment is different from the first embodiment in a method of specifying the dimension of the compression coil spring 91. Specifically, as illustrated in
Next, a straight line SL1 with respect to the plurality of center points C(n) (C(1) to C(6) and C(13) in
Next, using the above-described position data group, a difference between the Y-coordinate values of the edge points E1 and E2 is obtained as the spring length L0. Average of the absolute values of the X-coordinate values of the center point C(n) (n=1, 2, 3, . . . ) is obtained, and the average is doubled to obtain a coil average diameter D. Standard deviation σ(r) of the absolute value of the X-coordinate values of the center point C(n) (n=1, 2, 3, . . . ) is also obtained. The pitch P(n) (n=1, 2, 3, . . . ) illustrated in
The measuring device 20A of the first embodiment automatically and sequentially receives the compression coil spring 91 immediately after being discharged from the forming region R1 of the forming machine 10A, but may collect a plurality of compression coil springs 91 discharged from the forming machine 10A to receive the compression coil springs 91 in any order at any timing.
Although the forming machine 10A according to the first embodiment forms the compression coil spring 91, the forming machine may be any industrial machine that produces a workpiece. For example, the forming machine may be a forming machine that presses a sheet metal to draw or iron a workpiece, or may be a processing machine that cuts or grinds a workpiece. Alternatively, the forming machine may be any other machine.
The measuring devices 20A and 20B according to the first and the second embodiments measure the dimension and the like of the compression coil spring 91 on the basis of the two-dimensional images. Alternatively, the measuring devices 20A and 20B may have a configuration in which a three-dimensional model of the workpiece is specified on the basis of images simultaneously captured by a plurality of cameras, and the dimension of the workpiece or the matching degree with the master workpiece is measured from the three-dimensional model. With such a configuration, more detailed or accurate measurement can be performed than with a configuration in which dimension and the like are measured on the basis of a two-dimensional image.
The measuring device 20B according to the second embodiment is configured to simultaneously image the compression coil spring 91 by the two cameras 24, but the compression coil spring 91 may be simultaneously captured by the three or more cameras 24. For example, three cameras may be disposed at positions equally dividing a circumferential direction around a falling region of the compression coil spring 91 into three, and backlights may be disposed between adjacent cameras to image a workpiece from three directions. Alternatively, the workpiece in air may be imaged from the oblique upper side in four directions and from the oblique lower side in four directions by the eight cameras.
The measuring devices 20A and 20B according to the above-described embodiment each include the backlight 29 facing the camera 24, but may not include the backlight 29.
Hereinafter, a feature group extracted from the above embodiment will be described while showing effects and the like as necessary. Note that, in the following, corresponding configurations in the above embodiment will be appropriately indicated in parentheses or the like for easy understanding, but these feature groups are not limited to the specific configurations indicated in the parentheses or the like.
A measuring device (20A, 20B) including: a camera (24) configured to image a workpiece (91) manufactured by an industrial machine (10A) in air; and an image processing unit (62A) configured to perform image processing on an image of the workpiece (91) captured by the camera (24) and to measure a dimension of the workpiece (91) or a matching degree with a master workpiece (91M).
With the measuring device according to Feature 1, the dimension of the workpiece or matching degree with the master workpiece is measured by performing the image processing of the image of the workpiece captured in air. Therefore, occurrence of failures can be suppressed that the support member supporting the workpiece is reflected on the image and is erroneously recognized as part of the workpiece, or part of the workpiece is hidden by the support member as in the related art, and measurement by the image processing can be more accurately performed than in the related art.
The measuring device (20A, 20B) according to Feature 1, including a workpiece guide (23) configured to guide the workpiece (91) to descend from a forming region (R1) where the workpiece (91) is formed in a forming machine (10A) that is the industrial machine (10A) to a position above a front region (R2) of the camera (24).
In the measuring device according to Feature 2, since the workpiece discharged from the forming region of the forming machine is guided by the workpiece guide so as to descend to a position above the front region of the camera and then falls into the front region of the camera, a posture of the workpiece during imaging is stabilized, and measurement of dimension and the like by the image processing is facilitated.
The measuring device (20A, 20B) according to Feature 2, in which the workpiece (91) is a compression coil spring (91), and the workpiece guide (23) includes a guide bar (21) having a curved rod shape with one end portion extending in a horizontal direction or a direction inclined with respect to the horizontal direction to be fitted to the inner side of the compression coil spring (91) that is being formed, and another end portion extending in a vertical direction below the one end portion.
The workpiece guide may have any structure according to the shape of the workpiece. However, when the workpiece is a compression coil spring, the workpiece guide is structured to include a guide bar having a curved rod shape, whose one end portion of the guide bar extends in the horizontal direction or the direction inclined with respect to the horizontal direction and is fitted to the inner side of the compression coil spring that is being formed, and whose the other end portion extends in the vertical direction like the workpiece guide of the measuring device according to Feature 3, so that the compression coil spring discharged from the forming region of the forming machine can be smoothly guided to the position directly above the front region of the camera. In addition, since the compression coil spring falls into the front region of the camera in a posture in which the center axis is aligned along the vertical direction, imaging of the entire compression coil spring is facilitated.
The measuring device (20A, 20B) according to the feature 3, in which the workpiece guide (23) includes a guide pipe (22) that has a pipe shape extending in the vertical direction and is disposed coaxially below the other end portion of the guide bar (21).
When the workpiece is a compression coil spring, the workpiece guide may be only the guide bar of the feature 3. However, in order for the compression coil spring to pass through an outer side of the guide bar in a state of fitting with the guide bar, the guide bar can be supported only at the starting end portion, and thus there may be a problem that the guide bar vibrates. To cope with this, the measuring device according to Feature 4 includes a guide pipe disposed coaxially below the guide bar. Since the compression coil spring passes through the inner side of the guide pipe, the compression coil spring can be firmly supported from the outside, and thus vibration can be suppressed. As a result, guiding of the compression coil spring to the position directly above the front region of the camera is stabilized, and the posture of the compression coil spring during imaging is further stabilized.
The measuring device (20A, 20B) according to the feature 1, including a sensor (50) configured to detect the passage of the workpiece (91) above the camera (24), in which the camera (24) operates according to a detection result by the sensor (50) and images the workpiece (91).
With the measuring device according to Feature 5, the data amount of images caused by useless imaging in which the workpiece is not reflected is suppressed, and storing images is facilitated.
The measuring device (20A, 20B) according to Feature 1, including a backlight (29) arranged to face the camera (24) from the front.
In the measuring device according to Feature 6, the workpiece and the background are easily distinguished from each other in the image of the workpiece by the backlight, and measurement of the dimension and the like of the workpiece by the image processing is facilitated.
The measuring device (20A, 20B) according to the Feature 1, wherein the camera (24) includes a telecentric lens.
In the measuring device according to Feature 7, since the camera is provided with the telecentric lens, a difference in appearance of the workpiece between a side close to the camera and a side far from the camera is suppressed, and the measurement of the dimension and the like of the workpiece by the image processing is facilitated.
The measuring device (20A, 20B) according to Feature 1, in which a plurality of the cameras (24) are provided and disposed so as to be able to image the workpiece (91) from a plurality of directions, and the image processing unit (62A) is configured to measure a dimension of the workpiece (91) or a matching degree with the master workpiece (91M) on the basis of images simultaneously captured by the plurality of the cameras (24).
In the measuring device according to Feature 8, since the dimension and the like of a workpiece are measured on the basis of the images simultaneously captured by a plurality of cameras, specifying the posture of the workpiece during imaging is facilitated, and measurement error due to variation in the posture of the workpiece can be suppressed.
The measuring device (20A, 20B) according to Feature 8, in which the image processing unit (62A) is configured to specify a three-dimensional model of the workpiece (91) on the basis of images simultaneously captured by the plurality of the cameras (24), and to measure a dimension of the workpiece (91) or a matching degree with the master workpiece (91M) from the three-dimensional model.
In the measuring device according to Feature 9, since a three-dimensional model of a workpiece is specified on the basis of the images simultaneously captured by the plurality of cameras, and a dimension of the workpiece or a matching degree with the master workpiece is measured from the three-dimensional model, the measurement can be performed more in detail and more precisely than measurement based on the two-dimensional images.
A forming machine (10A) that sequentially forms a compression coil spring (91) from a wire rod (90), the forming machine (10A) including the measuring device (20A, 20B) according to any one of Features 1 to 9 configured to sequentially measure the compression coil spring (91) sequentially formed as a workpiece (91) to be measured.
A dimension and the like of the compression coil spring sequentially formed by the forming machine of Feature 10 can be efficiently measured by the measuring device.
Note that, although specific examples of the technology included in the claims are disclosed in the present specification and the drawings, the technology described in the claims is not limited to these specific examples, and includes those obtained by variously modifying and changing the specific examples, and also includes those obtained by singly extracting a part from the specific examples.
Number | Date | Country | Kind |
---|---|---|---|
2023-113019 | Jul 2023 | JP | national |