WO2017150328A1 - 端子位置特定方法、検査方法、端子位置特定装置及び検査装置 - Google Patents

端子位置特定方法、検査方法、端子位置特定装置及び検査装置 Download PDF

Info

Publication number
WO2017150328A1
WO2017150328A1 PCT/JP2017/006801 JP2017006801W WO2017150328A1 WO 2017150328 A1 WO2017150328 A1 WO 2017150328A1 JP 2017006801 W JP2017006801 W JP 2017006801W WO 2017150328 A1 WO2017150328 A1 WO 2017150328A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
electric wire
terminal position
specifying
imaging
Prior art date
Application number
PCT/JP2017/006801
Other languages
English (en)
French (fr)
Inventor
悠一郎 森田
Original Assignee
住友電装株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 住友電装株式会社 filed Critical 住友電装株式会社
Publication of WO2017150328A1 publication Critical patent/WO2017150328A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques

Definitions

  • This invention relates to a technique for specifying a terminal position in a terminal-attached electric wire.
  • One technique for inspecting the state of an electric wire is to inspect the state of the part by imaging the part to be inspected and analyzing the obtained image data (so-called "" Visual inspection").
  • an electric wire is in a state where a core wire is exposed by peeling a covering portion (insulation covering portion) at an end thereof, and a terminal is connected to the peeled end portion. And, using the imaging data obtained by imaging the electric wire with terminal, for example, whether the terminal is connected to an appropriate position with respect to the electric wire from the boundary relationship between the core wire and the covering portion and the terminal May be inspected.
  • Patent Documents 1 and 2 Examples of prior art related to the present invention include those described in Patent Documents 1 and 2, for example.
  • the terminal position is specified. Specifically, the position of a part of the terminal (for example, the base end position of the covering barrel of the terminal connected to the covering portion of the wire) is specified by image analysis based on the luminance from the imaging data of the terminal-attached electric wire.
  • This invention aims at providing the technique which specifies suitably the terminal position in an electric wire with a terminal.
  • the first aspect is a terminal position specifying method for specifying a terminal position in a terminal-attached electric wire in which a terminal is connected to the terminal portion of the electric wire, and the connection between the terminal and the electric wire in the terminal-attached electric wire.
  • the template data in the imaging data is compared with a preparation step of preparing imaging data obtained by imaging a part, and the imaging data and template data indicating a characteristic part that is a part of the terminal-attached electric wire.
  • the second aspect is a terminal position specifying method according to the first aspect, wherein the characteristic part indicated in the template data is a boundary part between the electric wire and the terminal.
  • a 3rd aspect is a terminal position specific method which concerns on the 1st or 2nd aspect, Comprising: The said terminal position specific process WHEREIN: By measuring the width
  • a fourth aspect is a terminal position specifying method according to the first or second aspect, wherein the terminal position specifying step includes measuring the luminance within the analysis range of the imaging data, Including a step of identifying a terminal position.
  • a fifth aspect is a terminal position specifying method according to the fourth aspect, wherein the terminal position specifying step is configured such that the luminance is predetermined along a direction in which the terminal-attached electric wire extends in the imaging data.
  • the terminal position is specified by specifying a position that changes beyond a threshold value.
  • the sixth aspect is an inspection method for inspecting the appearance of a terminal-attached electric wire, the preparation step of preparing imaging data obtained by imaging the terminal and the connecting portion of the electric wire in the terminal-attached electric wire, and the imaging data, And, based on the template matching step for identifying the partial region that matches the template data in the imaging data by comparing the template data indicating the characteristic part that is a part of the terminal-attached electric wire, and the position of the partial region
  • the analysis range to be determined is subjected to image analysis, a terminal position specifying step for specifying a terminal position, and an inspection region set based on the terminal position specified in the terminal position specifying step, the image analysis And an inspection process for inspecting the connection positions of the terminals.
  • the seventh aspect is a terminal position specifying device for specifying a terminal position in a terminal-attached electric wire in which a terminal is connected to the terminal portion of the electric wire, and an image pickup unit that picks up an image of the terminal and the connection portion of the electric wire in the terminal-attached electric wire.
  • a template for specifying a partial region that matches the template data in the imaging data by comparing the imaging data obtained by the imaging unit and the template data indicating a characteristic part that is a part of the terminal-attached electric wire A matching unit; and a terminal position specifying unit that specifies the terminal position by performing image analysis on an analysis range determined based on the position of the partial region.
  • the eighth aspect is an inspection apparatus for inspecting a terminal-attached electric wire
  • an image pickup unit that picks up an image of a terminal and a connection portion of the electric wire in the terminal-attached electric wire, imaging data obtained by the image pickup unit, and the A template matching unit that identifies a partial region that matches the template data in the imaging data and a position of the partial region are determined by comparing template data indicating a characteristic part that is a part of the terminal-attached electric wire.
  • the analysis range for image analysis for specifying the terminal position can be narrowed by specifying the partial region that matches the template data in advance.
  • the possibility that the analysis range includes dirt adhering to the terminal-attached electric wire, decoration of the covering portion, or the influence of the imaging environment or the like can be reduced.
  • the terminal position can be specified with high accuracy.
  • the terminal position specifying method it is possible to preferably specify the terminal position by performing template matching using the template data indicating the boundary part between the electric wire and the terminal, which is a characteristic part.
  • the terminal position can be specified without being influenced by decorations applied to the electric wires such as ring marks because the width of the electric wire with terminal is measured.
  • the terminal position can be specified by detecting the boundary position between the terminal and the electric wire from the change in luminance.
  • the terminal position can be specified by specifying the position where the luminance changes beyond the threshold value.
  • the inspection method by specifying a partial region that matches the template data in advance, it is possible to narrow the analysis range for image analysis for specifying the terminal position. As a result, the possibility that the analysis range includes dirt adhering to the terminal-attached electric wire, decoration of the covering portion, or the influence of the imaging environment or the like can be reduced. As a result, the terminal position can be specified with high accuracy.
  • the analysis range for image analysis for specifying the terminal position can be narrowed by specifying the partial region that matches the template data in advance.
  • the possibility that the analysis range includes dirt adhering to the terminal-attached electric wire, decoration of the covering portion, or the influence of the imaging environment or the like can be reduced.
  • the terminal position can be specified with high accuracy.
  • the inspection apparatus by specifying a partial region that matches the template data in advance, it is possible to narrow the analysis range for image analysis for specifying the terminal position. As a result, the possibility that the analysis range includes dirt adhering to the terminal-attached electric wire, decoration of the covering portion, or the influence of the imaging environment or the like can be reduced. As a result, the terminal position can be specified with high accuracy.
  • the inspection apparatus 100 is an apparatus for inspecting the appearance of the electric wire 8 (for example, the terminal-attached electric wire 80 in which the terminal 9 is connected to the end portion). Before describing the inspection device 100, the terminal-attached electric wire 80 to be inspected by the inspection device 100 will be described with reference to FIGS. 1 and 2.
  • FIG. 1 is a side view schematically showing a terminal-attached electric wire 80 according to the embodiment.
  • Drawing 2 is a top view showing typically electric wire 80 with a terminal concerning an embodiment.
  • the terminal-attached electric wire 80 is formed by crimping and connecting the terminal 9 to the terminal portion of the electric wire 8.
  • the electric wire 8 includes a core wire portion 81 and a covering portion 82 that covers the outer periphery of the core wire portion 81.
  • the core wire portion 81 is constituted by, for example, a stranded wire or a single wire of a metal wire such as copper, a copper alloy, aluminum, or an aluminum alloy.
  • the covering portion 82 is formed by, for example, extrusion coating a resin material. The end portion of the electric wire 8 is stripped of the covering portion 82 and the core wire portion 81 is exposed.
  • the core wire portion 81 exposed at the end of the electric wire 8 is also referred to as an “exposed core wire portion 81”.
  • the terminal 9 is, for example, a copper alloy member such as copper or brass, or a tin alloy in which silver (Ag), copper (Cu), bismuth (Bi) or the like is added to tin (Sn) plating or tin. It is a member of a conductor to which the plating is applied.
  • the terminal 9 includes, for example, a terminal connecting portion 91, a core wire crimping portion 92, a covering crimping portion 93, and two connecting portions 94 and 95.
  • the terminal connection part 91 is a part connected to the other terminal.
  • the terminal connection part 91 is formed in, for example, a substantially cylindrical shape (so-called female terminal shape), and has a pin-like or tab-like connection part (so-called male terminal). Can be inserted and connected.
  • the terminal connecting portion 91 may be formed in a pin shape or a tab shape (so-called male terminal shape), and is formed in an annular shape that can be connected to a mating member by a screw or the like. It may be.
  • the core wire crimping portion 92 is a portion to be crimped to the exposed core wire portion 81 of the electric wire 8.
  • the core wire crimping portion 92 is formed, for example, in a substantially U-shaped cross section before being crimped and connected to the electric wire 8, and is compressed and deformed so as to hold the exposed core wire portion 81.
  • the core wire crimping portion 92 is crimped and connected to the exposed core wire portion 81.
  • the core wire crimping portion 92 is crimped and connected to the exposed core wire portion 81, whereby the terminal 9 and the core wire portion 81 are electrically connected.
  • the covering crimp portion 93 is a portion to be crimped to the covering portion 82 of the electric wire 8.
  • the cover crimping portion 93 is formed, for example, in a substantially U-shaped cross section before being crimped and connected to the electric wire 8, and is compressed and deformed so as to hold the covering portion 82.
  • the crimp part 93 is crimped and connected to the covering part 82.
  • the terminal 9 is firmly fixed to the electric wire 8 by the crimping connection of the covering crimping part 93 to the covering part 82.
  • one connecting portion 94 (first connecting portion) connects the terminal connecting portion 91 and the core wire crimping portion 92, and the other connecting portion 95 (second connecting portion). Connects the core crimping part 92 and the covering crimping part 93.
  • Each of the connecting portions 94 and 95 is a groove-like portion formed by a pair of upright pieces and a bottom portion.
  • the groove-like portion of the connecting portion 95 accommodates a portion of the electric wire 8 near the boundary position between the exposed core portion 81 and the covering portion 82. It becomes a state. That is, the boundary position is visible from the opening end of the groove of the connecting portion 95 (hereinafter also referred to as “window portion 90”).
  • FIG. 3 is a block diagram illustrating a hardware configuration of the inspection apparatus 100 according to the embodiment.
  • the inspection apparatus 100 mainly includes an imaging unit 1 and an inspection processing unit 2.
  • the imaging part 1 images especially the connection part of the electric wire 8 and the terminal 9 among the electric wires 80 with a terminal used as inspection object.
  • the imaging unit 1 can be composed of, for example, a two-dimensional image sensor and an imaging lens.
  • the inspection processing unit 2 evaluates the state of the terminal-attached electric wire 80 by analyzing the imaging data acquired by the imaging unit 1.
  • the inspection processing unit 2 includes, for example, a general computer in which a CPU 201, a ROM 202, a RAM 203, a communication unit 204, a storage device 205, and the like are interconnected via a bus line 206.
  • the ROM 202 stores basic programs and the like
  • the RAM 203 serves as a work area when the CPU 201 performs predetermined processing.
  • the communication unit 204 has a data communication function via a communication line such as a LAN.
  • the storage device 205 is configured by a nonvolatile storage device such as a flash memory or a hard disk device.
  • the storage device 205 stores a program Pr.
  • the CPU 201 as the main control unit performs arithmetic processing according to the procedure described in the program Pr, so that various functions of the inspection apparatus 100 are realized.
  • the program Pr is normally stored and used in advance in a memory such as the storage device 205, but is recorded in a recording medium such as a CD-ROM or DVD-ROM or an external flash memory (program product). (Or provided by downloading from an external server via a network), and may be additionally or exchanged and stored in a memory such as the storage device 205.
  • some or all of the functions realized in the inspection processing unit 2 may be realized in hardware by a dedicated logic circuit or the like.
  • FIG. 4 is an image showing the template data TP1 according to the embodiment.
  • the storage device 205 stores template data TP1 shown in FIG.
  • the template data TP1 is data indicating a characteristic part which is a part of the terminal-attached electric wire 80 having an ideal shape
  • the template data TP1 is a part where the luminance of the terminal-attached electric wire 80 changes for convenience of image processing, or It is desirable that the data indicates a characteristic part of a part (bending part, part where the width changes, etc.) where the shape (particularly the outer shape) of the electric wire with terminal 80 changes.
  • an image of the boundary portion between the core wire crimping portion 92 of the terminal 9 in the terminal-attached electric wire 80 and the exposed core wire portion 81 exposed from the window portion 90 is used as the template data TP1.
  • This boundary part is easily identified as a characteristic part in image processing because the brightness of the core crimping part 92 and the brightness of the exposed core part 81 are different.
  • a captured image obtained by capturing the ideal shaped electric wire 80 with a terminal may be used as template data.
  • data indicating feature amounts (representative lines, representative points, etc.) that are appropriately extracted by image processing such as binarization or edge enhancement for the captured image may be used as template data.
  • the data which show the feature-values, such as a representative line or a representative point extracted suitably from the design drawing etc. of the electric wire 80 with a terminal can also be made into template data.
  • an input device 21 and a display device 22 are connected to the inspection processing unit 2.
  • the input device 21 is an input device including at least one of a keyboard, a mouse, various switches, a touch panel, and the like, for example, and accepts various operations (operations such as inputting commands and various data) from the operator.
  • the display device 22 includes a liquid crystal display device, a lamp, and the like, and displays various information under the control of the CPU 201.
  • FIG. 5 is a functional block diagram realized in the inspection processing unit 2 according to the embodiment.
  • the inspection processing unit 2 includes an imaging control unit 31, a template matching unit 32, a terminal position specifying unit 33, an inspection region setting unit 34, and an inspection unit 35. As described above, these functional units are realized, for example, by the CPU 201 performing predetermined arithmetic processing according to the program Pr.
  • the imaging control unit 31 controls the imaging unit 1 to image the terminal-attached electric wire 80 to be inspected. That is, the imaging unit 1 and the imaging control unit 31 cooperate to configure an imaging data acquisition unit that images the terminal-attached electric wire 80 to be inspected and acquires imaging data.
  • the terminal-attached electric wire 80 to be inspected is placed in a posture in which the extending direction is along the determined axis, and is arranged with the window portion 90 facing directly upward, and the imaging unit 1 is The terminal-attached electric wire 80 arranged in such a posture is imaged from directly above.
  • the imaging data (see FIG. 5) acquired by the imaging unit 1 is displayed on the display device 22 under the control of the inspection processing unit 2, for example.
  • the template matching unit 32 searches the portion (partial area PA1) that matches the template data TP1 in the imaging data by comparing the imaging data of the terminal-attached electric wire 80 acquired by the imaging unit 1 and the template data TP1. Then, template matching for specifying the position is performed.
  • a base end portion 921 on the side of the coated crimping portion 93 of the core wire crimping portion 92 can be a representative location.
  • the base end portion 921 is a position where the luminance greatly changes with this as a boundary.
  • the template matching unit 32 can specify the position of the base end portion 921 based on the change in luminance.
  • the terminal position specifying unit 33 determines an analysis range AR1 for specifying the terminal position based on the coordinate position of the partial region specified by the template matching unit 32. Then, the terminal position specifying unit 33 specifies the position of a part of the terminal 9 within the analysis range AR1. In this example, it is a boundary part of the electric wire 8 and the terminal 9, specifically, a boundary part of the covering part 82 of the electric wire 8 and the covering crimping part 93 of the terminal 9 (covering and crimping). The position of the end portion 93 of the portion 93 opposite to the core wire crimping portion 92) is specified by image analysis. This image analysis will be described later.
  • the inspection region setting unit 34 sets the inspection region M based on the position of the terminal 9 (here, the base end portion 931) specified by the terminal position specifying unit 33.
  • the inspection area M is an area for visual inspection of the connection state of the terminals 9.
  • FIG. 6 is a diagram illustrating the terminal-attached electric wire 80 and the inspection region M in the imaging data according to the embodiment.
  • the inspection area M is a rectangular area.
  • the extending direction (hereinafter also referred to as “Y direction”) of a pair of parallel sides of the inspection region M is set so as to substantially coincide with the extending direction of the terminal-attached electric wire 80.
  • the extending direction of the other pair of sides of the inspection region M (hereinafter also referred to as “X direction”) is orthogonal to the extending direction of the terminal-attached electric wire 80 (hereinafter referred to as “the direction crossing the electric wire 80 with the terminal”). "Same name").
  • the inspection region M is also referred to as “gap portion”.
  • the inspection region M is preferably a range that does not include the window 90.
  • the length along the Y direction of the inspection region M is set so that the base end portion 921 of the core wire crimping portion 92 (the end portion on the coating crimping portion 93 side) and the coating crimping are performed.
  • the side on the + Y side may be set so as to coincide with the base end portion 921 of the core wire crimping portion 92.
  • the length along the X direction of the inspection region M is made sufficiently larger than the width of the terminal-attached electric wire 80 (width on the imaging data), and the center of the side along the X direction is the electric wire 80 with the terminal. It may be set so as to be on the center line of.
  • the inspection unit 35 inspects and evaluates whether or not the terminal 9 is connected to the target position by performing image analysis on the inspection region M set by the inspection region setting unit 34. Specifically, in the inspection region M, whether or not both the exposed core portion 81 and the covering portion 82 appear in the gap portion (that is, the boundary between the exposed core portion 81 and the covering portion 82 is present in the gap portion). Whether or not it appears) is determined. And when both the exposed core part 81 and the coating
  • the imaging unit 1, the imaging control unit 31, the template matching unit 32, and the terminal position specifying unit 33 constitute a terminal position specifying device.
  • FIG. 7 is a diagram illustrating a flow of processing executed by the inspection apparatus 100 according to the embodiment.
  • steps S 1 to S 3 correspond to a terminal position specifying method for specifying the position of the terminal 9.
  • Steps S1 to S4 correspond to an inspection method for inspecting the appearance of the terminal-attached electric wire 80.
  • FIG. 8 is a diagram illustrating the terminal-equipped electric wire 80 in the imaging data according to the embodiment and each region set on the data.
  • the imaging control unit 31 controls the imaging unit 1 to image the terminal-attached electric wire 80 to be inspected. Thereby, the imaging data of the electric wire 80 with a terminal is acquired (step S1). This step corresponds to a preparation step for preparing imaging data. Note that imaging data may be prepared by reading imaging data stored in advance in the storage device 205.
  • Step S2 corresponds to a template matching process.
  • a partial area PA1 matching the template data TP1 is specified on the captured image of the terminal-attached electric wire 80.
  • the center of the partial area PA1 is set as a position PAL1 of the partial area PA1.
  • the terminal position specifying unit 33 specifies the position of the terminal 9 based on the position PAL1 of the partial area PA1 on the imaging data (step S3).
  • This step S3 corresponds to a terminal position specifying step.
  • the terminal position specifying unit 33 sets a rectangular analysis range AR1 at a position away from the position PAL1 of the partial area PA1 by a predetermined length L1 in the ⁇ Y direction.
  • the length L1 is set so that the base end portion 931 of the covering crimping portion 93 is included in the analysis range AR1.
  • specification part 33 acquires the coordinate position of the base end part 931 in the said analysis range AR1. Thereby, the terminal position is specified.
  • FIG. 9 is a diagram illustrating an example of a change in the luminance integral value according to the embodiment.
  • the horizontal axis indicates the position in the Y-axis direction
  • the vertical axis indicates the luminance integral value.
  • the luminance integral value is obtained as follows.
  • the edge position of the terminal-attached electric wire 80 (the boundary position between the terminal-attached electric wire 80 and the background. Specifically, the edge positions Ea1, Eb1 shown in FIG. , Ea2, Eb2, etc.).
  • the edge of the electric wire 80 with a terminal becomes a position where a brightness
  • edge positions Ea1, Eb1, or edge positions Ea2, Eb2 whose positions in the Y-axis direction coincide with each other are selected along the Y-axis direction.
  • luminance values of a plurality of pixels located on a line for example, line L1, line L2 connecting each pair of edge positions are added. Thereby, the luminance integral value at each position in the Y direction is calculated.
  • the terminal position specifying unit 33 specifies the position Y1 in the Y direction where the luminance integrated value changes beyond the threshold Th1 as the position of the base end 931 of the covering crimping part 93.
  • the threshold value Th1 may be set as an absolute value or may be a relative value.
  • the threshold value Th1 is a relative value, for example, a maximum value (maximum luminance integration value) is selected from a plurality of luminance integration values, and a predetermined ratio value with respect to the maximum value is set as the threshold value Th1. It is possible to do.
  • the terminal position specifying part 33 specifies the position of the base end part 931 of the cover crimping part 93 based on the luminance integrated value.
  • the terminal position specifying part 33 may specify the position of the base end part 931 of the covering crimping part 93 based on the change in the width of the terminal-attached electric wire 80 on the imaging data.
  • the width of each position in the Y direction can be determined by measuring the length between each pair of edges.
  • the width of the covering crimping portion 93 is wider than the width of the covering portion 82. For this reason, the position where the measured width changes beyond a predetermined threshold may be set as the position of the base end 931.
  • the terminal position is specified based on the width of the terminal-attached electric wire 80, even if the decoration (for example, a ring mark for electric wire identification) is attached to the covering portion 82 of the electric wire 8, Less affected. For this reason, the accuracy of specifying the terminal position can be increased.
  • the decoration for example, a ring mark for electric wire identification
  • Step S4 corresponds to an inspection process for inspecting the connection position of the terminal 9.
  • the inspection area setting unit 34 sets the inspection area M based on the terminal position specified in step S3 (the position of the base end 931 of the terminal 9) (see FIG. 6).
  • the inspection unit 35 determines whether or not both the exposed core portion 81 and the covering portion 82 appear in the gap portion in the inspection region M.
  • the inspection unit 35 detects a change in luminance along the Y direction in the inspection region M of the captured image. If there is a change in luminance exceeding a predetermined threshold, it is determined that the boundary between the exposed core portion 81 and the covering portion 82 appears. Moreover, the test
  • the inspection apparatus 100 by specifying the partial area PA1 that matches the template data TP1 in advance, it is possible to narrow the analysis range AR1 in which image analysis is performed in order to specify the terminal position. As a result, the possibility that the analysis range AR1 includes dirt adhering to the terminal-attached electric wire 80, decoration of the covering portion 82, or the influence of the imaging environment or the like can be reduced. Thereby, the position of the terminal 9 can be specified with high accuracy.
  • the pin position specifying accuracy can be greatly improved as compared with the case of performing only template matching.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

