WO2022091543A1 - リペア溶接区間検出方法およびリペア溶接区間検出装置 - Google Patents

リペア溶接区間検出方法およびリペア溶接区間検出装置 Download PDF

Info

Publication number
WO2022091543A1
WO2022091543A1 PCT/JP2021/031207 JP2021031207W WO2022091543A1 WO 2022091543 A1 WO2022091543 A1 WO 2022091543A1 JP 2021031207 W JP2021031207 W JP 2021031207W WO 2022091543 A1 WO2022091543 A1 WO 2022091543A1
Authority
WO
WIPO (PCT)
Prior art keywords
defect
welding
section
determined
shift region
Prior art date
Application number
PCT/JP2021/031207
Other languages
English (en)
French (fr)
Inventor
克明 大熊
Original Assignee
パナソニックIpマネジメント株式会社
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 パナソニックIpマネジメント株式会社 filed Critical パナソニックIpマネジメント株式会社
Priority to CN202180073599.XA priority Critical patent/CN116507445A/zh
Priority to JP2022558875A priority patent/JPWO2022091543A1/ja
Publication of WO2022091543A1 publication Critical patent/WO2022091543A1/ja
Priority to US18/140,213 priority patent/US20230264302A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K26/00Working by laser beam, e.g. welding, cutting or boring
    • B23K26/02Positioning or observing the workpiece, e.g. with respect to the point of impact; Aligning, aiming or focusing the laser beam
    • B23K26/03Observing, e.g. monitoring, the workpiece
    • B23K26/032Observing, e.g. monitoring, the workpiece using optical means
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K31/00Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups
    • B23K31/12Processes relevant to this subclass, specially adapted for particular articles or purposes, but not covered by only one of the preceding main groups relating to investigating the properties, e.g. the weldability, of materials
    • B23K31/125Weld quality monitoring
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23KSOLDERING OR UNSOLDERING; WELDING; CLADDING OR PLATING BY SOLDERING OR WELDING; CUTTING BY APPLYING HEAT LOCALLY, e.g. FLAME CUTTING; WORKING BY LASER BEAM
    • B23K9/00Arc welding or cutting
    • B23K9/095Monitoring or automatic control of welding parameters
    • B23K9/0956Monitoring or automatic control of welding parameters using sensing means, e.g. optical
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/255Detecting or recognising potential candidate objects based on visual cues, e.g. shapes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10028Range image; Depth image; 3D point clouds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30152Solder
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/12Acquisition of 3D measurements of objects
    • G06V2201/121Acquisition of 3D measurements of objects using special illumination

