Cylinder inner surface imaging device
The cylindrical inner surface imaging device addresses brightness unevenness by adjusting illumination and exposure conditions, producing uniform images for effective inspection of cylindrical surfaces.
Patent Information
- Application Number
- JP2021090064
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-28
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-05-28
AI Technical Summary
Existing imaging technologies for cylindrical inner surfaces face issues with brightness unevenness due to light attenuation and reflection, leading to unsatisfactory combined images with varying brightness levels along the depth direction.
A cylindrical inner surface imaging device that uses an endoscope, a light irradiation device, and an industrial robot to capture wide-angle images, adjusting illumination and exposure conditions based on the insertion depth, and generating developed images in polar coordinates to combine images with uniform brightness.
The device effectively reduces brightness unevenness in combined images, enabling high-quality inspection results by ensuring consistent illumination across the depth of the cylindrical surface.
Smart Images

Figure 0007548870000001 
Figure 0007548870000003 
Figure 0007548870000002
Abstract
Description
[Technical field]
[0001] The present invention relates to an apparatus for imaging the inner peripheral surface of a cylinder. [Background technology]
[0002] Conventionally, a surface inspection system has been proposed that can improve the detectability and visibility of defects in recessed positions by performing a geometric transformation on a wide-angle image acquired by inserting an endoscope into a cylindrical space formed in a workpiece, creating an unfolded image of the inner wall side with the depth and circumferential directions as coordinate axes, and removing trends by sequentially performing a first smoothing process along the depth direction and a second smoothing process along the circumferential direction on this unfolded image (Patent Document 1).
[0003] Patent Document 1 discloses a technology for eliminating the tendency for the amount of auxiliary light to be greatest near the tip and to rapidly attenuate as it moves away from the tip of an endoscope, due to the diffusion phenomenon of light when it is emitted to the outside from the tip of the endoscope. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP2014-96020 (Abstract, 0043, Figures 1 and 3) Summary of the Invention [Problem to be solved by the invention]
[0005] However, when an endoscope is inserted deep into a bore and imaging is performed, a phenomenon occurs in which the image becomes brighter the further down the bore is, due to the reflection of illumination on the bottom surface, which is the opposite of the attenuation of light in the depth direction as pointed out in Patent Document 1. Also, when the side surface is uneven or the material or surface treatment is different, the image becomes brighter locally. For this reason, when images are sequentially captured while the endoscope is inserted into the bore and an image of the entire inner surface is obtained by cutting out and combining images near the insertion depth from the sequentially captured images, uneven brightness occurs, which is the opposite of what is pointed out in Patent Document 1.
[0006] Although it is possible to adjust the brightness of an image after it has been captured, this is also impossible if the brightness exceeds the upper or lower limit (saturates) and brightness information for that area is lost.
[0007] Therefore, an object of the present invention is to reduce brightness unevenness in a combined image obtained by sequentially capturing images of the inner surface of a cylinder in the depth direction. [Means for solving the problem]
[0008] The cylindrical inner surface imaging device of the present invention, which has been made to achieve this object, comprises an endoscope that can be inserted into a cylindrical portion formed in a workpiece, an illumination means for irradiating light into the cylindrical portion through the endoscope, an imaging means for acquiring a wide-angle image of the inner surface of the cylindrical portion through the endoscope, an industrial robot having at least a lifting function so as to insert the endoscope into the cylindrical portion while controlling the insertion depth, and an information processing means for generating an unfolded image of the inner surface of the cylindrical portion based on the wide-angle image captured by the imaging means, and further comprises the following configuration. (1A) The imaging means is configured as a means for acquiring a wide-angle image of the range illuminated by the lighting means when the endoscope is inserted to a predetermined depth by the industrial robot, and the information processing means is configured as a means for generating the inner surface unfolded image by combining, in the depth direction of the cylindrical portion, a plurality of unfolded images obtained by cutting out a predetermined range of the peripheral portion for each of a plurality of wide-angle images acquired at a plurality of points in the depth direction of the cylindrical portion and unfolding them in polar coordinates. (1B) Imaging conditions for acquiring a wide-angle image by the imaging means Among them, the light emission conditions of the illumination means or the exposure conditions of the imaging means are changed so as to reduce brightness unevenness in the inner surface developed image, Depending on the insertion depth of the endoscope, Changed according to The imaging schedule storage means stores imaging schedules set as individual conditions in association with workpiece information that identifies the cylindrical portion to be imaged. (1C) The imaging apparatus includes an operation control means for reading out an imaging schedule for a cylindrical portion to be imaged from the imaging schedule storage means based on the work information, and controlling the operation of the industrial robot, the lighting means, and the imaging means in accordance with the imaging schedule.
[0009] According to the cylindrical inner surface imaging device of the present invention, when work information is given to specify a work having a cylindrical portion to be imaged, the operation control means reads out the corresponding imaging schedule from the imaging schedule storage means, and controls the operation of the industrial robot, the lighting means, and the imaging means according to the imaging schedule. As a result, the industrial robot sequentially performs an operation in the depth direction of the cylindrical portion to cause the imaging means to acquire wide-angle images of the range illuminated by the lighting means when the endoscope is inserted into the cylindrical portion of the work to a predetermined depth. During this operation, the information processing means generates an inner surface developed image by combining, in the depth direction of the cylindrical portion, a plurality of developed images obtained by cutting out a predetermined range of the periphery from each of a plurality of wide-angle images obtained at a plurality of positions in the depth direction of the cylindrical portion and developing the images in polar coordinates. For the same type of work, inner surface developed images of the cylindrical portion of each work are generated according to the same imaging schedule. When the work to be imaged is changed, the work information of the changed work is given, and the above-mentioned operation is performed by the operation control means, and the information processing means generates an inner surface developed image of the cylindrical portion of the work by combining, in the depth direction of the cylindrical portion, a plurality of developed images obtained by cutting out a predetermined range of the periphery from the wide-angle images obtained at a plurality of positions in the depth direction and developing the images in polar coordinates. Here, the imaging schedule for each workpiece is an imaging schedule in which the imaging conditions for obtaining a wide-angle image by the imaging means from the range illuminated by the lighting means are set as individual conditions corresponding to the insertion depth of the endoscope. Therefore, different imaging conditions can be set for the top and bottom of the cylindrical portion, and uneven brightness in the internal expansion image due to the influence of reflected light near the bottom can be prevented.
[0010] Here, it is preferable that the cylindrical inner surface imaging device of the present invention further comprises the following configuration. (2A) The industrial robot is provided with a teaching means for teaching the robot an operation for acquiring the wide-angle images at a plurality of points in the depth direction of the cylindrical portion to be imaged. (2B) during teaching of the operation of the industrial robot by the teaching means; (2B) during teaching of the operation of the industrial robot by the teaching means; The above The imaging schedule adding means determines imaging conditions and stores the imaging schedule for the workpiece that is the subject of the teaching in the imaging schedule storage means together with workpiece information that identifies the workpiece.
[0011] According to the cylindrical inner surface imaging device having such a configuration, when the teaching means teaches the industrial robot the operation of inserting the endoscope into the cylindrical portion of each workpiece, the imaging schedule adding means determines imaging conditions for reducing unevenness in brightness in the inner surface developed image generated from the wide-angle images acquired at multiple points in the depth direction, and stores the imaging schedule for the workpiece that is the subject of the teaching in the imaging schedule storage means together with workpiece information that identifies the workpiece. This makes it possible to easily set optimal imaging conditions for each imaging target.
[0012] The cylindrical inner surface imaging device of the present invention may further include the following configuration. (3) The illumination means is configured as a means for executing strobe emission, and the imaging schedule is set so that the imaging conditions are set so as to reduce brightness unevenness in the internally expanded image at least by increasing or decreasing the emission period of the strobe emission for each location where the wide-angle image is acquired.
[0013] As imaging conditions for reducing brightness unevenness in the internal development image, "(a) a configuration for increasing or decreasing the illuminance in the illumination means" and "(b) a configuration for increasing or decreasing the exposure conditions and gain brightness in the imaging means" can also be applied according to the insertion depth of the endoscope. However, while (a) "increasing or decreasing the illuminance" may cause new problems such as increased costs and complicated control of the illumination means, and (b) "changing the conditions on the imaging means side" may cause new problems such as increased costs and complicated control of the imaging means, as described above, "(c) increasing or decreasing the light emission period of the strobe light emission" can be achieved by "lengthening or shortening the power supply time", and it is possible to reduce brightness unevenness without causing new problems such as increased costs and complicated control of the illumination means and imaging means. Effect of the Invention
[0014] According to the present invention, it is possible to reduce uneven brightness in an image that is combined from images obtained by sequentially capturing images of the inner surface of a cylinder in the depth direction. [Brief description of the drawings]
[0015] [Figure 1] 1 shows a cylindrical inner surface imaging device of Example 1, where (A) and (B) are oblique views showing how the device is attached to an articulated robot and used, and (C) is an enlarged oblique view of the main parts showing the relationship between irradiated light and reflected light during imaging. [Diagram 2] 1 shows a cylinder inner surface imaging device of Example 1, in which (A) is a block diagram of a control system, (B) is a flowchart of a teaching routine, and (C) is a flowchart of an imaging condition determination routine. [Diagram 3] 1 shows a cylinder inner surface imaging device according to a first embodiment, in which (A) is a flowchart of an imaging routine, and (B) is a flowchart of an unfolded image generating routine. [Figure 4] 3A to 3C are schematic diagrams for explaining the action and effect of the cylindrical inner surface imaging device of the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, the mode for carrying out the present invention will be described based on examples. EXAMPLES
[0017] The cylinder inner surface imaging device 10 of the first embodiment is attached to an articulated robot 1 as shown in Fig. 1, and is adapted to capture an image of the inner surface of the cylindrical part Wh by moving the endoscope 11 so that its axis is aligned with the center of the cylindrical part Wh of the workpiece W and capturing an image with the imaging device 13 at the timing when the lighting device 12 emits a strobe light. In this case, as shown in Fig. 1(C), when the endoscope 11 is inserted deep inside the cylindrical part wh, there is a concern that the imaging range may become too bright due to reflected light from near the bottom surface. The cylinder inner surface imaging device 10 of the present embodiment is adapted to solve this problem.
[0018] 2(A), the control system of the cylindrical inner surface imaging device 10 of the embodiment is configured mainly with a calculation device 100. The calculation device 100 is configured as a personal computer equipped with input devices such as a monitor 110, a storage device 120, a keyboard 131, a mouse 132, and a cursor key 133. The calculation device 100 transmits control commands to the articulated robot 1, the lighting device 12, and the imaging device 13 to capture images of the cylindrical part.
[0019] A teaching program (FIG. 2(B)), an imaging condition determination program (FIG. 2(C)), an imaging program (FIG. 3(A)), and an unfolded image generation program (FIG. 3(B)) are installed in the memory device 120 of the arithmetic device 100.
[0020] When the teaching program is started, the arithmetic device 100 waits for the input of workpiece information (S10), as shown in Fig. 2(B). The operator inputs the workpiece information by operating input devices such as the keyboard 131, the mouse 132, and the cursor keys 133.
[0021] The work information includes a work ID for identifying the work W to be imaged on the cylindrical inner surface, information on the work itself such as the material, surface treatment, and work dimensions of the work, information on the cylindrical part that identifies the position, hole diameter, depth, and other dimensions of the cylindrical part formed on the work, and information on the generation of the developed image related to the imaging pitch in the depth direction and the brightness of the developed image obtained by polar coordinate development of a predetermined range of the peripheral part of the imaged image. Here, the work ID may be configured to automatically assign a unique ID. Also, the imaging start position, end position, and movement pitch may be directly input. In addition, the illumination intensity, camera gain, brightness, gamma correction value, and the like may be input as reference imaging conditions. At this time, the arithmetic device 100 displays an input screen for work information on the monitor 110 to prompt the operator to input the work information.
[0022] When the workpiece information is input (S10: YES), the calculation device 100 stores the workpiece information in the storage device 120 (S20). When storage of the workpiece information is completed in this manner, the calculation device 100 calculates an imaging schedule based on the workpiece information (S30).
[0023] This imaging schedule is to align the center of the endoscope 11 with the center of the cylindrical part of the workpiece, position the tip of the endoscope 11 at a height that is the imaging start position, and then have the articulated robot 1 sequentially execute the operation of lowering the endoscope 11 straight down at a predetermined pitch from the top of the cylindrical part to an imaging end position near the bottom of the cylindrical part, and have the lighting device 12 emit a strobe light for a predetermined time when the descent stops, and have the imaging device 13 capture a wide-angle image at that time. If the workpiece information stored by S10 and S20 is different, this imaging schedule is also calculated as being different. In order to calculate this imaging schedule, information that associates a reference illuminance and a reference light emission period with parameters of the material and surface treatment of the workpiece and the hole diameter of the cylindrical part is stored in advance in the storage device 120.
[0024] Next, the arithmetic device 100 waits for the workpiece to be taught this time to be set (S40). At this time, the arithmetic device 100 displays a message on the monitor 110 prompting the operator to set the workpiece. Then, when the operator inputs that the workpiece has been set (S40: YES), the arithmetic device 100 outputs a command to the articulated robot 1 to align the center of the endoscope 11 with the center of the cylindrical part of the workpiece and position the tip of the endoscope 11 at a height that will be the imaging start position according to the imaging schedule (S50).
[0025] After moving the endoscope 11 to the imaging start position in this way, the arithmetic device 100 executes imaging condition determination processing (S100). When this imaging condition determination processing starts, as shown in Fig. 2(C), the arithmetic device 100 sets the imaging point n to "1" (S110), outputs a command to the articulated robot 1 to lower the endoscope 11 by a height Hn according to the imaging schedule calculated in S30, and when an operation completion signal is received from the articulated robot 1, causes the illumination device 12 to emit a strobe light based on the light emission condition Ln and causes the imaging device 13 to latch the wide-angle image PHTn at that time (S120).
[0026] Next, a predetermined range of the periphery of the latched wide-angle image PHTn is cut out, and an expanded image EXPIMGn is generated by polar coordinate expansion and stored in the storage device 120 (S130). After that, it is determined based on the imaging schedule whether the maximum depth to be imaged for the cylindrical portion Wh has been reached (S140), and if not, the imaging point n is incremented (S150) and the process returns to S120.
[0027] In this manner, the processes of S120 to S130 are repeatedly executed until the maximum depth to be imaged is reached with respect to the cylindrical portion (S140; YES), and then the expanded images EXPIMGn stored in the memory device 120 are read out and combined in the depth direction to form a combined image CMBIMG, which is displayed on the monitor 110 (S150), and the system waits for operator input as to whether or not there are any imaging points that require adjustment of the light emission conditions Ln (S160).
[0028] When an input is made indicating that there is an imaging point that requires adjustment of the light emission condition Ln (S160: YES), a message prompting the user to specify the imaging point that requires adjustment is displayed on the monitor 110, and the system waits for the user to specify the adjustment point m (S170).
[0029] When an imaging point m that needs adjustment is specified (S170: YES), the imaging schedule is updated by increasing or decreasing the light emission period as the light emission condition Lm for that imaging point m by the unit time Δt (S180), and the process returns to S110.
[0030] Here, whether the unit time Δt is to be increased or decreased may be input by an operator, or whether it is to be increased or decreased may be preset.
[0031] This update of the imaging schedule is repeatedly executed until the operator inputs an input indicating that there are no more imaging points requiring adjustment of the light emission conditions Ln. Then, when the operator inputs an input indicating that there are no more imaging points requiring adjustment of the light emission conditions Ln (S160: NO), the latest imaging schedule is stored in the storage device 110 together with the workpiece information (S190), and the process returns to the main flow of the teaching routine.
[0032] Once the imaging schedule for one workpiece has been determined in this way, it is determined whether there is a next workpiece for which an imaging schedule should be determined (S200). The operator operates the input device to input whether there is a next workpiece. If there is a next workpiece (S200: YES), the process from S10 is executed. If the imaging schedule for all workpieces to be imaged has been determined (S200: NO), the teaching routine is terminated.
[0033] Next, the imaging process of the cylinder inner surface in this embodiment will be described with reference to the flowchart in Fig. 3. When the operator inputs work information (S310: YES), the arithmetic device 100 reads out the imaging schedule stored in association with the work information from the storage device 110 (S320), and waits for the work to be imaged this time to be set (S330). When the operator inputs that the work has been set (S330: YES), the arithmetic device 100 outputs a command to the articulated robot 1 to align the center of the endoscope 11 with the center of the cylindrical part of the work and position the tip of the endoscope 11 at a height that will be the imaging start position (S340) according to the imaging schedule read out in S320.
[0034] After the endoscope 11 has been moved to the imaging start position in this way, the arithmetic device 100 executes imaging processing (S400). When this imaging processing starts, as shown in Fig. 3(C), the arithmetic device 100 sets the imaging point n to "1" (S310), outputs a command to the articulated robot 1 to lower the endoscope 11 by a height Hn according to the imaging schedule read out in S320, and when an operation completion signal is received from the articulated robot 1, causes the illumination device 12 to emit a strobe light based on the light emission condition Ln and causes the imaging device 13 to latch the wide-angle image PHTn at that time (S420).
[0035] Next, a predetermined range of the periphery of the latched wide-angle image PHTn is cut out, and an expanded image EXPIMGn is generated by polar coordinate expansion and stored in the storage device 120 (S430). After that, it is determined based on the imaging schedule whether the maximum depth to be imaged in the cylindrical portion has been reached (S440), and if not, the imaging point n is incremented (S450) and the process returns to S420.
[0036] In this manner, the processes of S420 to S430 are repeatedly executed until the maximum depth to be imaged is reached with respect to the cylindrical portion (S440; YES), and then the expanded images EXPIMGn stored in memory device 120 are read out and combined in the depth direction to generate a combined image CMBIMG (S460), and the combined image CMBIMG thus generated is stored in memory device 120, and the process returns to the main routine of the imaging process (S470).
[0037] When returning to the main routine of the imaging process, the arithmetic device 100 judges whether or not there are any workpieces of the same type remaining to be imaged (S500). If there are any workpieces of the same type remaining to be imaged (S500: YES), the process returns to the process of S330. On the other hand, if there are no workpieces of the same type remaining to be imaged (S500: NO), the process judges whether or not to image a different type of workpiece (S600). If imaging a different type of workpiece (S600: YES), the process returns to S310 and requests input of workpiece information for the workpiece. If new workpiece information is input (S310: YES), the imaging schedule stored in correspondence with the newly input workpiece information is read out (S320), and the process from S330 onwards is executed.
[0038] The action and effect of this embodiment will be described with reference to the schematic diagram of FIG. 4. As shown in the figure, when imaging is performed under the same light emission conditions at all imaging points, a wide-angle image PHT1 with a dark depth is captured at the top of the hole, whereas a wide-angle image PHT4 with a bright overall depth is captured near the bottom of the hole due to the influence of reflected light from the bottom surface. The exfoliated images EXPIMG1 to EXPIMG5 obtained by cutting out a predetermined peripheral area based on the wide-angle images PHT1 etc. captured under the same light emission conditions have different brightness in the depth direction of the cylindrical part wh, and the combined image CMBIMG generated from these has brightness unevenness in the depth direction. In contrast, the exfoliated images EXPIMG1c to EXPIMG5c obtained by cutting out a predetermined peripheral area based on the wide-angle images PHT1c etc. captured based on the imaging schedule obtained by determining the optimal light emission conditions for each imaging point determined by the teaching process of this embodiment all have approximately the same brightness, and the combined image CMBIMGc generated from these has no brightness unevenness in the depth direction.
[0039] If the combined image CMBIMGc thus obtained is subjected to a judgment process using an image processing method or the like, highly reliable inspection results can be obtained.
[0040] Although the embodiment of the present invention has been described above, the present invention is not limited to this, and can be embodied in various ways without departing from the spirit and scope of the present invention.
[0041] For example, the necessity of adjusting the light emission conditions in the imaging condition determination process may be determined by the image processing program. In the embodiment, the case where the endoscope insertion operation is taught using an articulated robot as an example of an industrial robot has been described, but an imaging schedule in which optimized imaging conditions are set when teaching the endoscope insertion operation using a scalar robot or an orthogonal robot instead of the articulated robot may be added. In this case, when an orthogonal robot having only a linear axis in the lifting direction is used as the industrial robot, a jig for each work may be used to align the axis of the cylindrical part and the endoscope. In addition, the illumination device is not limited to strobe illumination, but may be a type that performs continuous illumination, and the imaging conditions that change the exposure conditions of the imaging device according to the insertion depth of the endoscope may be set as the imaging schedule. [Industrial Applicability]
[0042] The present invention can be used for inspecting the inner surfaces of cylindrical parts of various workpieces. [Explanation of symbols]
[0043] 1···Articulated robot, 10···Cylindrical inner surface imaging device, 11···Endoscope, 12···Lighting device, 13···Imaging device, CMBIMG, CMBIMGc···Combined image, EXPIMG1 to EXPIMG5, EXPIMG1c to EXPIMG5c···Unfolded image, PHT1 to PHT4, PHT1c to PHT4c···Wide-angle image, W···Workpiece, Wh··Cylindrical part.
Claims
1. A cylindrical inner surface imaging device comprising an endoscope that can be inserted into a cylindrical portion formed in a workpiece, an illumination means for irradiating light into the cylindrical portion through the endoscope, an imaging means for acquiring a wide-angle image of the inner surface of the cylindrical portion through the endoscope, an industrial robot having at least a lifting function so as to insert the endoscope into the cylindrical portion while controlling the insertion depth, and an information processing means for generating an expanded image of the inner surface of the cylindrical portion based on the wide-angle image captured by the imaging means, and further comprising the following configuration. (1A) The imaging means is configured as a means for acquiring a wide-angle image of the range illuminated by the lighting means when the endoscope is inserted to a predetermined depth by the industrial robot, and the information processing means is configured as a means for generating the inner surface unfolded image by combining, in the depth direction of the cylindrical portion, multiple unfolded images obtained by cutting out a predetermined range of the peripheral portion for each of multiple wide-angle images acquired at multiple points in the depth direction of the cylindrical portion and unfolding them in polar coordinates. (1B) An imaging schedule storage means is provided for storing an imaging schedule in which, among the imaging conditions for obtaining a wide-angle image by the imaging means, the light emission conditions in the illumination means or the exposure conditions in the imaging means are set as individual conditions that are changed according to the insertion depth of the endoscope so as to reduce brightness unevenness in the internal surface unfolded image, and the imaging schedule is stored in association with work information that identifies the cylindrical portion to be imaged. (1C) The present invention is provided with an operation control means for reading out an imaging schedule for a cylindrical portion to be imaged from the imaging schedule storage means based on the work information, and controlling the operation of the industrial robot, the lighting means, and the imaging means in accordance with the imaging schedule.
2. 2. The cylindrical inner surface imaging device according to claim 1, further comprising the following configuration: (2A) A teaching means is provided for teaching the industrial robot an operation for acquiring the wide-angle images at a plurality of locations in the depth direction of the cylindrical portion to be imaged. (2B) The present invention is provided with an imaging schedule adding means for determining the imaging conditions while teaching the operation of the industrial robot by the teaching means, and storing the imaging conditions in the imaging schedule storage means together with work information identifying the work as an imaging schedule for the work that was the subject of the teaching.
3. 3. The cylindrical inner surface imaging device according to claim 1, further comprising the following configuration: (3) The illumination means is configured as a means for executing strobe emission, and the imaging schedule is set so that the imaging conditions are set so as to reduce brightness unevenness in the internally expanded image, at least by increasing or decreasing the emission period of strobe emission for each location where the wide-angle image is acquired.
Citation Information
Patent Citations
Inner surface observing method and inner surface observing device
JP2003302207A
Internal surface defect inspection apparatus of screw hole or hole
JP2011089826A
Image processing method, image processor, surface inspection system, and program
JP2014096020A
Fault detecting apparatus
JP2015135253A
Hole inner surface inspection apparatus, hole inner surface image processing method, and apparatus
JP2016003885A