端子付電線における端子位置の特定を好適に行う技術を提供する。検査装置100は、電線8の端末部に端子9が接続された端子付電線80における端子位置を特定する。検査装置100は、端子付電線80における端子8及び電線9の接続部分を撮像する撮像部1と、撮像部1によって取得された撮像データ、及び、端子付電線80の一部分である特徴部位を示すテンプレートデータTP1を比較することによって、撮像データにおけるテンプレートデータTP1にマッチする部分領域PA1を特定するテンプレートマッチング部32と、部分領域AR1の位置ARL1に基づいて決定される解析範囲AR1を画像解析して、端子9と電線8の境界部位である、被覆圧着部93の基端部931の位置(位置Y1)を特定する端子位置特定部33とを備える。

Description

端子位置特定方法、検査方法、端子位置特定装置及び検査装置
 この発明は、端子付電線における端子位置を特定する技術に関する。
 電線の状態を検査する手法の一つとして、検査対象となる部分を撮像して、得られた撮像データを画像解析することにより、当該部分の状態を検査するものが知られている(いわゆる「外観検査」)。
 例えば、電線は、その端部の被覆部(絶縁被覆部)が皮剥ぎされることにより芯線が露出した状態とされ、その皮剥ぎされた端部に端子が接続される。そして、この端子付電線を撮像して得た撮像データを用いて、例えば、芯線と被覆部との境界と、端子との位置関係から、電線に対して端子が適切な位置に接続されているかが検査される場合がある。
 本願発明に関連する先行技術としては、例えば特許文献1、2に記載のものがある。