Definitions

  • the present disclosure relates to a repair welding section detection method and a repair welding section detection device.
  • Patent Document 1 slit light is projected onto the weld bead, the shape lines sequentially formed on the weld bead are imaged by scanning the slit light, and the weld bead is based on the imaging data of the sequentially formed shape lines.
  • a shape inspection device for acquiring the three-dimensional shape of the above as point cloud data is disclosed. This shape inspection device corresponds to the cutting line by setting an arbitrary cutting line different from the shape line formed by scanning the slit light on the weld bead displayed based on the point cloud data according to the input. The cross-sectional shape of the weld bead at the cutting line is calculated from the point cloud data. Further, the shape inspection device compares various feature quantities calculated according to the calculated cross-sectional shape with the allowable range of various feature quantities registered in advance, and determines whether the feature quantity is good or bad.
  • the present disclosure provides a repair welding section detection method and a repair welding section detection device that more accurately detect the repair welding section of the work produced by the main welding.
  • the volume of each of the (N-i + 1) shift regions in which the windows are shifted one by one in the welding direction is calculated, and a predetermined value among the calculated volumes of each of the (N-i + 1) shift regions.
  • a repair welding section detection method for determining a shift region having the above volume as a defect section of the weld bead.
  • the present disclosure is an input unit for inputting input data regarding a weld bead of a work produced by welding, and a determination unit for performing an inspection determination regarding the shape of the weld bead using the input data and master data of a non-defective work.
  • the data generation unit that generates shape mismatch data by extracting the shape mismatch portion of the weld bead based on the inspection determination result of the determination unit, and the shape mismatch in the direction perpendicular to the welding direction of the weld bead.
  • the data is divided into N windows equally divided into N (N: integers of 2 or more), and a shift region composed of consecutive i (i: 1 or more integers) windows in each of the windows is divided.
  • a generation unit that determines that the shift region having a volume equal to or larger than a predetermined value among the volumes of the (N-i + 1) shift regions is a defect section of the weld bead and generates information on the defect section.
  • a repair welding section detection device Provided is a repair welding section detection device.
  • FIG. 1 Schematic diagram showing a system configuration example of a welding system
  • the figure which shows the internal structure example of the inspection control apparatus, the robot control apparatus, and the higher-level apparatus which concerns on embodiment.
  • a sequence diagram showing a series of processing procedure examples including main welding and bead appearance inspection by the welding system according to the embodiment.
  • Flow chart showing an example of defect determination and defect determination (detection) processing procedure according to the embodiment
  • the figure which shows an example of the shape mismatch part between a weld bead and a master data.
  • the figure which shows an example of the cross-sectional view of the shape mismatch data in the direction perpendicular to the welding direction.
  • the figure explaining the defect determination and the defect determination process which concerns on the modification of embodiment The figure explaining the determination example of the defect determination and the determination process of the defect section which concerns on the modification of the embodiment.
  • Patent Document 1 when the calculated value of the feature amount (for example, bead width, bead height, etc.) regarding the shape of the weld bead of the work produced by the main welding is within the permissible range, it is judged to be a good product.
  • a device configuration for automatically inspecting the appearance shape of a weld bead has been conventionally known.
  • the shape of the weld bead may fluctuate due to changes in the working environment, deterioration of consumables used for welding, dirt adhering to the work surface, and the like. Fluctuations in the appearance shape of the weld bead do not necessarily affect the quality of welding, and repair welding is not necessary in some cases.
  • the necessity of repair welding is determined based on the feature amount of the shape mismatch part of the entire weld bead calculated by comparing the shapes of the non-defective work and the work to be inspected as in the conventional appearance shape inspection of the weld bead. In that case, it may be determined that repair welding is necessary.
  • the repair welding section detection device inputs input data regarding the welding bead of the work produced by the main welding, and uses the input data and the master data of the non-defective work to compare the input data with the master data. Based on this, the bead appearance inspection regarding the shape of the weld bead is performed.
  • the repair welding program creation system determines the defect section (that is, the repair welding section requiring repair welding) for each defect portion of the welding determined to require repair welding as a result of the bead appearance inspection.
  • the object to be main welded (for example, metal) is defined as “original work”, and the object produced (manufactured) by main welding is defined as “work”.
  • the "work” may be defined to include a “repair work” in which a welding defect detected by a visual inspection is repair-welded.
  • the "work” is not limited to the work produced by one main welding, but may be a composite work produced by two or more main weldings.
  • main welding The process of producing a work by joining the original work and other original works by a welding robot is defined as "main welding”, and the process of repairing defective parts of the work by a welding robot is defined as “repair welding”. do.
  • FIG. 1 is a schematic view showing a system configuration example of the welding system 100.
  • the welding system 100 includes a host device 1 connected to each of the external storage ST, the input interface UI1 and the monitor MN1, a robot control device 2, an inspection control device 3, a sensor 4, a welding robot MC1, and a monitor MN2. It is a configuration including.
  • the sensor 4 is shown separately from the welding robot MC1 in FIG. 1, it may be provided integrally with the welding robot MC1 (see FIG. 2).
  • the monitor MN2 is not an essential configuration and may be omitted.
  • the host device 1 controls the start and completion of the main welding executed by the welding robot MC1 via the robot control device 2 in an integrated manner.
  • the host device 1 reads out welding-related information input or set in advance by a user (for example, a welding operator or a system administrator; the same applies hereinafter) from the external storage ST, and uses the welding-related information to perform welding-related information.
  • the execution command of the main welding including the contents of is generated and sent to the corresponding robot control device 2.
  • the host device 1 receives a main welding completion report from the robot control device 2 to the effect that the main welding by the welding robot MC1 is completed, and the corresponding main welding is completed. Update to the status and record in the external storage ST.
  • the above-mentioned execution command of the main welding is not limited to being generated by the host device 1, for example, an operation panel (for example, PLC: Programmable Logic Controller) of equipment in a factory or the like where the main welding is performed, or a robot control device. It may be generated by the operation panel of 2 (for example, TP: Welding Pendant).
  • the teach pendant (TP) is a device for operating the welding robot MC1 connected to the robot control device 2.
  • the host device 1 controls the start and completion of the bead appearance inspection using the robot control device 2, the inspection control device 3, and the sensor 4 in an integrated manner. For example, when the host device 1 receives the welding completion report from the robot control device 2, it generates an execution command for bead appearance inspection of the work produced by the welding robot MC1, and the robot control device 2 and the inspection control device 3, respectively. Send to. When the bead appearance inspection is completed, the host device 1 receives an appearance inspection report indicating that the bead appearance inspection is completed from the inspection control device 3, updates the status to the effect that the corresponding bead appearance inspection is completed, and externally. Record in storage ST.
  • the welding-related information is information indicating the content of the main welding executed by the welding robot MC1, and is created in advance for each main welding process and registered in the external storage ST.
  • Weld-related information includes, for example, the number of original workpieces used for the main weld, work information including the ID, name and weld location of the original workpiece used for the main weld, and the scheduled execution date when the main weld is executed. Includes the number of workpieces to be welded and various welding conditions at the time of main welding.
  • the welding-related information is not limited to the data of the above-mentioned items, for example, data related to the welding direction when the main welding is executed (that is, data of position information indicating the operation locus of the welding robot MC1) and the like.
  • the data regarding the welding direction may be included in the teaching program of the welding robot MC1. Further, the welding direction data of the welding robot MC1 may be generated in advance as welding direction data by inputting the welding line information together with the master data by the user operation, and may be stored in the memory 32 in the inspection control device 3. ..
  • the robot control device 2 causes the welding robot MC1 to start the execution of the main welding using the original work specified by the execution command based on the execution command of the main welding sent from the higher-level device 1.
  • the welding-related information described above is not limited to being managed by the host device 1 with reference to the external storage ST, and may be managed by, for example, the robot control device 2.
  • the robot control device 2 can grasp the state in which the main welding is completed, the actual execution date may be managed instead of the scheduled execution date in which the welding process is scheduled to be executed in the welding-related information.
  • the type of the main welding is not limited, but in order to make the explanation easy to understand, a process of joining a plurality of original works to produce one work will be illustrated and described.
  • the host device 1 is connected so that data can be input / output from each of the monitor MN1, the input interface UI1 and the external storage ST, and further, data can be communicated with the robot control device 2. It is connected so that it becomes.
  • the host device 1 may be a terminal device P1 that integrally includes a monitor MN1 and an input interface UI1, and may further include an external storage ST integrally.
  • the terminal device P1 is a PC (Personal Computer) used by the user prior to the execution of the main welding.
  • the terminal device P1 is not limited to the PC described above, and may be a computer device having a communication function such as a smartphone or a tablet terminal.
  • the monitor MN1 may be configured by using a display device such as an LCD (Liquid Crystal Display) or an organic EL (Electroluminescence).
  • the monitor MN1 may display, for example, a screen output from the host device 1 indicating that the main welding is completed or that the bead appearance inspection is completed.
  • a speaker (not shown) may be connected to the host device 1 in place of the monitor MN1 or together with the monitor MN1, and the host device 1 indicates that the main welding has been completed or that the bead appearance inspection has been completed.
  • the audio of the contents of may be output through the speaker.
  • the input interface UI 1 is a user interface that detects a user's input operation and outputs it to the host device 1, and may be configured by using, for example, a mouse, a keyboard, a touch panel, or the like.
  • the input interface UI 1 accepts, for example, an input operation when the user creates welding-related information, or accepts an input operation when sending a main welding execution command to the robot control device 2.
  • the external storage ST is configured by using, for example, a hard disk drive (Hard Disk Drive) or a solid state drive (Solid State Drive).
  • the external storage ST stores, for example, data of welding-related information created for each main welding, the status (production status) of the work produced by the main welding, and the work information (see above) of the work.
  • the robot control device 2 is connected so that data can be communicated with the host device 1 and can be connected to the welding robot MC1 so as to be able to communicate data.
  • the robot control device 2 receives the execution command of the main welding sent from the higher-level device 1, the robot control device 2 controls the corresponding welding robot MC1 based on the execution command to execute the main welding.
  • the robot control device 2 detects the completion of the main welding, it generates a main welding completion report indicating that the main welding is completed and notifies the higher-level device 1.
  • the host device 1 can properly detect the completion of the main welding by the robot control device 2.
  • the method of detecting the completion of the main welding by the robot control device 2 may be, for example, a method of determining based on a signal indicating the completion of the main welding from a sensor (not shown) provided in the wire feeding device 300, or a known method.
  • the method may be used, and the content of the method for detecting the completion of the main welding may not be limited.
  • the robot control device 2 receives the execution command of the bead visual inspection sent from the higher-level device 1, the robot control device 2 is welded to which the sensor 4 is attached according to the visual inspection program created or prepared in advance by the robot control device 2.
  • the robot MC1 (see FIG. 2) is controlled to perform a bead appearance inspection of the corresponding work based on the execution command.
  • the visual inspection report indicating that the bead visual inspection has been completed is sent from the inspection control device 3 to the higher-level device 1, but the robot control device 2 itself or the robot control device 2 that has received an instruction from the inspection control device 3 is higher-level. It may be sent to the device 1.
  • the host appliance 1 can appropriately detect the completion of the bead appearance inspection.
  • the welding robot MC1 is connected so that data can be communicated with the robot control device 2.
  • the welding robot MC1 executes the main welding commanded by the host device 1 under the control of the corresponding robot control device 2.
  • the welding robot MC1 moves the sensor 4 according to the appearance inspection program to execute the bead appearance inspection commanded by the host device 1. To support.
  • the inspection control device 3 as an example of the repair welding section detection device is connected so that data can be communicated with each of the host device 1, the robot control device 2, and the sensor 4.
  • the inspection control device 3 receives the execution command of the bead appearance inspection sent from the higher-level device 1, the inspection control device 3 inspects the bead appearance of the welded portion of the work produced by the welding robot MC1 (for example, the weld bead formed on the work is previously formed. (Inspection of whether or not the predetermined welding standard is satisfied) is executed together with the sensor 4. The details of the bead appearance inspection will be described later with reference to FIGS. 4 to 10.
  • the inspection control device 3 has a sensor based on the welded portion information of the work included in the execution command of the bead appearance inspection.
  • the input data related to the shape of the weld bead acquired in step 4 for example, point cloud data that can specify the three-dimensional shape of the weld bead
  • the inspection control device 3 performs a bead appearance inspection, generates an appearance inspection report including an inspection determination result of the bead appearance inspection and a notification that the bead appearance inspection is completed, sends it to the host device 1, and sends it to the monitor MN2. Output.
  • the inspection control device 3 When it is determined that a defect is detected in the bead appearance inspection of the work, the inspection control device 3 generates an appearance inspection report including the appearance inspection result including the information of the defect section for repair welding the defect. , Is sent to the host device 1 and the robot control device 2.
  • the inspection control device 3 determines that a defect has been detected by the bead appearance inspection of the work, the inspection control device 3 uses the appearance inspection result including the information of the defect section to perform repair welding to repair the defective portion. Generate a program. The inspection control device 3 associates this repair welding program with the appearance inspection result and sends it to the host device 1 or the robot control device 2.
  • the sensor 4 is connected so that data can be communicated with the inspection control device 3.
  • the sensor 4 When the sensor 4 is attached to the welding robot MC1 (see FIG. 2), the sensor 4 three-dimensionally mounts a mounting table on which the work Wk is placed according to the drive of the manipulator 200 based on the control of the robot control device 2. Can be scanned and is operational.
  • the sensor 4 receives data (for example, point cloud data) capable of specifying the three-dimensional shape of the work Wk placed on the mounting table (see FIG. 2) in response to the drive of the manipulator 200 based on the control of the robot control device 2. It is acquired and sent to the inspection control device 3.
  • data for example, point cloud data
  • the monitor MN2 may be configured by using a display device such as an LCD or an organic EL.
  • the monitor MN2 is, for example, output from the inspection control device 3 to notify that the bead visual inspection is completed, or the notification and the result of the visual inspection (information notifying the presence or absence of a defect, information on the defective section, insufficient in the defective section).
  • a screen showing the volume data of the weld bead to be used, etc.) is displayed.
  • a speaker (not shown) may be connected to the inspection control device 3 instead of the monitor MN2 or together with the monitor MN2, and the inspection control device 3 notifies that the visual inspection is completed, or the notification and the visual inspection.
  • a voice indicating the content of the result (for example, the above-mentioned inspection determination result) may be output via the speaker.
  • FIG. 2 is a diagram showing an example of internal configurations of the inspection control device 3, the robot control device 2, and the host device 1 according to the embodiment.
  • the monitors MN1 and MN2 and the input interface UI1 are not shown in FIG.
  • the work Wk shown in FIG. 2 is a work that is the target of the bead appearance inspection.
  • This work Wk may be a work produced by main welding, or may be a so-called repair work that has been repaired once or more by repair welding.
  • the welding robot MC1 executes various processes such as main welding commanded by the host device 1 and movement of the sensor 4 during bead appearance inspection.
  • the welding robot MC1 performs, for example, arc welding in the main welding process.
  • the welding robot MC1 may perform welding other than arc welding (for example, laser welding, gas welding) and the like.
  • the laser head may be connected to the laser oscillator via an optical fiber instead of the welding torch 400.
  • the welding robot MC1 has a configuration including at least a manipulator 200, a wire feeding device 300, a welding wire 301, and a welding torch 400.
  • the manipulator 200 includes articulated arms, and each arm is moved based on a control signal from the robot control unit 24 of the robot control device 2. Thereby, the manipulator 200 can change the positional relationship between the work Wk and the welding torch 400 (for example, the angle of the welding torch 400 with respect to the work Wk) by driving the arm.
  • the wire feeding device 300 controls the feeding speed of the welding wire 301 based on the control signal from the robot control device 2.
  • the wire feeding device 300 may include a sensor (not shown) capable of detecting the remaining amount of the welding wire 301.
  • the robot control device 2 can detect that the main welding process has been completed based on the output of this sensor.
  • the welding wire 301 is held by the welding torch 400.
  • an arc is generated between the tip of the welding wire 301 and the work Wk, and arc welding is performed.
  • the illustration and description of the configuration for supplying the shield gas to the welding torch 400 will be omitted.
  • the host device 1 generates execution commands for various processes of main welding or bead appearance inspection using welding-related information input or set in advance by the user, and sends them to the robot control device 2. As described above, when the sensor 4 is integrally attached to the welding robot MC1, the bead appearance inspection execution command is sent to both the robot control device 2 and the inspection control device 3.
  • the host device 1 has a configuration including at least a communication unit 10, a processor 11, and a memory 12.
  • the communication unit 10 is connected so that data can be communicated with each of the robot control device 2 and the external storage ST.
  • the communication unit 10 sends an execution command of various processes of main welding or bead appearance inspection generated by the processor 11 to the robot control device 2.
  • the communication unit 10 receives the main welding completion report and the visual inspection report sent from the robot control device 2 and outputs them to the processor 11.
  • the welding execution command may include, for example, control signals for controlling each of the manipulator 200, the wire feeding device 300, and the power supply device 500 included in the welding robot MC1.
  • the processor 11 is configured by using, for example, a CPU (Central Processing Unit) or an FPGA (Field Programmable Gate Array), and performs various processes and controls in cooperation with the memory 12. Specifically, the processor 11 functionally realizes the cell control unit 13 by referring to the program held in the memory 12 and executing the program.
  • a CPU Central Processing Unit
  • FPGA Field Programmable Gate Array
  • the memory 12 has, for example, a RAM (Random Access Memory) as a work memory used when executing the processing of the processor 11 and a ROM (Read Only Memory) for storing a program defining the processing of the processor 11. Data generated or acquired by the processor 11 is temporarily stored in the RAM. A program that defines the processing of the processor 11 is written in the ROM. Further, the memory 12 stores welding-related information data read from the external storage ST, work status, and work information (see above) data of the work sent from the robot control device 2.
  • a RAM Random Access Memory
  • ROM Read Only Memory
  • the cell control unit 13 generates an execution command for executing main welding, bead appearance inspection of the work, or repair welding based on the welding-related information stored in the external storage ST. Further, the cell control unit 13 has an appearance relating to the drive of the welding robot MC1 at the time of the bead appearance inspection of the work Wk after the main welding or the repair welding once or more based on the welding-related information stored in the external storage ST. An inspection program and an execution command of a visual inspection program including this visual inspection program are created. The appearance inspection program may be created in advance and stored in the external storage ST. In this case, the cell control unit 13 simply reads the appearance inspection program from the external storage ST and acquires it.
  • the cell control unit 13 may generate different execution commands for various processes of the main welding executed by the welding robot MC1.
  • the execution command of the main welding generated by the cell control unit 13, or the execution command of the appearance inspection program including the appearance inspection program, is transmitted to the corresponding robot control device 2, the robot control device 2, and the robot control device 2 via the communication unit 10. It is sent to each of the inspection control devices 3.
  • the robot control device 2 is a welding robot MC1 (for example, a sensor 4, a manipulator 200, a wire feeding device 300, and a power supply device 500) based on the execution command of the main welding or the bead appearance inspection sent from the host device 1. ) Is controlled.
  • the robot control device 2 includes at least a communication unit 20, a processor 21, and a memory 22.
  • the communication unit 20 is connected so as to be able to communicate data with the host device 1, the inspection control device 3, and the welding robot MC1. Although the illustration is simplified in FIG. 2, the robot control unit 24 and the manipulator 200, the robot control unit 24 and the wire feeding device 300, and the power supply control unit 25 and the power supply device 500 During that time, data is transmitted and received via the communication unit 20, respectively.
  • the communication unit 20 receives the execution command of the main welding or the bead appearance inspection sent from the host device 1.
  • the communication unit 20 sends the work information of the work produced by the main welding to the host device 1.
  • the work information includes not only the ID of the work but also the ID of the original work used for the main welding, the name, the welding location, and at least the welding conditions at the time of executing the main welding.
  • the work information may include, for example, position information indicating a defect section for each defect portion, or position information indicating a start point and an end point for each defect portion, as position information indicating a defect portion of the work.
  • the welding conditions include, for example, the material and thickness of the original work, the material and wire diameter of the welding wire 301, the shield gas type, the flow rate of the shield gas, the set average value of the welding current, the set average value of the welding voltage, and the welding wire 301. Feeding speed and feeding amount, number of weldings, welding time, etc.
  • information indicating the type of the main welding for example, TIG welding, MAG welding, pulse welding
  • the moving speed and the moving time of the manipulator 200 may be included.
  • the processor 21 is configured by using, for example, a CPU or an FPGA, and performs various processes and controls in cooperation with the memory 22. Specifically, the processor 21 refers to the program held in the memory 22 and executes the program to functionally realize the welding program creation unit 23, the robot control unit 24, and the power supply control unit 25. .. Further, the processor 21 is a welding robot MC1 (specifically, a manipulator 200, a wire feeding device 300, and a power supply) controlled by the robot control unit 24 based on the welding program generated by the welding program creation unit 23. Calculation of parameters for controlling each of the devices 500) and the like are performed.
  • a welding robot MC1 specifically, a manipulator 200, a wire feeding device 300, and a power supply
  • the memory 22 has, for example, a RAM as a work memory used when executing the processing of the processor 21, and a ROM for storing a program defining the processing of the processor 21. Data generated or acquired by the processor 21 is temporarily stored in the RAM. A program that defines the processing of the processor 21 is written in the ROM. Further, the memory 22 stores the data of the execution command of the main welding or the bead appearance inspection sent from the host device 1 and the data of the work information of the work produced by the main welding. Further, the memory 22 stores the main welding program of the main welding executed by the welding robot MC1. This welding program is a program that defines a specific procedure (process) of main welding in which a plurality of original workpieces are joined by using the welding conditions in the main welding.
  • the main welding program creating unit 23 is based on the main welding execution command sent from the host device 1 via the communication unit 20, and the work information (for example, ID, name, etc.) of each of the plurality of original works included in the execution command. And the welded part of the original work) is used to generate the main weld program of the main weld executed by the welding robot MC1.
  • This welding program includes a welding current, a welding voltage, an offset amount, a welding speed, and a welding torch 400 for controlling a power supply device 500, a manipulator 200, a wire feeder 300, a welding torch 400, etc. during the execution of the main welding.
  • Various parameters such as the posture of the welder may be included.
  • the welding program may be stored in the processor 21 or may be stored in the RAM in the memory 22.
  • the robot control unit 24 drives the welding robot MC1 (specifically, each of the manipulator 200, the wire feeding device 300, and the power supply device 500) based on the welding program generated by the welding program creating unit 23. To generate a control signal for. The robot control unit 24 sends this generated control signal to the welding robot MC1. Further, the robot control unit 24 welds during the bead appearance inspection so as to cover the operating range of the welding robot MC1 specified in this welding program based on the appearance inspection program sent from the host device 1. The manipulator 200 of the robot MC1 is driven. As a result, the sensor 4 (see FIG.
  • the power supply control unit 25 drives the power supply device 500 based on the calculation result of the main welding program generated by the main welding program creation unit 23.
  • the inspection control device 3 is a bead appearance of a work produced by main welding by a welding robot MC1 or a work repaired by one or more repair weldings based on a bead appearance inspection execution command sent from a higher-level device 1. Control the processing of the inspection.
  • the bead appearance inspection is, for example, an inspection as to whether or not the weld bead formed on the work meets a predetermined welding standard (for example, the quality standard of welding required by each user), and is configured by the above-mentioned inspection judgment. Will be done.
  • the inspection control device 3 is an appearance of the weld bead formed on the work Wk based on the input data regarding the shape of the weld bead acquired by the sensor 4 (for example, point cloud data capable of specifying the three-dimensional shape of the weld bead). It is determined (inspected) whether or not the shape meets a predetermined welding standard.
  • the inspection control device 3 has a configuration including at least a communication unit 30, a processor 31, a memory 32, and an inspection result storage unit 33.
  • the communication unit 30 is connected so that data can be communicated with the host device 1, the robot control device 2, and the sensor 4. Although the illustration is simplified in FIG. 2, data is transmitted and received between the shape detection control unit 35 and the sensor 4 via the communication unit 30, respectively.
  • the communication unit 30 receives the bead appearance inspection execution command sent from the host device 1.
  • the communication unit 30 has an inspection determination result of a bead appearance inspection using the sensor 4 (for example, presence / absence of defects in the weld bead in the work, position information regarding the defect section for each defect location, volume data of the weld bead lacking in the defect section). To the host device 1.
  • the processor 31 is configured by using, for example, a CPU or an FPGA, and performs various processes and controls in cooperation with the memory 32. Specifically, the processor 31 refers to a program held in the memory 32, and by executing the program, the determination threshold storage unit 34, the shape detection control unit 35, the data processing unit 36, and the repair welding program creation.
  • the unit 37 is functionally realized.
  • the memory 32 has, for example, a RAM as a work memory used when executing the processing of the processor 31, and a ROM for storing a program defining the processing of the processor 31. Data generated or acquired by the processor 31 is temporarily stored in the RAM. A program that defines the processing of the processor 31 is written in the ROM. Further, the memory 32 stores the data of the execution command of the bead appearance inspection of the work sent from the host device 1 and the data of the work information of the work, respectively.
  • the inspection result storage unit 33 is configured by using, for example, a hard disk or a solid state drive.
  • the inspection result storage unit 33 stores data showing the inspection determination result of the bead appearance inspection of the welded portion in the work Wk (for example, the work) as an example of the data generated or acquired by the processor 31.
  • the data showing the inspection determination result of the bead appearance inspection is generated by, for example, the data processing unit 36.
  • the determination threshold storage unit 34 has a set value (for example, various set values for executing defect determination described later) and a threshold value (for example, a weld bead used for defect determination) used for processing the bead appearance inspection according to the welded portion. Threshold value for volume, dead zone width information for detecting the end point of the defect section, etc.) is stored. Further, the determination threshold storage unit 34 stores a permissible range (for example, a minimum permissible value, a maximum permissible value, etc.) that satisfies the minimum welding standard (quality) required by a customer or the like as each threshold value at the time of bead appearance inspection. You can do it.
  • a permissible range for example, a minimum permissible value, a maximum permissible value, etc.
  • the shape detection control unit 35 is a sensor 4 in which the robot control device 2 is based on the appearance inspection program based on the execution command of the bead appearance inspection of the welded portion of the work Wk sent from the host device 1. While operating the welding robot MC1 to which the welding robot MC1 is attached, input data regarding the shape of the welding bead sent from the sensor 4 (for example, point group data capable of specifying the three-dimensional shape of the welding bead) is acquired. When the shape detection control unit 35 reaches a position where the sensor 4 can image the weld bead (in other words, can detect the three-dimensional shape of the welded portion) in response to the drive of the manipulator 200 by the robot control device 2 described above, for example.
  • a laser beam is irradiated from the sensor 4 to acquire input data regarding the shape of the weld bead (for example, point cloud data capable of specifying the three-dimensional shape of the weld bead).
  • the shape detection control unit 35 receives the input data (see above) acquired by the sensor 4, the shape detection control unit 35 passes the input data to the data processing unit 36.
  • the data processing unit 36 As an example of the determination unit, the data generation unit, the calculation unit, and the generation unit acquires the input data (see above) regarding the shape of the weld bead from the shape detection control unit 35, the acquired input data is obtained. Convert to a data format suitable for bead visual inspection.
  • the data processing unit 36 counts the number of times the bead appearance inspection is executed for each defect portion determined to be a defect, and the welding inspection result is good even if the number of times of the bead appearance inspection exceeds the number of times stored in advance in the memory 32. If it does not, it may be determined that it is difficult or impossible to repair the defective portion by repair welding.
  • the data processing unit 36 has work information determined that it is difficult or impossible to correct the defective portion by repair welding, information on the position of the defective section for repair welding the defective portion, and the type of defect (for example, a hole).
  • An alert screen including a space, a pit, an undercut, and a protrusion) is generated, and the generated alert screen is sent to the host device 1 via the communication unit 30.
  • the alert screen sent to the host device 1 is displayed on the monitor MN1. This alert screen may be displayed on the monitor MN2.
  • the data processing unit 36 uses the threshold value for bead appearance inspection stored in the determination threshold value storage unit 34 to input data regarding the shape of the weld bead acquired by the sensor 4 and a master of non-defective work predetermined for each work. Perform bead visual inspection based on comparison with data. Specifically, the data processing unit 36 compares the data converted by the data processing unit 36 (for example, image data generated based on the point group data) with the master data of the non-defective work (so-called image processing). , The shape mismatch portion determined to be the shape mismatch of the weld bead indicated by the input data is extracted.
  • the data processing unit 36 generates shape mismatch data based on the shape mismatch portion of the extracted input data, and whether there is a defect portion requiring repair welding for each shape mismatch portion included in the generated shape mismatch data. Determining whether or not the defect is made and determining the position of the defect section of the defect location.
  • the data processing unit 36 creates and inspects a visual inspection report including a defect determination result as an inspection determination result (that is, information indicating the presence or absence of a defect requiring repair welding) and information on a defect section for each defect location.
  • the result is stored in the storage unit 33 and sent to the host device 1 or the robot control device 2 via the communication unit 30. Further, when the data processing unit 36 determines that the work Wk to be inspected does not have a defective portion requiring repair welding, the data processing unit 36 creates an appearance inspection report including an inspection determination result indicating that the bead appearance inspection has passed. It is stored in the inspection result storage unit 33 and sent to the host device 1 via the communication unit 30.
  • the repair welding program creation unit 37 creates a repair welding program for the work Wk to be executed by the welding robot MC1 by using the appearance inspection report of the work Wk by the data processing unit 36.
  • the repair welding program includes a welding current, a welding voltage, an offset amount, a welding speed, and a welding torch 400 for controlling a power supply device 500, a manipulator 200, a wire feeder 300, a welding torch 400, etc. during the execution of repair welding.
  • Various parameters such as the posture of the welder may be included.
  • the generated repair welding program may be stored in the processor 31 or in the RAM in the memory 32, or may be stored in the RAM in the memory 32, and may be associated with the visual inspection report and may be stored in the host device via the communication unit 30. It may be sent to 1 or the robot control device 2.
  • the sensor 4 is, for example, a three-dimensional shape sensor, which is attached to the tip of the welding robot MC1 and can acquire a plurality of point cloud data capable of specifying the shape of the welded portion on the work Wk (for example, the work). Based on the group data, point cloud data capable of specifying the three-dimensional shape of the welded portion is generated and sent to the inspection control device 3.
  • the sensor 4 is not attached to the tip of the welding robot MC1 and is arranged separately from the welding robot MC1, the work is based on the position information of the welded portion sent from the inspection control device 3.
  • a laser light source configured to be able to scan a welded portion on a Wk (for example, a workpiece or a repair work) and a laser arranged so that an imaging region including the periphery of the welded portion can be imaged and irradiated to the welded portion. It may be configured by a camera (not shown) that captures the reflection trajectory (that is, the shape line of the welded portion) of the reflected laser beam of the light. In this case, the sensor 4 sends the shape data of the welded portion (in other words, the image data of the weld bead) based on the laser beam imaged by the camera to the inspection control device 3.
  • the above-mentioned camera includes at least a lens (not shown) and an image sensor (not shown).
  • the image sensor is, for example, a solid-state image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semi-conductor), and converts an optical image formed on an image pickup surface into an electric signal.
  • CCD Charge Coupled Device
  • CMOS Complementary Metal Oxide Semi-conductor
  • FIG. 3 is a sequence diagram showing a series of processing procedure examples including main welding and bead appearance inspection by the welding system 100 according to the embodiment.
  • the main welding using a plurality of original workpieces, and the visual inspection including the result of the defect determination and the information on the position of the defective section performed based on the fact that the bead visual inspection of the workpiece is determined to be unsuccessful.
  • the operation procedure performed between the host device 1, the robot control device 2, and the inspection control device 3 will be illustrated and described with respect to the report generation process.
  • the host device 1 acquires the work information (for example, ID, name, and welding location of the original work) of the original work to be the target of the main work, respectively (St1), and the main welding including the work information of the original work. Generate an execution command for.
  • the host device 1 sends a command for executing the main welding including the work information of the original work to the robot control device 2 (St2).
  • the robot control device 2 may execute the processes of step St1 and step St2, respectively, without going through the host device 1.
  • the memory 22 of the robot control device 2 stores the same data as the data stored in the external storage ST, or the robot control device 2 is connected so that data can be acquired from the external storage ST. Is preferable.
  • the robot control device 2 When the robot control device 2 receives the execution command of the main welding sent from the higher-level device 1, the robot control device 2 uses the work information of each of the plurality of original works included in the execution command to execute the main welding by the welding robot MC1.
  • the main welding program is created, and the welding robot MC1 is made to execute the main welding according to the main welding program (St3).
  • the robot control device 2 determines the completion of the main welding by the welding robot MC1 by various known methods, it generates a main welding completion notification to the effect that the main welding is completed and sends it to the higher-level device 1 (St4).
  • the host device 1 Upon receiving the welding completion notification, the host device 1 generates an execution command for the visual inspection program including the work visual inspection program and sends it to the robot control device 2 (St5), and also executes the work bead visual inspection. A command is generated and sent to the inspection control device 3 (St6).
  • the robot control device 2 executes a visual inspection program received from the host device 1 with the start of the bead visual inspection, and moves the sensor 4 attached to the welding robot MC1 along the welding line (St7).
  • the sensor 4 acquires point cloud data capable of specifying the three-dimensional shape of the work while the welded portion of the work is scantably moved by the robot control device 2 (St7).
  • the inspection control device 3 executes the above-mentioned bead appearance inspection using the point cloud data capable of specifying the three-dimensional shape of the weld bead acquired by the sensor 4 as input data (St8).
  • the inspection control device 3 acquires the present welding program from the robot control device 2 and makes an inspection determination (that is, a defect determination and a defect section determination) of the bead appearance inspection of the weld bead of the work (St8).
  • the details of the processing in step St8 will be described later with reference to FIGS. 4 to 10.
  • the inspection control device 3 determines that the work has a defect by the defect determination as the inspection determination result in step St8 (St8), the inspection control device 3 repairs and welds the defective portion based on the information of the welding direction in which the work is produced.
  • the defect section for each defect location is determined (detected), and a visual inspection report including the defect determination result and the information on the position of the defect section for each defect location is generated (St9).
  • the inspection control device 3 determines that there is no defect in the work by the defect determination as the inspection determination result in step St8 (St8), the inspection control device 3 issues an appearance inspection report including an inspection determination result indicating that the bead appearance inspection is passed. Generate (St9).
  • the inspection control device 3 can acquire information on the welding direction when the main welding is executed.
  • the inspection control device 3 generates an appearance inspection report including the inspection determination result executed in step St8 and sends it to the robot control device 2 (St10). Further, the inspection control device 3 also sends the similarly generated visual inspection report to the host device 1 (St11).
  • FIG. 4 is a flowchart showing an example of a defect determination and a defect determination (detection) processing procedure according to the embodiment.
  • the point cloud data that can identify the three-dimensional shape of the weld bead B1 acquired by the sensor 4 is used for the bead appearance inspection.
  • the data processing unit 36 converts the point cloud data from the sensor 4 into a data format suitable for bead appearance inspection (for example, image data showing the three-dimensional shape of the weld bead) and passes it to the data processing unit 36.
  • the data processing unit 36 reads and acquires the master data MD1 of the non-defective work (for example, image data showing the ideal three-dimensional shape of the weld bead of the non-defective work) stored in the memory 32 (St8-1).
  • the data processing unit 36 compares the image data RT1 (inspection target data) from the data processing unit 36 with the master data MD1, and the shape mismatched portions (for example, the shape mismatched portions ED1, ED2, shown in FIG. 5) whose shapes do not match. Each) of ED3 is extracted.
  • the data processing unit 36 generates shape mismatch data EDD1 (see FIG. 6) of the weld bead B1 based on each of the extracted shape mismatch points ED1 to ED3 (St8-2).
  • the shape mismatch data EDD1 shown in FIG. 6 shows an example of shape mismatch data generated including each of a plurality of shape mismatch portions ED1 to ED3 for the sake of simplicity.
  • the shape mismatch data EDD1 is not limited to the above example, and one shape mismatch data may be generated for each shape mismatch location, for example.
  • FIG. 5 is a diagram showing an example of shape mismatch points ED1, ED2, and ED3 between the weld bead B1 and the master data MD1.
  • the master data MD1 is shown by a solid line
  • the weld bead B1 is shown by a broken line
  • the shape mismatch region ED in which the shapes of the weld bead B1 and the master data MD1 do not match is shown by a diagonal line.
  • the data processing unit 36 compares the shape of the weld bead B1 with the master data MD1 and extracts the shape mismatched portions ED1, ED2, and ED3, respectively.
  • the weld bead B1, the master data MD1 and the shape mismatch points ED1 to ED3 shown in FIG. 5 are examples, and are not limited thereto.
  • FIG. 6 is a diagram illustrating an example of windows ⁇ V [1], ⁇ V [2], ..., ⁇ V [m], ..., ⁇ V [N] when the shape mismatch data EDD1 is divided into N equal parts.
  • FIG. 7 is a diagram showing an example of a cross-sectional view of the shape mismatch data EDD2 in the direction perpendicular to the welding direction.
  • the shape mismatch data EDD1 shown in FIG. 6 is shape mismatch data generated based on the shape mismatch portions ED1 to ED3 shown in FIG. 5, and is a view seen from the Z direction. Further, FIG.
  • FIG. 7 shows a cross section SS1 when the shape mismatch data EDD2 is cut by the cut surface CS1 in a direction perpendicular to the welding direction M2, and a cross section SS2 when the shape mismatch data EDD2 is cut by the cut surface CS2.
  • the data processing unit 36 acquires information on the welding direction M1 in which the welding bead B1 is produced, and N (N: an integer of 2 or more) the shape mismatch data EDD1 at intervals ⁇ D equal to the direction perpendicular to the welding direction M1.
  • N equally divided windows ⁇ V [1], ⁇ V [2], ..., ⁇ V [m], ..., ⁇ V [N] are set (St8-3).
  • the window ⁇ V [k] is the volume calculated by multiplying the k-th cross-sectional area S [k] of the shape mismatch data EDD1 divided into N equal parts by the interval ⁇ D. show.
  • the cross-sectional area S [k] shown in FIG. 6 shows an example of calculating by approximating the cross-section of the shape mismatch data EDD1 with a rectangle, but the present invention is not limited to this.
  • the area of each cross-section SS1 and SS2 may be calculated as shown in FIG. 7, or each of the cross-sections SS1 and SS2 may be calculated based on an approximate shape that approximates an arbitrary polygon. It may be calculated.
  • the number N of windows (that is, the number of windows) from which the interval ⁇ D or the shape mismatch data EDD1 is cut may be set as a fixed value.
  • the length of the interval ⁇ D may be an arbitrary length preset by the operator based on the quality standard required by the user, or is based on the total length of the shape mismatch data EDD1 in the welding direction M1.
  • the number N of windows may be set by the worker to any number based on the quality standard required by the user, or is preset based on the total length of the shape mismatch data EDD1 in the welding direction M1.
  • the data processing unit 36 is composed of (N—i + 1) windows composed of i (i: 1 or more integers) that are continuous among each of the N windows ⁇ V [1], ..., ⁇ V [N].
  • the shift regions PS1, PS2, ..., PS (N-i + 1) are set (St8-4).
  • the shift regions PS1, PS2, ..., PS (N ⁇ i + 1) will be described with reference to FIG.
  • FIG. 8 is a diagram illustrating an example of shift operations of shift regions PS1, PS2, ..., PS (N—i + 1) and shift regions.
  • each shift region PS1, PS2, ..., PS (N-i + 1) is composed of i windows.
  • the i windows constituting each shift region PS1, PS2, ..., PS (N—i + 1) are different because the window number k is shifted one by one in the welding direction M1.
  • the shift region PS1 is composed of i windows from the window ⁇ V [1] to the window ⁇ V [i].
  • the shift region PS2 is composed of i windows from the window ⁇ V [2] to the window ⁇ V [i + 1], with the i windows constituting the shift region PS1 shifted by one in the welding direction M1.
  • the shift region PS (N—i + 1) is composed of i windows from the window ⁇ V [N—i] to the window ⁇ V [N].
  • the number i of the windows constituting one shift area may be set to an arbitrary value of 1 or more by the worker based on the quality standard for each user.
  • the data processing unit 36 calculates the volume of the shift region, and determines whether or not the calculated volume of the shift region is equal to or greater than the threshold value stored in the determination threshold storage unit 34 (St8-4). When the data processing unit 36 determines that the volume of the shift region is equal to or larger than the threshold value, the data processing unit 36 determines that the shift region is a defective portion requiring repair welding (St8-4).
  • the data processing unit 36 has (N-i + 1) shift regions PS1, PS2, ..., PS (N-i + 1), the first shift region PS1 to the (N-i + 1) th shift region PS (N-i + 1).
  • the data processing unit 36 does not meet the user's quality standard for each shift region based on the volume of the shape mismatch portion per the reference length (that is, the interval ⁇ D), and whether or not there is a defect to be repair welded. It is possible to more accurately determine whether or not, and the start point and end point of the defect section to be repair-welded are determined based on the shift region determined to be the defect location (St8-4).
  • the method of determining the start point and the end point will be described.
  • the data processing unit 36 determines that the volume of the k-th shift region calculated after the determination of the start point is a defect and the (k + 1) th shift region is non-defect. , It is determined that any position of the k-th shift region is the end point of the defect section.
  • the data processing unit 36 determines that one discontinuous shift region is a defective portion, the data processing unit 36 sets the first window among the i windows constituting this shift region as the starting point of the defective section. It may be determined that the i-th window out of the i windows is the end point of the defective section.
  • the repair welding program creation unit 37 when the data processing unit 36 uses the center of one non-continuous shift region, it may determine that the start point and the end point of the defect section are the same point. In this way, when the start point and the end point of the defect section are the same point, the repair welding program creation unit 37 generates a repair welding program for repair welding the defect section (same point) by, for example, spot welding.
  • the welding robot MC1 is made to perform repair welding by spot welding.
  • the data processing unit 36 determines that two or more consecutive shift regions are defective locations, the data processing unit 36 constitutes i units of the shift regions that are first determined to be defective locations among the two or more continuous shift regions.
  • the first window of the window or the center of the shift region may be determined as the starting point of the defect section.
  • the data processing unit 36 determines the last shift region determined to be a defective portion among the two or more continuous shift regions.
  • the i-th window or the center of the shift region among the i-th windows constituting may be determined as the end point of the defect section.
  • the center of the shift area may be the center position of the shift area, or may be the i / second window among the i windows.
  • the data processing unit 36 is the first of the i windows when the shift region first determined to be the defective portion among the two or more continuous shift regions is the first shift region PS1.
  • the window may be determined to be the starting point of the defective section.
  • the data processing unit 36 determines that the shift region finally determined to be a defective portion among the two or more continuous shift regions is the (N ⁇ i + 1) th shift region PS (N—i + 1).
  • the i-th window may be determined to be the end point of the defective section.
  • the data processing unit 36 can determine the position of the defect to be repair-welded in the defect determination based on the volume of the shape mismatch portion per the reference length (that is, the interval ⁇ D), and the first shift region PS1 and (that is,). It is possible to determine (detect) a defect section that can further suppress defect repair welding leakage in the N-i + 1) th shift region PS (N-i + 1).
  • the data processing unit 36 identifies (detects) the defect section of each defect portion based on the determined start point and end point (St8-5).
  • the defect location referred to here a plurality of consecutive defect locations are regarded as one defect location.
  • the first of the three windows constituting the first shift area determined to be defective is the start point of the defective section and the last shift area.
  • the data processing unit 36 may determine that the second window out of the three windows is the central position as the central position in the second determination example.
  • the volume of the k-th shift region V [k] is the total value of the volume of the window ⁇ V [k], the volume of the window ⁇ V [k + 1], and the volume of the window ⁇ V [k + 2].
  • the start point RCA1 is determined, and in the second determination example, the window ⁇ V [2] at the center position among the three windows constituting the second shift region V [2] is the start point RCB1 of the defect section RCB at this defect location. Is determined.
  • the data processing unit 36 sets the third window ⁇ V [6] of the three windows constituting the fourth shift region V [4] to the defect section RCA at the defect location.
  • the end point RCA2 is determined, and in the second determination example, the window ⁇ V [4] at the center position among the three windows constituting the fourth shift region V [4] is the end point RCB2 of the defect section RCB at this defect location. Is determined.
  • the data processing unit 36 shown in FIG. 9 is defective from the position of the start point RCA1 (that is, the window ⁇ V [2]) to the position of the end point RCA2 (that is, the window ⁇ V [6]) in the first determination example.
  • the section RCA is determined, and in the second determination example, the position from the position of the start point RCB1 (that is, the window ⁇ V [2]) to the position of the end point RCB2 (that is, the window ⁇ V [4]) is determined as the defective section RCB.
  • the data processing unit 36 repeatedly executes the repeat processing RP1 from step St8-3 to step St8-5 for each shape mismatch portion, and generates volume data (see FIG. 10) of the welding bead that is insufficient in each defect section. (St8-6).
  • the process of step St8-6 is not essential and may be omitted.
  • FIG. 10 is a diagram showing an example of volume data VD1 of the shape mismatched portions ED2 and ED3 of the weld bead B1 and the defect sections RC2 and RC3.
  • the weld bead B1 shown in FIG. 10 has three shape mismatch portions ED1, ED2, and ED3, and two shape mismatch portions ED2 and ED3 of each of these three shape mismatch portions ED1, ED2, and ED3. Is determined by the data processing unit 36 to be a defect. Further, in the example shown in FIG.
  • the data processing unit 36 determines that the defect section RC2 of the shape mismatch portion ED2 is from the start point RC21 to the end point RC22, and the defect of the shape mismatch portion ED3 from the start point RC31 to the end point RC32. It is determined to be the section RC3.
  • the data processing unit 36 extracts the shape mismatch region ED from the total length of the weld bead B1 and generates the shape mismatch data (not shown).
  • the volume data VD1 extracted from the above is generated.
  • the data processing unit 36 plots the volume values at the positions corresponding to the respective positions of the plurality of windows included in the respective defect sections RC2 and RC3 of the generated volume data VD1, and the repair welding condition data VD2.
  • the repair welding condition data VD2 is not limited to data that approximates the volume value, and is, for example, based on the volume data VD1, as an example of the repair welding condition, each defect section RC2.
  • the data processing unit 36 at least provides notification information for notifying whether or not there is a defect as an inspection determination result (that is, whether or not repair welding is necessary) and information on a defect section for each shape mismatch portion. Generate a visual inspection report including (St8-7). When the volume data or the repair welding data is generated in step St8-6, the data processing unit 36 generates a visual inspection report including the generated volume data or the repair welding condition data.
  • the inspection control device 3 determines whether or not the inspection control device 3 has a shape mismatch (defect) that requires repair welding at the shape mismatch portion based on the comparison between the appearance shape of the weld bead and the master data of the non-defective work. Can be determined more accurately, and the repair welding section (defect section) that requires repair welding can be determined (detected) more appropriately, so that unnecessary repair welding can be efficiently reduced. Further, since the inspection control device 3 can set a shift region for defect determination based on the welding quality standard required by the user, it is possible to determine the presence or absence of defects that require repair welding and the repair welding section (defect section). Usability in judgment (detection) can be improved.
  • the worker when the number i of the windows constituting the shift region is set to a small value, the worker can more accurately determine the presence or absence of defects requiring repair welding, and the repair welding section (defect section) obtained by the determination can be determined. ) Can be made shorter.
  • the inspection control device 3 shows an example in which a defect is determined and a defect section is determined (detected) for each defect based on a threshold value for an arbitrary volume stored in the determination threshold storage unit 34. rice field.
  • the inspection control device 3 according to the modified example of the embodiment determines a defect based on a first threshold value for an arbitrary volume stored in the determination threshold value storage unit 34 and a second threshold value based on the first threshold value. An example of determining (detecting) a defect section for each defect will be described.
  • the defect determination and defect section determination (detection) processing procedure according to the modified example of the embodiment includes the defect determination and defect section determination (detection) processing procedure example and step St8-shown in FIG.
  • the processing of 4 is different. Therefore, in the description of the defect determination and the defect determination (detection) processing procedure according to the modified example of the embodiment shown below, the processing of step St8-4 will be described, and the description of other processing procedures will be omitted.
  • the inspection control device 3 has a first threshold value T1 used for defect determination (the first threshold value T1 here is the same as the threshold value used for the defect determination in the embodiment) and the defect section.
  • the dead zone width Z (0 ⁇ Z ⁇ 1) used for calculating the second threshold value T2 used for determining the end point is stored in the determination threshold value storage unit 34.
  • the second threshold T2 is calculated by multiplying the first threshold T1 by (1-Z).
  • the dead zone width Z may be a value indicated by a percentage.
  • the dead zone width Z may be set to a predetermined relative value with respect to the first threshold value, or may be set to a specified value (constant value).
  • the inspection control device 3 has a threshold value (first threshold value T1) used for determining the start point of the defect section and a threshold value (second threshold value T1) used for determining the end point of the defect section.
  • the threshold value T2) is changed.
  • the second threshold value T2 is a volume value smaller than the first threshold value T1.
  • the inspection control device 3 has to end the defect section when the volume of the shift region (in other words, the volume difference between the appearance shape of the weld bead and the master data) does not satisfy the second threshold value T2 or less after the change. For determination, it is possible to determine (detect) a defect section that can further suppress the occurrence of repair leakage in repair welding executed based on the generated defect section information.
  • FIG. 11 is a diagram illustrating determination of a start point and an end point of a defect section according to a modified example of the embodiment.
  • the volume graph V3 shown in FIG. 11 is a graph in which the volumes of the plurality of shift regions calculated by the data processing unit 36 are plotted.
  • the first threshold value T1 is a threshold value used for determining the start point of the defect section according to the modified example of the embodiment.
  • the second threshold value T2 is a threshold value used for determining the end point of the defect section according to the modified example of the embodiment.
  • the difference between the first threshold value T1 and the second threshold value T2 is a value obtained by multiplying the first threshold value T1 by the dead band width Z.
  • the data processing unit 36 calculates the volume of the shift region, and determines whether or not the calculated volume of the shift region is equal to or greater than the first threshold value T1 with respect to the volume stored in the memory 32 (that is, the determination of the start point of the defect section RCC). ) Is determined.
  • the data processing unit 36 determines that the calculated volume of the shift region is equal to or larger than the first threshold value T1 (for example, the point RCC1 shown in FIG. 11)
  • the data processing unit 36 determines that this shift region is a defect location requiring repair welding. Judgment is made, and the starting point of the defective part is determined.
  • the data processing unit 36 determines the threshold value used for the defect determination of the shift region continuous in the welding direction (that is, the determination of the end point of the defect section RCC).
  • the first threshold value T1 is changed to the second threshold value T2.
  • the data processing unit 36 determines that the calculated volume of the shift region is equal to or less than the second threshold value T2 (for example, the point RCC2 shown in FIG. 11), the data processing unit 36 determines that the shift region is a non-defective location, and also determines that the shift region is a non-defective location. The end point of the defective section is determined from the shift region determined to be a non-defective location.
  • the data processing unit 36 determines the threshold value used for the defect determination of the shift region continuous in the welding direction (that is, the determination of the start point of the defect section RCD).
  • the second threshold value T2 is changed to the first threshold value T1, and the defect determination of each shift region is sequentially executed while shifting the windows one by one along the welding direction.
  • the data processing unit 36 determines that the calculated volume of the shift region is equal to or larger than the first threshold value T1 (for example, the point RCD1 shown in FIG. 11). Judgment is made, and the starting point of the defective part is determined. After determining that the start point of the defect portion is the position indicated by the point RCD1, the data processing unit 36 determines the threshold value used for the defect determination of the shift region continuous in the welding direction (that is, the determination of the end point of the defect section RCD). The first threshold value T1 is changed to the second threshold value T2. In FIG. 11, the following illustration of the volume graph V3 and the description of various determination processes will be omitted.
  • T1 for example, the point RCD1 shown in FIG. 11
  • the data processing unit 36 in the modified example of the embodiment changes the threshold value of the volume used for the defect determination after the determination of the start point of the defect section from the first threshold value T1 to the second threshold value T2, and determines the defect section.
  • the threshold value of the volume used for defect determination is changed from the second threshold value T2 to the first threshold value T1, and among (N-i + 1) shift regions PS1, PS2, ..., PS (N-i + 1). From the first shift region PS1 to the (N-i + 1) th shift region PS (N-i + 1), the determination of the start point and the end point of the defect section based on the result of the defect determination and the defect determination described above is sequentially executed ( St8-4).
  • the method of determining the start point in the first shift region determined to be defective and the method of determining the end point in the last shift region determined to be defective are the same as the determination method shown in the embodiment. Is omitted.
  • FIG. 12 is a diagram illustrating a determination example of a start point and an end point of a defect section according to a modification of the embodiment.
  • FIG. 13 is a diagram illustrating a determination example of a start point and an end point of a defect section according to a modification of the embodiment.
  • FIG. 14 is a diagram illustrating an example of coordinate calculation of a start point and an end point in a defect section according to a modification of the embodiment.
  • An example of determination is shown, but it goes without saying that the determination is not limited to this.
  • the volume of the k-th shift region V [k] is the total value of the volume of the window ⁇ V [k], the volume of the window ⁇ V [k + 1], and the volume of the window ⁇ V [k + 2].
  • the determination (detection) of the start point of the defect section is executed in the area V [3]. Specifically, the data processing unit 36 determines that the window ⁇ V [4] at the center position among the three windows constituting the third shift region V [3] is the start point RCE1 of the defect section RCE in this defect. .. After determining the start point RCE1 of the defect section RCE, the data processing unit 36 changes the threshold value used for the defect determination from the first threshold value T1 to the second threshold value T2.
  • the determination (detection) of the end point of the defect section is executed from the area V [5]. Specifically, the data processing unit 36 determines that the window ⁇ V [6] at the center position among the three windows constituting the fifth shift region V [5] is the end point RCE2 of the defect section RCE in this defect. .. After determining the end point RCE2 of the defect section RCE, the data processing unit 36 changes the threshold value used for the defect determination from the second threshold value T2 to the first threshold value T1.
  • the determination (detection) of the start point of the defect section is executed from the area V [7]. Specifically, the data processing unit 36 determines that the window ⁇ V [8] at the center position among the three windows constituting the seventh shift region V [7] is the start point RCF1 of the defect section RCF in this defect. .. After determining the start point RCF1 of the defect section RCF, the data processing unit 36 changes the threshold value used for the defect determination from the first threshold value T1 to the second threshold value T2.
  • the data processing unit 36 has information on the first defect section RCE (that is, the positions of the start point RCE1 and the end point RCE2). Information) and the information of the second defect section RCF (that is, the position information of the start point RCF1 and the end point RCF2) are generated, and the defect determination and the defect of the shape mismatch data ED4 shown in FIG. 13 are generated.
  • the section determination (detection) process is terminated.
  • the data processing unit 36 calculates the coordinates of the start point and the end point of the defect section as the repair welding section for actually executing the repair welding by the welding robot MC1 after the defect determination and the determination (detection) processing of the defect section. Execute the process.
  • the data processing unit 36 extracts the point cloud data of each window ⁇ V [k] including the respective positions of the start point and the end point obtained as the determination result from the shape mismatch data ED4.
  • the data processing unit 36 includes the point cloud data ED41 in the window ⁇ V [4] including the position of the start point RCE1 in the defect section RCE, and the window ⁇ V [including the position of the end point RCE2 in the defect section RCE.
  • the data processing unit 36 calculates the coordinates of the center of gravity of each of the extracted point cloud data ED41 to ED44, and outputs the coordinates of the center of gravity calculated as the coordinates for executing repair welding by the welding robot MC1.
  • the data processing unit 36 has the coordinates (X1, Y1, Z1) of the start point RCE1 in the defect section RCE and the defect section based on each of the extracted point cloud data.
  • the coordinates of the end point RCE2 in the RCE (X2, Y2, Z2), the coordinates of the start point RCF1 in the defect section RCF (X3, Y3, Z3), and the coordinates of the end point RCF2 in the defect section RCF (X4, Y4, Z4). Is calculated.
  • the coordinates of the center of gravity of each of the point cloud data ED41 to ED44 calculated here are not limited to the coordinates of the center of gravity calculated based on the point cloud data ED41 to ED44, and one of the point cloud data ED41 to ED44. It may be the coordinates of the center of gravity calculated based on the part.
  • the data processing unit 36 sets the welding direction M3 from the position of the cross-sectional area S [k] corresponding to the kth window ⁇ V [k] including the position of the start point.
  • the coordinates of the center of gravity of the point cloud data in the section (that is, a part) of ⁇ D / 2 or ⁇ D / 3 may be calculated in the same direction.
  • the cut surface used to calculate the coordinates of the end point of the defect section has a cross-sectional area corresponding to the kth window ⁇ V [k] including the position of the end point and the continuous (k + 1) th window ⁇ V [k + 1].
  • the coordinates of the center of gravity of the point cloud data in the section (that is, a part) of ⁇ D / 2 or ⁇ D / 3 may be calculated from the position of S [k + 1] in the direction opposite to the welding direction M3.
  • the data processing unit 36 has information on the first defect section RCE (that is, position (coordinates) information of the start point RCE1 and the end point RCE2). ) And the information of the second defect section RCF (that is, the position (coordinate) information of the start point RCF1 and the end point RCF2) is generated, and the defect section of the shape mismatch data ED4 shown in FIG. Ends the process of calculating the coordinates of the start point and end point of.
  • FIG. 15 is a diagram illustrating an example of coordinate calculation of a start point and an end point in a defect section according to a modification of the embodiment.
  • the data processing unit 36 in the example shown in FIG. 15 has the closest point from each of the extracted point cloud data ED41 to ED44 from the welding direction M3 (that is, the operation locus of the welding robot MC1) and the welding direction.
  • the point with the longest distance from M3 is extracted, and the coordinates of the midpoints of these two extracted points are calculated as the coordinates of the start point or the end point in the defect section.
  • the data processing unit 36 extracts and extracts the point SP11 having the shortest distance from the welding direction M3 and the point SP12 having the farthest distance from the welding direction M3 from the extracted point group data ED41.
  • the coordinates of the midpoint of these two points are calculated as the coordinates (X5, Y5, Z5) of the starting point RCE3 in the defect section RCE, and the point SP21 having the closest distance from the welding direction M3 among the extracted point group data ED42.
  • the point SP22 that is the farthest from the welding direction M3 are extracted, and the coordinates of the middle points of these two extracted points are calculated as the coordinates (X6, Y6, Z6) of the end point RCE4 in the defect section RCE.
  • the data processing unit 36 extracts and extracts the point SP31 having the shortest distance from the welding direction M3 and the point SP32 having the farthest distance from the welding direction M3 from the extracted point group data ED43.
  • the coordinates of the midpoints of these two points are calculated as the coordinates (X7, Y7, Z7) of the starting point RCF3 in the defect section RCF, and the point of the extracted shape mismatch data ED4 that is closest to the welding direction M3.
  • SP41 and the point SP42 that is the farthest from the welding direction M3 are extracted, and the coordinates of the midpoints of these two extracted points are calculated as the coordinates (X8, Y8, Z8) of the end point RCF4 in the defect section RCF. ..
  • the data processing unit 36 has information on the first defect section RCE (that is, position (coordinates) information of the start point RCE3 and the end point RCE4). ) And the information of the second defect section RCF (that is, the position (coordinate) information of the start point RCF3 and the end point RCF4) is generated.
  • FIG. 16 is a diagram illustrating an example of coordinate calculation of a start point and an end point in a defect section according to a modification of the embodiment.
  • the method of calculating the coordinates will be described in detail with reference to the enlarged view EX of the point cloud data ED41 of the window ⁇ V [4] including the start point RCE5 of the defect section RCE, and other point clouds.
  • the enlarged view of the data ED42, ED43, and ED44 is not shown.
  • the data processing unit 36 in the example shown in FIG. 16 extracts the point cloud data of each window ⁇ V [k] including the respective positions of the start point and the end point obtained as the determination result from the shape mismatch data ED4. do.
  • the data processing unit 36 has a cut surface corresponding to the window ⁇ V [k] among the points included in the point cloud data. (That is, the coordinates of the point closest to the cut surface (plane) forming the cross-sectional area S [k] used for calculating the volume of the window ⁇ V [k]) are calculated as the coordinates of the starting point in the defect section.
  • the data processing unit 36 has a cut surface corresponding to the next window ⁇ V [k + 1] of the extracted window ⁇ V [k]. (That is, the coordinates of the point closest to the cut surface (plane) forming the cross-sectional area S [k + 1] used to calculate the volume of the window ⁇ V [k + 1]) are calculated as the coordinates of the end point in the defect section.
  • the data processing unit 36 includes the points included in the point cloud data.
  • (Formula 1) shows the calculation formula of the coordinates of the points as the start point or the end point of the defect section in the example shown in FIG.
  • (Formula 1) is an equation showing a cut surface (plane).
  • (Formula 2) is an equation for calculating the distance D0 between the point as the start point or the end point and the cut surface.
  • the normal vector of the cut surface (plane) is (A, B, C).
  • the coordinates of the points as the start point or end point of the defect section are the coordinates (X0, Y0, Z0).
  • the data processing unit 36 has each of the plurality of point EDDs included in the extracted point cloud data ED41 and the cut surface CS41 corresponding to the window ⁇ V [4] including the start point RCE5 of the defect section RCF.
  • the distances D11, D12, D13, D14, and D15 are calculated, and the distance between the calculated distances D11 to D15 and the cut surface CS41 is the shortest (in the example shown in FIG. 16).
  • the coordinates of the point (where the distance D11 is the smallest value) are calculated as the coordinates (X9, Y9, Z9) of the start point RCE5 of the defect section RCE.
  • the data processing unit 36 has the next window ⁇ V [7] adjacent to each of the plurality of points (not shown) included in the extracted point cloud data ED42 and the window ⁇ V [6] including the end point RCE6 of the defect section RCE. ],
  • the distance to the cut surface CS42 is calculated, and the coordinates of the point with the closest distance to the cut surface CS42 among the calculated distances of the plurality of points are used as the end point RCE6 of the defect section RCE. It is calculated as the coordinates (X10, Y10, Z10) of.
  • the data processing unit 36 has each of a plurality of points (not shown) included in the extracted point cloud data ED42 and a cut surface corresponding to the window ⁇ V [6] including the end point RCE6 of the defect section RCE. The distance between them is calculated, and the coordinates of the point with the longest distance from the cut surface among the calculated distances of the plurality of points are used as the coordinates (X10, Y10, Z10) of the end point RCE6 of the defect section RCE. It may be calculated.
  • the data processing unit 36 has a cut surface CS43 corresponding to each of the plurality of points (not shown) included in the extracted point cloud data ED43 and the window ⁇ V [8] including the start point RCF5 of the defect section RCF. The distance between the two is calculated, and the coordinates of the point with the longest distance from the cut surface CS43 among the calculated distances of the plurality of points are the coordinates of the starting point RCF5 of the defect section RCF (X11, Y11, Calculated as Z11). Further, the data processing unit 36 has the next window ⁇ V adjacent to each of the plurality of points (not shown) included in the extracted point cloud data ED44 and the window ⁇ V [9] including the end point RCF6 of the defect section RCF.
  • the distance to the cut surface CS44 corresponding to [10] is calculated, and the coordinates of the point closest to the cut surface CS44 among the calculated distances of the plurality of points are the ends of the defect section RCF. It is calculated as the coordinates (X12, Y12, Z12) of the point RCF6.
  • the data processing unit 36 has information on the first defect section RCE (that is, position (coordinates) information of the start point RCE5 and the end point RCE6). ) And the information of the second defect section RCF (that is, the position (coordinate) information of the start point RCF 5 and the end point RCF 6) is generated.
  • the inspection control device 3 as an example of the repair welding section detection device according to the embodiment and the modification of the embodiment is input data (for example, point group data) regarding the weld bead of the work Wk produced by welding.
  • the inspection judgment regarding the shape of the weld bead is executed using the input data and the master data of the non-defective work, and the shape mismatch data is generated by extracting the shape mismatch part of the weld bead based on the result of the inspection judgment.
  • the shape mismatch data is divided into N windows equally divided into N (N: an integer of 2 or more) in the direction perpendicular to the welding direction of the weld bead, and i (i:) which is continuous among the N windows.
  • a shift region composed of (1 or more integers) windows is set, and the volumes of the (N-i + 1) shift regions in which the i windows constituting the shift region are shifted one by one in the welding direction are set. It is calculated, and the shift region having a volume equal to or more than a predetermined value among the volumes of each of the calculated (N-i + 1) shift regions is determined to be a defect section of the weld bead.
  • the inspection control device 3 does not meet the user's quality standard based on the volume of the shape mismatch portion per the reference length (that is, the interval ⁇ D), and repairs. It is possible to more accurately determine whether or not there is a defect to be welded, and it is possible to detect the start point and the end point of the defect section to be repair-welded based on the shift region determined to be the defect location.
  • the inspection control device 3 performs the calculation of the volume of each of the N-i + 1) shift regions and the determination process of the defect section along the welding direction. It is executed sequentially (N-i + 1) times.
  • the inspection control device 3 according to the embodiment and the modified example of the embodiment can execute the defect determination of the shift region while shifting by the interval ⁇ D, so that the quality standard of the user is not satisfied and the repair welding should be performed.
  • the position of the defect location (that is, the defect section) can be detected more accurately.
  • the inspection control device 3 has the first window among the i windows included in the one or more shift regions determined to be the defective section. It is determined that it is the start point of the defective section, and the i-th window is determined as the end point of the defective section.
  • the inspection control device 3 determines that one non-continuous shift region is a defect, the entire area of this shift region is determined (detected) as a defect section, and two or more continuous shift regions are determined. When is determined to be a defect, the entire area of these two or more shift regions is detected as a defect section.
  • the inspection control device 3 according to the embodiment and the modified example of the embodiment more accurately determines the position (that is, the defect section) of the defect portion to be repair-welded among the shape mismatch portions, and at the same time, the defect section. Detection omission can be suppressed.
  • the inspection control device 3 when the inspection control device 3 according to the embodiment and the modification of the embodiment determines that two or more continuous shift regions are defect sections, the inspection control device 3 has two or more continuous shift regions. Of the i windows that make up the shift area that was determined to be the defective section first, the first window is determined to be the start point of the defective section, and the i windows that are included in the shift area that is finally determined to be the defective section. The i-th window among the windows is determined to be the end point of the defective section. As a result, the inspection control device 3 according to the embodiment and the modified example of the embodiment can more accurately detect the defect section to be repair-welded among the shape mismatch portions.
  • the inspection control device 3 when the first shift region among the Ni-1) shift regions is determined to be the defect section, the first shift region is used.
  • the first window out of the i windows constituting the shift region is determined to be the start point of the defective section.
  • the inspection control device 3 according to the embodiment and the modified example of the embodiment can detect the defect in the first shift region PS1 in the first shift region PS1 in which the position of the defect to be repair-welded is difficult to identify. Defect sections for repair welding without leakage can be detected.
  • the inspection control device 3 it is determined that the (N-i + 1) th shift region among the (N-i + 1) shift regions is a defective section.
  • the i-th window among the i-th windows constituting the (N-i + 1) th shift region is determined to be the end point of the defect section.
  • the inspection control device 3 according to the embodiment and the modified example of the embodiment has a defect in the shift region PS (N-i + 1) at the (N-i + 1) th shift region where it is difficult to specify the position of the defect to be repair-welded. It is possible to detect a defective section for repair welding without leakage.
  • the inspection control device 3 when the inspection control device 3 according to the embodiment and the modified example of the embodiment determines that two or more continuous shift regions are defect sections, it is first determined that the inspection control device 3 is a defect section.
  • the central position of the shift region is determined to be the start point of the defective section, and the central position of the shift region finally determined to be the defective section is determined to be the end point.
  • the inspection control device 3 according to the embodiment and the modified example of the embodiment can more accurately detect the defect section to be repair-welded among the shape mismatch portions.
  • this shift region A second threshold value (second threshold value) in which the volume of the (k + 1) th shift region continuous with the shift region is smaller than the first threshold value (example of a predetermined value) while using any of the windows included in the above as the starting point of the defect section. (Example of predetermined value) It is determined whether or not the value is equal to or less than the predetermined value, and if the volume of the (k + 1) th shift region is equal to or less than the second predetermined value, one of the windows constituting the (k + 1) th shift region is defective.
  • the inspection control device 3 determines the start of the defect in the determination of the defect section (repair welding section) to be repair-welded, the non-defect (non-defect) in the defect determination of the continuous shift region.
  • the criteria for determining (end of defect) can be strict. That is, the inspection control device 3 determines that the defect section does not end when the volume of the shift region (in other words, the volume difference between the appearance shape of the weld bead and the master data) does not satisfy the second threshold value or less. It is possible to determine (detect) a defect section that can further suppress the occurrence of repair leakage in repair welding executed based on the generated defect section information.
  • the inspection control device 3 has the (k + 1) th shift when the volume of the (k + 1) th shift region is not equal to or less than the second threshold value (an example of the second predetermined value). It is determined whether or not the volume of the (k + 2) th shift region continuous with the region is equal to or less than the second threshold value, and the determination is made until it is determined that the volume of any of the calculated shift regions is equal to or less than the second threshold value. It is repeatedly executed, and any window constituting the shift region having the volume determined to be equal to or less than the second threshold value is determined to be the end point of the defect section.
  • the second threshold value an example of the second predetermined value
  • the inspection control device 3 sets the non-defect (end of defect) determination criterion to a stricter second threshold value until any of the continuous shift regions is determined to be non-defect. Defect judgment can be continued as it is.
  • the inspection control device 3 has determined by determination that the volume of the (N-i + 1) th shift region is not equal to or less than the second threshold value (an example of the second predetermined value). In this case, any window constituting the (N-i + 1) th shift region is determined to be the end point of the defect section. As a result, even if the inspection control device 3 according to the modified example of the embodiment determines that the (N-i + 1) th shift region is a defect, the inspection control device 3 becomes the (N-i + 1) th shift region PS (N-i + 1). It is possible to detect a defect section for repair welding a certain defect without omission.
  • the inspection control device 3 has the coordinates of the center of gravity (for example, the window ⁇ V [4] including the start point RCE1 shown in FIG. 14) including the start point of the defect section.
  • the coordinates (X1, Y1, Z1) shown in FIG. 14 are determined to be the coordinates of the starting point (for example, the starting point RCE1 shown in FIG. 14).
  • the inspection control device 3 according to the modified example of the embodiment can calculate the coordinates of the starting point for welding each defect section in the repair welding of each defect section executed by the welding robot MC1. Further, since the inspection control device 3 calculates the coordinates based on the coordinates of the center of gravity of the shape mismatch data (point cloud data) in each window, the welding torch 400 can be arranged at a more appropriate position.
  • the inspection control device 3 has the welding locus of the weld bead (for example, the welding shown in FIG. 15) in the window including the starting point (for example, the starting point RCE3 shown in FIG. 15). Coordinates of the midpoint between the point closest to the distance from the operation locus of the welding robot MC1 indicated by the direction M3 (for example, the point SP11 shown in FIG. 15) and the point farthest (for example, the point SP12 shown in FIG. 15). (For example, the coordinates (X5, Y5, Z5) shown in FIG. 15) are determined to be the coordinates of the starting point.
  • the inspection control device 3 can calculate the coordinates of the starting point for welding each defect section in the repair welding of each defect section executed by the welding robot MC1, and thus the welding torch.
  • the 400 can be placed in a more appropriate position.
  • the inspection control device 3 has the coordinates of the center of gravity (for example, the window ⁇ V [6] including the end point RCE2 shown in FIG. 14) including the end point of the defect section.
  • the coordinates (X2, Y2, Z2) shown in FIG. 14 are determined to be the coordinates of the end point (for example, the end point RCE2 shown in FIG. 14).
  • the inspection control device 3 according to the modified example of the embodiment can calculate the coordinates of the end point for welding each defect section in the repair welding of each defect section executed by the welding robot MC1. Further, since the inspection control device 3 calculates the coordinates based on the coordinates of the center of gravity of the shape mismatch data (point cloud data) in each window, the welding torch 400 can be arranged at a more appropriate position.
  • the inspection control device 3 has the welding locus of the weld bead (for example, the welding shown in FIG. 15) in the window including the end point (for example, the end point RCE4 shown in FIG. 15). Coordinates of the midpoint between the point closest to the distance from the operation locus of the welding robot MC1 indicated by the direction M3 (for example, the point SP21 shown in FIG. 15) and the point farthest (for example, the point SP22 shown in FIG. 15). (For example, the coordinates (X6, Y6, Z6) shown in FIG. 15) are determined to be the coordinates of the end point.
  • the inspection control device 3 can calculate the coordinates of the end point for welding each defect section in the repair welding of each defect section executed by the welding robot MC1, and thus the welding torch.
  • the 400 can be placed in a more appropriate position.
  • the inspection control device 3 has a cut surface (for example, for example) of the shape mismatch data corresponding to the window including the start point of the defect section (for example, the start point RCE5 shown in FIG. 16).
  • the coordinates of the point closest to the cut surface CS41 corresponding to the window ⁇ V [4] shown in FIG. 16 are determined as the coordinates of the starting point. do.
  • the inspection control device 3 according to the modified example of the embodiment can calculate the coordinates of the starting point for welding each defect section in the repair welding of each defect section executed by the welding robot MC1, and thus the welding torch.
  • the 400 can be placed in a more appropriate position.
  • the inspection control device 3 has the shape mismatch data corresponding to the next window adjacent to the window including the end point of the defect section (for example, the end point RCE6 shown in FIG. 16).
  • the coordinates of the point closest to the cut surface for example, the cut surface CS42 corresponding to the window ⁇ V [6] shown in FIG. 16
  • the inspection control device 3 according to the modified example of the embodiment can calculate the coordinates of the end point for welding each defect section in the repair welding of each defect section executed by the welding robot MC1, and thus the welding torch.
  • the 400 can be placed in a more appropriate position.
  • the inspection control device 3 according to the embodiment and the modification of the embodiment outputs the defect section and the volume information in the defect section as a condition for repair welding in association with each other.
  • the inspection control device 3 according to the embodiment and the modification of the embodiment is the feed amount of the welding wire 301 required for creating the repair welding program, or the control parameter (welding current value or welding) of the power supply device 500. Since the repair welding conditions such as voltage value) can be output in association with the defect section information, it is possible to support the generation of a repair welding program capable of more accurately repair welding the detected defect section.
  • the present disclosure is useful as a repair welding section detection method and a repair welding section detection device that more accurately detect the repair welding section of the work produced by the main welding.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Plasma & Fusion (AREA)
  • Optics & Photonics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Manipulator (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

リペア溶接区間検出方法は、入力データと良品ワークのマスタデータとを用いて、溶接ビードの形状不一致箇所を抽出した形状不一致データを生成し、溶接方向に対して垂直な方向に形状不一致データをN(N:2以上の整数)等分したN個の窓に分割し、連続するi(i:1以上の整数)個の窓により構成されるシフト領域を設定し、シフト領域を構成するi個の窓を1個ずつシフトさせた(N-i+1)個のシフト領域の体積をそれぞれ算出し、所定値以上の体積を有するシフト領域を溶接ビードの欠陥区間であると判定する。

Description

リペア溶接区間検出方法およびリペア溶接区間検出装置
 本開示は、リペア溶接区間検出方法およびリペア溶接区間検出装置に関する。
 特許文献1には、溶接ビードにスリット光を投射し、スリット光の走査により溶接ビード上に順次形成される形状線を撮像し、順次形成された各形状線の撮像データに基づいて、溶接ビードの3次元形状を点群データとして取得する形状検査装置が開示されている。この形状検査装置は、点群データに基づいて表示された溶接ビードに、入力に応じて、スリット光の走査により形成された形状線とは異なる任意の切断線を設定し、切断線に対応した点群データにより、切断線における溶接ビードの断面形状を算出する。また、形状検査装置は、算出された断面形状に応じて算出した各種の特徴量を予め登録している各種の特徴量の許容範囲と比較し、特徴量の良否を判定する。
日本国特開2012-37487号公報
 本開示は、本溶接により生産されたワークのリペア溶接区間をより的確に検出するリペア溶接区間検出方法およびリペア溶接区間検出装置を提供する。
 本開示は、溶接により生産されたワークの溶接ビードに関する入力データを入力し、前記入力データと良品ワークのマスタデータとを用いて、前記溶接ビードの形状に関する検査判定を実行し、前記検査判定の結果に基づいて、前記溶接ビードの形状不一致箇所を抽出した形状不一致データを生成し、前記溶接ビードの溶接方向に対して垂直な方向に前記形状不一致データをN(N:2以上の整数)等分したN個の窓に分割し、前記N個の窓のうち連続するi(i:1以上の整数)個の窓により構成されるシフト領域を設定し、前記シフト領域を構成する前記i個の窓を前記溶接方向に1個ずつシフトさせた(N-i+1)個のシフト領域の体積をそれぞれ算出し、算出された前記(N-i+1)個のそれぞれのシフト領域の体積のうち所定値以上の体積を有するシフト領域を前記溶接ビードの欠陥区間であると判定する、リペア溶接区間検出方法を提供する。
 また、本開示は、溶接により生産されたワークの溶接ビードに関する入力データを入力する入力部と、前記入力データと良品ワークのマスタデータとを用いて前記溶接ビードの形状に関する検査判定を行う判定部と、前記判定部の検査判定結果に基づいて、前記溶接ビードの形状不一致箇所を抽出した形状不一致データを生成するデータ生成部と、前記溶接ビードの溶接方向に対して垂直な方向に前記形状不一致データをN(N:2以上の整数)等分したN個の窓に分割して、前記窓のそれぞれのうち連続するi(i:1以上の整数)個の窓により構成されるシフト領域を設定して、前記シフト領域を構成する前記i個の窓を前記溶接方向に1個ずつシフトさせた(N-i+1)個のそれぞれのシフト領域の体積をそれぞれ算出する算出部と、算出された前記(N-i+1)個のシフト領域の体積のうち所定値以上の体積を有するシフト領域を前記溶接ビードの欠陥区間であると判定して、前記欠陥区間の情報を生成する生成部と、を備える、リペア溶接区間検出装置を提供する。
 本開示によれば、本溶接により生産されたワークのリペア溶接区間をより的確に検出することができる。
溶接システムのシステム構成例を示す概略図 実施の形態に係る検査制御装置、ロボット制御装置および上位装置の内部構成例を示す図 実施の形態に係る溶接システムによる本溶接およびビード外観検査を含む一連の処理手順例を示すシーケンス図 実施の形態に係る欠陥判定および欠陥区間の判定(検出)処理手順例を示すフローチャート 溶接ビードとマスタデータとの形状不一致箇所の一例を示す図 形状不一致データをN等分した場合の窓の一例を説明する図 形状不一致データの溶接方向に対する垂直方向の断面図の一例を示す図 シフト領域およびシフト領域のシフト動作の一例を説明する図 実施の形態に係る欠陥判定と、欠陥区間の開始点および終了点との判定例を説明する図 溶接ビードの欠陥不一致箇所および欠陥区間の体積データの一例を示す図 実施の形態の変形例に係る欠陥判定および欠陥区間の判定処理を説明する図 実施の形態の変形例に係る欠陥判定および欠陥区間の判定処理の判定例を説明する図 実施の形態の変形例に係る欠陥判定および欠陥区間の判定処理の判定例を説明する図 実施の形態の変形例に係る欠陥区間における開始点および終了点の座標算出例を説明する図 実施の形態の変形例に係る欠陥区間における開始点および終了点の座標算出例を説明する図 実施の形態の変形例に係る欠陥区間における開始点および終了点の座標算出例を説明する図
(本開示に至る経緯)
 特許文献1のように、本溶接により生産されたワークの溶接ビードの形状に関する特徴量(例えば、ビード幅、ビード高さなど)の算出値が許容範囲内にある時に良品であると判定するなど、溶接ビードの外観形状検査を自動的に行う装置構成は従来から知られている。
 ところが、溶接ビードは、作業環境の変化、溶接に用いられる消耗品の劣化、ワーク表面に付着した汚れ等により形状に揺らぎが生じることがある。この溶接ビードの外観形状の揺らぎは、必ずしも溶接の品質に影響を及ぼすものでなく、リペア溶接が不要なものがある。しかし、従来の溶接ビードの外観形状検査のように良品ワークと検査対象のワークとの形状を比較して算出された溶接ビード全体の形状不一致箇所の特徴量に基づいてリペア溶接の要否を判定する場合には、リペア溶接が必要と判定される場合がある。例えば、従来の溶接ビードの外観形状検査は、形状不一致箇所の面積が大きく、かつ、形状の揺らぎが小さい場合(具体的に、溶接ビード全長に亘って余盛高さがわずかに不足する場合、溶接ビードの位置が全長に亘ってわずかにずれている場合等)には、溶接の品質基準を満たしているにも関わらず、リペア溶接が必要と判断されて不要なリペア溶接が行われることがあった。
 そこで、以下の実施の形態では、本溶接により生産されたワークのリペア溶接区間をより的確に検出するリペア溶接区間検出方法およびリペア溶接区間検出装置の例を説明する。
 以下、適宜図面を参照しながら、本開示に係るリペア溶接区間検出方法およびリペア溶接区間検出装置を具体的に開示した実施の形態を詳細に説明する。但し、必要以上に詳細な説明は省略する場合がある。例えば、既によく知られた事項の詳細説明や実質的に同一の構成に対する重複説明を省略する場合がある。これは、以下の説明が不必要に冗長になることを避け、当業者の理解を容易にするためである。なお、添付図面および以下の説明は、当業者が本開示を十分に理解するために提供されるものであり、これらにより特許請求の範囲に記載の主題を限定することは意図されていない。
 実施の形態に係るリペア溶接区間検出装置は、本溶接により生産されたワークの溶接ビードに関する入力データを入力し、入力データと良品ワークのマスタデータとを用い、入力データとマスタデータとの比較に基づいて溶接ビードの形状に関するビード外観検査を行う。リペア溶接プログラム作成システムは、ビード外観検査の結果、リペア溶接が必要であると判定された溶接の欠陥箇所ごとの欠陥区間(つまり、リペア溶接が必要なリペア溶接区間)を判定する。
 以下、本溶接される対象物(例えば金属)を「元ワーク」、本溶接により生産(製造)された対象物を「ワーク」とそれぞれ定義する。なお、「ワーク」は、外観検査にて検知された溶接の欠陥箇所がリペア溶接された「リペアワーク」を含んで定義されてよい。また、「ワーク」は、1回の本溶接により生産されたワークに限らず、2回以上の本溶接により生産された複合的なワークであってもよい。
 元ワークと他の元ワークとが溶接ロボットにより接合等されてワークを生産する工程を「本溶接」、ワークの欠陥箇所が溶接ロボットにより補修等の修正がなされる工程を「リペア溶接」と定義する。
(溶接システムの構成)
 図1は、溶接システム100のシステム構成例を示す概略図である。溶接システム100は、外部ストレージST、入力インターフェースUI1およびモニタMN1のそれぞれと接続された上位装置1と、ロボット制御装置2と、検査制御装置3と、センサ4と、溶接ロボットMC1と、モニタMN2とを含む構成である。図1では、センサ4は、溶接ロボットMC1と別体として図示されているが、溶接ロボットMC1と一体化されて設けられてもよい(図2参照)。なお、モニタMN2は必須の構成でなく、省略されてもよい。
 上位装置1は、ロボット制御装置2を介して溶接ロボットMC1により実行される本溶接の開始および完了を統括して制御する。例えば、上位装置1は、ユーザ(例えば、溶接作業者あるいはシステム管理者。以下同様。)により予め入力あるいは設定された溶接関連情報を外部ストレージSTから読み出し、溶接関連情報を用いて、溶接関連情報の内容を含めた本溶接の実行指令を生成して対応するロボット制御装置2に送る。上位装置1は、溶接ロボットMC1による本溶接が完了した場合に、溶接ロボットMC1による本溶接が完了した旨の本溶接完了報告をロボット制御装置2から受信し、対応する本溶接が完了した旨のステータスに更新して外部ストレージSTに記録する。
 なお、上述した本溶接の実行指令は上位装置1により生成されることに限定されず、例えば本溶接が行われる工場等内の設備の操作盤(例えばPLC:Programmable Logic Controller)、あるいはロボット制御装置2の操作盤(例えばTP:Teach Pendant)により生成されてもよい。なお、ティーチペンダント(TP)は、ロボット制御装置2に接続された溶接ロボットMC1を操作するための装置である。
 また、上位装置1は、ロボット制御装置2、検査制御装置3およびセンサ4を用いたビード外観検査の開始および完了を統括して制御する。例えば、上位装置1は、ロボット制御装置2から本溶接完了報告を受信すると、溶接ロボットMC1により生産されたワークのビード外観検査の実行指令を生成してロボット制御装置2および検査制御装置3のそれぞれに送る。上位装置1は、ビード外観検査が完了した場合に、ビード外観検査が完了した旨の外観検査報告を検査制御装置3から受信し、対応するビード外観検査が完了した旨のステータスに更新して外部ストレージSTに記録する。
 ここで、溶接関連情報とは、溶接ロボットMC1により実行される本溶接の内容を示す情報であり、本溶接の工程ごとに予め作成されて外部ストレージSTに登録されている。溶接関連情報は、例えば本溶接に使用される元ワークの数と、本溶接に使用される元ワークのID、名前および溶接箇所を含むワーク情報と、本溶接が実行される実行予定日と、被溶接ワークの生産台数と、本溶接時の各種の溶接条件と、を含む。なお、溶接関連情報は、上述した項目のデータに限定されず、例えば、本溶接が実行された時の溶接方向に関るデータ(つまり、溶接ロボットMC1の動作軌跡を示す位置情報のデータ)などを含んでもよい。また、溶接方向に関するデータは、溶接ロボットMC1の教示プログラムに含まれてもよい。さらに、溶接ロボットMC1の溶接方向データは、ユーザ操作によりマスタデータとともに溶接線の情報が入力されることで溶接方向データとして予め生成されて、検査制御装置3におけるメモリ32に記憶されていてもよい。
 ロボット制御装置2は、上位装置1から送られた本溶接の実行指令に基づいて、その実行指令で指定される元ワークを用いた本溶接の実行を溶接ロボットMC1に開始させる。なお、上述した溶接関連情報は、上位装置1が外部ストレージSTを参照して管理することに限定されず、例えばロボット制御装置2において管理されてもよい。この場合、ロボット制御装置2は本溶接が完了した状態を把握できるので、溶接関連情報のうち溶接工程が実行される予定の実行予定日の代わりに実際の実行日が管理されてよい。なお、本明細書において、本溶接の種類は問わないが、説明を分かり易くするために、複数の元ワークを接合して1つのワークを生産する工程を例示して説明する。
 上位装置1は、モニタMN1、入力インターフェースUI1および外部ストレージSTのそれぞれとの間でデータの入出力が可能となるように接続され、さらに、ロボット制御装置2との間でデータの通信が可能となるように接続される。上位装置1は、モニタMN1および入力インターフェースUI1を一体に含む端末装置P1でもよく、さらに、外部ストレージSTを一体に含んでもよい。この場合、端末装置P1は、本溶接の実行に先立ってユーザにより使用されるPC(Personal Computer)である。なお、端末装置P1は、上述したPCに限らず、例えばスマートフォン、タブレット端末等の通信機能を有するコンピュータ装置でよい。
 モニタMN1は、例えばLCD(Liquid Crystal Display)または有機EL(Electroluminescence)等の表示用デバイスを用いて構成されてよい。モニタMN1は、例えば上位装置1から出力された、本溶接が完了した旨の通知、あるいはビード外観検査が完了した旨の通知を示す画面を表示してよい。また、モニタMN1の代わりに、あるいはモニタMN1とともにスピーカ(図示略)が上位装置1に接続されてもよく、上位装置1は、本溶接が完了した旨の内容、あるいはビード外観検査が完了した旨の内容の音声を、スピーカを介して出力してもよい。
 入力インターフェースUI1は、ユーザの入力操作を検出して上位装置1に出力するユーザインターフェースであり、例えば、マウス、キーボードまたはタッチパネル等を用いて構成されてよい。入力インターフェースUI1は、例えばユーザが溶接関連情報を作成する時の入力操作を受け付けたり、ロボット制御装置2への本溶接の実行指令を送る時の入力操作を受け付けたりする。
 外部ストレージSTは、例えばハードディスクドライブ(Hard Disk Drive)またはソリッドステートドライブ(Solid State Drive)を用いて構成される。外部ストレージSTは、例えば本溶接ごとに作成された溶接関連情報のデータ、本溶接により生産されたワークのステータス(生産状況)、ワークのワーク情報(上述参照)を記憶する。
 ロボット制御装置2は、上位装置1との間でデータの通信が可能に接続されるとともに、溶接ロボットMC1との間でデータの通信が可能に接続される。ロボット制御装置2は、上位装置1から送られた本溶接の実行指令を受信すると、その実行指令に基づいて対応する溶接ロボットMC1を制御して本溶接を実行させる。ロボット制御装置2は、本溶接の完了を検出すると本溶接が完了した旨の本溶接完了報告を生成して上位装置1に通知する。これにより、上位装置1は、ロボット制御装置2による本溶接の完了を適正に検出できる。なお、ロボット制御装置2による本溶接の完了の検出方法は、例えばワイヤ送給装置300が備えるセンサ(図示略)からの本溶接の完了を示す信号に基づいて判別する方法でよく、あるいは公知の方法でもよく、本溶接の完了の検出方法の内容は限定されなくてよい。
 また、ロボット制御装置2は、上位装置1から送られたビード外観検査の実行指令を受信すると、ロボット制御装置2により作成あるいは予め準備されている外観検査用プログラムに従い、センサ4が取り付けられた溶接ロボットMC1(図2参照)を制御して、その実行指令に基づいて対応するワークのビード外観検査を実行する。なお、ビード外観検査が完了した旨の外観検査報告は検査制御装置3から上位装置1に送られるが、ロボット制御装置2自ら、あるいは検査制御装置3からの指示を受けたロボット制御装置2から上位装置1に送られてもよい。これにより、上位装置1は、ビード外観検査の完了を適切に検出できる。
 溶接ロボットMC1は、ロボット制御装置2との間でデータの通信が可能に接続される。溶接ロボットMC1は、対応するロボット制御装置2の制御の下で、上位装置1から指令された本溶接を実行する。また、センサ4が溶接ロボットMC1に一体的に取り付けられている場合には、溶接ロボットMC1は、外観検査用プログラムに従ってセンサ4を移動することで、上位装置1から指令されたビード外観検査の実行を支援する。
 リペア溶接区間検出装置の一例としての検査制御装置3は、上位装置1、ロボット制御装置2およびセンサ4のそれぞれとの間でデータの通信が可能に接続される。検査制御装置3は、上位装置1から送られたビード外観検査の実行指令を受信すると、溶接ロボットMC1により生産されたワークの溶接箇所のビード外観検査(例えば、ワークに形成された溶接ビードが予め既定された溶接基準を満たすか否かの検査)をセンサ4とともに実行する。なお、ビード外観検査の詳細については、図4~図10を参照して後述するが、例えば、検査制御装置3は、ビード外観検査の実行指令に含まれるワークの溶接箇所情報に基づいて、センサ4により取得された溶接ビードの形状に関する入力データ(例えば、溶接ビードの3次元形状を特定可能な点群データ)を用い、ワークごとに予め既定された良品ワークのマスタデータとの比較に基づいてビード外観検査を行う。
 検査制御装置3は、ビード外観検査を行い、このビード外観検査の検査判定結果とビード外観検査が完了した旨の通知とを含む外観検査報告を生成して上位装置1に送るとともに、モニタMN2に出力する。なお、検査制御装置3は、ワークのビード外観検査において欠陥を検知したと判定した場合に、その欠陥をリペア溶接するための欠陥区間の情報を含む外観検査結果を含む外観検査報告を生成して、上位装置1およびロボット制御装置2に送る。
 また、検査制御装置3は、ワークのビード外観検査によって欠陥を検知したと判定した場合に、欠陥区間の情報を含む外観検査結果を用いて、欠陥箇所の補修等の修正を行う旨のリペア溶接プログラムを生成する。検査制御装置3は、このリペア溶接プログラムと外観検査結果とを対応付けて上位装置1あるいはロボット制御装置2に送る。
 センサ4は、検査制御装置3との間でデータの通信が可能に接続される。センサ4が溶接ロボットMC1に取り付けられている場合(図2参照)、センサ4は、ロボット制御装置2の制御に基づくマニピュレータ200の駆動に応じて、ワークWkが載置された載置台を3次元のスキャンが可能に稼動可能である。センサ4は、ロボット制御装置2の制御に基づくマニピュレータ200の駆動に応じて、載置台(図2参照)に置かれたワークWkの3次元形状を特定可能なデータ(例えば、点群データ)を取得して検査制御装置3に送る。
 モニタMN2は、例えばLCDまたは有機EL等の表示用デバイスを用いて構成されてよい。モニタMN2は、例えば検査制御装置3から出力された、ビード外観検査が完了した旨の通知、あるいはその通知と外観検査の結果(欠陥の有無を通知する情報、欠陥区間の情報、欠陥区間で不足する溶接ビードの体積データ等)とを示す画面を表示する。また、モニタMN2の代わりに、あるいはモニタMN2とともにスピーカ(図示略)が検査制御装置3に接続されてもよく、検査制御装置3は、外観検査が完了した旨の通知、あるいはその通知と外観検査結果(例えば上述した検査判定結果)との内容を示す音声を、スピーカを介して出力してもよい。
 図2は、実施の形態に係る検査制御装置3、ロボット制御装置2および上位装置1の内部構成例を示す図である。説明を分かり易くするために、図2ではモニタMN1,MN2および入力インターフェースUI1の図示を省略する。なお、図2に示されるワークWkは、ビード外観検査の対象となるワークである。このワークWkは、本溶接により生産されたワークであってもよいし、リペア溶接により1回以上リペアされた所謂リペアワークであってもよい。
 溶接ロボットMC1は、ロボット制御装置2の制御の下で、例えば上位装置1から指令された本溶接、ビード外観検査時のセンサ4の移動等の各種の工程を実行する。溶接ロボットMC1は、本溶接の工程において、例えばアーク溶接を行う。しかし、溶接ロボットMC1は、アーク溶接以外の他の溶接(例えば、レーザ溶接、ガス溶接)等を行ってもよい。この場合、図示は省略するが、溶接トーチ400に代わって、レーザヘッドを、光ファイバを介してレーザ発振器に接続してよい。溶接ロボットMC1は、マニピュレータ200と、ワイヤ送給装置300と、溶接ワイヤ301と、溶接トーチ400とを少なくとも含む構成である。
 マニピュレータ200は、多関節のアームを備え、ロボット制御装置2のロボット制御部24からの制御信号に基づいて、それぞれのアームを可動させる。これにより、マニピュレータ200は、ワークWkと溶接トーチ400との位置関係(例えば、ワークWkに対する溶接トーチ400の角度)をアームの駆動によって変更できる。
 ワイヤ送給装置300は、ロボット制御装置2からの制御信号に基づいて、溶接ワイヤ301の送給速度を制御する。なお、ワイヤ送給装置300は、溶接ワイヤ301の残量を検出可能なセンサ(図示略)を備えてよい。ロボット制御装置2は、このセンサの出力に基づいて、本溶接の工程が完了したことを検出できる。
 溶接ワイヤ301は、溶接トーチ400に保持されている。溶接トーチ400に電源装置500から電力が供給されることで、溶接ワイヤ301の先端とワークWkとの間にアークが発生し、アーク溶接が行われる。なお、溶接トーチ400にシールドガスを供給するための構成等は、説明の便宜上、これらの図示および説明を省略する。
 上位装置1は、ユーザにより予め入力あるいは設定された溶接関連情報を用いて、本溶接、またはビード外観検査の各種の工程の実行指令を生成してロボット制御装置2に送る。なお、上述したように、センサ4が溶接ロボットMC1に一体的に取り付けられている場合には、ビード外観検査の実行指令は、ロボット制御装置2および検査制御装置3の両方に送られる。上位装置1は、通信部10と、プロセッサ11と、メモリ12とを少なくとも含む構成である。
 通信部10は、ロボット制御装置2および外部ストレージSTのそれぞれとの間でデータの通信が可能に接続される。通信部10は、プロセッサ11により生成される本溶接、またはビード外観検査の各種の工程の実行指令をロボット制御装置2に送る。通信部10は、ロボット制御装置2から送られる本溶接完了報告、外観検査報告を受信してプロセッサ11に出力する。なお、本溶接の実行指令には、例えば溶接ロボットMC1が備えるマニピュレータ200、ワイヤ送給装置300および電源装置500のそれぞれを制御するための制御信号が含まれてもよい。
 プロセッサ11は、例えばCPU(Central Processing Unit)またはFPGA(Field Programmable Gate Array)を用いて構成され、メモリ12と協働して、各種の処理および制御を行う。具体的には、プロセッサ11は、メモリ12に保持されたプログラムを参照し、そのプログラムを実行することにより、セル制御部13を機能的に実現する。
 メモリ12は、例えばプロセッサ11の処理を実行する際に用いられるワークメモリとしてのRAM(Random Access Memory)と、プロセッサ11の処理を規定したプログラムを格納するROM(Read Only Memory)とを有する。RAMには、プロセッサ11により生成あるいは取得されたデータが一時的に保存される。ROMには、プロセッサ11の処理を規定するプログラムが書き込まれている。また、メモリ12は、外部ストレージSTから読み出された溶接関連情報のデータ、ワークのステータス、ロボット制御装置2から送られたワークのワーク情報(上述参照)のデータをそれぞれ記憶する。
 セル制御部13は、外部ストレージSTに記憶されている溶接関連情報に基づいて、本溶接、ワークのビード外観検査、あるいはリペア溶接を実行するための実行指令を生成する。また、セル制御部13は、外部ストレージSTに記憶されている溶接関連情報に基づいて、本溶接あるいは1回以上リペア溶接された後のワークWkのビード外観検査時の溶接ロボットMC1の駆動に関する外観検査用プログラム、さらに、この外観検査用プログラムを含む外観検査用プログラムの実行指令を作成する。なお、この外観検査用プログラムは予め作成されて外部ストレージSTに保存されていてもよく、この場合には、セル制御部13は、外部ストレージSTから単に外観検査用プログラムを読み出して取得する。セル制御部13は、溶接ロボットMC1で実行される本溶接の各種の工程ごとに異なる実行指令を生成してよい。セル制御部13によって生成された本溶接の実行指令、あるいは外観検査用プログラムを含む外観検査用プログラムの実行指令は、通信部10を介して、対応するロボット制御装置2、あるいはロボット制御装置2および検査制御装置3のそれぞれに送られる。
 ロボット制御装置2は、上位装置1から送られた本溶接、またはビード外観検査の実行指令に基づいて、対応する溶接ロボットMC1(例えば、センサ4、マニピュレータ200、ワイヤ送給装置300、電源装置500)の処理を制御する。ロボット制御装置2は、通信部20と、プロセッサ21と、メモリ22とを少なくとも含む構成である。
 通信部20は、上位装置1、検査制御装置3、溶接ロボットMC1との間でデータの通信が可能に接続される。なお、図2では図示を簡略化しているが、ロボット制御部24とマニピュレータ200との間、ロボット制御部24とワイヤ送給装置300との間、ならびに、電源制御部25と電源装置500との間は、それぞれ通信部20を介してデータの送受信が行われる。通信部20は、上位装置1から送られた本溶接、あるいはビード外観検査の実行指令を受信する。通信部20は、本溶接により生産されたワークのワーク情報を上位装置1に送る。
 ここで、ワーク情報には、ワークのIDだけでなく、本溶接に使用される元ワークのID、名前、溶接箇所、本溶接の実行時の溶接条件が少なくとも含まれる。さらに、ワーク情報には、ワークの欠陥箇所を示す位置情報として、例えば欠陥箇所ごとの欠陥区間を示す位置情報、あるいは欠陥区間ごとの開始点および終了点を示す位置情報が含まれてもよい。また、溶接条件は、例えば元ワークの材質および厚み、溶接ワイヤ301の材質およびワイヤ径、シールドガス種、シールドガスの流量、溶接電流の設定平均値、溶接電圧の設定平均値、溶接ワイヤ301の送給速度および送給量、溶接回数、溶接時間等である。また、これらの他に、例えば本溶接の種別(例えばTIG溶接、MAG溶接、パルス溶接)を示す情報、マニピュレータ200の移動速度および移動時間が含まれても構わない。
 プロセッサ21は、例えばCPUまたはFPGAを用いて構成され、メモリ22と協働して、各種の処理および制御を行う。具体的には、プロセッサ21は、メモリ22に保持されたプログラムを参照し、そのプログラムを実行することにより、本溶接プログラム作成部23、ロボット制御部24および電源制御部25を機能的に実現する。また、プロセッサ21は、本溶接プログラム作成部23により生成された本溶接プログラムに基づいて、ロボット制御部24により制御される溶接ロボットMC1(具体的には、マニピュレータ200、ワイヤ送給装置300および電源装置500のそれぞれ)を制御するためのパラメータの演算等を行う。
 メモリ22は、例えばプロセッサ21の処理を実行する際に用いられるワークメモリとしてのRAMと、プロセッサ21の処理を規定したプログラムを格納するROMとを有する。RAMには、プロセッサ21により生成あるいは取得されたデータが一時的に保存される。ROMには、プロセッサ21の処理を規定するプログラムが書き込まれている。また、メモリ22は、上位装置1から送られた本溶接、あるいはビード外観検査の実行指令のデータ、本溶接により生産されたワークのワーク情報のデータをそれぞれ記憶する。また、メモリ22は、溶接ロボットMC1が実行する本溶接の本溶接プログラムを記憶する。本溶接プログラムは、本溶接における溶接条件を用いて複数の元ワークを接合等する本溶接の具体的な手順(工程)を規定したプログラムである。
 本溶接プログラム作成部23は、通信部20を介して上位装置1から送られた本溶接の実行指令に基づいて、実行指令に含まれる複数の元ワークのそれぞれのワーク情報(例えばID、名前、および元ワークの溶接箇所)を用いて、溶接ロボットMC1により実行される本溶接の本溶接プログラムを生成する。本溶接プログラムには、本溶接の実行中に電源装置500、マニピュレータ200、ワイヤ送給装置300、溶接トーチ400等を制御するための、溶接電流、溶接電圧、オフセット量、溶接速度、溶接トーチ400の姿勢等の各種のパラメータが含まれてよい。なお、本溶接プログラムは、プロセッサ21内に記憶されてもよいし、メモリ22内のRAMに記憶されてもよい。
 ロボット制御部24は、本溶接プログラム作成部23により生成された本溶接プログラムに基づいて、溶接ロボットMC1(具体的には、マニピュレータ200、ワイヤ送給装置300および電源装置500のそれぞれ)を駆動させるための制御信号を生成する。ロボット制御部24は、この生成された制御信号を溶接ロボットMC1に送る。また、ロボット制御部24は、上位装置1から送られた外観検査用プログラムに基づいて、本溶接プログラムにて規定されている溶接ロボットMC1の動作範囲を対象とするようにビード外観検査中に溶接ロボットMC1のマニピュレータ200を駆動させる。これにより、溶接ロボットMC1に取り付けられたセンサ4(図2参照)は、溶接ロボットMC1の動作に伴って移動できて、ワークWkの溶接ビードの形状に関する入力データ(例えば溶接ビードの3次元形状を特定可能な点群データ)を取得できる。
 電源制御部25は、本溶接プログラム作成部23により生成された本溶接プログラムの演算結果に基づいて、電源装置500を駆動させる。
 検査制御装置3は、上位装置1から送られたビード外観検査の実行指令に基づいて、溶接ロボットMC1による本溶接により生産されたワーク、あるいは1回以上のリペア溶接によりリペアされたワークのビード外観検査の処理を制御する。ビード外観検査は、例えば、ワークに形成された溶接ビードが既定の溶接基準(例えば、ユーザのそれぞれにより要求される溶接の品質基準)を満たすか否かの検査であり、上述した検査判定により構成される。検査制御装置3は、センサ4により取得された溶接ビードの形状に関する入力データ(例えば、溶接ビードの3次元形状を特定可能な点群データ)に基づいて、ワークWkに形成された溶接ビードの外観形状が所定の溶接基準を満たすか否かを判定(検査)する。検査制御装置3は、通信部30と、プロセッサ31と、メモリ32と、検査結果記憶部33と、を少なくとも含む構成である。
 通信部30は、上位装置1、ロボット制御装置2、センサ4との間でデータの通信が可能に接続される。なお、図2では図示を簡略化しているが、形状検出制御部35とセンサ4との間は、それぞれ通信部30を介してデータの送受信が行われる。通信部30は、上位装置1から送られたビード外観検査の実行指令を受信する。通信部30は、センサ4を用いたビード外観検査の検査判定結果(例えば、ワークにおける溶接ビードの欠陥の有無、欠陥箇所ごとの欠陥区間に関する位置情報、欠陥区間で不足する溶接ビードの体積データ)を上位装置1に送る。
 プロセッサ31は、例えばCPUまたはFPGAを用いて構成され、メモリ32と協働して、各種の処理および制御を行う。具体的には、プロセッサ31は、メモリ32に保持されたプログラムを参照し、そのプログラムを実行することにより、判定閾値記憶部34、形状検出制御部35、データ処理部36、およびリペア溶接プログラム作成部37を機能的に実現する。
 メモリ32は、例えばプロセッサ31の処理を実行する際に用いられるワークメモリとしてのRAMと、プロセッサ31の処理を規定したプログラムを格納するROMとを有する。RAMには、プロセッサ31により生成あるいは取得されたデータが一時的に保存される。ROMには、プロセッサ31の処理を規定するプログラムが書き込まれている。また、メモリ32は、上位装置1から送られたワークのビード外観検査の実行指令のデータ、ワークのワーク情報のデータをそれぞれ記憶する。
 検査結果記憶部33は、例えばハードディスクあるいはソリッドステートドライブを用いて構成される。検査結果記憶部33は、プロセッサ31により生成あるいは取得されるデータの一例として、ワークWk(例えばワーク)における溶接箇所のビード外観検査の検査判定結果を示すデータを記憶する。このビード外観検査の検査判定結果を示すデータは、例えばデータ処理部36により生成される。
 判定閾値記憶部34は、溶接箇所に応じてビード外観検査の処理に用いられる設定値(例えば、後述する欠陥判定を実行するための各種設定値)および閾値(例えば、欠陥判定に用いられる溶接ビードの体積に関する閾値、欠陥区間の終了点を検出するための不感帯幅の情報等)を記憶する。また、判定閾値記憶部34は、ビード外観検査時の各閾値として、顧客等から要求される最低限の溶接基準(品質)を満たす許容範囲(例えば、最小許容値、最大許容値など)を記憶してよい。
 入力部の一例としての形状検出制御部35は、上位装置1から送られたワークWkの溶接箇所のビード外観検査の実行指令に基づいて、ロボット制御装置2が外観検査用プログラムに基づいてセンサ4が取り付けられた溶接ロボットMC1を動作させている間、センサ4から送られた溶接ビードの形状に関する入力データ(例えば溶接ビードの3次元形状を特定可能な点群データ)を取得する。形状検出制御部35は、上述したロボット制御装置2によるマニピュレータ200の駆動に応じてセンサ4が溶接ビードを撮像可能(言い換えると、溶接箇所の3次元形状を検出可能)な位置に到達すると、例えばレーザ光線をセンサ4から照射させて溶接ビードの形状に関する入力データ(例えば溶接ビードの3次元形状を特定可能な点群データ)を取得させる。形状検出制御部35は、センサ4により取得された入力データ(上述参照)を受信すると、この入力データをデータ処理部36に渡す。
 判定部、データ生成部、算出部および生成部の一例としてのデータ処理部36は、形状検出制御部35からの溶接ビードの形状に関する入力データ(上述参照)を取得すると、取得された入力データをビード外観検査に適したデータ形式に変換する。なお、データ処理部36は、欠陥と判定された欠陥箇所ごとにビード外観検査の実行回数をカウントし、ビード外観検査の回数がメモリ32に予め記憶された回数を超えても溶接検査結果が良好にならない場合、リペア溶接による欠陥箇所の修正が困難あるいは不可能と判定してよい。この場合、データ処理部36は、リペア溶接による欠陥箇所の修正が困難あるいは不可能と判定されたワーク情報、欠陥箇所をリペア溶接するための欠陥区間の位置の情報および欠陥の種別(例えば、穴あき、ピット、アンダーカット、突起)を含むアラート画面を生成し、生成されたアラート画面を、通信部30を介して上位装置1に送る。上位装置1に送られたアラート画面は、モニタMN1に表示される。なお、このアラート画面は、モニタMN2に表示されてもよい。
 データ処理部36は、判定閾値記憶部34に記憶されたビード外観検査用の閾値を用いて、センサ4により取得された溶接ビードの形状に関する入力データとワークごとに予め既定された良品ワークのマスタデータとの比較に基づくビード外観検査を行う。具体的に、データ処理部36は、データ処理部36によってデータ変換されたデータ(例えば点群データに基づいて生成された画像データ)と良品ワークのマスタデータとの比較(いわゆる画像処理)を行い、入力データが示す溶接ビードの形状が不一致であると判定された形状不一致箇所を抽出する。データ処理部36は、抽出された入力データの形状不一致箇所に基づいて、形状不一致データを生成し、生成された形状不一致データに含まれる形状不一致箇所ごとにリペア溶接が必要な欠陥箇所があるか否かの欠陥判定と、欠陥箇所の欠陥区間の位置と、を判定する。
 データ処理部36は、検査判定結果としての欠陥判定結果(つまり、リペア溶接が必要な欠陥の有無を示す情報)と、欠陥箇所ごとの欠陥区間の情報とを含む外観検査報告を作成して検査結果記憶部33に記憶するとともに、通信部30を介して上位装置1あるいはロボット制御装置2に送る。また、データ処理部36は、検査対象であるワークWkにリペア溶接が必要な欠陥箇所がないと判定した場合、ビード外観検査に合格である旨の検査判定結果を含む外観検査報告を作成して検査結果記憶部33に記憶するとともに、通信部30を介して上位装置1に送る。
 リペア溶接プログラム作成部37は、データ処理部36によるワークWkの外観検査報告を用いて、溶接ロボットMC1により実行されるべきワークWkのリペア溶接プログラムを作成する。リペア溶接プログラムには、リペア溶接の実行中に電源装置500、マニピュレータ200、ワイヤ送給装置300、溶接トーチ400等を制御するための、溶接電流、溶接電圧、オフセット量、溶接速度、溶接トーチ400の姿勢等の各種のパラメータが含まれてよい。なお、生成されたリペア溶接プログラムは、プロセッサ31内に記憶されてもよいし、メモリ32内のRAMに記憶されてもよいし、外観検査報告と対応付けられて通信部30を介して上位装置1あるいはロボット制御装置2に送られてもよい。
 センサ4は、例えば3次元形状センサであり、溶接ロボットMC1の先端に取り付けられ、ワークWk(例えばワーク)上の溶接箇所の形状を特定し得る複数の点群データを取得可能であり、この点群データに基づいて溶接箇所の3次元形状を特定可能な点群データを生成して検査制御装置3に送る。なお、センサ4は、溶接ロボットMC1の先端に取り付けられていなく、溶接ロボットMC1とは別個に配置されている場合には、検査制御装置3から送られた溶接箇所の位置情報に基づいて、ワークWk(例えば、ワークあるいはリペアワーク)上の溶接箇所を走査可能に構成されたレーザ光源(図示略)と、溶接箇所の周辺を含む撮像領域を撮像可能に配置され、溶接箇所に照射されたレーザ光のうち反射されたレーザ光の反射軌跡(つまり、溶接箇所の形状線)を撮像するカメラ(図示略)とにより構成されてよい。この場合、センサ4は、カメラにより撮像されたレーザ光に基づく溶接箇所の形状データ(言い換えると、溶接ビードの画像データ)を検査制御装置3に送る。なお、上述したカメラは、少なくともレンズ(図示略)とイメージセンサ(図示略)とを有して構成される。イメージセンサは、例えばCCD(Charge Coupled Device)またはCMOS(Complementary Metal Oxide Semi-conductor)等の固体撮像素子であり、撮像面に結像した光学像を電気信号に変換する。
(溶接システムの動作)
 次に、実施の形態に係る溶接システム100による本溶接およびビード外観検査の一連の動作手順について、図3を参照して説明する。図3は、実施の形態に係る溶接システム100による本溶接、ビード外観検査を含む一連の処理手順例を示すシーケンス図である。図3の説明では、複数の元ワークを用いた本溶接、そしてワークのビード外観検査で不合格と判定されたことに基づいて行われる欠陥判定の結果および欠陥区間の位置の情報を含む外観検査報告の生成工程に関して上位装置1とロボット制御装置2と検査制御装置3との間で行われる動作手順を例示して説明する。
 図3において、上位装置1は、本溶接の対象となる元ワークのワーク情報(例えばID、名前、および元ワークの溶接箇所)をそれぞれ取得し(St1)、元ワークのワーク情報を含む本溶接の実行指令を生成する。上位装置1は、元ワークのワーク情報を含む本溶接の実行指令をロボット制御装置2に送る(St2)。なお、上位装置1を介さずに、ロボット制御装置2が、ステップSt1,ステップSt2の処理をそれぞれ実行してもよい。この場合には、ロボット制御装置2のメモリ22には外部ストレージSTに保存されているデータと同じデータが保存されているか、あるいはロボット制御装置2が外部ストレージSTからデータの取得を可能に接続されていることが好ましい。
 ロボット制御装置2は、上位装置1から送られた本溶接の実行指令を受信すると、その実行指令に含まれる複数の元ワークのそれぞれのワーク情報を用いて、溶接ロボットMC1により実行される本溶接の本溶接プログラムを作成し、その本溶接プログラムに従った本溶接を溶接ロボットMC1に実行させる(St3)。ロボット制御装置2は、種々の公知方法により、溶接ロボットMC1による本溶接の完了を判定すると、本溶接が完了した旨の本溶接完了通知を生成して上位装置1に送る(St4)。上位装置1は、本溶接完了通知を受けると、ワークの外観検査用プログラムを含む外観検査用プログラムの実行指令を生成してロボット制御装置2に送るとともに(St5)、ワークのビード外観検査の実行指令を生成して検査制御装置3に送る(St6)。ロボット制御装置2は、ビード外観検査の開始に伴って上位装置1から受けた外観検査用プログラムを実行して溶接ロボットMC1に取り付けられたセンサ4を溶接線上に沿って動かす(St7)。センサ4は、ロボット制御装置2によりワークの溶接箇所を走査可能に移動させられている間、ワークの3次元形状を特定可能な点群データを取得する(St7)。
 検査制御装置3は、センサ4により取得された溶接ビードの3次元形状を特定可能な点群データを入力データとして用いて、上述したビード外観検査を実行する(St8)。検査制御装置3は、本溶接プログラムをロボット制御装置2から取得し、ワークの溶接ビードのビード外観検査の検査判定(つまり、欠陥判定および欠陥区間の判定)を行う(St8)。なお、ステップSt8における処理の詳細は、図4~図10を参照して後述する。
 検査制御装置3は、ステップSt8の検査判定結果として、欠陥判定によりワークに欠陥があると判定した場合(St8)、ワークが生産された溶接方向の情報に基づいて、欠陥箇所をリペア溶接するための欠陥箇所ごとの欠陥区間を判定(検出)し、欠陥判定結果と欠陥箇所ごとの欠陥区間の位置の情報とを含む外観検査報告を生成する(St9)。一方、検査制御装置3は、ステップSt8の検査判定結果として、欠陥判定によりワークに欠陥がないと判定した場合(St8)、ビード外観検査に合格である旨の検査判定結果を含む外観検査報告を生成する(St9)。
 これにより、検査制御装置3は、本溶接を実行した時の溶接方向の情報を取得できる。検査制御装置3は、ステップSt8で実行された検査判定結果を含む外観検査報告を生成してロボット制御装置2に送る(St10)。また、検査制御装置3は、同様に生成された外観検査報告を上位装置1にも送る(St11)。
 次に、図3のステップSt8で実行される検査判定として欠陥判定および欠陥区間の判定(検出)を実行する処理の詳細について、図4~図10を参照して説明する。図4は、実施の形態に係る欠陥判定および欠陥区間の判定(検出)処理手順例を示すフローチャートである。
 センサ4により取得された溶接ビードB1の3次元形状を特定可能な点群データは、ビード外観検査に使用される。データ処理部36は、センサ4からの点群データをビード外観検査に適したデータ形式(例えば溶接ビードの3次元形状を示す画像データ)に変換してデータ処理部36に渡す。データ処理部36は、メモリ32に保存されている良品ワークのマスタデータMD1(例えば良品ワークの溶接ビードの理想的な3次元形状を示す画像データ)を読み出して取得する(St8-1)。
 データ処理部36は、データ処理部36からの画像データRT1(検査対象データ)とマスタデータMD1とを比較し、形状が一致しない形状不一致箇所(例えば、図5に示す形状不一致箇所ED1,ED2,ED3のそれぞれ)を抽出する。データ処理部36は、抽出された形状不一致箇所ED1~ED3のそれぞれに基づいて、溶接ビードB1の形状不一致データEDD1(図6参照)を生成する(St8-2)。なお、図6に示す形状不一致データEDD1は、説明を簡単にするために、複数の形状不一致箇所ED1~ED3のそれぞれを含んで生成された形状不一致データの例を示している。しかし、形状不一致データEDD1は、上述の例に限定されず、例えば形状不一致箇所ごとに1つの形状不一致データが生成されてもよい。
 ここで、図5を参照して、溶接ビードB1およびマスタデータMD1について説明する。図5は、溶接ビードB1とマスタデータMD1との形状不一致箇所ED1,ED2,ED3の一例を示す図である。図5では、マスタデータMD1を実線、溶接ビードB1を破線で示すとともに、溶接ビードB1とマスタデータMD1との形状が一致しない形状不一致領域EDを斜線で示す。データ処理部36は、図5に示すように、溶接ビードB1の形状とマスタデータMD1とを比較し、形状不一致箇所ED1,ED2,ED3をそれぞれ抽出する。なお、図5に示す溶接ビードB1、マスタデータMD1および形状不一致箇所ED1~ED3は一例であって、これに限定されないことは言うまでもない。
 次に、図6および図7を参照して、本実施の形態における欠陥判定処理に用いられる形状不一致データおよび窓の一例について説明する。図6は、形状不一致データEDD1をN等分した場合の窓ΔV[1],ΔV[2],…,ΔV[m],…,ΔV[N]の一例を説明する図である。図7は、形状不一致データEDD2の溶接方向に対する垂直方向の断面図の一例を示す図である。なお、図6に示す形状不一致データEDD1は、図5に示す形状不一致箇所ED1~ED3に基づいて生成された形状不一致データであって、Z方向から見た図である。また、図7は、形状不一致データEDD2が溶接方向M2に対して垂直な方向に切断面CS1で切断された時の断面SS1と、切断面CS2で切断された時の断面SS2とを示す。
 データ処理部36は、溶接ビードB1が生産された溶接方向M1の情報を取得し、形状不一致データEDD1を溶接方向M1に対して垂直な方向に等しい間隔ΔDでN(N:2以上の整数)等分したN個の窓ΔV[1],ΔV[2],…,ΔV[m],…,ΔV[N]を設定する(St8-3)。ここで、窓ΔV[k]は、形状不一致データEDD1のN等分されたうちのk(k:1以上の整数)番目の断面積S[k]に間隔ΔDを乗じて算出された体積を示す。
 なお、図6に示す断面積S[k]は、形状不一致データEDD1の断面を長方形により近似して算出する例を示すが、これに限定されない。例えば、断面積S[k]は、図7に示すように各断面SS1,SS2の面積が算出されてもよいし、断面SS1,SS2のそれぞれを任意の多角形に近似した近似形状に基づいて算出されてもよい。
 さらに、ここで間隔ΔDまたは形状不一致データEDD1を切断した窓の数N(つまり、窓の数)は、いずれか一方が固定値として設定されてよい。なお、間隔ΔDの長さは、ユーザにより要求される品質基準に基づいて予め設定された任意の長さが作業員により設定されてもよいし、形状不一致データEDD1の溶接方向M1における全長に基づく長さ(例えば、形状不一致データEDD1の全長が50mm以上の場合にはΔD=5mm,あるいは100mm以上の場合にはΔD=10mm等)が設定されてもよい。また同様に、窓の数Nは、ユーザにより要求される品質基準に基づく任意の数が作業員により設定されてもよいし、形状不一致データEDD1の溶接方向M1における全長に基づいて予め設定された数(例えば、形状不一致データEDD1の全長が50mm以上の場合にはN=5,あるいは100mm以上の場合にはN=10等)が設定されてもよい。
 データ処理部36は、N個の窓ΔV[1],…,ΔV[N]のそれぞれのうち連続するi(i:1以上の整数)個の窓により構成される(N-i+1)個のシフト領域PS1,PS2,…,PS(N-i+1)(図8参照)を設定する(St8-4)。ここで、シフト領域PS1,PS2,…,PS(N-i+1)について図8を参照して説明する。図8は、シフト領域PS1,PS2,…,PS(N-i+1)およびシフト領域のシフト動作の一例を説明する図である。
 図8に示すように、各シフト領域PS1,PS2,…,PS(N-i+1)は、i個の窓により構成される。各シフト領域PS1,PS2,…,PS(N-i+1)を構成するi個の窓は、窓の番号kが溶接方向M1に1個ずつシフトされて異なる。具体的に、シフト領域PS1は、窓ΔV[1]から窓ΔV[i]までのi個の窓により構成される。シフト領域PS2は、シフト領域PS1を構成するi個の窓が溶接方向M1に1個シフトされて、窓ΔV[2]から窓ΔV[i+1]までのi個の窓により構成される。また、同様にシフト領域PS(N-i+1)は、窓ΔV[N-i]から窓ΔV[N]までのi個の窓により構成される。なお、1個のシフト領域を構成する窓の数iは、ユーザごとの品質基準に基づいて作業員により任意の1以上の値が設定されてよい。
 データ処理部36は、シフト領域の体積を算出し、算出されたシフト領域の体積が判定閾値記憶部34に記憶された閾値以上である否かを判定する(St8-4)。データ処理部36は、シフト領域の体積が閾値以上であると判定した場合、このシフト領域をリペア溶接が必要な欠陥箇所であると判定する(St8-4)。データ処理部36は、(N-i+1)個のシフト領域PS1,PS2,…,PS(N-i+1)のうち1番目のシフト領域PS1から(N-i+1)番目のシフト領域PS(N-i+1)まで、上述した(N-i+1)個のシフト領域のそれぞれの体積の算出および欠陥判定を順次実行しながら、欠陥判定の結果に基づく欠陥区間の開始点および終了点の判定を順次実行する(St8-4)。これにより、データ処理部36は、基準長さ(つまり、間隔ΔD)あたりの形状不一致箇所の体積に基づいて、シフト領域ごとにユーザの品質基準を満たさず、リペア溶接すべき欠陥があるか否かをより的確に判定できるとともに、欠陥箇所と判定されたシフト領域に基づいて、リペア溶接すべき欠陥区間の開始点および終了点を判定する(St8-4)。以下、開始点および終了点の判定処理方法について説明する。
 データ処理部36は、算出されたk番目のシフト領域の体積が欠陥と判定すると、1個前(つまり、(k-1)番目)のシフト領域が非欠陥であるか否かを判定する。データ処理部36は、1個前のシフト領域が非欠陥、かつ、k番目のシフト領域の体積が欠陥であると判定した場合には、k番目のシフト領域のいずれかの位置を欠陥区間の開始点であると判定する。なお、データ処理部36は、1番目(つまり、k=1)のシフト領域が欠陥であると判定した場合には、1番目のシフト領域のいずれかの位置を欠陥区間の開始点であると判定する。
 また、データ処理部36は、開始点の判定後、算出されたk番目のシフト領域の体積が欠陥であって、かつ、(k+1)番目のシフト領域が非欠陥であると判定した場合には、k番目のシフト領域のいずれかの位置を欠陥区間の終了点であると判定する。なお、データ処理部36は、(N-1)番目(つまり、k=N-1)のシフト領域が欠陥であり、かつ、N番目(つまり、k+1=N)のシフト領域が欠陥であると判定した場合には、N番目のシフト領域のいずれかの位置を欠陥区間の終了点であると判定する。
 なお、データ処理部36は、連続しない1個のシフト領域を欠陥箇所であると判定した場合には、このシフト領域を構成するi個の窓のうち1個目の窓を欠陥区間の開始点と判定し、i個の窓のうちi個目の窓を欠陥区間の終了点と判定してよい。
 さらに、データ処理部36は、連続しない1個のシフト領域の中央を使用する場合は、欠陥区間の開始点および終了点が同一点であると判定してよい。このように、欠陥区間の開始点および終了点が同一点である場合、リペア溶接プログラム作成部37は、例えば点付け溶接によりこの欠陥区間(同一点)をリペア溶接させるリペア溶接プログラムを生成し、溶接ロボットMC1に点付け溶接によるリペア溶接を実行させる。
 また、開始点および終了点の他の判定処理方法について説明する。データ処理部36は、連続する2個以上のシフト領域を欠陥箇所であると判定した場合、この連続する2個以上のシフト領域のうち最初に欠陥箇所と判定されたシフト領域を構成するi個の窓のうち1番目の窓、またはシフト領域の中央を欠陥区間の開始点と判定してよい。また、同様に、データ処理部36は、連続する2個以上のシフト領域が欠陥箇所と判定された場合、この連続する2個以上のシフト領域のうち最後に欠陥箇所と判定されたシフト領域を構成するi個の窓のうちi番目の窓、またはシフト領域の中央を欠陥区間の終了点と判定してよい。なお、シフト領域の中央は、シフト領域の中央位置であってもよいし、i個の窓のうちi/2番目の窓であってもよい。
 さらに、データ処理部36は、連続する2個以上のシフト領域のうち最初に欠陥箇所と判定されたシフト領域が1番目のシフト領域PS1である場合には、i個の窓のうち1番目の窓を欠陥区間の開始点であると判定してもよい。また、データ処理部36は、連続する2個以上のシフト領域のうち最後に欠陥箇所と判定されたシフト領域が(N-i+1)番目のシフト領域PS(N-i+1)である場合には、i個の窓のうちi番目の窓を欠陥区間の終了点であると判定してもよい。これにより、データ処理部36は、基準長さ(つまり、間隔ΔD)あたりの形状不一致箇所の体積に基づく欠陥判定において、リペア溶接すべき欠陥の位置が特定しづらい1番目のシフト領域PS1および(N-i+1)番目のシフト領域PS(N-i+1)における欠陥のリペア溶接漏れをより抑制できる欠陥区間を判定(検出)できる。
 データ処理部36は、判定された開始点および終了点に基づいて、各欠陥箇所の欠陥区間を特定(検出)する(St8-5)。なお、ここでいう欠陥箇所は、連続する複数の欠陥箇所を1つの欠陥箇所とする。
 ここで、図9を参照してステップSt8-4およびステップSt8-5で実行される処理について具体例を用いて詳細に説明する。図9は、実施の形態に係る欠陥判定および欠陥区間の判定例を説明する図である。なお、図9では、形状不一致データが7等分(つまり、N=7)され、窓の数i=3、体積の閾値T=4.0mmに設定された場合の判定例について示す。
 また、図9に示す欠陥区間の開始点および終了点の判定は、欠陥と判定された最初のシフト領域を構成する3個の窓のうち1個目を欠陥区間の開始点、最後のシフト領域を構成する3個の窓のうち3個目を欠陥区間の終了点と判定する第1判定例と、欠陥と判定された最初のシフト領域を構成する3個の窓のうち中央位置として1個目(つまり、i=3/2の整数個目)を欠陥区間の開始点、最後のシフト領域を構成する3個の窓のうち中央位置として1個目(つまり、i=3/2の整数個目)を欠陥区間の終了点とする第2判定例との2例を示すが、これに限定されないことは言うまでもない。例えば、データ処理部36は、第2判定例における中央位置として3個の窓のうち2個目の窓を中央位置と判定してもよい。
 k番目のシフト領域V[k]の体積は、窓ΔV[k]の体積と、窓ΔV[k+1]の体積と、窓ΔV[k+2]の体積の合計値である。データ処理部36は、1番目のシフト領域V[1]の体積を算出し、算出された1番目のシフト領域V[1]の体積3.5mmが閾値T=4.0mm以上でないため、1番目のシフト領域V[1]を非欠陥箇所であると判定する。
 データ処理部36は、2番目のシフト領域V[2]を算出し、算出された2番目のシフト領域V[2]の体積4.5mmが閾値T=4.0mm以上であるため、2番目のシフト領域V[2]を欠陥箇所であると判定する。データ処理部36は、1個前のシフト領域(つまり、1番目のシフト領域V[1])が非欠陥箇所であるため、2番目のシフト領域V[2]で欠陥区間の開始点の判定を実行する。具体的に、データ処理部36は、第1判定例において2番目のシフト領域V[2]を構成する3個の窓のうち1番目の窓ΔV[2]をこの欠陥箇所における欠陥区間RCAの開始点RCA1と判定し、第2判定例において2番目のシフト領域V[2]を構成する3個の窓のうち中央位置の窓ΔV[2]をこの欠陥箇所における欠陥区間RCBの開始点RCB1と判定する。
 データ処理部36は、3番目のシフト領域V[3]の体積を算出し、算出された3番目のシフト領域V[3]の体積4.8mmが閾値T=4.0mm以上であるため、3番目のシフト領域V[3]を欠陥箇所であると判定する。データ処理部36は、1個前のシフト領域(つまり、2番目のシフト領域V[2])が欠陥箇所であるため、欠陥区間の終了点の判定を省略する。同様に、データ処理部36は、4番目のシフト領域V[4]の体積を算出し、算出された4番目のシフト領域V[4]の体積4.8mmであって閾値T=4.0mm以上であるため、4番目のシフト領域V[4]を欠陥箇所であると判定する。データ処理部36は、1個前のシフト領域(つまり、3番目のシフト領域V[3])が欠陥箇所であるため、欠陥区間の終了点の判定を省略する。
 データ処理部36は、5番目のシフト領域V[5]の体積を算出し、算出された5番目のシフト領域V[5]の体積3.3mmが閾値T=4.0mm以上でないため、5番目のシフト領域V[5]は非欠陥箇所であると判定する。データ処理部36は、1個前のシフト領域(つまり、4番目のシフト領域V[4])が欠陥箇所であり、かつ、5番目のシフト領域V[5]が非欠陥箇所であるため、4番目のシフト領域V[4]で欠陥区間の終了点の判定を実行する。具体的に、データ処理部36は、第1判定例において4番目のシフト領域V[4]を構成する3個の窓のうち3番目の窓ΔV[6]をこの欠陥箇所における欠陥区間RCAの終了点RCA2と判定し、第2判定例において4番目のシフト領域V[4]を構成する3個の窓のうち中央位置の窓ΔV[4]をこの欠陥箇所における欠陥区間RCBの終了点RCB2と判定する。
 以上により、図9に示すデータ処理部36は、第1判定例において開始点RCA1(つまり、窓ΔV[2])の位置から終了点RCA2(つまり、窓ΔV[6])の位置までを欠陥区間RCAと判定し、第2判定例において開始点RCB1(つまり、窓ΔV[2])の位置から終了点RCB2(つまり、窓ΔV[4])の位置までを欠陥区間RCBと判定する。
 データ処理部36は、ステップSt8-3~ステップSt8-5までのリピート処理RP1を、形状不一致箇所ごとに繰り返し実行し、各欠陥区間で不足する溶接ビードの体積データ(図10参照)を生成する(St8-6)。なお、ステップSt8-6の処理は必須でなく、省略されてもよい。
 ここで、図10を参照して、体積データVD1について説明する。図10は、溶接ビードB1の形状不一致箇所ED2,ED3および欠陥区間RC2,RC3の体積データVD1の一例を示す図である。なお、図10に示す溶接ビードB1は、3つの形状不一致箇所ED1,ED2,ED3のそれぞれを有し、これら3つの形状不一致箇所ED1,ED2,ED3のそれぞれのうち2つの形状不一致箇所ED2,ED3がデータ処理部36により欠陥と判定された例を示す。また、図10に示す例においてデータ処理部36は、開始点RC21から終了点RC22までを形状不一致箇所ED2の欠陥区間RC2と判定し、開始点RC31から終了点RC32までを形状不一致箇所ED3の欠陥区間RC3と判定する。
 データ処理部36は、溶接ビードB1の全長のうち形状不一致領域EDを抽出して生成された形状不一致データ(不図示)から溶接方向M1における欠陥区間RC2および欠陥区間RC3で不足する溶接ビードの体積を抽出した体積データVD1を生成する。ここで、データ処理部36は、生成された体積データVD1のうちそれぞれの欠陥区間RC2,RC3に含まれる複数の窓のそれぞれの位置に対応する位置で体積値をプロットしたリペア溶接条件用データVD2を生成してもよいし、なお、リペア溶接条件用データVD2は、単に体積値を近似したデータに限定されず、例えば体積データVD1に基づいて、リペア溶接条件の一例として、それぞれの欠陥区間RC2,RC3をリペア溶接するための溶接ワイヤ301の送給量を示すデータ、それぞれの欠陥区間RC2,RC3をリペア溶接するための溶接トーチ400を制御するための電源装置500の溶接電流値または溶接電圧値を示すデータを生成してもよい。
 データ処理部36は、検査判定結果として欠陥があるか否か(つまり、リペア溶接が必要であるか否か)を通知するための通知情報と、形状不一致箇所ごとの欠陥区間の情報とを少なくとも含む外観検査報告を生成する(St8-7)。なお、データ処理部36は、ステップSt8-6で体積データあるいはリペア溶接用データを生成した場合、生成された体積データあるいはリペア溶接条件用データをさらに含む外観検査報告を生成する。
 以上により、実施の形態に係る検査制御装置3は、溶接ビードの外観形状と良品ワークのマスタデータとの比較に基づく形状不一致箇所において、リペア溶接が必要な形状不一致(欠陥)であるか否かをより的確に判定できるとともに、リペア溶接が必要なリペア溶接区間(欠陥区間)をより適正に判定(検出)できるため、不要なリペア溶接を効率的に削減できる。また、検査制御装置3は、ユーザにより要求される溶接の品質基準に基づいて、欠陥判定するシフト領域を設定できるため、リペア溶接が必要な欠陥の有無の判定およびリペア溶接区間(欠陥区間)の判定(検出)におけるユーザビリティを向上できる。
 例えば、作業員は、シフト領域を構成する窓の数iを小さい値に設定した場合、リペア溶接が必要な欠陥の有無をより高精度に判定できるとともに、判定により得られるリペア溶接区間(欠陥区間)をより短くすることができる。一方、作業員は、シフト領域を構成する窓の数iをi=2以上の値に設定した場合、センサ4により取得された溶接ビードの外観形状に含まれるノイズの影響による欠陥の誤判定をより抑制できるとともに、欠陥判定および欠陥区間の判定処理により生じる処理負荷を低減できる。また、このような効果は、シフト領域を構成する窓の数iの値だけでなく、溶接方向における窓の幅を示す間隔ΔDの値を調整によっても同様に得ることができる。
(実施の形態の変形例)
 上述した実施の形態に係る検査制御装置3は、判定閾値記憶部34に記憶された任意の体積に関する閾値に基づいて、欠陥の判定および欠陥ごとの欠陥区間の判定(検出)を行う例を示した。実施の形態の変形例に係る検査制御装置3は、判定閾値記憶部34に記憶された任意の体積に関する第1閾値と、この第1閾値に基づく第2の閾値とに基づいて、欠陥の判定および欠陥ごとの欠陥区間の判定(検出)を行う例について説明する。
 なお、実施の形態の変形例に係る欠陥判定および欠陥区間の判定(検出)処理手順は、図4に示す実施の形態に係る欠陥判定および欠陥区間の判定(検出)処理手順例とステップSt8-4の処理が異なる。よって、以下に示す実施の形態の変形例に係る欠陥判定および欠陥区間の判定(検出)処理手順の説明では、ステップSt8-4の処理について説明し、他の処理手順の説明を省略する。
 実施の形態の変形例に係る検査制御装置3は、欠陥判定に用いる第1閾値T1(ここでいう第1閾値T1は、実施の形態における欠陥判定に用いられる閾値と同じ)と、欠陥区間の終了点の判定に用いる第2閾値T2の算出に使用される不感帯幅Z(0<Z<1)とを判定閾値記憶部34に記憶する。第2閾値T2は、第1閾値T1に(1-Z)を乗じることで算出される。なお、不感帯幅Zは、パーセンテージで示される値であってもよい。
 なお、不感帯幅Zは、第1閾値に対して所定の相対値が設定されていてもよいし、規定値(一定値)が設定されてもよい。例えば、不感帯幅Zは、第1閾値≧10.0mmのときZ=2.0mm、第1閾値<10.0mmのときZ=1.0mm等のように設定されてもよいし、第1閾値の値によらず規定値としてZ=2.0mmと設定されてもよい。
 以上により、実施の形態の変形例に係る検査制御装置3は、欠陥区間の開始点の判定に用いられる閾値(第1閾値T1)と、欠陥区間の終了点の判定に用いられる閾値(第2閾値T2)とを変更する。ここで、第2閾値T2は、第1閾値T1よりも小さい体積値である。これにより、実施の形態の変形例に係る検査制御装置3は、リペア溶接される欠陥区間(リペア溶接区間)の判定において開始点を判定した場合、連続するシフト領域の欠陥判定において非欠陥(欠陥の終了)の判定基準を厳しくできる。つまり、検査制御装置3は、シフト領域の体積(言い換えると、溶接ビードの外観形状とマスタデータとの体積差分)が変更後の第2閾値T2以下を満たさない場合には欠陥区間が終了しないと判定するため、生成された欠陥区間の情報に基づいて実行されるリペア溶接においてリペア漏れの発生をより抑制できる欠陥区間を判定(検出)できる。
 図11を参照して、実施の形態の変形例に係る欠陥判定および欠陥区間の判定(検出)処理を説明する。図11は、実施の形態の変形例に係る欠陥区間の開始点および終了点の判定を説明する図である。図11に示す体積グラフV3は、データ処理部36により算出された複数のシフト領域のそれぞれの体積をプロットしたグラフである。
 第1閾値T1は、実施の形態の変形例に係る欠陥区間の開始点の判定に用いられる閾値である。第2閾値T2は、実施の形態の変形例に係る欠陥区間の終了点の判定に用いられる閾値である。第1閾値T1と第2閾値T2との差は、第1閾値T1に不感帯幅Zを乗じた値である。
 データ処理部36は、シフト領域の体積を算出し、算出されたシフト領域の体積がメモリ32に記憶された体積に関する第1閾値T1以上である否か(つまり、欠陥区間RCCの開始点の判定)を判定する。データ処理部36は、算出されたシフト領域の体積が第1閾値T1以上であると判定した場合(例えば、図11に示す点RCC1)、このシフト領域をリペア溶接が必要な欠陥箇所であると判定し、欠陥箇所の開始点の判定を行う。
 データ処理部36は、欠陥箇所の開始点が点RCC1で示す位置であると判定した後、溶接方向に連続するシフト領域の欠陥判定(つまり、欠陥区間RCCの終了点の判定)に用いる閾値を第1閾値T1から第2閾値T2に変更する。
 データ処理部36は、算出されたシフト領域の体積が第2閾値T2以下であると判定した場合(例えば、図11に示す点RCC2)、このシフト領域を非欠陥箇所であると判定するとともに、非欠陥箇所であると判定されたシフト領域から欠陥区間の終了点の判定を行う。
 データ処理部36は、欠陥区間の終了点が点RCC2で示す位置であると判定した後、溶接方向に連続するシフト領域の欠陥判定(つまり、欠陥区間RCDの開始点の判定)に用いる閾値を第2閾値T2から第1閾値T1に変更して、溶接方向に沿って窓を1個ずつシフトさせながら各シフト領域のそれぞれの欠陥判定を順次実行する。
 データ処理部36は、算出されたシフト領域の体積が第1閾値T1以上であると判定した場合(例えば、図11に示す点RCD1)、このシフト領域をリペア溶接が必要な欠陥箇所であると判定し、欠陥箇所の開始点の判定を行う。データ処理部36は、欠陥箇所の開始点が点RCD1で示す位置であると判定した後、溶接方向に連続するシフト領域の欠陥判定(つまり、欠陥区間RCDの終了点の判定)に用いる閾値を第1閾値T1から第2閾値T2に変更する。なお、図11では、以降の体積グラフV3の図示および各種判定処理の説明を省略する。
 以上のように、実施の形態の変形例におけるデータ処理部36は、欠陥区間の開始点の判定後に欠陥判定に用いる体積の閾値を第1閾値T1から第2閾値T2に変更し、欠陥区間の終了点の判定後に欠陥判定に用いる体積の閾値を第2閾値T2から第1閾値T1に変更して、(N-i+1)個のシフト領域PS1,PS2,…,PS(N-i+1)のうち1番目のシフト領域PS1から(N-i+1)番目のシフト領域PS(N-i+1)まで、上述した欠陥判定および欠陥判定の結果に基づく欠陥区間の開始点および終了点の判定を順次実行する(St8-4)。
 なお、欠陥と判定された最初のシフト領域における開始点の判定方法、および欠陥と判定された最後のシフト領域における終了点の判定方法は、実施の形態で示した判定方法と同様であるため説明を省略する。
 ここで、図12~図14を参照して、ステップSt8-4およびステップSt8-5で実行される欠陥判定および欠陥区間の判定処理例、リペア溶接開始点およびリペア溶接終了点の判定処理例について説明する。図12は、実施の形態の変形例に係る欠陥区間の開始点および終了点の判定例を説明する図である。図13は、実施の形態の変形例に係る欠陥区間の開始点および終了点の判定例を説明する図である。図14は、実施の形態の変形例に係る欠陥区間における開始点および終了点の座標算出例を説明する図である。なお、図12に示す欠陥判定および欠陥区間の開始点と終了点との判定例では、図13に示す形状不一致データED4が10等分(つまり、N=10)され、窓の数i=3、不感帯幅Z=0.2、第1閾値T1=4.0mmに設定された場合の判定例について示す。なお、図12に示す第2閾値T2は、第1閾値T1と不感帯幅Zとに基づいて、T2=3.2mmと算出される。
 また、図12に示す欠陥区間の開始点および終了点の判定は、欠陥と判定された最初のシフト領域を構成する3個の窓のうち中央位置として1個目(つまり、i=3/2の整数個目)を開始点、欠陥と判定された最後のシフト領域を構成する3個の窓のうち中央位置として1個目(つまり、i=3/2の整数個目)を終了点と判定する例を示すが、これに限定されないことは言うまでもない。
 k番目のシフト領域V[k]の体積は、窓ΔV[k]の体積と、窓ΔV[k+1]の体積と、窓ΔV[k+2]の体積の合計値である。データ処理部36は、1番目のシフト領域V[1]を算出し、算出された1番目のシフト領域V[1]の体積3.0mmが第1閾値T1=4.0mm以下であるため、1番目のシフト領域V[1]を非欠陥であると判定する。
 データ処理部36は、2番目のシフト領域V[2]を算出し、算出された2番目のシフト領域V[2]の体積3.5mmが第1閾値T1=4.0mm以上でないため、2番目のシフト領域V[2]を非欠陥であると判定する。
 データ処理部36は、3番目のシフト領域V[3]を算出し、算出された3番目のシフト領域V[3]の体積4.3mmが第1閾値T1=4.0mm以上であるため、3番目のシフト領域V[3]を欠陥であると判定するとともに、1個前のシフト領域(つまり、2番目のシフト領域V[2])が非欠陥であるため、3番目のシフト領域V[3]で欠陥区間の開始点の判定(検出)を実行する。具体的に、データ処理部36は、3番目のシフト領域V[3]を構成する3個の窓のうち中央位置の窓ΔV[4]をこの欠陥における欠陥区間RCEの開始点RCE1と判定する。データ処理部36は、欠陥区間RCEの開始点RCE1の判定後、欠陥判定に用いる閾値を第1閾値T1から第2閾値T2に変更する。
 データ処理部36は、4番目のシフト領域V[4]の体積を算出し、算出された4番目のシフト領域V[4]の体積3.5mmが第2閾値T2=3.2mm以下でないため、4番目のシフト領域V[4]を欠陥であると判定する。
 データ処理部36は、5番目のシフト領域V[5]を算出し、算出された5番目のシフト領域V[5]の体積2.5mmが第2閾値T2=3.2mm以下であるため、5番目のシフト領域V[5]を非欠陥であると判定するとともに、1個前のシフト領域(つまり、4番目のシフト領域V[4])が欠陥であるため、5番目のシフト領域V[5]から欠陥区間の終了点の判定(検出)を実行する。具体的に、データ処理部36は、5番目のシフト領域V[5]を構成する3個の窓のうち中央位置の窓ΔV[6]をこの欠陥における欠陥区間RCEの終了点RCE2と判定する。データ処理部36は、欠陥区間RCEの終了点RCE2の判定後、欠陥判定に用いる閾値を第2閾値T2から第1閾値T1に変更する。
 データ処理部36は、6番目のシフト領域V[6]を算出し、算出された6番目のシフト領域V[6]の体積1.7mmが第1閾値T1=4.0mm以上でないため、6番目のシフト領域V[6]を非欠陥であると判定する。
 データ処理部36は、7番目のシフト領域V[7]を算出し、算出された7番目のシフト領域V[7]の体積8.5mmが第1閾値T1=4.0mm以上であるため、7番目のシフト領域V[7]を欠陥であると判定するとともに、1個前のシフト領域(つまり、6番目のシフト領域V[6])が非欠陥であるため、7番目のシフト領域V[7]から欠陥区間の開始点の判定(検出)を実行する。具体的に、データ処理部36は、7番目のシフト領域V[7]を構成する3個の窓のうち中央位置の窓ΔV[8]をこの欠陥における欠陥区間RCFの開始点RCF1と判定する。データ処理部36は、欠陥区間RCFの開始点RCF1の判定後、欠陥判定に用いる閾値を第1閾値T1から第2閾値T2に変更する。
 データ処理部36は、8番目のシフト領域V[8]の体積を算出し、算出された8番目のシフト領域V[8]の体積9.0mmが第2閾値T2=3.2mm以下でないため、8番目のシフト領域V[8]を欠陥であると判定する。また、データ処理部36は、8番目のシフト領域V[8]の欠陥判定後、次のシフト領域がないため、この8番目のシフト領域V[8]から欠陥区間の終了点の判定(検出)を実行する。具体的に、データ処理部36は、8番目のシフト領域V[8]を構成する3個の窓のうち中央位置の窓ΔV[9]をこの欠陥における欠陥区間RCFの終了点RCF2と判定する。
 データ処理部36は、図13に示す形状不一致データED4の欠陥判定および欠陥区間の判定(検出)の結果として、1つ目の欠陥区間RCEの情報(つまり、開始点RCE1および終了点RCE2の位置情報)と、2つ目の欠陥区間RCFの情報(つまり、開始点RCF1および終了点RCF2の位置情報)とを含む外観検査報告を生成し、図13に示す形状不一致データED4の欠陥判定および欠陥区間の判定(検出)処理を終了する。
 データ処理部36は、欠陥判定および欠陥区間の判定(検出)処理の後、溶接ロボットMC1により実際にリペア溶接を実行させるためのリペア溶接区間としての欠陥区間の開始点および終了点の座標の算出処理を実行する。データ処理部36は、形状不一致データED4のうち判定結果として得られた各開始点および各終了点のそれぞれの位置を含む各窓ΔV[k]の点群データをそれぞれ抽出する。図14に示す例において、データ処理部36は、欠陥区間RCEにおける開始点RCE1の位置を含む窓ΔV[4]における点群データED41と、欠陥区間RCEにおける終了点RCE2の位置を含む窓ΔV[6]における点群データED42と、欠陥区間RCFにおける開始点RCF1の位置を含む窓ΔV[9]における点群データED43と、欠陥区間RCFにおける終了点RCF2の位置を含む窓ΔV[10]における点群データED44と、を抽出する。
 データ処理部36は、抽出された各点群データED41~ED44のそれぞれの重心座標を算出し、溶接ロボットMC1によりリペア溶接を実行させるための座標として算出された重心座標を出力する。具体的に、図14に示す例において、データ処理部36は、抽出された各点群データのそれぞれに基づいて、欠陥区間RCEにおける開始点RCE1の座標(X1,Y1,Z1)と、欠陥区間RCEにおける終了点RCE2の座標(X2,Y2,Z2)と、欠陥区間RCFにおける開始点RCF1の座標(X3,Y3,Z3)と、欠陥区間RCFにおける終了点RCF2の座標(X4,Y4,Z4)を算出する。
 なお、ここで算出される各点群データED41~ED44のそれぞれの重心座標は、各点群データED41~ED44に基づいて算出された重心座標に限定されず、各点群データED41~ED44の一部に基づいて算出された重心座標であってもよい。例えば、データ処理部36は、欠陥区間における開始点の座標を算出する場合、開始点の位置を含むk番目の窓ΔV[k]に対応する断面積S[k]の位置から溶接方向M3と同方向にΔD/2、あるいはΔD/3の区間(つまり、一部)の点群データの重心座標を算出してもよい。また、欠陥区間の終了点の座標の算出に用いられる切断面は、終了点の位置を含むk番目の窓ΔV[k]と連続する(k+1)番目の窓ΔV[k+1]に対応する断面積S[k+1]の位置から溶接方向M3と逆方向にΔD/2、あるいはΔD/3の区間(つまり、一部)の点群データの重心座標を算出してもよい。
 データ処理部36は、形状不一致データED4の欠陥判定および欠陥区間の判定(検出)の結果として、1つ目の欠陥区間RCEの情報(つまり、開始点RCE1および終了点RCE2の位置(座標)情報)と、2つ目の欠陥区間RCFの情報(つまり、開始点RCF1および終了点RCF2の位置(座標)情報)とを含む外観検査報告を生成し、図13に示す形状不一致データED4の欠陥区間の開始点および終了点の座標の算出処理を終了する。
 なお、欠陥区間の開始点および終了点の座標の算出方法は、上述の例に限定されない。以下、図15および図16を参照して、データ処理部36により実行される欠陥区間の開始点および終了点の座標における他の算出方法について説明する。図15は、実施の形態の変形例に係る欠陥区間における開始点および終了点の座標算出例を説明する図である。
 図15に示す例におけるデータ処理部36は、抽出された各点群データED41~ED44のそれぞれのうち溶接方向M3(つまり、溶接ロボットMC1の動作軌跡)からの距離が最も近い点と、溶接方向M3からの距離が最も遠い点とを抽出し、抽出されたこれら2点の中点の座標を欠陥区間における開始点または終了点の座標として算出する。
 具体的に、データ処理部36は、抽出された点群データED41のうち溶接方向M3からの距離が最も近い点SP11と、溶接方向M3からの距離が最も遠い点SP12とを抽出し、抽出されたこれら2点の中点の座標を欠陥区間RCEにおける開始点RCE3の座標(X5,Y5,Z5)として算出し、抽出された点群データED42のうち溶接方向M3からの距離が最も近い点SP21と、溶接方向M3からの距離が最も遠い点SP22とを抽出し、抽出されたこれら2点の中点の座標を欠陥区間RCEにおける終了点RCE4の座標(X6,Y6,Z6)として算出する。また、同様に、データ処理部36は、抽出された点群データED43のうち溶接方向M3からの距離が最も近い点SP31と、溶接方向M3からの距離が最も遠い点SP32とを抽出し、抽出されたこれら2点の中点の座標を欠陥区間RCFにおける開始点RCF3の座標(X7,Y7,Z7)として算出し、抽出された形状不一致データED4のうち溶接方向M3からの距離が最も近い点SP41と、溶接方向M3からの距離が最も遠い点SP42とを抽出し、抽出されたこれら2点の中点の座標を欠陥区間RCFにおける終了点RCF4の座標(X8,Y8,Z8)として算出する。
 データ処理部36は、形状不一致データED4の欠陥判定および欠陥区間の判定(検出)の結果として、1つ目の欠陥区間RCEの情報(つまり、開始点RCE3および終了点RCE4の位置(座標)情報)と、2つ目の欠陥区間RCFの情報(つまり、開始点RCF3および終了点RCF4の位置(座標)情報)とを含む外観検査報告を生成する。
 図16は、実施の形態の変形例に係る欠陥区間における開始点および終了点の座標算出例を説明する図である。なお、図16では、座標の算出方法について、欠陥区間RCEの開始点RCE5を含む窓ΔV[4]の点群データED41を拡大した拡大図EXを参照して詳細に説明し、他の点群データED42,ED43,ED44における拡大図の図示を省略する。
 図16に示す例におけるデータ処理部36は、形状不一致データED4のうち判定結果として得られた各開始点および各終了点のそれぞれの位置を含む各窓ΔV[k]の点群データをそれぞれ抽出する。データ処理部36は、抽出された窓ΔV[k]の点群データが欠陥区間における開始点の位置を含む場合、点群データに含まれる点のうちこの窓ΔV[k]に対応する切断面(つまり、窓ΔV[k]の体積の算出に用いられる断面積S[k]を形成する切断面(平面))に最も近い点の座標を欠陥区間における開始点の座標として算出する。また、データ処理部36は、窓ΔV[k]の点群データが欠陥区間における終了点の位置を含む場合、抽出された窓ΔV[k]の次の窓ΔV[k+1]に対応する切断面(つまり、窓ΔV[k+1]の体積の算出に用いられる断面積S[k+1]を形成する切断面(平面))に最も近い点の座標を欠陥区間における終了点の座標として算出する。言い換えると、データ処理部36は、欠陥区間における終了点の座標算出において、窓ΔV[k]の点群データが欠陥区間における終了点の位置を含む場合、点群データに含まれる点のうちこの窓ΔV[k]に対応する切断面(つまり、窓ΔV[k]の体積の算出に用いられる断面積S[k]を形成する切断面(平面))から最も遠い点の座標を欠陥区間における終了点の座標として算出する。
 図16に示す例における欠陥区間の開始点または終了点としての点の座標の算出式を(数式1)に示す。(数式1)は、切断面(平面)を示す方程式である。(数式2)は、開始点または終了点としての点と切断面との間の距離D0を算出する式である。なお、ここで切断面(平面)の法線ベクトルは、(A,B,C)とする。欠陥区間の開始点または終了点としての点の座標は、座標(X0,Y0,Z0)とする。
Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000002
 具体的に、データ処理部36は、抽出された点群データED41に含まれる複数の点EDDのそれぞれと、欠陥区間RCFの開始点RCE5を含む窓ΔV[4]に対応する切断面CS41との間の距離D11,D12,D13,D14,D15を算出し、算出された複数の点のそれぞれの距離D11~D15のうち切断面CS41との間の距離が最も近い(図16に示す例では、距離D11が最も小さい値とする)点の座標を欠陥区間RCEの開始点RCE5の座標(X9,Y9,Z9)として算出する。なお、図16に示す点群データED41における点EDDの符号は、一部の点のみに図示しており、他の点および開始点RCE5では省略している。同様に、複数の点EDDのそれぞれと切断面CS41との間の距離を示す符号は、一部の点EDDのみに図示し、他の点では省略している。
 データ処理部36は、抽出された点群データED42に含まれる複数の点(不図示)のそれぞれと、欠陥区間RCEの終了点RCE6を含む窓ΔV[6]と隣り合う次の窓ΔV[7]に対応する切断面CS42との間の距離を算出し、算出された複数の点のそれぞれの距離のうち切断面CS42との間の距離が最も近い点の座標を欠陥区間RCEの終了点RCE6の座標(X10,Y10,Z10)として算出する。なお、データ処理部36は、抽出された点群データED42に含まれる複数の点(不図示)のそれぞれと、欠陥区間RCEの終了点RCE6を含む窓ΔV[6]に対応する切断面との間の距離を算出し、算出された複数の点のそれぞれの距離のうち切断面との間の距離が最も遠い点の座標を欠陥区間RCEの終了点RCE6の座標(X10,Y10,Z10)として算出してもよい。
 同様に、データ処理部36は、抽出された点群データED43に含まれる複数の点(不図示)のそれぞれと、欠陥区間RCFの開始点RCF5を含む窓ΔV[8]に対応する切断面CS43との間の距離を算出し、算出された複数の点のそれぞれの距離のうち切断面CS43との間の距離が最も遠い点の座標を欠陥区間RCFの開始点RCF5の座標(X11,Y11,Z11)として算出する。また、データ処理部36は、抽出された点群データED44に含まれる複数の点(不図示)のそれぞれと、欠陥区間RCFの終了点RCF6を含む窓ΔV[9]と隣り合う次の窓ΔV[10]に対応する切断面CS44との間の距離を算出し、算出された複数の点のそれぞれの距離のうち切断面CS44との間の距離が最も近い点の座標を欠陥区間RCFの終了点RCF6の座標(X12,Y12,Z12)として算出する。
 データ処理部36は、形状不一致データED4の欠陥判定および欠陥区間の判定(検出)の結果として、1つ目の欠陥区間RCEの情報(つまり、開始点RCE5および終了点RCE6の位置(座標)情報)と、2つ目の欠陥区間RCFの情報(つまり、開始点RCF5および終了点RCF6の位置(座標)情報)とを含む外観検査報告を生成する。
 以上により、実施の形態および実施の形態の変形例に係るリペア溶接区間検出装置の一例としての検査制御装置3は、溶接により生産されたワークWkの溶接ビードに関する入力データ(例えば、点群データ)を入力し、入力データと良品ワークのマスタデータとを用いて、溶接ビードの形状に関する検査判定を実行し、検査判定の結果に基づいて、溶接ビードの形状不一致箇所を抽出した形状不一致データを生成し、溶接ビードの溶接方向に対して垂直な方向に形状不一致データをN(N:2以上の整数)等分したN個の窓に分割し、N個の窓のうち連続するi(i:1以上の整数)個の窓により構成されるシフト領域を設定し、シフト領域を構成するi個の窓を溶接方向に1個ずつシフトさせた(N-i+1)個のシフト領域の体積をそれぞれ算出し、算出された(N-i+1)個のそれぞれのシフト領域の体積のうち所定値以上の体積を有するシフト領域を溶接ビードの欠陥区間であると判定する。
 これにより、実施の形態および実施の形態の変形例に係る検査制御装置3は、基準長さ(つまり、間隔ΔD)あたりの形状不一致箇所の体積に基づいて、ユーザの品質基準を満たさず、リペア溶接すべき欠陥があるか否かをより的確に判定できるとともに、欠陥箇所と判定されたシフト領域に基づいて、リペア溶接すべき欠陥区間の開始点および終了点を検出できる。
 また、以上により、実施の形態および実施の形態の変形例に係る検査制御装置3は、N-i+1)個のそれぞれのシフト領域の体積の算出および欠陥区間の判定処理を、溶接方向に沿って(N-i+1)回順次実行する。これにより、実施の形態および実施の形態の変形例に係る検査制御装置3は、間隔ΔDごとにシフトさせながらシフト領域の欠陥判定を実行できるため、ユーザの品質基準を満たさず、リペア溶接すべき欠陥箇所の位置(つまり、欠陥区間)をより的確に検出できる。
 また、以上により、実施の形態および実施の形態の変形例に係る検査制御装置3は、欠陥区間であると判定した1個以上のシフト領域に含まれるi個の窓のうち1番目の窓を欠陥区間の開始点と判定し、i番目の窓を欠陥区間の終了点と判定する。この判定方法では、検査制御装置3は、例えば連続しない1個のシフト領域を欠陥と判定した場合にはこのシフト領域の全域を欠陥区間と判定(検出)し、連続する2個以上のシフト領域を欠陥と判定した場合には、これらの2個以上のシフト領域の全域を欠陥区間と検出する。これにより、実施の形態および実施の形態の変形例に係る検査制御装置3は、形状不一致箇所のうちリペア溶接すべき欠陥箇所の位置(つまり、欠陥区間)をより的確に判定するとともに、欠陥区間の検出漏れを抑制できる。
 また、以上により、実施の形態および実施の形態の変形例に係る検査制御装置3は、連続する2個以上のシフト領域が欠陥区間であると判定した場合、連続する2個以上のシフト領域のうち最初に欠陥区間と判定されたシフト領域を構成するi個の窓のうち1番目の窓を欠陥区間の開始点と判定し、最後に欠陥区間と判定されたシフト領域に含まれるi個の窓のうちi番目の窓を欠陥区間の終了点と判定する。これにより、実施の形態および実施の形態の変形例に係る検査制御装置3は、形状不一致箇所のうちリペア溶接すべき欠陥区間をより的確に検出できる。
 また、以上により、実施の形態および実施の形態の変形例に係る検査制御装置3は、N-i+1)個のシフト領域のうち1番目のシフト領域が欠陥区間と判定された場合、1番目のシフト領域を構成するi個の窓のうち1番目の窓を欠陥区間の開始点と判定する。これにより、実施の形態および実施の形態の変形例に係る検査制御装置3は、リペア溶接すべき欠陥の位置が特定しづらい1番目のシフト領域PS1において、1番目のシフト領域PS1にある欠陥を漏れなくリペア溶接するための欠陥区間を検出できる。
 また、以上により、実施の形態および実施の形態の変形例に係る検査制御装置3は、(N-i+1)個のシフト領域のうち(N-i+1)番目のシフト領域が欠陥区間と判定された場合、(N-i+1)番目のシフト領域を構成するi個の窓のうちi番目の窓を欠陥区間の終了点と判定する。これにより、実施の形態および実施の形態の変形例に係る検査制御装置3は、リペア溶接すべき欠陥の位置が特定しづらい(N-i+1)番目のシフト領域PS(N-i+1)にある欠陥を漏れなくリペア溶接するための欠陥区間を検出できる。
 また、以上により、実施の形態および実施の形態の変形例に係る検査制御装置3は、連続する2個以上のシフト領域が欠陥区間であると判定した場合、最初に欠陥区間であると判定されたシフト領域の中央位置を欠陥区間の開始点と判定し、最後に欠陥区間と判定されたシフト領域の中央位置を終了点と判定する。これにより、実施の形態および実施の形態の変形例に係る検査制御装置3は、形状不一致箇所のうちリペア溶接すべき欠陥区間をより的確に検出できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、(N-i+1)個のシフト領域のうちいずれかk番目のシフト領域が欠陥区間であると判定した場合、このシフト領域に含まれるいずれかの窓を欠陥区間の開始点とするとともに、シフト領域と連続する(k+1)番目のシフト領域の体積が第1閾値(所定値の一例)よりも小さい第2閾値(第2所定値の一例)以下であるか否かを判定し、(k+1)番目のシフト領域の体積が第2所定値以下である場合、(k+1)番目のシフト領域を構成するいずれかの窓を欠陥区間の終了点と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、リペア溶接される欠陥区間(リペア溶接区間)の判定において欠陥の開始を判定した場合、連続するシフト領域の欠陥判定において非欠陥(欠陥の終了)の判定基準を厳しくできる。つまり、検査制御装置3は、シフト領域の体積(言い換えると、溶接ビードの外観形状とマスタデータとの体積差分)が第2閾値以下を満たさない場合には欠陥区間が終了しないと判定するため、生成された欠陥区間の情報に基づいて実行されるリペア溶接においてリペア漏れの発生をより抑制できる欠陥区間を判定(検出)できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、(k+1)番目のシフト領域の体積が第2閾値(第2所定値の一例)以下でない場合、(k+1)番目のシフト領域と連続する(k+2)番目のシフト領域の体積が第2閾値以下であるか否かを判定し、算出されたいずれかのシフト領域の体積が第2閾値以下であると判定するまで判定を繰り返し実行して、第2閾値以下と判定された体積を有するシフト領域を構成するいずれかの窓を欠陥区間の終了点と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、連続するいずれかのシフト領域が非欠陥と判定されるまで非欠陥(欠陥の終了)判定基準をより厳しい第2閾値に設定したまま欠陥判定を継続できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、判定により、(N-i+1)番目のシフト領域の体積が第2閾値(第2所定値の一例)以下でないと判定した場合には、(N-i+1)番目のシフト領域を構成するいずれかの窓を欠陥区間の終了点と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、(N-i+1)番目のシフト領域を欠陥と判定しても、(N-i+1)番目のシフト領域PS(N-i+1)にある欠陥を漏れなくリペア溶接するための欠陥区間を検出できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、欠陥区間の開始点を含む窓(例えば、図14に示す開始点RCE1を含む窓ΔV[4])の重心座標(例えば、図14に示す座標(X1,Y1,Z1))を、開始点(例えば、図14に示す開始点RCE1)の座標と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、溶接ロボットMC1により実行される各欠陥区間のリペア溶接において各欠陥区間を溶接するための開始点の座標を算出できる。また、検査制御装置3は、各窓における形状不一致データ(点群データ)の重心座標に基づいて座標の算出を行うため、溶接トーチ400をより適切な位置に配置できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、開始点(例えば、図15に示す開始点RCE3)を含む窓のうち溶接ビードの溶接軌跡(例えば、図15に示す溶接方向M3が示す溶接ロボットMC1の動作軌跡)との間の距離が最も近い点(例えば、図15に示す点SP11)と最も遠い点(例えば、図15に示す点SP12)との中点の座標(例えば、図15に示す座標(X5,Y5,Z5))を、開始点の座標と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、溶接ロボットMC1により実行される各欠陥区間のリペア溶接において各欠陥区間を溶接するための開始点の座標を算出できるため、溶接トーチ400をより適切な位置に配置できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、欠陥区間の終了点を含む窓(例えば、図14に示す終了点RCE2を含む窓ΔV[6])の重心座標(例えば、図14に示す座標(X2,Y2,Z2))を、終了点(例えば、図14に示す終了点RCE2)の座標と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、溶接ロボットMC1により実行される各欠陥区間のリペア溶接において各欠陥区間を溶接するための終了点の座標を算出できる。また、検査制御装置3は、各窓における形状不一致データ(点群データ)の重心座標に基づいて座標の算出を行うため、溶接トーチ400をより適切な位置に配置できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、終了点(例えば、図15に示す終了点RCE4)を含む窓のうち溶接ビードの溶接軌跡(例えば、図15に示す溶接方向M3が示す溶接ロボットMC1の動作軌跡)との間の距離が最も近い点(例えば、図15に示す点SP21)と最も遠い点(例えば、図15に示す点SP22)との中点の座標(例えば、図15に示す座標(X6,Y6,Z6))を、終了点の座標と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、溶接ロボットMC1により実行される各欠陥区間のリペア溶接において各欠陥区間を溶接するための終了点の座標を算出できるため、溶接トーチ400をより適切な位置に配置できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、欠陥区間の開始点(例えば、図16に示す開始点RCE5)を含む窓に対応する形状不一致データの切断面(例えば、図16に示す窓ΔV[4]に対応する切断面CS41)との間の距離が最も近い点の座標(例えば、図16に示す座標(X9,Y9,Z9))を開始点の座標と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、溶接ロボットMC1により実行される各欠陥区間のリペア溶接において各欠陥区間を溶接するための開始点の座標を算出できるため、溶接トーチ400をより適切な位置に配置できる。
 また、以上により、実施の形態の変形例に係る検査制御装置3は、欠陥区間の終了点(例えば、図16に示す終了点RCE6)を含む窓と隣り合う次の窓に対応する形状不一致データの切断面(例えば、図16に示す窓ΔV[6]に対応する切断面CS42)との間の距離が最も近い点の座標(例えば、図16に示す座標(X10,Y10,Z10))を終了点の座標と判定する。これにより、実施の形態の変形例に係る検査制御装置3は、溶接ロボットMC1により実行される各欠陥区間のリペア溶接において各欠陥区間を溶接するための終了点の座標を算出できるため、溶接トーチ400をより適切な位置に配置できる。
 また、以上により、実施の形態および実施の形態の変形例に係る検査制御装置3は、欠陥区間と欠陥区間における体積の情報とを対応付けてリペア溶接の条件として出力する。これにより、実施の形態および実施の形態の変形例に係る検査制御装置3は、リペア溶接プログラムの作成に必要な溶接ワイヤ301の送給量、あるいは電源装置500の制御パラメータ(溶接電流値または溶接電圧値)等のリペア溶接の条件を、欠陥区間の情報と対応付けて出力できるため、検出された欠陥区間をより的確にリペア溶接可能なリペア溶接プログラムの生成を支援できる。
 以上、図面を参照しながら各種の実施の形態について説明したが、本開示はかかる例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例、修正例、置換例、付加例、削除例、均等例に想到し得ることは明らかであり、それらについても当然に本開示の技術的範囲に属するものと了解される。また、発明の趣旨を逸脱しない範囲において、上述した各種の実施の形態における各構成要素を任意に組み合わせてもよい。
 なお、本出願は、2020年10月28日出願の日本特許出願(特願2020-180663)に基づくものであり、その内容は本出願の中に参照として援用される。
 本開示は、本溶接により生産されたワークのリペア溶接区間をより的確に検出するリペア溶接区間検出方法およびリペア溶接区間検出装置として有用である。
