WO2020012600A1 - 画像データ保存システムおよび画像データ保存方法 - Google Patents

画像データ保存システムおよび画像データ保存方法 Download PDF

Info

Publication number
WO2020012600A1
WO2020012600A1 PCT/JP2018/026331 JP2018026331W WO2020012600A1 WO 2020012600 A1 WO2020012600 A1 WO 2020012600A1 JP 2018026331 W JP2018026331 W JP 2018026331W WO 2020012600 A1 WO2020012600 A1 WO 2020012600A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
trial
unit
image data
data storage
Prior art date
Application number
PCT/JP2018/026331
Other languages
English (en)
French (fr)
Inventor
雅史 天野
勇太 横井
恵市 小野
Original Assignee
株式会社Fuji
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 株式会社Fuji filed Critical 株式会社Fuji
Priority to PCT/JP2018/026331 priority Critical patent/WO2020012600A1/ja
Priority to JP2020529914A priority patent/JP7104786B2/ja
Publication of WO2020012600A1 publication Critical patent/WO2020012600A1/ja

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K13/00Apparatus or processes specially adapted for manufacturing or adjusting assemblages of electric components
    • H05K13/08Monitoring manufacture of assemblages

Definitions

  • This specification relates to an image data storage system and a method for storing image data, which compresses and stores image data obtained by a substrate working machine.
  • the appearance inspection system disclosed in Patent Document 1 includes an image detection device that detects an image to be inspected, and an information processing device that processes the image to determine whether there is an abnormality. Further, the embodiment describes a technical example related to image compression. That is, the inspection condition generating apparatus creates an image obtained by compressing the image transmitted from the image detecting apparatus at several compression ratios, performs image processing on each image, compares each image processing result with the reference result, Determine the compression ratio.
  • the component mounting machine disclosed in Patent Literature 2 includes an imaging unit that captures an image of a component collected by a collection nozzle and obtains image data, and a condition for determining whether a situation at the time of imaging is highly important.
  • the image processing apparatus includes a determination unit and a storage control unit that stores image data by selectively using lossless compression and irreversible compression according to the degree of importance. According to this, the image data can be saved in a mode suitable for the use after saving, while reducing the load on the storage capacity and the like of the storage unit.
  • the lower the image quality the lower the reproducibility when performing image processing. That is, when image processing is again performed on image data that has been stored with irreversible compression at a low image quality, the result does not match the original processing result, and the significance of storage is lost.
  • the image quality at the time of storage that can ensure the reproducibility of image processing generally depends on the type of imaging target, imaging conditions, and the like, and thus it is difficult to determine uniformly.
  • the present specification solves the problem of providing an image data storage system and an image data storage method capable of securing reproducibility of image processing for stored image data while reducing transmission load of image data and saving storage capacity. Tasks to be done.
  • the present specification describes an image obtained by performing a predetermined image processing on image data acquired by a board-to-board working machine that performs a predetermined board-to-board operation on a board, or lossless-compressed data obtained by reversibly compressing the image data to obtain a processing result.
  • a processing unit an irreversible compression unit for irreversibly compressing the image data with a set image quality to generate irreversible compressed data, and performing the image processing on the irreversible compressed data to obtain a trial processing result
  • An image data storage system including a data storage unit that stores irreversibly compressed data is disclosed.
  • the present specification performs predetermined image processing on image data acquired by a board-to-board working machine that performs a predetermined board-to-board operation on a board, or lossless-compressed data obtained by reversibly compressing the image data, and processing results.
  • An image processing step of obtaining an irreversible compression step of irreversibly compressing the image data with a set image quality to generate irreversible compressed data, and a trial processing result of trying the image processing on the irreversibly compressed data.
  • FIG. 2 is a configuration diagram illustrating an example of an overall configuration of a work line for substrates including an image data storage system.
  • FIG. 2 is a block diagram illustrating a functional configuration of the image data storage system according to the first embodiment.
  • FIG. 9 is an operation flow diagram illustrating an operation of the component mounting machine that forms the image data storage system.
  • FIG. 9 is an operation flow diagram illustrating an operation of the line management device constituting the image data storage system. It is a block diagram showing the functional composition of the image data storage system of a 2nd embodiment.
  • FIG. 11 is an operation flow diagram illustrating an operation of a line management device constituting the image data storage system according to the second embodiment. It is a block diagram showing the functional composition of the image data storage system of a 3rd embodiment. It is a block diagram showing the functional composition of the image data storage system of a 4th embodiment.
  • FIG. 1 is a configuration diagram showing an overall configuration example of a work line 9 for a substrate including the image data storage system 1.
  • the board-to-board working line 9 includes a plurality of board-to-board working machines arranged in a line, and a management support device that manages and supports the board-to-board working machines.
  • a solder printing machine 91, a print inspection machine 92, a component mounting machine group 93, a reflow machine 95, and a visual inspection machine 96 which are board-to-board working machines, are arranged side by side.
  • the component mounting machine group 93 includes a plurality of component mounting machines 94.
  • a line management device 97, a production program server 98, and a production information server 99 are provided as management support devices. Between the board working machine and the management support device, and between the management support devices, data transmission is possible using the local LAN 9A.
  • the substrate is carried into the solder printing machine 91 at the uppermost stream, is sequentially conveyed to the downstream side by a substrate conveying device (not shown, and not shown), and is carried out from the outermost visual inspection machine 96.
  • the substrate is subjected to a predetermined substrate operation by each substrate operation machine. The outline of the operation of the respective board working machines for the board will be described below.
  • the solder printing machine 91 prints creamy solder on the electrode pads at the mounting positions of the components on the board.
  • the print inspection machine 92 inspects the printing state of the creamy solder.
  • the print inspection machine 92 images the upper surface of the substrate using an inspection camera, and acquires solder inspection image data. Further, the print inspection machine 92 performs a predetermined image processing on the solder inspection image data to obtain a processing result, and determines whether or not the inspection is successful based on the processing result.
  • the plurality of component mounting machines 94 share a mounting operation of mounting components on the board.
  • the component mounting machine 94 captures an image of the vicinity of the position mark of the board positioned using the board camera, and acquires image data. Further, the component mounting machine 94 performs predetermined image processing on the image data, and obtains the position of the board as a processing result.
  • the component mounting machine 94 captures an image of a component held by a suction nozzle (a typical example of a component mounting tool) using a component camera, and acquires image data. Further, the component mounting machine 94 performs predetermined image processing on the image data, and obtains a component holding posture as a processing result. By accurately determining the position of the board and the holding posture of the component, the accuracy of the mounting position of the component is maintained.
  • the reflow machine 95 heats, melts, and cools and solidifies the creamy solder to ensure the soldering of the mounted components.
  • the appearance inspection machine 96 inspects the appearance of the components arranged on the board.
  • the appearance inspection machine 96 captures an image of the component mounted on the upper surface of the substrate using an inspection camera, and acquires appearance inspection image data. Further, the appearance inspection machine 96 performs predetermined image processing on the appearance inspection image data to obtain a processing result, and determines pass / fail of the inspection based on the processing result.
  • the overall configuration of the board-to-board working line 9 can be changed as appropriate. For example, the number of component mounting machines 94 can be increased or decreased, or another type of board-to-board working machine can be added.
  • the production program server 98 stores a large number of production programs that are different for each type of board.
  • the production program describes the detailed specifications of the substrate work performed by each substrate work machine.
  • the description of the component mounting machine 94 in the production program includes data such as the type of component to be mounted, the position at which the component is supplied, the mounting coordinate value on the board, the mounting order, and the type of component mounting tool to be used.
  • the production information server 99 stores various kinds of production information required for producing a substrate.
  • production information called component data includes information on a shape that differs for each type of component, information on electrical characteristic values, information on a method of handling the component, and the like.
  • the line management device 97 mainly manages the currently-performing work on the substrate. First, the line management device 97 downloads the production program of the board from the production program server 98 and downloads necessary production information from the production information server 99. Next, the line management device 97 transmits each production program to the board working machine to start the board working. Further, the line management device 97 receives information on the work progress status of the board working machine at any time, and issues a command to the board working machine as needed.
  • the line management device 97, the production program server 98, and the production information server 99 are examples of other machines connected to the board working machine so as to be able to transmit data.
  • FIG. 2 is a block diagram illustrating a functional configuration of the image data storage system 1 according to the first embodiment.
  • the components of the image data storage system 1 are separately provided in a component mounting machine 94 and a separate line management device 97. That is, the component mounting machine 94 includes the image processing unit 2.
  • the line management device 97 includes a lossy compression unit 3, an image processing trial unit 4, a trial determination unit 5, a trial repeat unit 6, and a data storage unit 7.
  • the line management device 97 includes a temporary storage device 9B and a large-capacity data storage device 9C.
  • the irreversible compression unit 3, the image processing trial unit 4, the trial determination unit 5, and the trial repeat unit 6 perform various arithmetic processes described later using the temporary storage device 9B.
  • the data storage unit 7 transfers and stores the finally selected image data from the temporary storage device 9B to the data storage device 9C based on the result of the arithmetic processing.
  • the image processing unit 2 performs a predetermined image processing on the image data acquired by the component mounting machine 94 to obtain a processing result.
  • the image data is image data of an image of a component held by the component mounting tool, and may be image data of an image near a position mark on a board.
  • the target of the image processing is not limited to the original image data, but may be losslessly compressed data obtained by losslessly compressing the original image data.
  • the lossless compressed data is data having a reduced data size while including all information included in the original image data. Therefore, the same processing result can be obtained from both the original image data and the lossless compressed data.
  • the image processing unit 2 transfers the original image data and the processing result to the lossy compression unit 3 of the line management device 97.
  • the image processing unit 2 may transfer lossless compressed data instead of the original image data. In this case, the effect of reducing the transmission load of the image data is produced, but on the other hand, it is necessary to perform the lossless compression.
  • the irreversible compression unit 3 irreversibly compresses the image data received from the image processing unit 2 with the set image quality to create irreversible compressed data.
  • a JPG method JPEG method
  • the irreversible compression method may be a method such as JPEG 2000, JPEG XR, or WebP.
  • the image quality is represented by 0 to 100%, and in the first embodiment, a minimum step size of 5% is used. Also, 80% is adopted as the initial setting value of the image quality. The step size and the initial setting value of the image quality can be freely changed.
  • the image processing trial unit 4 performs image processing on the irreversible compressed data created by the irreversible compression unit 3 to obtain a trial processing result.
  • the image processing trial unit 4 has the same image processing program as the image processing unit 2 and executes it.
  • the trial determination unit 5 compares the trial processing result obtained by the image processing trial unit 4 with the processing result received from the image processing unit 2 to determine whether or not they match. There is an allowable error in the determination of coincidence. For example, when obtaining the holding posture of a component as a processing result of image data, allowable errors are set in the vertical dimension, the horizontal dimension, the rotation angle, and the like of the component. When an error occurs in the image processing, an error code indicating the content of the error is included in the processing result and the trial processing result. If the error codes are different, the trial determination unit 5 determines that the processing result does not match the trial processing result.
  • the trial repetition unit 6 changes and sets the image quality based on the determination result of the trial determination unit 5.
  • the trial repetition unit 6 changes the image quality to low when the result of the match is obtained, and changes the image quality to high when the result of the mismatch is obtained. Further, the trial repetition unit 6 operates the lossy compression unit 3, the image processing trial unit 4, and the trial determination unit 5 again using the changed and set image quality.
  • the trial repetition unit 6 initially sets the quality change width of the image quality to be large, and gradually sets the quality change width to be small. Thus, an appropriate image quality can be determined with a small number of repetitions. Specifically, the quality change width is set to three steps of 20% of the maximum width, 10% of the medium width, and 5% of the minimum width.
  • the trial repetition unit 6 has an upper limit on the number of repetitions for changing and setting the image quality. The minimum value of the quality change width and the upper limit of the number of repetitions are set on condition that the data storage operation of the image data storage system 1 is not delayed with respect to the mounting work of the component mounting machine 94.
  • the data storage unit 7 selects the irreversible compressed data of the lowest image quality whose trial processing result matches the processing result during the repetition, and stores the data in the data storage device 9C. In addition, the data storage unit 7 stores the reversible compressed data when all the trial processing results do not match the processing results during the repetition.
  • FIG. 3 is an operation flow diagram showing the operation of the component mounting machine 94 constituting the image data storage system 1.
  • FIG. 4 is an operation flow chart showing the operation of the line management device 97 constituting the image data storage system 1.
  • step S1 of FIG. 3 the component mounting machine 94 carries in the board.
  • the position of the substrate is obtained from image data obtained by imaging the vicinity of the position mark of the positioned substrate.
  • the first suction mounting cycle is set.
  • the suction mounting cycle is a series of operation procedures in which a suction nozzle sucks a component, moves to a component camera, captures an image, moves to a board, and mounts the component.
  • a suction operation of the component by the suction nozzle is performed.
  • an imaging operation is performed by the component camera to obtain image data.
  • the image processing unit 2 performs predetermined image processing on the image data, and obtains a component holding posture as a processing result. This processing result is used in step S6, that is, the component mounting operation by the suction nozzle is performed.
  • the image processing unit 2 transfers the image data and the processing result to the lossy compression unit 3.
  • step S8 it is determined whether or not all the suction mounting cycles have been completed.
  • step S9 when the process has not been completed, the next suction mounting cycle is set. Thereafter, the execution of the operation flow is returned to step S3. Steps S3 to S9 are repeated, and when all the suction mounting cycles are completed, the execution of the operation flow proceeds to step S10.
  • step S10 the component mounting machine 94 unloads the board on which the mounting operation has been completed.
  • step S11 it is determined whether or not the number of substrates for which the mounting operation has been completed has reached a predetermined number of products. If not, execution of the operation flow is returned to step S1. Thereafter, steps S1 to S11 are repeated, and when a predetermined number of prints is reached, the operation flow ends.
  • step S20 in FIG. 4 the line management device 97 receives the image data and the processing result from the image processing unit 2.
  • the irreversible compression section 3 irreversibly compresses the image data with the image quality of the initial set value of 80% to create irreversible compressed data.
  • the image processing trial unit 4 attempts image processing on the irreversible compressed data with an image quality of 80% to obtain a trial processing result.
  • the image quality is displayed in parentheses after the trial processing result, for example, the trial processing result (80%).
  • the trial determination section 5 compares the trial processing result (80%) with the processing result and determines whether or not they match.
  • step S34 the trial repetition unit 6 determines whether or not an appropriate image quality has been found.
  • an appropriate image quality cannot be determined regardless of whether the trial processing result (80%) matches the processing result. Therefore, the execution of the operation flow branches to step S35.
  • step S35 the trial repetition unit 6 determines whether the setting for changing the image quality is possible. Specifically, the trial repetition unit 6 determines that the change setting is possible when the number of repetitions does not reach the upper limit number and a new trial condition is obtained by changing the quality change width.
  • step S36 when the change setting is possible, the trial repetition unit 6 performs the change setting of the image quality.
  • the trial repetition unit 6 lowers the image quality of the initial setting value by 80% of the maximum width by 20% of the maximum width. 60% is the next trial condition. If the trial processing result (80%) does not match the processing result, the trial repeating unit 6 increases the image quality of 80% of the initial setting value by 20% of the maximum width to increase the image quality of 100%. The following trial conditions are used. Thereafter, the execution of the operation flow is returned to step S31.
  • the irreversible compression unit 3 irreversibly compresses the image data with the image quality of 60% or the image quality of 100% to create the irreversible compressed data.
  • steps S31 to S36 are repeated for the sequentially changed image quality.
  • the first trial processing result (80%) does not match the processing result
  • the second trial processing result (100%) of 100% image quality is compared with the processing result.
  • An image quality of 90% is set as a trial condition.
  • the result of the third trial processing (90%) is compared with the processing result, and if they match, the image quality of 85% is set as the fourth trial condition.
  • the result of the fourth trial processing (85%) is compared with the processing result, a new trial condition cannot be obtained regardless of whether they match.
  • the appropriate image quality is 85%, and if not, the appropriate image quality is 90%. .
  • step S34 the data storage unit 7 selects the irreversible compressed data having the lowest image quality whose trial processing result matches the processing result, and stores it in the data storage device 9C.
  • the data storage unit 7 stores the lossless compressed data when the trial processing result (100%) does not match the processing result.
  • predetermined image processing is tried on irreversibly compressed data obtained by irreversibly compressing original image data, and the trial processing result matches the processing result of the original image data.
  • Irreversibly compressed data is stored when the Therefore, the reproducibility of the image processing for the stored irreversibly compressed image data can be ensured.
  • by performing irreversible compression it is possible to reduce the transmission load of image data and save storage capacity.
  • FIG. 5 is a block diagram illustrating a functional configuration of the image data storage system 1A according to the second embodiment. As shown, in the second embodiment, a designated compression unit 35 and an image quality setting unit 8 are added to the line management device 97 side.
  • the functional configuration and operation of the component mounting machine 94 are almost the same as those of the first embodiment.
  • the image processing unit 2 transfers the additional information to the irreversible compression unit 3 in addition to the image data and the processing result.
  • the supplementary information includes information on the type of imaging target and information on imaging conditions when acquiring image data, and information on the data size of image data when performing image processing.
  • the information on the type of the imaging target represents conditions such as the types of components and boards.
  • the information on the imaging conditions represents conditions such as the shutter speed, aperture, and illumination of the component camera and the board camera. These conditions greatly affect the results of trial processing when image processing is attempted on lossy compressed data.
  • the types of components and substrates and the imaging conditions determine the appropriate image quality when storing. For example, a somewhat lower image quality may be set for a component having a simple external shape. However, unless a high image quality is set for a component having a complicated outer shape, the trial processing result and the processing result do not match. Also, if the illumination is dark, it is necessary to set a higher image quality.
  • the data size of the image data when performing image processing is not constant.For example, in order to obtain the holding posture of a small component, image data over the entire imaging field of view of the component camera is not necessary, and image data of a partial field of view is not required. Used. For image data with a small data size, the effect of saving storage capacity is limited even if lossy compression is performed.
  • the above-described supplementary information is also stored and used for setting an initial setting value of image quality or for omitting an image processing trial.
  • the image quality setting unit 8 determines at least one of the type of the imaging target and the determination result of the trial determination unit with respect to the image data acquired in the past, and the image quality of the stored lossy compressed data or the stored lossless compressed data.
  • the image quality at the time when the lossy compression unit 3 lossy compresses the image data acquired this time is set based on the correspondence relationship with the image data.
  • the image quality setting unit 8 sets an initial setting value of the image quality of the irreversible compression to be performed this time with reference to the past case in which the image data is stored.
  • the image quality setting unit 8 searches the data storage device 9C for past cases that are equal to or close to the incidental information of the image data acquired this time. If there is such a past case, the image quality setting unit 8 sets the image quality of the irreversibly compressed data stored at that time as an initial setting value of the current image quality. If there is no such past case, the image quality setting unit 8 sets the initial value of the current image quality to a default value of 80%.
  • the supplementary information at this time is “image data of component type P”, and the image quality setting unit 8 searches the past case and stores “image data of component type P as irreversible compressed data with image quality of 90%”. Have been done. " In this case, the image quality setting unit 8 sets the initial value of the current image quality to 90% instead of the default value of 80%. For example, when the current processing result is “error code E1”, the image quality setting unit 8 determines the image quality of the irreversible compressed data having the same “error code E1” in the past cases as the current image quality. Is the initial setting. Thereby, the number of repetitions of the trial repetition unit 6 is reduced, so that the possibility that the repetition is terminated can be reduced. That is, appropriate image quality can be obtained more reliably.
  • the irreversible compression unit 3 selects image data to be irreversibly compressed with the set image quality, and specifies lossless compression or irreversible compression with a fixed image quality for the unselected image data. I do. Specifically, the irreversible compression unit 3 selects image data exceeding a predetermined data size, and specifies lossless compression for image data having a data size or less. As another method for image data having a data size or less, the irreversible compression unit 3 may specify irreversible compression with 100% image quality.
  • the irreversible compression unit 3 sends unselected image data, in other words, image data of a data size or less to the designated compression unit 35 as it is.
  • the designated compression unit 35 performs the designated compression on the image data not selected by the lossy compression unit 3, creates lossless compression data or lossy compression data, and sends the data to the data storage unit 7.
  • the data storage unit 7 stores the received losslessly compressed data or lossyly compressed data in the data storage device 9C. As described above, for image data having a data size equal to or less than the data size at which the effect is limited, the repetition of the image processing trial can be omitted, and the data processing procedure can be simplified.
  • FIG. 6 is an operation flow chart showing the operation of the line management device 97 constituting the image data storage system 1A of the second embodiment.
  • the line management device 97 receives image data, a processing result, and additional information from the image processing unit 2.
  • the irreversible compression unit 3 refers to the accompanying information to determine whether or not the image processing trial is to be performed. In other words, the lossy compression unit 3 determines that the image data is to be subjected to the image processing trial when the image data exceeds a predetermined data size.
  • the image quality setting unit 8 searches for past cases that are the same as or close to the current case, and determines the presence or absence of the past cases.
  • step S24 when there is the past case, the image quality setting unit 8 sets an initial setting value of the image quality based on the past case. Further, in step S25 when there is no past case, the image quality setting unit 8 sets the initial setting value of the image quality to a default of 80%. After steps S24 and S25 have been executed, steps S31 to S36 are executed as in the first embodiment. Subsequently, in step S37, the data storage unit 7 sets the irreversible compressed data of appropriate image quality and the accompanying information as a set and stores them in the data storage device 9C.
  • step S22 if the target is not the target of the image processing trial, the operation flow is branched to step S26.
  • the irreversible compression unit 3 specifies a compression method for irreversible compression or irreversible compression with fixed image quality for image data that is not the target of the image processing trial.
  • step S27 the designated compression unit 35 performs compression by the designated compression method. Thereafter, the execution of the operation flow is joined to step S37.
  • FIG. 7 is a block diagram illustrating a functional configuration of an image data storage system 1B according to the third embodiment. As illustrated, in the third embodiment, the components are concentrated on the component mounting machine 94 side, and the data management device 9C is simply used on the line management device 97 side.
  • the component mounting machine 94 has a first CPU core 941 and a second CPU core 942 that can operate in parallel. That is, the component mounting machine 94 has substantially two CPUs.
  • the first CPU core 941 controls a mounting operation including an image data obtaining operation.
  • the image processing unit 2 is provided in the first CPU core 941.
  • the irreversible compression unit 3, the image processing trial unit 4, the trial determination unit 5, the trial repeat unit 6, and the data storage unit 7 are provided in the second CPU core 942.
  • the functions and operations of each unit are the same as those in the first embodiment, and a description thereof will not be repeated.
  • the image data storage system 1B of the third embodiment does not hinder the mounting work of the component mounting machine 94. Further, in the image data storage system 1B of the third embodiment, the same effects as in the first embodiment can be obtained.
  • FIG. 8 is a block diagram illustrating a functional configuration of an image data storage system 1C according to the fourth embodiment.
  • the working machine for substrates is changed. That is, the image processing unit 2 is provided in the print inspection machine 92 or the appearance inspection machine 96.
  • the image data storage system 1C stores the solder inspection image data or the appearance inspection image data.
  • the lossy compression section 3, the image processing trial section 4, the trial determination section 5, the trial repeat section 6, and the data storage section 7 are provided in the production program server 98 or the production information server 99.
  • the image data storage system is not limited to this, and may be configured to be divided into a board working machine and an optional machine connected to the board working machine so as to be able to transmit data.
  • the irreversible compression unit 3 may be provided on the side of the work machine for the substrate.
  • the irreversible compressed data is transferred from the board working machine to the line management device 97.
  • the trial repetition unit 6 instructs the irreversible compression unit 3 of the board working machine to transfer irreversible compressed data of different image quality.
  • the upper limit of the number of repetitions and the minimum width of the quality change range described in the first embodiment may be either one or neither. However, it is necessary to stop the arithmetic processing on the current image data before the next image data is obtained.
  • the first to fourth embodiments can have various other applications and modifications.