特開平6-102192号公報 特開2003-214825号公報
 ところで、上記外観検査をする対象領域(以下、「検査領域」とも称する。)の座標を設定する場合、まず、端子位置が特定される。具体的には、端子付電線の撮像データから、輝度に基づいて、端子の一部分(例えば、電線の被覆部に接続される端子の被覆バレルの基端位置等)の位置が画像解析により特定される。
 撮像データ上において、端子の一部分の位置を特定するためには、画像解析する範囲をある程度広く設定する必要があった。しかしながら、画像解析する範囲を広げると、解析範囲内において、電線の被覆部に付着した異物あるいは装飾(例えば、電線識別用のバンドマーク等)が含まれる可能性、あるいは、照明条件や背景等の撮像環境の影響を受ける可能性が高まってしまう。その結果、輝度等にバラツキが発生し、端子位置の特定が困難となるおそれがあった。
 本発明は、端子付電線における端子位置の特定を好適に行う技術を提供することを目的とする。
 上記の課題を解決するため、第1の態様は、電線の端末部に端子が接続された端子付電線における端子位置を特定する端子位置特定方法であって、端子付電線における端子及び電線の接続部分を撮像して得られる撮像データを準備する準備工程と、前記撮像データ、及び、前記端子付電線の一部分である特徴部位を示すテンプレートデータを比較することによって、前記撮像データにおける前記テンプレートデータにマッチする部分領域を特定するテンプレートマッチング工程と、前記部分領域の位置に基づいて決定される解析範囲を画像解析して、前記端子位置を特定する端子位置特定工程とを含む。
 また、第2の態様は、第1の態様に係る端子位置特定方法であって、前記テンプレートデータに示される前記特徴部位が、前記電線と前記端子との境界部位である。
 また、第3の態様は、第1または第2の態様に係る端子位置特定方法であって、前記端子位置特定工程は、前記解析範囲内において、前記端子付電線の幅を測定することによって、前記端子位置を特定する工程を含む。
 また、第4の態様は、第1または第2の態様に係る端子位置特定方法であって、前記端子位置特定工程は、前記撮像データの前記解析範囲内において、輝度を測定することによって、前記端子位置を特定する工程を含む。
 また、第5の態様は、第4の態様に係る端子位置特定方法であって、前記端子位置特定工程は、前記撮像データにおける前記端子付電線の延びる方向に沿って、前記輝度が所定のしきい値を超えて変化する位置を特定することによって、前記端子位置を特定する。
 また、第6の態様は、端子付電線を外観検査する検査方法であって、端子付電線における端子及び電線の接続部分を撮像して得られる撮像データを準備する準備工程と、前記撮像データ、及び、前記端子付電線の一部分である特徴部位を示すテンプレートデータを比較することによって、前記撮像データにおける前記テンプレートデータにマッチする部分領域を特定するテンプレートマッチング工程と、前記部分領域の位置に基づいて決定される解析範囲を画像解析して、端子位置を特定する端子位置特定工程と、前記端子位置特定工程にて特定された前記端子位置に基づいて設定される検査領域内において、画像解析によって前記端子の接続位置を検査する検査工程とを含む。
 また、第7の態様は、電線の端末部に端子が接続された端子付電線における端子位置を特定する端子位置特定装置であって、端子付電線における端子及び電線の接続部分を撮像する撮像部と、前記撮像部によって得られた撮像データ、及び、前記端子付電線の一部分である特徴部位を示すテンプレートデータを比較することによって、前記撮像データにおける前記テンプレートデータにマッチする部分領域を特定するテンプレートマッチング部と、前記部分領域の位置に基づいて決定される解析範囲を画像解析することによって、前記端子位置を特定する端子位置特定部とを備える。
 また、第8の態様は、端子付電線を検査する検査装置であって、端子付電線における端子及び電線の接続部分を撮像する撮像部と、前記撮像部によって得られた撮像データ、及び、前記端子付電線の一部分である特徴部位を示すテンプレートデータを比較することによって、前記撮像データにおける前記テンプレートデータにマッチする部分領域を特定するテンプレートマッチング部と、前記部分領域の位置に基づいて決定される解析範囲を画像解析することによって、端子位置を特定する端子位置特定部と、前記端子位置特定部にて特定された前記端子位置に基づいて設定される検査領域内において、画像解析によって前記端子の接続位置を検査する検査部とを備える。
 第1の態様に係る端子位置特定方法によると、予めテンプレートデータにマッチする部分領域を特定することで、端子位置特定のために画像解析する解析範囲を狭小化できる。これによって、解析範囲内に、端子付電線に付着した汚れ、被覆部の装飾が含まれる可能性、あるいは、撮像環境等の影響を受ける可能性を小さくできる。これによって、端子位置の特定を高精度に行うことができる。
 第2の態様に係る端子位置特定方法によると、特徴部位である電線と端子の境界部位を示すテンプレートデータを用いてテンプレートマッチングを行うことによって、端子位置を好適に特定することができる。
 また、第3の態様に係る端子位置特定方法によると、端子付電線の幅を測定するため、リングマーク等の電線に施された装飾の影響を受けずに、端子位置を特定できる。
 また、第4の態様に係る端子位置特定方法によると、輝度の変化から端子と電線の境界位置を検出することで、端子位置を特定することができる。
 また、第5の態様に係る端子位置特定方法によると、しきい値を超えて輝度が変化する位置を特定することによって、端子位置を特定できる。
 第6の態様に係る検査方法によると、予めテンプレートデータにマッチする部分領域を特定することで、端子位置特定のために画像解析する解析範囲を狭小化できる。これによって、解析範囲内に、端子付電線に付着した汚れ、被覆部の装飾が含まれる可能性、あるいは、撮像環境等の影響を受ける可能性を小さくできる。これによって、端子位置の特定を高精度に行うことができる。
 第7の態様に係る端子位置特定装置によると、予めテンプレートデータにマッチする部分領域を特定することで、端子位置特定のために画像解析する解析範囲を狭小化できる。これによって、解析範囲内に、端子付電線に付着した汚れ、被覆部の装飾が含まれる可能性、あるいは、撮像環境等の影響を受ける可能性を小さくできる。これによって、端子位置の特定を高精度に行うことができる。
 第8の態様に係る検査装置によると、予めテンプレートデータにマッチする部分領域を特定することで、端子位置特定のために画像解析する解析範囲を狭小化できる。これによって、解析範囲内に、端子付電線に付着した汚れ、被覆部の装飾が含まれる可能性、あるいは、撮像環境等の影響を受ける可能性を小さくできる。これによって、端子位置の特定を高精度に行うことができる。