1 上位装置
2 ロボット制御装置
3 検査制御装置
4 センサ
10,20,30 通信部
11,21,31 プロセッサ
12,22,32 メモリ
23 本溶接プログラム作成部
24 ロボット制御部
25 電源制御部
33 検査結果記憶部
34 判定閾値記憶部
35 形状検出制御部
36 データ処理部
37 リペア溶接プログラム作成部
100 溶接システム
200 マニピュレータ
300 ワイヤ送給装置
301 溶接ワイヤ
400 溶接トーチ
500 電源装置
CS1,CS2,CS41,CS42,CS43,CS44 切断面
MC1 溶接ロボット
MN1,MN2 モニタ
M1,M2,M3 溶接方向
RC2,RC3,RCA,RCB,RCC,RCD,RCE,RCF 欠陥区間
RC21,RC31,RCA1,RCB1,RCE1,RCE3,RCE5,RCF1,RCF3,RCF5 開始点
RC22,RC32,RCA2,RCB2,RCE2,RCE4,RCE6,RCF2,RCF4,RCF6 終了点
ST 外部ストレージ
UI1 入力インターフェース

Claims (18)

  1.  溶接により生産されたワークの溶接ビードに関する入力データを入力し、
     前記入力データと良品ワークのマスタデータとを用いて、前記溶接ビードの形状に関する検査判定を実行し、
     前記検査判定の結果に基づいて、前記溶接ビードの形状不一致箇所を抽出した形状不一致データを生成し、
     前記溶接ビードの溶接方向に対して垂直な方向に前記形状不一致データをN(N:2以上の整数)等分したN個の窓に分割し、
     前記N個の窓のうち連続するi(i:1以上の整数)個の窓により構成されるシフト領域を設定し、
     前記シフト領域を構成する前記i個の窓を前記溶接方向に1個ずつシフトさせた(N-i+1)個のシフト領域の体積をそれぞれ算出し、
     算出された前記(N-i+1)個のそれぞれのシフト領域の体積のうち所定値以上の体積を有するシフト領域を前記溶接ビードの欠陥区間であると判定する、
     リペア溶接区間検出方法。
  2.  前記(N-i+1)個のそれぞれのシフト領域の体積の算出および前記欠陥区間の判定処理は、前記溶接方向に沿って(N-i+1)回順次実行される、
     請求項1に記載のリペア溶接区間検出方法。
  3.  前記欠陥区間であると判定した前記シフト領域に含まれる前記i個の窓のうち1番目の窓を前記欠陥区間の開始点と判定し、i番目の窓を前記欠陥区間の終了点と判定する、
     請求項1に記載のリペア溶接区間検出方法。
  4.  連続する2個以上の前記シフト領域が前記欠陥区間であると判定した場合、連続する前記2個以上のシフト領域のうち最初に前記欠陥区間と判定されたシフト領域を構成する前記i個の窓のうち1番目の窓を前記欠陥区間の開始点と判定し、最後に前記欠陥区間と判定されたシフト領域に含まれる前記i個の窓のうちi番目の窓を前記欠陥区間の終了点と判定する、
     請求項2に記載のリペア溶接区間検出方法。
  5.  前記(N-i+1)個のシフト領域のうち1番目のシフト領域が前記欠陥区間と判定された場合、前記1番目のシフト領域を構成する前記i個の窓のうち1番目の窓を前記欠陥区間の開始点と判定する、
     請求項2に記載のリペア溶接区間検出方法。
  6.  前記(N-i+1)個のシフト領域のうち(N-i+1)番目のシフト領域が前記欠陥区間と判定された場合、前記(N-i+1)番目のシフト領域を構成する前記i個の窓のうちi番目の窓を前記欠陥区間の終了点と判定する、
     請求項2に記載のリペア溶接区間検出方法。
  7.  連続する2個以上の前記シフト領域が前記欠陥区間であると判定した場合、最初に前記欠陥区間であると判定されたシフト領域の中央位置を前記欠陥区間の開始点と判定し、最後に前記欠陥区間と判定された前記シフト領域の中央位置を終了点と判定する、
     請求項2に記載のリペア溶接区間検出方法。
  8.  前記(N-i+1)個のシフト領域のうちいずれかk(k:1以上の整数)番目のシフト領域が前記欠陥区間であると判定した場合、このシフト領域に含まれるいずれかの窓を前記欠陥区間の開始点とするとともに、前記シフト領域と連続する(k+1)番目のシフト領域の体積が前記所定値よりも小さい第2所定値以下であるか否かを判定し、
     前記(k+1)番目のシフト領域の体積が前記第2所定値以下である場合、前記(k+1)番目のシフト領域を構成するいずれかの窓を前記欠陥区間の終了点と判定する、
     請求項2に記載のリペア溶接区間検出方法。
  9.  前記(k+1)番目のシフト領域の体積が前記第2所定値以下でない場合、前記(k+1)番目のシフト領域と連続する(k+2)番目のシフト領域の体積が前記第2所定値以下であるか否かを判定し、
     算出されたいずれかのシフト領域の体積が前記第2所定値以下であると判定するまで前記判定を繰り返し実行して、前記第2所定値以下と判定された体積を有する前記シフト領域を構成するいずれかの窓を前記欠陥区間の前記終了点と判定する、
     請求項8に記載のリペア溶接区間検出方法。
  10.  前記判定により、(N-i+1)番目のシフト領域の体積が前記第2所定値以下でないと判定した場合には、前記(N-i+1)番目のシフト領域を構成するいずれかの窓を前記欠陥区間の前記終了点と判定する、
     請求項9に記載のリペア溶接区間検出方法。
  11.  前記欠陥区間の前記開始点を含む窓の重心座標を、前記開始点の座標と判定する、
     請求項3~5、および7のいずれか1項に記載のリペア溶接区間検出方法。
  12.  前記開始点を含む前記窓のうち前記溶接ビードの溶接軌跡との間の距離が最も近い点と最も遠い点との中点の座標を、前記開始点の座標と判定する、
     請求項11に記載のリペア溶接区間検出方法。
  13.  前記欠陥区間の前記終了点を含む窓の重心座標を、前記終了点の座標と判定する、
     請求項3~4、および6~10のいずれか1項に記載のリペア溶接区間検出方法。
  14.  前記終了点を含む前記窓のうち前記溶接ビードの溶接軌跡との間の距離が最も近い点と最も遠い点との中点の座標を、前記終了点の座標と判定する、
     請求項13に記載のリペア溶接区間検出方法。
  15.  前記欠陥区間の前記開始点を含む窓に対応する前記形状不一致データの切断面との間の距離が最も近い点の座標を前記開始点の座標と判定する、
     請求項3~5、および7のいずれか1項に記載のリペア溶接区間検出方法。
  16.  前記欠陥区間の前記終了点を含む窓と隣り合う次の窓に対応する前記形状不一致データの切断面との間の距離が最も近い点の座標を前記終了点の座標と判定する、
     請求項3~4、および7~10のいずれか1項に記載のリペア溶接区間検出方法。
  17.  前記欠陥区間と前記欠陥区間における前記体積の情報とを対応付けてリペア溶接の条件として出力する、
     請求項1に記載のリペア溶接区間検出方法。
  18.  溶接により生産されたワークの溶接ビードに関する入力データを入力する入力部と、
     前記入力データと良品ワークのマスタデータとを用いて前記溶接ビードの形状に関する検査判定を行う判定部と、
     前記判定部の検査判定結果に基づいて、前記溶接ビードの形状不一致箇所を抽出した形状不一致データを生成するデータ生成部と、
     前記溶接ビードの溶接方向に対して垂直な方向に前記形状不一致データをN(N:2以上の整数)等分したN個の窓に分割して、前記窓のそれぞれのうち連続するi(i:1以上の整数)個の窓により構成されるシフト領域を設定して、前記シフト領域を構成する前記i個の窓を前記溶接方向に1個ずつシフトさせた(N-i+1)個のそれぞれのシフト領域の体積をそれぞれ算出する算出部と、
     算出された前記(N-i+1)個のシフト領域の体積のうち所定値以上の体積を有するシフト領域を前記溶接ビードの欠陥区間であると判定して、前記欠陥区間の情報を生成する生成部と、を備える、
     リペア溶接区間検出装置。