Landscapes

  • Engineering & Computer Science (AREA)
  • Immunology (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Biochemistry (AREA)
  • Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Manufacturing & Machinery (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Supply And Installment Of Electrical Components (AREA)

Abstract

画像データ保存システムは、基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理部と、前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮部と、前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行部と、前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定部と、前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存部と、を備える。

Description

画像データ保存システムおよび画像データ保存方法
 本明細書は、対基板作業機で取得された画像データを圧縮して保存する画像データ保存システム、および画像データ保存方法に関する。
 プリント配線が施された基板に対基板作業を実施して、回路基板を量産する技術が普及している。多くの場合、対基板作業を実施する複数種類の対基板作業機が列設されて対基板作業ラインが構築される。対基板作業機の代表例として、部品の装着作業を実施する部品装着機や、基板の検査作業を実施する基板検査機などがある。これらの対基板作業機は、カメラを用いて基板や部品を撮像し、取得した画像データを画像処理し、処理結果にしたがって対基板作業を進める。そして、基板の生産時に発生し得るエラーの原因究明やトレーサビリティのために、画像データが保存される。この種の画像データの利用に関する技術例が特許文献1、2に開示されている。
 特許文献1に開示された外観検査システムは、検査対象の画像を検出する画像検出装置と、画像を処理して異常の有無を判定する情報処理装置と、を備える。さらに、実施形態には、画像圧縮に関する技術例が記載されている。すなわち、検査条件発生装置は、画像検出装置から送信された画像をいくつかの圧縮率で圧縮した画像を作成し、それぞれについて画像処理し、各画像処理結果を基準結果と比較して、適切な圧縮率を決定する。
 また、特許文献2に開示された部品装着機は、採取ノズルに採取された部品を撮像して画像データを取得する撮像部と、撮像時の状況の重要性が高いか否かを判定する条件判定部と、重要性の高低に応じて可逆圧縮および非可逆圧縮を使い分けて画像データを保存する保存制御部と、を有する。これによれば、記憶部の記憶容量等に対する負荷を低減しつつ、保存後の用途に適した態様で画像データを保存できる、とされている。
特開2004-226328号公報 国際公開第2017/216950号
 ところで、画像データを保存する記憶容量の節約等を目的として非可逆圧縮を行う場合に、画像品質が高いほどデータサイズが大きくなって、画像圧縮の効果が減少する。一方、画像品質が低いほど画像処理を行ったときの再現性が低下する。つまり、低い画像品質で非可逆圧縮して保存した画像データに再度の画像処理を行ったときに、当初の処理結果と一致しなくなり、保存の意義がなくなる。ここで、画像処理の再現性を担保できる保存時の画像品質は、撮像対象の種類や撮像条件などに依存するのが一般的であるため、一律に定めることが難しい。
 本明細書では、画像データの伝送負荷軽減と記憶容量の節約を実現しつつ、保存した画像データに対する画像処理の再現性を確保できる画像データ保存システム、および画像データ保存方法を提供することを解決すべき課題とする。
 本明細書は、基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理部と、前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮部と、前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行部と、前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定部と、前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存部と、を備える画像データ保存システムを開示する。
 また、本明細書は、基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理ステップと、前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮ステップと、前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行ステップと、前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定ステップと、前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存ステップと、を備える画像データ保存方法を開示する。
 本明細書で開示する画像データ保存システムや画像データ保存方法では、元の画像データを非可逆圧縮した非可逆圧縮データに所定の画像処理を試行して、試行処理結果が元の画像データの処理結果に一致している場合に、この非可逆圧縮データを保存する。したがって、保存した非可逆圧縮の画像データに対する画像処理の再現性を確保できる。加えて、非可逆圧縮を行うことにより、画像データの伝送負荷軽減と記憶容量の節約を実現できる。
画像データ保存システムを含む対基板作業ラインの全体構成例を示す構成図である。 第1実施形態の画像データ保存システムの機能構成を示すブロック図である。 画像データ保存システムを構成する部品装着機の側の動作を示す動作フローの図である。 画像データ保存システムを構成するライン管理装置の側の動作を示す動作フローの図である。 第2実施形態の画像データ保存システムの機能構成を示すブロック図である。 第2実施形態の画像データ保存システムを構成するライン管理装置の側の動作を示す動作フローの図である。 第3実施形態の画像データ保存システムの機能構成を示すブロック図である。 第4実施形態の画像データ保存システムの機能構成を示すブロック図である。
 1.対基板作業ライン9の全体構成例
 まず、第1実施形態の画像データ保存システム1を含む対基板作業ライン9の全体構成例について説明する。図1は、画像データ保存システム1を含む対基板作業ライン9の全体構成例を示す構成図である。対基板作業ライン9は、列設された複数の対基板作業機、および対基板作業機を管理および支援する管理支援装置などで構成される。図1に示される全体構成例において、対基板作業機である半田印刷機91、印刷検査機92、部品装着機群93、リフロー機95、および外観検査機96が列設されている。部品装着機群93は、複数の部品装着機94で構成される。
 また、管理支援装置として、ライン管理装置97、生産プログラムサーバー98、および生産情報サーバー99が設けられる。対基板作業機と管理支援装置との間、および管理支援装置の相互間は、構内LAN9Aを用いて、データ伝送可能に接続される。基板は、最上流の半田印刷機91に搬入され、基板搬送装置(図示略、符号略)によって順番に下流側へ搬送され、最下流の外観検査機96から搬出される。基板は、それぞれの対基板作業機で所定の対基板作業が施される。それぞれの対基板作業機の対基板作業の概要について、以降で説明する。
 半田印刷機91は、基板上の部品の装着位置である電極パッドにクリーム状半田を印刷する。印刷検査機92は、クリーム状半田の印刷状態を検査する。印刷検査機92は、検査用カメラを用いて基板の上面を撮像し、半田検査画像データを取得する。さらに、印刷検査機92は、半田検査画像データに所定の画像処理を行って処理結果を求め、処理結果に基づいて検査の合否を判定する。
 複数の部品装着機94は、基板に部品を装着する装着作業を分担する。部品装着機94は、基板カメラを用いて位置決めされた基板の位置マークの付近を撮像し、画像データを取得する。さらに、部品装着機94は、画像データに所定の画像処理を行い、処理結果として基板の位置を求める。また、部品装着機94は、部品カメラを用いて吸着ノズル(部品装着具の代表例)に保持された部品を撮像し、画像データを取得する。さらに、部品装着機94は、画像データに所定の画像処理を行い、処理結果として部品の保持姿勢を求める。基板の位置および部品の保持姿勢が精度よく求められることにより、部品の装着位置の精度が維持される。
 リフロー機95は、クリーム状半田を加熱溶融および冷却固化することにより、装着された部品の半田付けを確かなものとする。外観検査機96は、基板上に並ぶ部品の外観を検査する。外観検査機96は、検査用カメラを用いて基板の上面に装着された部品を撮像し、外観検査画像データを取得する。さらに、外観検査機96は、外観検査画像データに所定の画像処理を行って処理結果を求め、処理結果に基づいて検査の合否を判定する。なお、対基板作業ライン9の全体構成は、適宜変更することができ、例えば、部品装着機94の台数を増減したり、別種の対基板作業機を追加したりできる。
 生産プログラムサーバー98は、基板の種類ごとに異なる多数の生産プログラムを記憶している。生産プログラムは、それぞれの対基板作業機が実施する対基板作業の詳細仕様を記述したものである。例えば、生産プログラムの部品装着機94に関する記述は、装着する部品の種類、部品の供給を受ける位置、基板上の装着座標値、装着順序、および使用する部品装着具の種類などのデータを含む。生産情報サーバー99は、基板の生産に必要となる様々な生産情報を記憶している。例えば、部品データと呼ばれる生産情報は、部品の種類ごとに異なる形状の情報、電気的特性値の情報、および部品の取り扱い方法の情報などを含む。
 ライン管理装置97は、主に、現在進行している対基板作業を管理する。ライン管理装置97は、まず、基板の生産プログラムを生産プログラムサーバー98からダウンロードするとともに、必要となる生産情報を生産情報サーバー99からダウンロードする。次に、ライン管理装置97は、対基板作業機に各々の生産プログラムを送信して、対基板作業を開始させる。さらに、ライン管理装置97は、対基板作業機の作業進捗状況に関する情報を随時受け取るとともに、必要に応じて対基板作業機に指令を発する。ライン管理装置97、生産プログラムサーバー98、および生産情報サーバー99は、対基板作業機にデータ伝送可能に接続された別機の例である。
 2.第1実施形態の画像データ保存システム1の機能構成
 第1実施形態の画像データ保存システム1の説明に移る。図2は、第1実施形態の画像データ保存システム1の機能構成を示すブロック図である。図示されるように、画像データ保存システム1の構成要素は、部品装着機94および別機であるライン管理装置97に分かれて設けられる。すなわち、部品装着機94は、画像処理部2を備える。一方、ライン管理装置97は、非可逆圧縮部3、画像処理試行部4、試行判定部5、試行繰り返し部6、およびデータ保存部7を備える。
 また、ライン管理装置97は、一時記憶装置9B、および大容量のデータ記憶装置9Cを備える。非可逆圧縮部3、画像処理試行部4、試行判定部5、および試行繰り返し部6は、一時記憶装置9Bを用いて後述する各種の演算処理を行う。データ保存部7は、演算処理の結果に基づいて、最終的に選択した画像データを一時記憶装置9Bからデータ記憶装置9Cに転送し、保存する。
 画像処理部2は、部品装着機94で取得された画像データに所定の画像処理を行って処理結果を得る。画像データは、部品装着具に保持された部品を撮像した画像データであり、基板の位置マークの付近を撮像した画像データであってもよい。なお、画像処理の対象は、元の画像データに限定されず、元の画像データを可逆圧縮した可逆圧縮データであってもよい。可逆圧縮データは、元の画像データに含まれる全情報を含みつつ、データサイズを小さくしたデータである。したがって、元の画像データおよび可逆圧縮データのどちらからでも、同じ処理結果が得られる。
 画像処理部2は、元の画像データおよび処理結果をライン管理装置97の非可逆圧縮部3に転送する。なお、画像処理部2は、元の画像データに代えて、可逆圧縮データを転送してもよい。この場合、画像データの伝送負荷を軽減できる効果が生じる反面、可逆圧縮を行う手間が必要となる。
 非可逆圧縮部3は、画像処理部2から受け取った画像データを設定された画像品質で非可逆圧縮して、非可逆圧縮データを作成する。非可逆圧縮の方式として、JPG方式(JPEG方式)を例示でき、これに限定されない。非可逆圧縮の方法は、JPEG 2000、JPEG XR、WebPなどの方式でもよい。画像品質は、0~100%で表され、本第1実施形態では、最小で5%の刻み幅を用いる。また、画像品質の初期設定値として80%を採用する。画像品質の刻み幅および初期設定値は、自由に変更することができる。
 画像品質が高いほど、元の画像データからの情報減損量が少なく、データサイズが大きくなる。したがって、画像品質が高い非可逆圧縮データに再度の画像処理を試行して得られる試行処理結果は、元の画像データの処理結果に完全一致しやすく、あるいは、許容誤差以内で一致しやすい。逆に、画像品質が低いほど、元の画像データからの情報減損量が多くなって、データサイズが小さくなる。したがって、画像品質が低い非可逆圧縮データに再度の画像処理を試行して得られる試行処理結果は、元の画像データに一致しにくくなる。なお、画像品質100%の非可逆圧縮データは、情報減損量が皆無とは言えず、可逆圧縮データと比較して元の画像データの再現性が不確実となっている。
 画像処理試行部4は、非可逆圧縮部3が作成した非可逆圧縮データに画像処理を試行して試行処理結果を得る。換言すると、画像処理試行部4は、画像処理部2と同一の画像処理プログラムを有して、これを実行する。
 試行判定部5は、画像処理試行部4が得た試行処理結果と、画像処理部2から受け取った処理結果とを比較して、一致しているか否かを判定する。一致の判定には、許容誤差が認められる。例えば、画像データの処理結果として部品の保持姿勢を求める場合に、部品の縦寸法、横寸法、回転角度などに許容誤差を設定しておく。また、画像処理にエラーが生じたときには、エラーの内容を表すエラーコードが処理結果および試行処理結果に含まれる。このエラーコードが相違している場合、試行判定部5は、処理結果と試行処理結果が一致していないと判定する。
 試行繰り返し部6は、試行判定部5の判定結果に基づき画像品質を変更設定する。試行繰り返し部6は、一致の判定結果が得られたときには画像品質を低く変更し、不一致の判定結果が得られたときには画像品質を高く変更する。さらに、試行繰り返し部6は、変更設定された画像品質を用いて、非可逆圧縮部3、画像処理試行部4、および試行判定部5を再度動作させる。
 試行繰り返し部6は、始めのうちは画像品質の品質変更幅を大きく設定し、徐々に品質変更幅を小さく設定してゆく。これにより、少ない繰り返し回数で、適正な画像品質が判明する。具体的な品質変更幅は、最大幅の20%、中庸の10%、および最小幅の5%の3段階とする。また、試行繰り返し部6は、画像品質を変更設定する繰り返し回数に上限回数をもつ。品質変更幅の最小値、および繰り返し回数の上限回数は、部品装着機94の装着作業に対して画像データ保存システム1のデータ保存動作が遅れないことを条件として設定される。
 データ保存部7は、繰り返しの中で、試行処理結果が処理結果に一致している最も低い画像品質の非可逆圧縮データを選択し、データ記憶装置9Cに保存する。また、データ保存部7は、繰り返しの中で、全部の試行処理結果が処理結果に一致していない場合に、可逆圧縮データを保存する。
 3.第1実施形態の画像データ保存システム1の動作および作用
 次に、第1実施形態の画像データ保存システム1の動作および作用について説明する。画像データ保存システム1の動作は、部品装着機94の側の動作、およびライン管理装置97の側の動作に分かれる。図3は、画像データ保存システム1を構成する部品装着機94の側の動作を示す動作フローの図である。また、図4は、画像データ保存システム1を構成するライン管理装置97の側の動作を示す動作フローの図である。
 図3のステップS1で、部品装着機94は、基板を搬入する。このとき、前述したように、位置決めされた基板の位置マークの付近を撮像した画像データから、基板の位置が求められる。次のステップS2で、始めの吸着装着サイクルが設定される。吸着装着サイクルとは、吸着ノズルが部品を吸着し、部品カメラに移動して撮像され、基板に移動して当該の部品を装着する一連の作業手順である。
 次のステップS3で、吸着ノズルによる部品の吸着動作が実行される。次のステップS4で、部品カメラによる撮像動作が実行されて、画像データが取得される。次のステップS5で、画像処理部2は、画像データに所定の画像処理を行い、処理結果として部品の保持姿勢を求める。この処理結果はステップS6で使用され、すなわち、吸着ノズルによる部品の装着動作が実行される。次のステップS7で、画像処理部2は、画像データおよび処理結果を非可逆圧縮部3に転送する。
 次のステップS8で、全ての吸着装着サイクルが終了したか否かが判定される。未終了の場合のステップS9で、次の吸着装着サイクルが設定される。この後、動作フローの実行は、ステップS3に戻される。ステップS3からステップS9までが繰り返され、全ての吸着装着サイクルが終了すると、動作フローの実行は、ステップS10に進められる。ステップS10で、部品装着機94は、装着作業が終了した基板を搬出する。
 次のステップS11で、装着作業の終了した基板が所定の生産枚数に到達したか否かが判定される。未到達の場合、動作フローの実行は、ステップS1に戻される。この後、ステップS1からステップS11までが繰り返され、所定の生産枚数に到達すると、動作フローは終了する。
 一方、図4のステップS20で、ライン管理装置97は、画像処理部2から画像データおよび処理結果を受け取る。次のステップS31で、非可逆圧縮部3は、初期設定値の画像品質80%で画像データを非可逆圧縮して、非可逆圧縮データを作成する。次のステップS32で、画像処理試行部4は、画像品質80%の非可逆圧縮データに画像処理を試行して試行処理結果を得る。以降では、試行処理結果の後側に画像品質をかっこ付きで、例えば試行処理結果(80%)と表示する。次のステップS33で、試行判定部5は、試行処理結果(80%)と処理結果を比較して、一致しているか否かを判定する。
 次のステップS34で、試行繰り返し部6は、適正な画像品質が判明したか否か判定する。初回のステップS34では、試行処理結果(80%)と処理結果とが一致しているか否かに関わりなく、適正な画像品質は判明しない。したがって、動作フローの実行は、ステップS35に分岐される。ステップS35で、試行繰り返し部6は、画像品質の変更設定が可能であるか否か判定する。詳細には、試行繰り返し部6は、繰り返し回数が上限回数に達しておらず、かつ、品質変更幅を変更設定して新しい試行条件が得られる場合に、変更設定が可能であると判定する。
 変更設定が可能である場合のステップS36で、試行繰り返し部6は、画像品質の変更設定を実施する。初回のステップS36で、試行処理結果(80%)と処理結果が一致していれば、試行繰り返し部6は、初期設定値の画像品質80%から最大幅の20%だけ低くして、画像品質60%を次の試行条件とする。また、試行処理結果(80%)と処理結果とが一致していなければ、試行繰り返し部6は、初期設定値の画像品質80%から最大幅の20%だけ高くして、画像品質100%を次の試行条件とする。この後、動作フローの実行は、ステップS31に戻される。
 2回目のステップS31で、非可逆圧縮部3は、画像品質60%または画像品質100%で画像データを非可逆圧縮して、非可逆圧縮データを作成する。以下、逐次変更設定された画像品質に対して、ステップS31からステップS36が繰り返される。
 例えば、初回の試行処理結果(80%)と処理結果とが一致せず、2回目の画像品質100%の試行処理結果(100%)と処理結果が比較され、一致していれば3回目の試行条件として画像品質90%が設定される。さらに、3回目の試行処理結果(90%)と処理結果が比較され、一致していれば4回目の試行条件として画像品質85%が設定される。4回目の試行処理結果(85%)と処理結果が比較されると、一致しているか否かに関係なく、新しい試行条件は得られなくなる。このケースの場合、4回目の試行処理結果(85%)と処理結果が一致していれば、適正な画像品質は85%であり、一致していなければ、適正な画像品質は90%となる。
 なお、画像品質100%の試行処理結果(100%)と処理結果が一致していない場合には、非可逆圧縮による保存の意義がなくなる。この場合、可逆圧縮データの保存が選択される。ステップS34で適正な画像品質が判明したとき、およびステップS35で試行繰り返しが打ち切られたとき、動作フローの実行は、ステップS37に進められる。ステップS37で、データ保存部7は、試行処理結果が処理結果に一致している最も低い画像品質の非可逆圧縮データを選択し、データ記憶装置9Cに保存する。また、データ保存部7は、試行処理結果(100%)と処理結果が一致していない場合に、可逆圧縮データを保存する。
 第1実施形態の画像データ保存システム1では、元の画像データを非可逆圧縮した非可逆圧縮データに所定の画像処理を試行して、試行処理結果が元の画像データの処理結果に一致している場合に、この非可逆圧縮データを保存する。したがって、保存した非可逆圧縮の画像データに対する画像処理の再現性を確保できる。加えて、非可逆圧縮を行うことにより、画像データの伝送負荷軽減と記憶容量の節約を実現できる。
 4.第2実施形態の画像データ保存システム1A
 次に、第2実施形態の画像データ保存システム1Aについて、第1実施形態との相違点を主にして説明する。図5は、第2実施形態の画像データ保存システム1Aの機能構成を示すブロック図である。図示されるように、第2実施形態では、ライン管理装置97の側に、指定圧縮部35および画像品質設定部8が追加されている。
 第2実施形態において、部品装着機94の側の機能構成および動作は、第1実施形態と殆ど変らない。ただし、図3のステップS7で、画像処理部2は、画像データおよび処理結果に加え、付帯情報を非可逆圧縮部3に転送する。付帯情報は、画像データを取得するときの撮像対象の種類の情報および撮像条件の情報、ならびに、画像処理するときの画像データのデータサイズの情報などである。
 撮像対象の種類の情報は、部品や基板の種類などの条件を表している。撮像条件の情報は、部品カメラや基板カメラのシャッタースピードや絞り、照明などの条件を表している。これらの条件は、非可逆圧縮データに画像処理を試行したときの試行処理結果に大きく影響する。つまり、部品や基板の種類ならびに撮像条件は、保存する際の適正な画像品質を左右する。例えば、外形形状が単純な部品に対しては、ある程度低めの画像品質を設定してもよい。しかしながら、外形形状が複雑な部品に対して高めの画像品質を設定しないと、試行処理結果と処理結果が一致しなくなる。また、照明が暗めであったりすると、やはり高めの画像品質を設定する必要がある。
 また、画像処理を行うときの画像データのデータサイズは一定でない、例えば、小形部品の保持姿勢を求めるために、部品カメラの全撮像視野にわたる画像データは必要でなく、一部視野の画像データが用いられる。データサイズの小さな画像データでは、非可逆圧縮を行っても、記憶容量を節約する効果は限定的である。第2実施形態では、上記した付帯情報を併せて保存するとともに、画像品質の初期設定値の設定に利用したり、画像処理試行の省略に利用したりする。
 すなわち、画像品質設定部8は、過去に取得された画像データに関する撮像対象の種類および試行判定部の判定結果の少なくとも一方と、保存された非可逆圧縮データの画像品質または保存された可逆圧縮データとの対応関係に基づいて、今回取得された画像データを非可逆圧縮部3が非可逆圧縮するときの画像品質を設定する。換言すると、画像品質設定部8は、画像データが保存された過去事例を参考にして、今回行う非可逆圧縮の画像品質の初期設定値を設定する。
 具体的に、画像品質設定部8は、今回取得された画像データの付帯情報と同じか近い過去事例をデータ記憶装置9Cの中から検索する。当該の過去事例が有る場合、画像品質設定部8は、そのときに保存された非可逆圧縮データの画像品質を今回の画像品質の初期設定値とする。また、当該の過去事例が無い場合、画像品質設定部8は、今回の画像品質の初期設定値を既定の80%とする。
 例えば、今回の付帯情報が「部品種Pの画像データ」であり、画像品質設定部8は、過去事例を検索して「部品種Pの画像データが画像品質90%の非可逆圧縮データとして保存されている」ことを見つけられる場合がある。この場合、画像品質設定部8は、今回の画像品質の初期設定値を既定の80%でなく、90%に設定する。また例えば、今回の処理結果が「エラーコードE1」である場合に、画像品質設定部8は、過去事例のうち同じ「エラーコードE1」をもつ非可逆圧縮データの画像品質を、今回の画像品質の初期設定値とする。これにより、試行繰り返し部6の繰り返し回数が減少するので、繰り返しが打ち切られるおそれを低減できる。つまり、適正な画像品質が一層確実に得られる。
 また、非可逆圧縮部3は、設定された画像品質で非可逆圧縮する画像データを選別するとともに、選別しなかった画像データに対して可逆圧縮、または固定された画像品質の非可逆圧縮を指定する。具体的に、非可逆圧縮部3は、所定のデータサイズを超える画像データを選別するとともに、データサイズ以下の画像データに対して可逆圧縮を指定する。なお、データサイズ以下の画像データに対する別法として、非可逆圧縮部3は、画像品質100%の非可逆圧縮を指定してもよい。
 非可逆圧縮部3は、選別しなかった画像データ、換言するとデータサイズ以下の画像データをそのまま指定圧縮部35に送る。指定圧縮部35は、非可逆圧縮部3が選別しなかった画像データに指定された圧縮を行い、可逆圧縮データまたは非可逆圧縮データを作成して、データ保存部7に送る。データ保存部7は、受け取った可逆圧縮データまたは非可逆圧縮データをデータ記憶装置9Cに保存する。このように、効果が限定的となるデータサイズ以下の画像データについては画像処理試行の繰り返しを省略して、データ処理の手順を簡素化することができる。
 次に、第2実施形態の画像データ保存システム1を構成するライン管理装置97の側の動作について説明する。図6は、第2実施形態の画像データ保存システム1Aを構成するライン管理装置97の側の動作を示す動作フローの図である。図中のステップS21で、ライン管理装置97は、画像処理部2から画像データ、処理結果、および付帯情報を受け取る。
 次のステップS22で、非可逆圧縮部3は、付帯情報を参照して、画像処理試行の対象であるか否かを判定する。換言すると、非可逆圧縮部3は、画像データが所定のデータサイズを超えているときに、画像処理試行の対象と判定する。画像処理試行の対象である場合のステップS23で、画像品質設定部8は、今回と同じか近い過去事例を検索し、その有無を判定する。
 当該の過去事例が有る場合のステップS24で、画像品質設定部8は、過去事例に基づいて画像品質の初期設定値を設定する。また、当該の過去事例が無い場合のステップS25で、画像品質設定部8は、画像品質の初期設定値を既定の80%とする。ステップS24およびステップS25が実行された後、第1実施形態と同様にステップS31からステップS36が実行される。続いて、ステップS37で、データ保存部7は、適正な画像品質の非可逆圧縮データと付帯情報をセットにして、データ記憶装置9Cに保存する。
 また、ステップS22で、画像処理試行の対象でない場合、動作フローの実行は、ステップS26に分岐される。ステップS26で、非可逆圧縮部3は、画像処理試行の対象でない画像データに対して可逆圧縮、または固定された画像品質の非可逆圧縮の圧縮方法を指定する。次のステップS27で、指定圧縮部35は、指定された圧縮方法で圧縮を実施する。この後、動作フローの実行は、ステップS37に合流される。
 5.第3実施形態の画像データ保存システム1B
 次に、第3実施形態の画像データ保存システム1Bについて、第1および第2実施形態との相違点を主にして説明する。図7は、第3実施形態の画像データ保存システム1Bの機能構成を示すブロック図である。図示されるように、第3実施形態では、部品装着機94の側に構成要件が集中し、ライン管理装置97の側では、単にデータ記憶装置9Cが利用される。
 部品装着機94は、並行動作可能な第1CPUコア941および第2CPUコア942を有する。つまり、部品装着機94は、実質的に2つのCPUを有する。第1CPUコア941は、画像データの取得作業を含む装着作業を制御する。そして、画像処理部2は、第1CPUコア941に設けられる。また、非可逆圧縮部3、画像処理試行部4、試行判定部5、試行繰り返し部6、およびデータ保存部7は、第2CPUコア942に設けられる。各部の機能および動作は、第1実施形態と同様であるので、説明は省略する。
 第1CPUコア941および第2CPUコア942が並列動作するので、第3実施形態の画像データ保存システム1Bは、部品装着機94の装着作業を阻害しない。また、第3実施形態の画像データ保存システム1Bでは、第1実施形態と同様の効果が得られる。
 6.第4実施形態の画像データ保存システム1C
 次に、第4実施形態の画像データ保存システム1Cについて、第1~第3実施形態との相違点を主にして説明する。図8は、第4実施形態の画像データ保存システム1Cの機能構成を示すブロック図である。図示されるように、第4実施形態では、対基板作業機が変更されている。すなわち、画像処理部2は、印刷検査機92または外観検査機96に設けられる。換言すると、画像データ保存システム1Cは、半田検査画像データまたは外観検査画像データを保存対象とする。
 また、非可逆圧縮部3、画像処理試行部4、試行判定部5、試行繰り返し部6、およびデータ保存部7は、生産プログラムサーバー98または生産情報サーバー99に設けられる。これに限定されず、画像データ保存システムは、対基板作業機、および対基板作業機にデータ伝送可能に接続された任意の別機に分けて構成されてもよい。
 7.実施形態の応用および変形
 なお、第1および第4実施形態において、非可逆圧縮部3を対基板作業機の側に設けることも可能である。この場合、対基板作業機からライン管理装置97へと非可逆圧縮データを転送する。そして、試行判定部5の判定結果に対応して、試行繰り返し部6は、対基板作業機の非可逆圧縮部3に対し、異なる画像品質の非可逆圧縮データの転送を指示する。また、第1実施形態で説明した繰り返し回数の上限回数および品質変更幅の最小幅は、どちらか一方だけでもよいし、両方とも無くてもよい。ただし、次回の画像データが取得されるまでに、今回の画像データに対する演算処理を打ち切る必要が生じる。第1~第4実施形態は、その他にも様々な応用や変形が可能である。
 1、1A、1B、1C:画像データ保存システム  2:画像処理部  3:非可逆圧縮部  35:指定圧縮部  4:画像処理試行部  5:試行判定部  6:試行繰り返し部  7:データ保存部  8:画像品質設定部  9:対基板作業ライン  92:印刷検査機  94:部品装着機  941:第1CPUコア  942:第2CPUコア  96:外観検査機  97:ライン管理装置  98:生産プログラムサーバー  99:生産情報サーバー  9B:一時記憶装置  9C:データ記憶装置

Claims (12)

  1.  基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理部と、
     前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮部と、
     前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行部と、
     前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定部と、
     前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存部と、
     を備える画像データ保存システム。
  2.  前記試行判定部の判定結果に基づき前記画像品質を変更設定して、前記非可逆圧縮部、前記画像処理試行部、および前記試行判定部を再度動作させる試行繰り返し部をさらに備える、
     請求項1に記載の画像データ保存システム。
  3.  前記試行繰り返し部は、前記画像品質を変更設定する繰り返し回数に上限回数をもち、または、前記画像品質を変更設定する品質変更幅に最小幅をもつ、請求項2に記載の画像データ保存システム。
  4.  前記データ保存部は、前記試行処理結果が前記処理結果に一致していない場合に、前記可逆圧縮データを保存する、請求項1~3のいずれか一項に記載の画像データ保存システム。
  5.  過去に取得された前記画像データに関する撮像対象の種類および前記試行判定部の判定結果の少なくとも一方と、保存された前記非可逆圧縮データの前記画像品質または保存された前記可逆圧縮データとの対応関係に基づいて、今回取得された前記画像データを前記非可逆圧縮部が非可逆圧縮するときの前記画像品質を設定する画像品質設定部をさらに備える、
     請求項1~4のいずれか一項に記載の画像データ保存システム。
  6.  前記非可逆圧縮部は、設定された前記画像品質で非可逆圧縮する前記画像データを選別するとともに、選別しなかった前記画像データに対して可逆圧縮、または固定された前記画像品質の非可逆圧縮を指定し、
     前記データ保存部は、前記非可逆圧縮部が選別しなかった前記画像データに指定された圧縮を行った前記可逆圧縮データまたは前記非可逆圧縮データを保存する、
     請求項1~5のいずれか一項に記載の画像データ保存システム。
  7.  前記非可逆圧縮部は、所定のデータサイズを超える前記画像データを選別するとともに、前記データサイズ以下の前記画像データに対して前記可逆圧縮を指定する、請求項6に記載の画像データ保存システム。
  8.  前記対基板作業機は、前記画像データの取得作業を含む前記対基板作業を制御する第1CPUコア、および前記第1CPUコアと並行動作可能な第2CPUコアを有し、
     前記画像処理部は、前記第1CPUコアに設けられ、
     前記非可逆圧縮部、前記画像処理試行部、前記試行判定部、および前記データ保存部は、前記第2CPUコアに設けられる、
     請求項1~7のいずれか一項に記載の画像データ保存システム。
  9.  前記画像処理部、前記非可逆圧縮部、前記画像処理試行部、前記試行判定部、および前記データ保存部は、前記対基板作業機、および前記対基板作業機にデータ伝送可能に接続された別機に分かれて設けられる、請求項1~7のいずれか一項に記載の画像データ保存システム。
  10.  前記画像処理部は、前記対基板作業機に設けられ、
     前記非可逆圧縮部、前記画像処理試行部、前記試行判定部、および前記データ保存部は、前記別機に設けられる、
     請求項9に記載の画像データ保存システム。
  11.  前記画像処理部および前記非可逆圧縮部は、前記対基板作業機に設けられ、
     前記画像処理試行部、前記試行判定部、および前記データ保存部は、前記別機に設けられる、
     請求項9に記載の画像データ保存システム。
  12.  基板に所定の対基板作業を実施する対基板作業機で取得された画像データ、または前記画像データを可逆圧縮した可逆圧縮データに所定の画像処理を行って処理結果を得る画像処理ステップと、
     前記画像データを設定された画像品質で非可逆圧縮して非可逆圧縮データを作成する非可逆圧縮ステップと、
     前記非可逆圧縮データに前記画像処理を試行して試行処理結果を得る画像処理試行ステップと、
     前記試行処理結果が許容誤差以内で前記処理結果に一致しているか否かを判定する試行判定ステップと、
     前記試行処理結果が前記処理結果に一致している場合に、前記非可逆圧縮データを保存するデータ保存ステップと、
     を備える画像データ保存方法。
PCT/JP2018/026331 2018-07-12 2018-07-12 画像データ保存システムおよび画像データ保存方法 WO2020012600A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2018/026331 WO2020012600A1 (ja) 2018-07-12 2018-07-12 画像データ保存システムおよび画像データ保存方法
JP2020529914A JP7104786B2 (ja) 2018-07-12 2018-07-12 画像データ保存システムおよび画像データ保存方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/026331 WO2020012600A1 (ja) 2018-07-12 2018-07-12 画像データ保存システムおよび画像データ保存方法

Publications (1)

Publication Number Publication Date
WO2020012600A1 true WO2020012600A1 (ja) 2020-01-16

Family

ID=69142355

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/026331 WO2020012600A1 (ja) 2018-07-12 2018-07-12 画像データ保存システムおよび画像データ保存方法

Country Status (2)

Country Link
JP (1) JP7104786B2 (ja)
WO (1) WO2020012600A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003098098A (ja) * 2001-09-21 2003-04-03 Matsushita Electric Works Ltd 画像処理装置および画像処理システム
JP2004200893A (ja) * 2002-12-17 2004-07-15 Fuji Xerox Co Ltd 符号化装置、符号化方法および符号化プログラム
JP2007147354A (ja) * 2005-11-25 2007-06-14 I-Pulse Co Ltd 検査機、検査方法および実装ライン
JP2015188156A (ja) * 2014-03-26 2015-10-29 富士通株式会社 画像処理装置、画像処理システム、画像処理方法、及び画像処理プログラム
WO2017216950A1 (ja) * 2016-06-17 2017-12-21 富士機械製造株式会社 部品実装装置及び部品実装システム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003098098A (ja) * 2001-09-21 2003-04-03 Matsushita Electric Works Ltd 画像処理装置および画像処理システム
JP2004200893A (ja) * 2002-12-17 2004-07-15 Fuji Xerox Co Ltd 符号化装置、符号化方法および符号化プログラム
JP2007147354A (ja) * 2005-11-25 2007-06-14 I-Pulse Co Ltd 検査機、検査方法および実装ライン
JP2015188156A (ja) * 2014-03-26 2015-10-29 富士通株式会社 画像処理装置、画像処理システム、画像処理方法、及び画像処理プログラム
WO2017216950A1 (ja) * 2016-06-17 2017-12-21 富士機械製造株式会社 部品実装装置及び部品実装システム

Also Published As

Publication number Publication date
JP7104786B2 (ja) 2022-07-21
JPWO2020012600A1 (ja) 2021-07-01

Similar Documents

Publication Publication Date Title
US20210035284A1 (en) System for creating learned model for component image recognition, and method for creating learned model for component image recognition
JP6681397B2 (ja) 検査装置及びそれを有する部品実装システム
CN111386024B (zh) 一种双引脚电子元器件的引脚自适应定位插入方法及系统
US10772250B2 (en) Component mounting device and component mounting system
JP2004361145A (ja) 表示方法および品質管理装置ならびに品質管理システム
JP2007147354A (ja) 検査機、検査方法および実装ライン
WO2020012600A1 (ja) 画像データ保存システムおよび画像データ保存方法
US7516539B2 (en) Apparatus for transplanting multi-board
JP4161884B2 (ja) 半田検査装置
JP3870579B2 (ja) はんだ検査方法およびその装置
US11330751B2 (en) Board work machine
KR20000004289A (ko) Pcb자동검사장치의 티칭데이타 설정방법 및 장치
CN111542218B (zh) 一种电能表可信生产贴片环节采集验证方法及系统
JP2015094589A (ja) 外観検査装置
JP7061667B2 (ja) 画像データ保存装置および画像データ保存方法
US11704788B2 (en) Secondary detection system for integrating automated optical inspection and neural network and method thereof
JP2004301620A (ja) 自動部品マウント装置の検査方法
JP7209879B2 (ja) ファイル受け渡し代行部
JP7442134B2 (ja) 部品実装方法及び部品実装システム
EP3751976B1 (en) System for creating learned model for component image recognition, and method for creating learned model for component image recognition
JP7153126B2 (ja) 良否判定装置および良否判定方法
WO2021014589A1 (ja) 画像データ管理装置および画像データ管理方法
JP2022171328A (ja) 印刷システム、印刷装置及び制御方法
JP3273378B2 (ja) 基板検査装置における特徴パラメータ決定装置
JP4440656B2 (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: 18926231

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020529914

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18926231

Country of ref document: EP

Kind code of ref document: A1