実施形態に係る端子付電線を模式的に示す側面図である。 実施形態に係る端子付電線を模式的に示す平面図である。 実施形態に係る検査装置のハードウェア構成を示すブロック図である。 実施形態に係るテンプレートデータを示す画像を示す図である。 実施形態に係る検査処理部において実現される機能ブロック図である。 実施形態に係る撮像データにおける端子付電線及び検査領域を示す図である。 実施形態に係る検査装置にて実行される処理の流れを示す図である。 実施形態に係る撮像データにおける端子付電線及び当該データ上に設定される各領域を示す図である。 実施形態に係る輝度積分値の変化の一例を示す図である。
 以下、添付の図面を参照しながら、本発明の実施形態について説明する。なお、この実施形態に記載されている構成要素はあくまでも例示であり、本発明の範囲をそれらのみに限定する趣旨のものではない。また、図面においては、理解容易のため、必要に応じて各部の寸法や数が誇張または簡略化して図示されている場合がある。
 <1.端子付電線80>
 実施形態に係る検査装置100は、電線8(ここでは、例えば、端部に端子9が接続された端子付電線80)の状態を外観検査する装置である。検査装置100について説明する前に、検査装置100にて検査対象となる端子付電線80について、図1、図2を参照しながら説明する。
 図1は、実施形態に係る端子付電線80を模式的に示す側面図である。図2は、実施形態に係る端子付電線80を模式的に示す平面図である。
 端子付電線80は、電線8の端末部に端子9が圧着接続されることにより形成される。
 電線8は、芯線部81と、芯線部81の外周を被覆する被覆部82とを備える。芯線部81は、例えば、銅、銅合金、アルミニウム、アルミニウム合金等の金属線の撚り合せ線又は単線によって構成される。被覆部82は、例えば、樹脂材料を押出被覆等することによって形成される。電線8の端部は、被覆部82が皮剥ぎされて、芯線部81が露出している。以下、電線8の端部に露出する芯線部81を、「露出芯線部81」ともいう。
 端子9は、例えば、銅もしくは黄銅等の銅合金の部材、又はそれらの部材に錫(Sn)メッキもしくは錫に銀(Ag)、銅(Cu)、ビスマス(Bi)等が添加された錫合金のメッキが施された導体の部材である。端子9は、例えば、端子接続部91と、芯線圧着部92と、被覆圧着部93と、2つの連結部94,95とを備える。
 端子接続部91は、相手側の端子と接続される部分である。端子接続部91は、具体的には、例えば、略筒状の形状(いわゆるメス端子形状)に形成されており、ピン状、または、タブ状の接続部を有する相手側端子(いわゆるオス端子)が挿入接続可能とされている。なお、端子接続部91は、ピン状、または、タブ状の形状(いわゆるオス端子形状)に形成されていてもよく、また、ネジ等によって相手側の部材に接続可能な環状形状等に形成されていてもよい。
 芯線圧着部92は、電線8の露出芯線部81に圧着されるべき部分である。芯線圧着部92は、電線8に圧着接続される前の状態においては、例えば断面略U字状に形成されており、これが、露出芯線部81を抱持するように圧縮変形されることによって、芯線圧着部92が露出芯線部81に圧着接続される。芯線圧着部92が露出芯線部81に圧着接続されることによって、端子9と芯線部81とが電気的に接続される。
 被覆圧着部93は、電線8の被覆部82に圧着されるべき部分である。被覆圧着部93は、電線8に圧着接続される前の状態においては、例えば断面略U字状に形成されており、これが、被覆部82を抱持するように圧縮変形されることによって、被覆圧着部93が被覆部82に圧着接続される。被覆圧着部93が被覆部82に圧着接続されることによって、端子9が電線8に対して強固に固定される。
 2つの連結部94,95のうち、一方の連結部94(第1連結部)は、端子接続部91と芯線圧着部92とを連結する、また、他方の連結部95(第2連結部)は、芯線圧着部92と被覆圧着部93とを連結する。各連結部94,95は、一対の起立片と底部とによって形成される溝状の部分である。電線8に対して端子9が適切な位置に接続されている場合、連結部95の溝状の部分には、電線8における露出芯線部81と被覆部82の境界位置の付近の部分が収容された状態となる。すなわち、連結部95の溝の開口端(以下「窓部90」ともいう)から、当該境界位置が視認可能な状態となる。
 <2.検査装置100>
 <2-1.ハードウェア構成>
 検査装置100のハードウェア構成について、図3を参照しながら説明する。図3は、実施形態に係る検査装置100のハードウェア構成を示すブロック図である。
 検査装置100は、撮像部1と検査処理部2とを主として備える。
 撮像部1は、検査対象となる端子付電線80のうち、特に、電線8及び端子9の接続部分を撮像する。撮像部1は、例えば、二次元イメージセンサおよび結像レンズ等から構成することができる。
 検査処理部2は、撮像部1が取得した撮像データを解析することによって、端子付電線80の状態を評価する。検査処理部2は、例えば、CPU201、ROM202、RAM203、通信部204、記憶装置205等が、バスライン206を介して相互接続された一般的なコンピュータによって構成されている。ここにおいて、ROM202は基本プログラム等を格納しており、RAM203はCPU201が所定の処理を行う際の作業領域として供される。通信部204は、LAN等の通信回線を介したデータ通信機能を有する。記憶装置205は、フラッシュメモリ、あるいは、ハードディスク装置等の不揮発性の記憶装置によって構成されている。
 記憶装置205にはプログラムPrが格納されている。このプログラムPrに記述された手順に従って、主制御部としてのCPU201が演算処理を行うことにより、検査装置100の各種機能が実現されるように構成されている。プログラムPrは、通常、予め記憶装置205等のメモリに格納されて使用されるものであるが、CD-ROMあるいはDVD-ROM、外部のフラッシュメモリ等の記録媒体に記録された形態(プログラムプロダクト)で提供され(あるいは、ネットワークを介した外部サーバからのダウンロード等により提供され)、追加的または交換的に記憶装置205等のメモリに格納されるものであってもよい。もっとも、検査処理部2において実現される一部あるいは全部の機能は、専用の論理回路等でハードウェア的に実現されてもよい。
 図4は、実施形態に係るテンプレートデータTP1を示す画像である。記憶装置205には、図4に示すテンプレートデータTP1が保存されている。当該テンプレートデータTP1は、理想形状を有する端子付電線80の一部分である特徴部位を示すデータであって、テンプレートデータTP1は、画像処理の都合上、端子付電線80における輝度が変わる部位、あるいは、端子付電線80の形状(特に外形状)が変化する部位(曲げ部位、幅が変わる部位等)の特徴部位を示すデータであることが望ましい。
 本例では、端子付電線80における端子9の芯線圧着部92と、窓部90から露出する露出芯線部81との境界部位の画像をテンプレートデータTP1としている。この境界部位は、芯線圧着部92の輝度と、露出芯線部81の輝度とが異なるため、特徴部位として画像処理上識別が容易である。
 また、理想形状の端子付電線80を撮像することで得られた撮像画像をテンプレートデータとして使用してもよい。もちろん、当該撮像画像に対して、2値化またはエッジ強調等の画像処理で適宜抽出される特徴量(代表線、代表点等)を示すデータを、テンプレートデータとしてもよい。また、端子付電線80の設計図等から適宜抽出した代表線または代表点等の特徴量を示すデータを、テンプレートデータとすることもできる。
 検査処理部2には、さらに、入力装置21、および、表示装置22が接続されている。入力装置21は、例えば、キーボード、マウス、各種スイッチ、タッチパネル等の少なくとも1つを含む入力デバイスであり、オペレータからの各種の操作(コマンドや各種データの入力といった操作)を受け付ける。表示装置22は、液晶表示装置、ランプ等により構成されており、CPU201による制御の下、各種の情報を表示する。
 <2-2.機能構成>
 検査処理部2が備える機能構成について、図5を参照しながら説明する。図5は、実施形態に係る検査処理部2において実現される機能ブロック図である。
 検査処理部2は、撮像制御部31と、テンプレートマッチング部32と、端子位置特定部33と、検査領域設定部34と、検査部35とを備えている。これら各機能部は、上述したとおり、例えば、CPU201がプログラムPrに従って所定の演算処理を行うことにより実現される。
 <撮像制御部31>
 撮像制御部31は、撮像部1を制御して、検査対象となる端子付電線80を撮像させる。つまり、撮像部1と撮像制御部31とが協働して、検査対象となる端子付電線80を撮像して撮像データを取得する撮像データ取得部を構成する。ただし、検査対象となる端子付電線80は、その延在方向が定められた軸に沿うような姿勢とされるとともに、窓部90を真上に向けた状態で配置され、撮像部1は、このような姿勢で配置された端子付電線80を真上から撮像する。撮像部1が取得した撮像データ(図5参照)は、例えば、検査処理部2の制御下で、表示装置22に表示される。
 <テンプレートマッチング部32>
 テンプレートマッチング部32は、撮像部1によって取得された端子付電線80の撮像データ、及び、テンプレートデータTP1を比較することによって、撮像データにおける、テンプレートデータTP1にマッチする部分(部分領域PA1)を検索し、その位置を特定するテンプレートマッチングを行う。
 なお、テンプレートデータとして採用される特徴点としては、例えば、芯線圧着部92の被覆圧着部93側の基端部921を、代表箇所とすることができる。この基端部921は、これを境に輝度が大きく変化する位置となっている。このため、テンプレートマッチング部32は、この輝度の変化に基づいて、当該基端部921の位置を特定できる。
 <端子位置特定部33>
 端子位置特定部33は、テンプレートマッチング部32によって特定された部分領域の座標位置に基づいて、端子位置を特定するための解析範囲AR1を決定する。そして、端子位置特定部33は、当該解析範囲AR1内で端子9の一部分の位置を特定する。本例では、電線8と端子9の境界部位であって、具体的には、電線8の被覆部82と、端子9の被覆圧着部93との境界部位である、基端部931(被覆圧着部93の芯線圧着部92とは反対側の端部)の位置を画像解析によって特定する。この画像解析については、後述する。
 <検査領域設定部34>
 検査領域設定部34は、端子位置特定部33によって特定された端子9(ここでは、基端部931)の位置に基づき、検査領域Mを設定する。この検査領域Mは、端子9の接続状態を外観検査するための領域である。
 図6は、実施形態に係る撮像データにおける端子付電線80及び検査領域Mを示す図である。図6に示されるように、本例では、検査領域Mは矩形領域である。検査領域Mの平行な一対の辺の延在方向(以下「Y方向」とも称する。)が、端子付電線80の延在方向と略一致するように設定される。したがって、検査領域Mの他方の一対の辺の延在方向(以下「X方向」とも称する。)が、端子付電線80の延在方向と直交する方向(以下「端子付電線80を横断する方向」共称する。)と略一致するように設定される。
 本例では、電線8(撮像データ上の電線8)における、被覆圧着部93が圧着されている第1の部分M1と被覆部82が圧着されている第2の部分M2との間の部分(以下「間隙部分」ともいう)が、検査領域Mとされる。ただし、検査領域Mは、窓部90を含まない範囲であることが好ましい。このような好ましい検査領域Mを規定するには、例えば、検査領域MのY方向に沿う長さを、芯線圧着部92の基端部921(被覆圧着部93側の端部)と、被覆圧着部93の先端部933(芯線圧着部92側の端部)との離間距離(撮像データ上の離間距離)と略同一とする。そして、+Y側の辺が芯線圧着部92の基端部921と一致するように設定すればよい。また、検査領域MのX方向に沿う長さを、端子付電線80の幅(撮像データ上の幅)よりも十分に大きなものとし、さらに、X方向に沿う辺の中心が、端子付電線80の中心線上にくるように設定すればよい。
 <検査部35>
 検査部35は、検査領域設定部34が設定した検査領域Mを画像解析することによって、端子9が目標の位置に接続されているかどうかを検査し、評価する。具体的には、検査領域M内において、間隙部分に露出芯線部81と被覆部82との両方が現れているか否か(すなわち、間隙部分に、露出芯線部81と被覆部82との境界が現れているか否か)を判定する。そして、露出芯線部81と被覆部82との両方が現れている場合には、検査部35は、当該端子付電線80について肯定的な評価を与える。
 なお、撮像部1、撮像制御部31、テンプレートマッチング部32及び端子位置特定部33は、端子位置特定装置を構成する。
 <2-3.処理の流れ>
 図7は、実施形態に係る検査装置100にて実行される処理の流れを示す図である。図7に示す流れ図おいて、ステップS1~ステップS3は、端子9の位置を特定する端子位置特定方法に相当する。また、ステップS1~ステップS4は、端子付電線80を外観検査する検査方法に相当する。また、図8は、実施形態に係る撮像データにおける端子付電線80及び当該データ上に設定される各領域を示す図である。
 まず、撮像制御部31が、撮像部1を制御して、検査対象となる端子付電線80を撮像させる。これによって、端子付電線80の撮像データが取得される(ステップS1)。この工程は、撮像データを準備する準備工程に相当する。なお、予め記憶装置205に予め保存された撮像データが読み出されることによって、撮像データが準備されてもよい。
 続いて、テンプレートマッチング部32が、撮影画像とテンプレートデータTP1とを比較して、テンプレートデータTP1にマッチする部分領域PA1を特定するテンプレートマッチングを行う(ステップS2)。ステップS2は、テンプレートマッチング工程に相当する。具体的には、図8に示すように、端子付電線80の撮影画像上において、テンプレートデータTP1(図4参照)にマッチングする部分領域PA1が特定される。そして、ここでは、当該部分領域PA1の中心を、部分領域PA1の位置PAL1としている。
 続いて、端子位置特定部33が、撮像データ上における部分領域PA1の位置PAL1に基づいて、端子9の位置を特定する(ステップS3)。このステップS3は、端子位置特定工程に相当する。具体的には、図8に示すように、端子位置特定部33が、部分領域PA1の位置PAL1から既定の長さL1だけ-Y方向に離れた位置に、矩形状の解析範囲AR1を設定する。ここでは、解析範囲AR1に、被覆圧着部93の基端部931が含まれるように、長さL1が設定されている。そして、端子位置特定部33は、当該解析範囲AR1において、基端部931の座標位置を取得する。これによって、端子位置が特定される。
 図9は、実施形態に係る輝度積分値の変化の一例を示す図である。図9において、横軸は、Y軸方向の位置を示しており、縦軸は輝度積分値を示している。輝度積分値は、具体的には次のようにして求められる。
 まず、図8に示すように、解析範囲AR1内にて、端子付電線80のエッジ位置(端子付電線80と背景との境界位置。具体的には、図8に示されるエッジ位置Ea1,Eb1,Ea2,Eb2等)が特定される。なお、端子付電線80のエッジは、背景に対して輝度が大きく変化する位置となっていることから、微分フィルタ等を適用することによって容易に特定可能である。
 続いて、Y軸方向の位置が一致する一対のエッジ位置(例えば,エッジ位置Ea1,Eb1、または、エッジ位置Ea2,Eb2)を、Y軸方向に沿って複数選択される。そして、各一対のエッジ位置を結んだ線(例えば、線L1,線L2)上に位置する複数画素の輝度値が足し合わされる。これによって、Y方向の各位置における輝度積分値が算出される。
 既に説明したように、解析範囲AR1に含まれる、被覆圧着部93及び被覆部82は、それらの境界位置で輝度が大きく変化する。このため、図9に示されるように、輝度積分値の大きな変化を検出できる。端子位置特定部33は、この輝度積分値がしきい値Th1を超えて変化するY方向の位置Y1を、被覆圧着部93の基端部931の位置として特定する。なお、このしきい値Th1は、絶対値として既定されたものとしてよいし、相対値としてもよい。しきい値Th1を相対値とする場合、例えば、複数の輝度積分値の中から最大値(最大輝度積分値)を選択し、当該最大値に対する予め決められた割合の値をしきい値Th1とすることが考えられる。
 なお、上記の例では、端子位置特定部33は、輝度積分値に基づいて、被覆圧着部93の基端部931の位置を特定している。しかしながら、端子位置特定部33は、撮像データ上における端子付電線80の幅の変化に基づき、被覆圧着部93の基端部931の位置を特定してもよい。具体的には、各一対のエッジ間の長さを測定することで、Y方向の各位置の幅を求めることができる。本例では、被覆圧着部93の幅が、被覆部82の幅よりも広い。このため、測定された幅が、所定のしきい値を超えて変化する位置を、基端部931の位置とすればよい。
 このように、端子付電線80の幅に基づいて端子位置を特定する場合、電線8の被覆部82に装飾(例えば電線識別用のリングマーク)等が付されている場合であっても、その影響を受けにくくなる。このため、端子位置の特定精度を高めることができる。
 図7に戻って、ステップS3において、端子位置特定部33が端子位置を特定すると、端子接続の検査が行われる(ステップS4)。ステップS4は、端子9の接続位置を検査する検査工程に相当する。具体的には、検査領域設定部34が、ステップS3で特定された端子位置(端子9の基端部931の位置)に基づき、検査領域Mを設定する(図6参照)。そして、検査部35が、検査領域Mにおいて、間隙部分に露出芯線部81と被覆部82との両方が現れているか否かを判断する。
 より詳細には、検査部35は、撮像画像の検査領域M内において、Y方向に沿って輝度の変化を検出する。所定のしきい値を超える輝度の変化がある場合には、露出芯線部81と被覆部82の境界が現れていると判断する。また、検査部35は、その輝度の変化を示すグラフや判断結果等を、検査結果として表示装置22に表示することで、オペレータに通知するように構成されてもよい。
 以上のように、検査装置100によると、予めテンプレートデータTP1にマッチする部分領域PA1を特定することで、端子位置特定のために画像解析する解析範囲AR1を狭小化できる。これによって、解析範囲AR1内に、端子付電線80に付着した汚れ、被覆部82の装飾が含まれる可能性、あるいは、撮像環境等の影響を受ける可能性を小さくできる。これによって、端子9の位置特定を高精度に行うことができる。
 また、テンプレートマッチングを行ってからさらに画像解析を行うことで、テンプレートマッチングのみを行う場合よりも、端子位置の特定精度を大幅に向上できる。
 この発明は詳細に説明されたが、上記の説明は、すべての局面において、例示であって、この発明がそれに限定されるものではない。例示されていない無数の変形例が、この発明の範囲から外れることなく想定され得るものと解される。また、上記各実施形態及び各変形例で説明した各構成は、相互に矛盾しない限り適宜組み合わせたり、省略したりすることができる。
 1 撮像部
 100 検査装置
 2 検査処理部
 205 記憶装置
 21 入力装置
 22 表示装置
 31 撮像制御部
 32 テンプレートマッチング部
 33 端子位置特定部
 34 検査領域設定部
 35 検査部
 8 電線
 80 端子付電線
 81 芯線部(露出芯線部)
 82 被覆部
 9  端子
 90 窓部
 91 端子接続部
 92 芯線圧着部
 921 基端部
 93 被覆圧着部
 931 基端部
 933 先端部
 AR1 解析範囲
 M 検査領域
 PA1 部分領域
 PAL1 位置(部分領域の位置)
 Pr プログラム
 TP1 テンプレートデータ
 Th1 しきい値
 Y1 位置(端子位置)

