Casting inspection equipment
The casting inspection device employs dual-wavelength lighting and image correction to efficiently and accurately identify cast letters within through holes, addressing the limitations of conventional recognition methods.
Patent Information
- Application Number
- JP2022058651
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-12-15
- Estimated Expiration
- 2042-03-31
AI Technical Summary
Conventional cast-in character recognition devices struggle to accurately inspect cast letters formed on the inner surface of through holes in castings due to incomplete light reflection, necessitating inefficient human visual inspection.
A casting inspection device uses dual light sources emitting different wavelengths from opposite ends of a through hole to create shadows (contours) of protrusions, combines images based on these wavelengths, and corrects brightness issues using additional wavelength components to enhance image clarity.
Enables efficient and accurate identification of cast letters within through holes by eliminating the need for repeated imaging and correcting brightness inconsistencies, improving inspection efficiency and accuracy.
Smart Images

Figure 0007785595000001 
Figure 0007785595000002 
Figure 0007785595000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to a casting inspection device for inspecting castings such as disk rotors. [Background technology]
[0002] When providing a casting with some kind of identification information, cast-in letters may be formed during casting. For example, in the case of a disc rotor formed by casting, the cast-in letters may include the manufacturer's name, a vehicle-specific symbol, and a wear limit mark. In this specification, the term "cast-in letters" does not refer only to letters in the strict sense, such as the alphabet, but also includes numbers, symbols, codes, marks, and the like.
[0003] Cast letters may be missing or partially crushed, making them difficult to identify visually. Therefore, if the cast letters are difficult to identify because they exceed the tolerance range, they must be judged as defective, but sorting them visually is inefficient.
[0004] Therefore, a cast character recognition device has been proposed that can automatically recognize cast characters by measuring the cast characters three-dimensionally using a laser scanning sensor (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Japanese Patent Application Laid-Open No. 2007-219943 Summary of the Invention [Problem to be solved by the invention]
[0006] When forming cast letters on a casting, they are sometimes formed in a relatively inconspicuous location. Specifically, they are formed on the inner circumferential surface of a through hole. In the case of a ventilated disc rotor, the cast letters are formed on the inner circumferential surface of the ventilated portion.
[0007] In this case, conventional cast-in character recognition devices are configured to irradiate a laser beam from above the cast character and detect the reflected light with a sensor directly above the cast character, making it impossible to recognize the cast character inside the through hole. While it is possible to irradiate a laser beam from one side of the through hole, the irradiated laser beam would only reach a portion of the cast character, leaving many areas where the reflected light does not return to the sensor, making it impossible to recognize the character accurately enough to determine whether the cast character is correct. Therefore, the inspection of cast-in characters formed on the inner surface of a through hole is currently left to human visual inspection.
[0008] The present invention has been made in consideration of the above circumstances, and has as its object to provide a casting inspection device that can efficiently and as accurately as possible inspect protrusions such as cast letters formed in through holes in castings. [Means for solving the problem]
[0009] In order to achieve the above object, the first invention is: A casting inspection device that inspects a protrusion that protrudes from an inner peripheral surface of a through hole formed in a casting, a first light source that irradiates light of a first wavelength from a first end side of the through hole toward the protrusion; a second light source that irradiates light having a second wavelength different from the first wavelength from a second end side of the through hole toward the protruding portion; an imaging unit that captures an image of the protrusion from the first end side in a state in which the first light source and the second light source are emitting light; an identification unit that extracts a first image based on the wavelength component of the first wavelength and a second image based on the wavelength component of the second wavelength from the imaging results of the imaging unit, corrects the first image, and then generates a composite image by combining the corrected image and the second image, thereby identifying the shape of the protrusion; Equipped with The correction of the first image is characterized by increasing the brightness of areas with low brightness that occur in the areas corresponding to the protrusions due to unevenness of the casting surface of the protrusions.
[0010] The second invention is: the imaging result is a color image, In the color image, halation occurs in the same location as the portion of low brightness that occurs in the location corresponding to the protrusion in the first image, The identification unit extracts a third image from the imaging result, which is a wavelength component of light having a wavelength different from the first wavelength and the second wavelength, which is the wavelength of light exhibited by the halation portion or an approximate wavelength thereof, converts the first image and the third image into grayscale images, compares the brightness of each pixel at the same coordinates between the first image and the third image, and generates the corrected image by adopting the pixel with the higher brightness.
[0011] The term "approximate wavelength" in the second invention means a color having a wavelength within a range of 50 nm both in front and behind the wavelength of the light exhibited by the halation portion.
[0012] The third invention is the first wavelength is a blue wavelength; the second wavelength is a red wavelength; The third image is characterized by being an image with wavelength components in the range from green to yellow.
[0013] A fourth invention is characterized in that the protrusions are cast letters. [Effects of the Invention]
[0014] According to the first aspect of the present invention, by irradiating the protrusion with light from a first light source from the first end side of the through hole, a shadow (first contour) formed by the light being blocked by the protrusion appears on the protrusion on the second end side of the through hole. Similarly, by irradiating the protrusion with light from a second light source from the second end side of the through hole, a shadow (second contour) formed by the light being blocked by the protrusion appears on the protrusion on the first end side of the through hole. By identifying the shape of the protrusion from these shadows (contours), it becomes possible to identify the shape of the protrusion even when light is irradiated on the protrusion from the side rather than directly above.
[0015] Furthermore, when light is emitted from the first light source and the second light source simultaneously, the shadows that create the first and second contours are erased. In this regard, in the first invention, the first light source and the second light source emit light of different wavelengths, and after capturing an image with the imaging unit, a first image based on the first wavelength component and a second image based on the second wavelength component are extracted and these images are combined, thereby making it possible to identify the shape of the protrusion using the shadows (contours). Therefore, it is not necessary to repeatedly capture an image by emitting light from only one light source and then emitting light from only the other light source, and the shape of the protrusion can be identified at once, thereby improving inspection efficiency.
[0016] Furthermore, the unevenness of the casting surface of the protrusion causes diffused light, reducing the bounce of specularly reflected light irradiated from the first end, and therefore the imaging unit installed on the first end cannot capture the specularly reflected light. Therefore, in the first image, low-brightness areas appear in the areas corresponding to the protrusion, even though they should have been hit by light irradiated from the first end. If the first image is directly combined with the second image, the low-brightness areas in those areas remain, which can result in insufficient identification of the shape of the protrusion. In this regard, according to the first invention, correction is performed to increase the brightness of the low-brightness areas in the areas corresponding to the protrusion in the first image. This corrected image is used to generate an image combined with the second image, preventing low-brightness areas from remaining in the areas corresponding to the protrusion, thereby improving the accuracy of identifying the shape of the protrusion.
[0017] In the color image obtained by imaging, the first and second wavelength light are specularly reflected by the unevenness of the casting surface of the protrusions, and in particular, the specularly reflected light of the second wavelength light irradiated from the second end opposite the imaging unit bounces back and enters the imaging unit, causing halation in places corresponding to the protrusions. Here, halation refers to a condition in which the light intensity is particularly strong compared to other areas on the image. The halation occurs in the same location as the low-brightness area in the first image corresponding to the protrusions, and is caused by the unevenness that creates the low-brightness area in the first image.
[0018] The unevenness of the casting surface varies from one casting to another, and it is difficult to suppress this variation. Therefore, the location of the halation (the same location as the low-brightness area that occurs in the area corresponding to the protrusion in the first image) varies depending on the casting or the location of the protrusion. In this regard, according to the second invention, the halation is identified for each protrusion to be imaged. Then, by using the third image, in which the halation area is displayed with a higher brightness than other areas, and the first image, and combining the two images by using the higher brightness pixel by pixel, the low-brightness area in the first image is replaced with the image of the halation area, resulting in a composite image in which the brightness of the area is increased. This allows the low-brightness area that occurred in the area corresponding to the protrusion in the first image to be accurately corrected to a high-brightness area, even if the location of the halation varies.
[0019] According to the third invention, when blue wavelength light is irradiated from the first end side and red wavelength light is irradiated from the second end side, the wavelength of the light exhibited by the halation portion is wavelength components in the range from green to yellow. Therefore, by using an image with wavelength components in this range as the third image to correct the first image, it is possible to prevent low-luminance areas from remaining in the areas corresponding to the protrusions.
[0020] According to the fourth aspect of the present invention, by inspecting cast characters that present information such as information used to identify a casting, it is possible to inspect whether the cast characters are human-readable. [Brief explanation of the drawings]
[0021] [Figure 1] 2 is a schematic diagram showing a longitudinal section of a disk rotor and the configuration of an inspection device. FIG. [Figure 2] 2 is a cross-sectional view of a disk rotor (a cross-sectional view taken along line 2-2 in FIG. 1) and a schematic diagram showing a partial configuration of an inspection device. [Figure 3] 5A and 5B are a flowchart showing processing by an image processing unit and an explanatory diagram showing images in the processing process. [Figure 4] 1A and 1B are explanatory diagrams for comparing a color image and a first image, where (a) shows the color image and (b) shows the first image. DETAILED DESCRIPTION OF THE INVENTION
[0022] An embodiment of the present invention will be described with reference to the drawings. A disc rotor 10 used as part of a vehicle brake mechanism has a plurality of molded characters 11 formed on it. In this embodiment, the casting inspection device of the present invention is embodied as an inspection device 30 that inspects the molded characters 11.
[0023] <Configuration of disc rotor 10> First, the configuration of the disc rotor 10 to be inspected by the inspection device 30 will be described. As shown in Figures 1 and 2, the disc rotor 10 is generally disk-shaped overall and has a hat portion 12 and a sliding portion 13. The hat portion 12 is attached to a hub provided at the end of an axle of a vehicle such as an automobile. The hat portion 12 has a bottom surface portion 14 and a peripheral surface portion 15.
[0024] The bottom surface portion 14 is in the shape of a circular plate, with a mounting hole 16 formed in the center. A plurality of bolt insertion holes (not shown) are formed around the mounting hole 16. The mounting holes 16 and the bolt insertion holes are used to connect the disc rotor 10 to a hub. The peripheral surface portion 15 is in the shape of a cylinder extending from the outer periphery of the bottom surface portion 14, and forms the peripheral surface of the hat portion 12.
[0025] The sliding portion 13 is connected to the end of the peripheral surface portion 15 opposite the bottom surface portion 14. The sliding portion 13 is the portion that is sandwiched and pressed against the disc pad when the vehicle brakes. The sliding portion 13 is formed to protrude outward in an annular shape from the peripheral surface portion 15. The front and back surfaces of the sliding portion 13 form a pair of sliding surfaces 17 that are pressed against the disc pad.
[0026] The sliding portion 13 includes an inner disk portion 18, an outer disk portion 19 disposed on the outer side of the inner disk portion 18, and fins 20. The fins 20 connect the inner disk portion 18 and the outer disk portion 19 at multiple locations in the circumferential direction. The fins 20 extend radially, and the space surrounded by the inner disk portion 18, the outer disk portion 19, and the fins 20 forms ventilated portions 21 that penetrate in the radial direction (diameter direction). The ventilated portions 21 are flow paths through which air flows when the vehicle is running, and the flow of air allows the sliding portion 13 to be cooled quickly. The ventilated portions 21 correspond to through holes.
[0027] The disc rotor 10 of this embodiment is an inner hat type in which the peripheral surface portion 15 and the inner disc portion 18 are connected, and is a one-piece casting in which the hat portion 12 and the sliding portion 13 are integrally formed.
[0028] The disc rotor 10 is formed with cast letters 11 as protrusions that protrude from the surface of the inner disc portion 18 on the ventilated portion 21 side toward the outer disc portion 19 side. One cast letter 11 is formed for each ventilated portion 21, and is formed by casting. The cast letters 11 are intended to display the manufacturer's name, vehicle-specific symbol, and wear limit mark. The cast letters 11 are formed in a position closer to the outer peripheral edge than the inner peripheral edge of the ventilated portion 21, making it easier to visually confirm the displayed content from the outer peripheral side of the disc rotor 10.
[0029] A core is used in the casting stage to form the ventilated portion 21 and the cast letters 11. A baseboard is used in the casting stage to form a window portion 22 on the peripheral surface portion 15 of the inner hat type disc rotor 10. The window portion 22 is a space that penetrates the peripheral surface portion 15 from the inside to the outside, and is formed at the same height as the ventilated portion 21. Also, as shown in FIG. 2, one window portion 22 is formed for each pair of adjacent ventilated portions 21 so that a core can be passed through the pair of ventilated portions 21.
[0030] Here, since the cast letters 11 are formed integrally with the disc rotor 10 by casting, the letters may be chipped or partially crushed. Therefore, it is necessary to inspect the cast letters 11 to ensure that the manufacturer's name and other information is still legible. An inspection device 30 for this inspection will be described below.
[0031] <Configuration of inspection device 30> The inspection device 30 includes a support shaft 31 disposed on the inner peripheral side of the hat portion 12. The support shaft 31 extends in the vertical direction. An engagement portion 32 formed on the upper end of the support shaft 31 is inserted into the mounting hole 16 and engages with the disc rotor 10, thereby supporting the disc rotor 10 on the support shaft 31 in a state in which the disc rotor 10 can rotate integrally with the support shaft 31. A motor 33 is connected to the support shaft 31, and rotation of the motor 33 causes the disc rotor 10 to rotate about its own central axis.
[0032] A color camera 35 serving as an imaging unit and a blue LED 36 serving as a first light source are installed on the outer periphery of the hat portion 12. A red LED 37 serving as a second light source is installed in the gap between the inner periphery of the hat portion 12 and the outer periphery of the support shaft portion 31. The first end corresponds to the outer periphery of the hat portion 12, and the second end corresponds to the inner periphery of the hat portion 12.
[0033] The red LED 37 irradiates light with a wavelength corresponding to red through the window 22 from the inner peripheral edge to the outer peripheral edge of the ventilated portion 21, with the optical axis directed horizontally along the ventilated portion 21. As shown in FIG. 2, the red LED 37 irradiates light toward a pair of adjacent ventilated portions 21.
[0034] The blue LED 36 irradiates light with a wavelength corresponding to blue from the outer circumferential edge to the inner circumferential edge of the ventilated portion 21, with the optical axis directed horizontally along the ventilated portion 21. As shown in Fig. 2, a pair of blue LEDs 36 are provided, and are respectively arranged on the extensions of a pair of adjacent ventilated portions 21.
[0035] The color camera 35 is a camera that can simultaneously capture light of each wavelength emitted from the blue LED 36 and the red LED 37. The color camera 35 is disposed diagonally above the cast letters 11. Here, the depression angle θ1 of the color camera 35 is larger than the depression angle θ2 (=0 degrees) of the blue LED 36 and the red LED 37, whose optical axes are arranged in the horizontal direction. As shown in FIG. 2, the color camera 35 is located between the pair of blue LEDs 36 and on the extension of the optical axis of the red LED 37 in a plan view. The color camera 35 is configured so that it can simultaneously capture images of the cast letters 11 arranged on a pair of adjacent ventilated portions 21. For example, in the state shown in FIG. 2, the color camera 35 simultaneously captures images of the two cast letters 11, "M" and "I."
[0036] The inspection device 30 includes a controller 40 that controls a motor 33 , a color camera 35 , a blue LED 36 and a red LED 37 .
[0037] The controller 40 includes a rotation control unit 41, which controls the rotation of the motor 33. The controller 40 includes an LED control unit 42, which controls the turning on and off of the pair of blue LED 36 and red LED 37. The controller 40 includes a camera control unit 43, which controls the timing of image capture by the color camera 35.
[0038] The rotation control unit 41 rotates the disc rotor 10 and stops it at a rotational position where the red LED 37 is at the center position of the window portion 22 and the blue LEDs 36 are at the center position of the ventilated portions 21, as shown in Fig. 2. With the rotation control unit 41 stopping the motor 33, the LED control unit 42 turns on the blue LEDs 36 and the red LEDs 37, and at the same time, the camera control unit 43 causes the color camera 35 to capture images. The color camera 35 captures images of the two cast letters 11 illuminated by the blue LEDs 36 and the red LEDs 37 at once.
[0039] When the color camera 35 has finished capturing an image, the LED control unit 42 turns off the blue LEDs 36 and the red LEDs 37, and the rotation control unit 41 rotates the motor 33 until the red LED 37 is positioned at the center of the next window 22. This allows the next cast-in letter 11 to be captured.
[0040] The controller 40 is equipped with an image storage unit 44, which stores images captured by the color camera 35. The controller 40 is equipped with an image processing unit 45, which retrieves images captured by the color camera 35 from the image storage unit 44 and processes them to identify the shapes of the cast letters 11. The processing executed by the image processing unit 45, which is an identifying unit, will be described below.
[0041] <Image processing flow> In step S11, the image processing unit 45 determines whether or not a new image of the cast letters 11 has been captured by the color camera 35 based on the information stored in the image storage unit 44. If a new image of the cast letters 11 has not been captured, this process ends. If a new image has been captured, the process proceeds to step S12.
[0042] The color camera 35 captures images of two adjacent cast letters 11 at a time, and performs the following image processing on these two cast letters 11. For example, in the state shown in FIG. 2, the two cast letters 11, "M" and "I," are captured and image processed simultaneously. However, since the image processing is the same for each cast letter 11, the following description will be given using the cast letter 11 displayed as "M" in FIG. 2 as an example.
[0043] In step S12, a filter that extracts only the blue wavelength component is applied to the image, and a grayscale first image 51 obtained by the blue wavelength component is extracted. Because the blue LED 36 is irradiated onto the cast-in letters 11 from the lower side in FIG. 3(a) (the outer peripheral side of the ventilated portion 21), in the first image 51, the area above a part (upper portion) of the outline of the cast-in letters 11 is in shadow, as shown in FIG. 3(a). Therefore, the area above the upper portion of the outline of the cast-in letters 11 becomes a low-luminance area 52 that is lower in luminance than the area below that part, and the area below becomes a high-luminance area 55. The first image 51 is temporarily stored in the image storage unit 44.
[0044] Here, because the cast letters 11 are formed integrally with the disc rotor 10 by casting, their surfaces are cast-like surfaces with irregularities. These irregularities cause the light emitted from the blue LED 36 to diffuse, reducing the amount of specularly reflected light. As a result, the color camera 35, which is mounted on the outer periphery of the hat portion 12, along with the blue LED 36, is unable to capture the specularly reflected light emitted from the blue LED 36. As a result, in the first image 51, low-luminance dark areas 53 appear in places corresponding to the cast letters 11, as shown in Figures 3(a) and 4(b), even though these areas should be hit by light emitted from the blue LED 36. Note that the dark areas 53 do not mean that the entire image is solid black. If the first image 51 in this state is used as is to perform image processing for identifying the shape of the cast letters 11, the outline of the cast letters 11 may become unclear or part of the outline may be crushed due to the blackened areas 53 that appear on the letters, which may result in a deterioration in the accuracy of measuring the line length of the outline and ultimately in a deterioration in the accuracy of character recognition.
[0045] Therefore, in step S13, a filter that extracts only the green wavelength component is applied to the image retrieved from the image storage unit 44, and a grayscale third image 54 obtained from the green wavelength component is extracted. The green wavelength component was selected for the following reason.
[0046] As shown in FIG. 4( a), in a color image 71 captured by the color camera 35, the area above the lower portion of the outline of the cast letter 11 is illuminated by light from the red LED 37 and appears red, while the area below that area is illuminated by light from the blue LED 36 and appears blue. Halation occurs in places corresponding to the cast letter 11, resulting in the appearance of halation areas 72. The halation occurs when light irradiated from the blue LED 36 and the red LED 37 is specularly reflected by the unevenness of the cast surface of the cast letter 11, particularly when specularly reflected light from the red LED 37 is irradiated from the inner periphery opposite the color camera 35 and bounces back and enters the color camera 35. Note that halation refers to a state in which light intensity in a certain area of the color image 71 is particularly strong compared to other areas. As shown in comparison with the first image 51 in Figure 4, the halation area 72 occurs in the same location as the black drop area 53 that occurred in the first image 51, because it occurs due to the unevenness that causes the black drop area 53 in the first image 51.
[0047] The inventors performed a spectroscopic analysis of the halation portion 72 and examined its RGB components (red, green, and blue). As a result, they found that the red and green elements were relatively stronger than the blue, and that the light from the halation portion 72 exhibited a yellow color (wavelength of approximately 580 nm). Of the yellow RGB components, the red was excluded because it was used as the light irradiated from the red LED 37, and the remaining green wavelength is also an approximate wavelength of the yellow exhibited by the halation portion 72. Therefore, in the image processing program executed by the image processing unit 45, the green wavelength was previously adopted as the wavelength component for identifying the halation portion 72. Note that the approximate wavelength means a wavelength within a range of 50 nm either side of the wavelength of the light exhibited by the halation portion 72.
[0048] The number of vertical and horizontal pixels in third image 54 is the same as that in first image 51. The image capture result is obtained when blue wavelength light and red wavelength light are irradiated, so third image 54, which is made up of green wavelength components, has low brightness areas 52 overall, as shown in FIG. 3(b). However, in areas corresponding to black areas 53 in first image 51, the green wavelength components are relatively strong, and so high brightness areas 55 are formed. Third image 54 is temporarily stored in image storage unit 44.
[0049] Next, in step S14, the first image 51 and the third image 54 temporarily stored in the image storage unit 44 are combined to generate a first combined image 56. In this case, the brightness of the pixel in the first image 51 and the pixel in the third image 54 is compared for each pixel at the same coordinates, and the pixel with the higher brightness is used to generate the first combined image 56. FIGS. 3(a) and 3(b) show an example pixel 51p in the first image 51 and an example pixel 54p in the third image 54 to be compared. Note that the actual pixel size is smaller than shown.
[0050] The first composite image 56 is a corrected image obtained by correcting the first image 51. In the first composite image 56, as shown in Fig. 3(c), in the region above the upper part of the outline of the cast-in letters 11, pixels of either the first image 51 or the third image 54, whichever has the higher brightness, are used to form a low-brightness portion 52, and in the region below the upper part of the outline, pixels of the first image 51 are used to form a high-brightness portion 55. In addition, in the character portion of the cast-in letters 11, pixels of the third image 54 are used, and the brightness of the portions that were previously blackened portions 53 is increased.
[0051] In the next step S15, a filter that extracts only the red wavelength component is applied to the image retrieved from the image storage unit 44, and a second image 57 obtained from the red wavelength component is extracted. The number of vertical and horizontal pixels of the second image 57 is the same as that of the first image 51. As shown in FIG. 3(d), the red LED 37 illuminates the cast-in letters 11 from the upper side of FIG. 3(d) (the inner circumferential side of the ventilated portion 21). Therefore, in the second image 57, the area below a portion (the lower portion) of the outline of the cast-in letters 11 is in shadow, as shown in FIG. 3(d). Therefore, the area below the lower portion of the outline of the cast-in letters 11 is a low-luminance area 52 that is lower in luminance than the area above that portion, and the area above is a high-luminance area 55. The second image 57 is temporarily stored in the image storage unit 44.
[0052] Thereafter, in step S16, the first composite image 56 temporarily stored in the image storage unit 44 is composited with the second image 57 to generate a second composite image 58. In this case, the brightness of the pixel in the first composite image 56 and the pixel in the second image 57 is compared for each pixel at the same coordinates, and the pixel with the lower brightness is used to generate the second composite image 58. FIGS. 3(c) and 3(d) show an example pixel 56p of the first composite image 56 and an example pixel 57p of the second image 57 to be compared. Note that the actual pixel size is smaller than shown.
[0053] 3(e), in the second composite image 58, the pixels of the first composite image 56 are used in the region above the upper part of the outline of the cast letter 11, forming the low-luminance portion 52. On the other hand, the pixels of the second image 57 are used in the region below the outline of the cast letter 11, forming the low-luminance portion 52. As a result, the entire outline of the cast letter 11 is carved out in relief. In other words, an enclosed region 59 surrounded by the low-luminance portion 52 of the first composite image 56 and the low-luminance portion 52 of the second image 57 corresponds to the region corresponding to the cast letter 11. The second composite image 58 is temporarily stored in the image storage unit 44.
[0054] Thereafter, in step S17, a cutout process is performed on the enclosed region 59 corresponding to the cast-in character 11. The cutout process is a process of cutting out the boundary between the low-brightness portion 52 and the enclosed region 59, and extracting a specific image 62 of only the character portion 61 corresponding to the enclosed region 59, as shown in FIG. 3(f). The specific image 62 is temporarily stored in the image storage unit 44.
[0055] As a result of the above processing by the image processing unit 45, a specific image 62 including a character portion 61 corresponding to the cast character 11 is generated.
[0056] As shown in FIG. 1, the controller 40 includes an image determination unit 46, which determines whether the character portion 61 included in the specific image 62 is within the normal range. The image determination unit 46 stores reference characters in advance and performs the determination by comparing the character portion 61 with the reference characters. For example, the determination can be performed by comparing the overall area, partial area, dividing the characters and comparing the difference in length, or other comparisons. The determination method is not limited to this. If any one of the character portions 61 read from the disc rotor 10 is determined to be outside the normal range, the disc rotor 10 is deemed a defective product and is excluded from shipment.
[0057] <Action and effect> According to the inspection device 30 described above, the following effects can be obtained.
[0058] (1) The cast letters 11 formed on the ventilated portion 21 of the disc rotor 10 may be missing or partially crushed. Conventionally, whether the cast letters 11 are formed properly or not has been confirmed visually, but the inspection device 30 can automatically identify the cast letters 11 and determine whether they are defective.
[0059] (2) When the red LED 37 is irradiated onto the cast letter 11 from the inner periphery of the ventilated portion 21, the light is blocked by the cast letter 11, forming a shadow (outline) of the cast letter 11 on the outer periphery of the ventilated portion 21. Similarly, when the blue LED 36 is irradiated onto the cast letter 11 from the outer periphery of the ventilated portion 21, the light is blocked by the cast letter 11, forming a shadow (outline) of the cast letter 11 on the inner periphery of the ventilated portion 21. By identifying the shape of the cast letter 11 from these shadows (outlines), the shape of the cast letter 11 can be identified even when light is irradiated onto the cast letter 11 from the side rather than directly above.
[0060] (3) When light is emitted from the blue LED 36 and the red LED 37 simultaneously, the shadow (outline) of the cast letter 11 is erased. In this regard, the blue LED 36 and the red LED 37 emit light of different wavelengths, and the image is captured by the color camera 35. Then, a first image 51 based on the red wavelength component and a second image 57 based on the blue wavelength component are extracted and combined, thereby enabling the shape of the cast letter 11 to be identified. This eliminates the need for repeated operations of capturing an image by emitting light only from the blue LED 36 and then capturing an image by emitting light only from the red LED 37, thereby enabling the shape of the cast letter 11 to be identified at one time, improving inspection efficiency.
[0061] (4) The unevenness of the casting surface of the cast letters 11 causes diffused light, reducing the bounce of specularly reflected light emitted from the blue LED 36, and the color camera 35 is unable to capture the specularly reflected light. Therefore, in the first image 51, a blackened area 53 appears in the character portion of the cast letters 11, even though the blue light irradiated from the outer periphery should be shining on it. When the first image 51 is directly combined with the second image 57, the blackened area 53 in the character portion of the cast letters 11 remains, which may result in insufficient identification of the shape of the cast letters 11. In this regard, the first image 51 is corrected to increase the brightness of the blackened area 53. This corrected image is used to generate an image combined with the second image 57, thereby preventing the blackened area 53 from remaining in the character portion of the cast letters 11, thereby improving the accuracy of identifying the shape of the cast letters 11.
[0062] (5) Light of blue wavelengths and light of red wavelengths are specularly reflected by the unevenness of the casting surface of the cast letters 11, and in particular, specularly reflected light of red wavelengths irradiated from the inner periphery side opposite the color camera 35 bounces back and enters the color camera 35. As a result, halation occurs in places corresponding to the cast letters 11 in the color image 71 captured by the color camera 35. The halation portions 72 occur in the same places as the blackened portions 53 that occurred in the letter portions of the cast letters 11 in the first image 51, and are caused by the unevenness that caused the blackened portions 53.
[0063] The unevenness of the casting surface varies from one casting to another, and because it is difficult to suppress this variation, the location of the halation portion 72 varies from one casting to another or from one location of the cast-in letters 11 to another. In this regard, the halation portion 72 is identified for each cast-in letters 11 to be imaged. Then, the third image 54, which displays the halation portion 72 with a higher brightness than other areas, and the first image 51 are used, and the two images 51 and 54 are combined by using the image with the higher brightness for each pixel. The dark portion 53 in the first image 51 is then replaced with the image of the halation portion 72, increasing the brightness of the dark portion 53. As a result, even if the location of the halation portion 72 varies, the dark portion 53 that occurred in the character portion of the first image 51 can be accurately corrected to a higher brightness area. <Modification> A modification of the above embodiment will be described below.
[0064] (a) When the cast letter 11 is a character such as "O" or "X" that has multiple intersections with the light irradiation direction, it may not be possible to extract the entire outline of the cast letter 11 simply by irradiating the cast letter 11 with light from the LEDs 36 and 37 horizontally. For example, in the case of "O," the outline on the outer periphery can be extracted, but the outline on the inner periphery may not be fully extracted. To deal with characters that have multiple intersections with the light irradiation direction, it is recommended that the LEDs 36 and 37 be oriented diagonally downward from above the cast letter 11, as long as they do not interfere with the ventilated portion 21. Even in this case, it is necessary to set the depression angle θ1 of the color camera 35 larger than the depression angle θ2 (>0 degrees) of the blue LED 36.
[0065] (b) As a correction method for increasing the brightness of the darkened portion 53 occurring in the first image 51, the third image 54 based on the green wavelength component is extracted, and the first image 51 and the third image 54 are converted into grayscale images, the brightness of each pixel is compared, and the image with the higher brightness is used to generate the first composite image 56. Alternatively, the contour of the darkened portion 53 in the first image 51 may be grasped by image recognition, and the portion of the darkened portion 53 identified thereby may be corrected to increase the brightness.
[0066] (c) In the image processing by the image processing unit 45, a green wavelength is selected as the wavelength component for extracting the third image 54. The wavelength component for extracting the third image 54 is not limited to this green wavelength, and a yellow wavelength exhibited by the halation portion 72 in the color image 71 may be selected. Also, orange, which is an approximate color with a longer wavelength than the yellow wavelength, may be selected.
[0067] (d) In the inspection device 30, the LEDs 36, 37 are turned on while the disc rotor 10 is stopped from rotating, and after the color camera 35 captures an image, the LEDs 36, 37 are turned off before the disc rotor 10 is rotated. However, it is also possible to keep the disc rotor 10 rotating and the LEDs 36, 37 turned on, determine the image capture timing using a sensor or the like, and have the color camera 35 capture images of the cast characters 11 one after another. In this case, the rotation of the disc rotor 10 can be stopped when the disc rotor 10 has made one revolution and replaced with the disc rotor 10 to be inspected next, further improving inspection efficiency.
[0068] (e) The disc rotor 10 does not have to have a one-piece structure. For example, it may have a two-piece structure in which only the sliding portion 13 is manufactured as a cast part, and the hat portion 12 is manufactured from, for example, aluminum, and the two are connected together. Also, instead of an inner hat type, it may be applied to an outer hat type disc rotor in which the outer disc portion 19 and the peripheral surface portion 15 are connected. Furthermore, the shapes of the fins 20 and the ventilated portion 21 are not limited to being linear, but may be curved.
[0069] (f) The object to be inspected is not limited to the disc rotor 10, but may be any cast product having a through hole formed therein. In this case, the light source such as an LED and the imaging unit such as the color camera 35 may be inserted into the through hole from both ends to capture images.
[0070] (g) The inspection device 30 may be used not only to inspect the molded letters 11 but also to inspect whether or not a protrusion exceeding an allowable range is formed inside a through-hole.
[0071] (h) Although blue LED 36 and red LED 37 are used to irradiate light of different wavelengths from different directions, LEDs of other wavelengths may also be used. Furthermore, light sources other than LEDs may also be used. When a different combination of wavelengths is used for blue LED 36 and red LED 37, the wavelength components of the filter applied to extract third image 54 will also be different wavelength components. In other words, halation portion 72 appearing in color image 71 is spectrally analyzed, and a wavelength of light exhibited by halation portion 72 or an approximate wavelength thereof, which is different from the first wavelength and the second wavelength, is selected. [Explanation of symbols]
[0072] 10...Disc rotor (cast product), 11...Casted lettering (protrusion), 21...Ventilated portion (through hole), 30...Inspection device (cast product inspection device), 35...Color camera (imaging unit), 36...Blue LED (first light source), 37...Red LED (second light source), 45...Image processing unit (identification unit), 51...First image, 54...Third image, 56...First composite image (corrected image), 58...Second composite image (composite image), 72...Halation portion.
Claims
1. A casting inspection device that inspects a protrusion that protrudes from an inner peripheral surface of a through hole formed in a casting, a first light source that irradiates light of a first wavelength from a first end side of the through hole toward the protrusion; a second light source that irradiates light with a second wavelength different from the first wavelength from a second end side of the through hole toward the protruding portion; an imaging unit that captures an image of the protrusion from the first end side in a state in which the first light source and the second light source are emitting light; an identification unit that extracts a first image based on the wavelength component of the first wavelength and a second image based on the wavelength component of the second wavelength from the imaging result obtained by the imaging unit, corrects the first image, and then generates a composite image by combining the corrected image and the second image, thereby identifying the shape of the protrusion; Equipped with A casting inspection device characterized in that the correction of the first image is performed by increasing the brightness of areas of low brightness that occur in the areas corresponding to the protrusions due to unevenness in the casting surface of the protrusions.
2. the imaging result is a color image, In the color image, halation occurs in the same location as the portion of low brightness that occurs in the location corresponding to the protrusion in the first image, 2. The casting inspection device according to claim 1, wherein the identification unit extracts a third image from the imaging result, the third image being based on a wavelength component having a wavelength different from the first wavelength and the second wavelength, the wavelength being the wavelength of light exhibited by a halation portion or an approximate wavelength thereof, converts the first image and the third image into grayscale images, and then compares brightness for each pixel at the same coordinates in the first image and the third image, and uses the pixel with the higher brightness to generate the corrected image.
3. the first wavelength is a blue wavelength; the second wavelength is a red wavelength; 3. The casting inspection device according to claim 2, wherein the third image is an image based on wavelength components in a range from green to yellow.
4. 3. The casting inspection device according to claim 1, wherein the protrusions are cast characters.
Citation Information
Patent Citations
Casted character recognition device
JP2007219943A
Cast product inspection device
JP2020160785A