PCT/JP2021/031207 2020-10-28 2021-08-25 リペア溶接区間検出方法およびリペア溶接区間検出装置 WO2022091543A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202180073599.XA CN116507445A (zh) 2020-10-28 2021-08-25 补焊段检测方法和补焊段检测装置
JP2022558875A JPWO2022091543A1 (ja) 2020-10-28 2021-08-25
US18/140,213 US20230264302A1 (en) 2020-10-28 2023-04-27 Repair welding segment detection method and repair welding segment detection device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020-180663 2020-10-28
JP2020180663 2020-10-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/140,213 Continuation US20230264302A1 (en) 2020-10-28 2023-04-27 Repair welding segment detection method and repair welding segment detection device

Publications (1)

Publication Number Publication Date
WO2022091543A1 true WO2022091543A1 (ja) 2022-05-05

Family

ID=81382276

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/031207 WO2022091543A1 (ja) 2020-10-28 2021-08-25 リペア溶接区間検出方法およびリペア溶接区間検出装置

Country Status (4)

Country Link
US (1) US20230264302A1 (ja)
JP (1) JPWO2022091543A1 (ja)
CN (1) CN116507445A (ja)
WO (1) WO2022091543A1 (ja)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000167666A (ja) * 1998-12-04 2000-06-20 Hitachi Ltd 自動溶接及び欠陥補修方法並びに自動溶接装置
KR100615047B1 (ko) * 2005-03-11 2006-08-22 목포해양대학교 산학협력단 용접부의 결함 자동 검측 방법
US20140348415A1 (en) * 2013-05-27 2014-11-27 ThinkSmart IT Solutions Private Limited System and method for identifying defects in welds by processing x-ray images
JP2015169473A (ja) * 2014-03-05 2015-09-28 株式会社キーエンス 形状検査装置及び形状検査方法
JP2017148841A (ja) * 2016-02-24 2017-08-31 株式会社東芝 溶接処理システム及び溶接不良検知方法
CN111185406A (zh) * 2019-09-03 2020-05-22 北京瑞诚联众科技有限公司 一种基于图像的焊点检测方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000167666A (ja) * 1998-12-04 2000-06-20 Hitachi Ltd 自動溶接及び欠陥補修方法並びに自動溶接装置
KR100615047B1 (ko) * 2005-03-11 2006-08-22 목포해양대학교 산학협력단 용접부의 결함 자동 검측 방법
US20140348415A1 (en) * 2013-05-27 2014-11-27 ThinkSmart IT Solutions Private Limited System and method for identifying defects in welds by processing x-ray images
JP2015169473A (ja) * 2014-03-05 2015-09-28 株式会社キーエンス 形状検査装置及び形状検査方法
JP2017148841A (ja) * 2016-02-24 2017-08-31 株式会社東芝 溶接処理システム及び溶接不良検知方法
CN111185406A (zh) * 2019-09-03 2020-05-22 北京瑞诚联众科技有限公司 一种基于图像的焊点检测方法