Claims (8)

  1.  電線の端末部に端子が接続された端子付電線における端子位置を特定する端子位置特定方法であって、
     端子付電線における端子及び電線の接続部分を撮像して得られる撮像データを準備する準備工程と、
     前記撮像データ、及び、前記端子付電線の一部分である特徴部位を示すテンプレートデータを比較することによって、前記撮像データにおける前記テンプレートデータにマッチする部分領域を特定するテンプレートマッチング工程と、
     前記部分領域の位置に基づいて決定される解析範囲を画像解析して、前記端子位置を特定する端子位置特定工程と、
    を含む、端子位置特定方法。
  2.  請求項1に記載の端子位置特定方法であって、
     前記テンプレートデータに示される前記特徴部位が、前記電線と前記端子との境界部位である、端子位置特定方法。
  3.  請求項1または請求項2に記載の端子位置特定方法であって、
     前記端子位置特定工程は、
     前記解析範囲内において、前記端子付電線の幅を測定することによって、前記端子位置を特定する工程を含む、端子位置特定方法。
  4.  請求項1または請求項2に記載の端子位置特定方法であって、
     前記端子位置特定工程は、
     前記撮像データの前記解析範囲内において、輝度を測定することによって、前記端子位置を特定する工程を含む、端子位置特定方法。
  5.  請求項4に記載の端子位置特定方法であって、
     前記端子位置特定工程は、
     前記撮像データにおける前記端子付電線の延びる方向に沿って、前記輝度が所定のしきい値を超えて変化する位置を特定することによって、前記端子位置を特定する、端子位置特定方法。
  6.  端子付電線を外観検査する検査方法であって、
     端子付電線における端子及び電線の接続部分を撮像して得られる撮像データを準備する準備工程と、
     前記撮像データ、及び、前記端子付電線の一部分である特徴部位を示すテンプレートデータを比較することによって、前記撮像データにおける前記テンプレートデータにマッチする部分領域を特定するテンプレートマッチング工程と、
     前記部分領域の位置に基づいて決定される解析範囲を画像解析して、端子位置を特定する端子位置特定工程と、
     前記端子位置特定工程にて特定された前記端子位置に基づいて設定される検査領域内において、画像解析によって前記端子の接続位置を検査する検査工程と、
    を含む、検査方法。
  7.  電線の端末部に端子が接続された端子付電線における端子位置を特定する端子位置特定装置であって、
     端子付電線における端子及び電線の接続部分を撮像する撮像部と、
     前記撮像部によって得られた撮像データ、及び、前記端子付電線の一部分である特徴部位を示すテンプレートデータを比較することによって、前記撮像データにおける前記テンプレートデータにマッチする部分領域を特定するテンプレートマッチング部と、
     前記部分領域の位置に基づいて決定される解析範囲を画像解析することによって、前記端子位置を特定する端子位置特定部と、
    を備える、端子位置特定装置。
  8.  端子付電線を外観検査する検査装置であって、
     端子付電線における端子及び電線の接続部分を撮像する撮像部と、
     前記撮像部によって得られた撮像データ、及び、前記端子付電線の一部分である特徴部位を示すテンプレートデータを比較することによって、前記撮像データにおける前記テンプレートデータにマッチする部分領域を特定するテンプレートマッチング部と、
     前記部分領域の位置に基づいて決定される解析範囲を画像解析することによって、端子位置を特定する端子位置特定部と、
     前記端子位置特定部にて特定された前記端子位置に基づいて設定される検査領域内において、画像解析によって前記端子の接続位置を検査する検査部と、
    を備える、検査装置。
PCT/JP2017/006801 2016-03-04 2017-02-23 端子位置特定方法、検査方法、端子位置特定装置及び検査装置 WO2017150328A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016042037A JP2017156298A (ja) 2016-03-04 2016-03-04 端子位置特定方法、検査方法、端子位置特定装置及び検査装置
JP2016-042037 2016-03-04

Publications (1)

Publication Number Publication Date
WO2017150328A1 true WO2017150328A1 (ja) 2017-09-08

Family

ID=59742842

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/006801 WO2017150328A1 (ja) 2016-03-04 2017-02-23 端子位置特定方法、検査方法、端子位置特定装置及び検査装置

Country Status (2)

Country Link
JP (1) JP2017156298A (ja)
WO (1) WO2017150328A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7164560B2 (ja) * 2020-03-30 2022-11-01 矢崎総業株式会社 圧着端子の外観検査装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0843025A (ja) * 1994-07-29 1996-02-16 Yamaha Motor Co Ltd 部品認識方法及び装置
JPH11101622A (ja) * 1997-05-28 1999-04-13 Meidensha Corp 圧着端子検査装置
US20060045325A1 (en) * 2004-08-31 2006-03-02 Semiconductor Insights Inc. Method of design analysis of existing integrated circuits
JP2011174719A (ja) * 2010-02-23 2011-09-08 True Soltec Kk 端子圧着不良検出装置
JP2014134409A (ja) * 2013-01-09 2014-07-24 Sumitomo Wiring Syst Ltd 電線状態の検査方法、および、電線状態の検査装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0843025A (ja) * 1994-07-29 1996-02-16 Yamaha Motor Co Ltd 部品認識方法及び装置
JPH11101622A (ja) * 1997-05-28 1999-04-13 Meidensha Corp 圧着端子検査装置
US20060045325A1 (en) * 2004-08-31 2006-03-02 Semiconductor Insights Inc. Method of design analysis of existing integrated circuits
JP2011174719A (ja) * 2010-02-23 2011-09-08 True Soltec Kk 端子圧着不良検出装置
JP2014134409A (ja) * 2013-01-09 2014-07-24 Sumitomo Wiring Syst Ltd 電線状態の検査方法、および、電線状態の検査装置