Also Published As

Publication number Publication date
CN116507445A (zh) 2023-07-28
US20230264302A1 (en) 2023-08-24
JPWO2022091543A1 (ja) 2022-05-05

Similar Documents

Publication Publication Date Title
WO2020262050A1 (ja) リペア溶接検査装置およびリペア溶接検査方法
JP2024056076A (ja) 制御装置、表示装置の制御方法およびプログラム
US20220297246A1 (en) Repair welding device and repair welding method
JP7369982B2 (ja) リペア溶接装置およびリペア溶接方法
JP7369981B2 (ja) リペア溶接システム、リペア溶接方法、検査装置およびロボット制御装置
US20220412728A1 (en) Bead appearance inspection device, bead appearance inspection method, program, and bead appearance inspection system
WO2022091543A1 (ja) リペア溶接区間検出方法およびリペア溶接区間検出装置
JP6990869B1 (ja) 外観検査方法および外観検査装置
WO2021177436A1 (ja) ビード外観検査装置、ビード外観検査方法、プログラムおよびビード外観検査システム
WO2021177361A1 (ja) ビード外観検査装置およびビード外観検査システム
JP7365623B1 (ja) オフライン教示装置およびオフライン教示システム
WO2022270578A1 (ja) オフライン教示装置およびオフライン教示方法
WO2023199620A1 (ja) ロボット制御装置およびオフライン教示システム
WO2021177435A1 (ja) ビード外観検査装置、ビード外観検査方法、プログラムおよびビード外観検査システム
JP2021062441A (ja) リペア溶接装置およびリペア溶接方法
JP2021137848A (ja) ビード外観検査装置およびビード外観検査システム
JP2021137849A (ja) ビード外観検査装置、ビード外観検査方法、ビード外観検査プログラムおよびビード外観検査システム
WO2022270580A1 (ja) オフライン教示装置およびオフライン教示方法
JP2021062442A (ja) リペア溶接装置およびリペア溶接方法
US20240176314A1 (en) Offline teaching device and offline teaching method
WO2023189086A1 (ja) オフライン教示装置およびオフライン教示方法
JP2021090977A (ja) リペア溶接装置およびリペア溶接方法
JP2021064142A (ja) 識別子管理方法、ロボット制御装置および統括制御装置

Legal Events

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

Ref document number: 21885662

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022558875

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 202180073599.X

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21885662

Country of ref document: EP

Kind code of ref document: A1