Also Published As

Publication number Publication date
JP2017156298A (ja) 2017-09-07

Similar Documents

Publication Publication Date Title
WO2018211891A1 (ja) 異変検出装置及び異変検出方法
US11790514B2 (en) Image-based control of wire harness and connector manufacturing processes using artificial intelligence
US20210012476A1 (en) Abnormality inspection device and abnormality inspection method
US8345951B2 (en) Image binarizing method, image processing device, and computer program
CN107369176B (zh) 一种柔性ic基板氧化面积检测系统及方法
JPH0579824A (ja) 電線皮剥ぎ状態検査方法
JP5924272B2 (ja) 電線状態の検査方法、および、電線状態の検査装置
JPH0515977B2 (ja)
WO2017150328A1 (ja) 端子位置特定方法、検査方法、端子位置特定装置及び検査装置
CN116718600A (zh) 一种用于对线束产品进行智能化检测的检测装置
TWI775196B (zh) 壓接判定方法
CN105136818A (zh) 印刷基板的影像检测方法
WO2017150268A1 (ja) 検査方法及び検査装置
TWI519802B (zh) 一種線路資訊擷取方法、非線路區資訊擷取方法及運用前述方法的線路缺陷檢測方法
WO2017043270A1 (ja) 端子付電線の検査方法及び端子付電線検査装置
JP7164560B2 (ja) 圧着端子の外観検査装置
JP4459945B2 (ja) 抽出色範囲設定方法
JP2019007787A (ja) 検査装置、および、検査方法
WO2017188171A1 (ja) 電線の露出芯線部の検査装置
JP2017009469A (ja) 端子圧着不良検出装置
JP6080556B2 (ja) 検査画像生成装置、検査画像生成方法および検査画像生成プログラム
CA2972649C (en) Wire contact inspection
CN116912178B (zh) 导线表面痕迹识别方法
Pan et al. Research on the examination technology of connector pin skewing according to Blob analysis
JP2943078B2 (ja) 検査装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17759794

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17759794

Country of ref document: EP

Kind code of ref document: A1