TWI391873B - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
TWI391873B
TWI391873B TW97140656A TW97140656A TWI391873B TW I391873 B TWI391873 B TW I391873B TW 97140656 A TW97140656 A TW 97140656A TW 97140656 A TW97140656 A TW 97140656A TW I391873 B TWI391873 B TW I391873B
Authority
TW
Taiwan
Prior art keywords
inspection
test
product
data
product inspection
Prior art date
Application number
TW97140656A
Other languages
Chinese (zh)
Other versions
TW200935349A (en
Inventor
Yuji Torimaru
Yoshihiko Sugimoto
Masayuki Hattori
Original Assignee
Panasonic Electric Works Sunx
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 Panasonic Electric Works Sunx filed Critical Panasonic Electric Works Sunx
Publication of TW200935349A publication Critical patent/TW200935349A/en
Application granted granted Critical
Publication of TWI391873B publication Critical patent/TWI391873B/en

Links

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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

影像處理設備Image processing equipment

本發明關於一種藉由影像而檢驗產品質量的影像處理設備。The present invention relates to an image processing apparatus for verifying product quality by image.

迄今為止,已知藉由影像處理而確定產品質量的影像檢驗系統。該影像檢驗系統在實際檢驗之前實現測試,以便提高檢驗的精確度。在該測試的處理過程中,設定對生產線上的產品進行成像的照相機的參數,設定由相關照相機成像的影像的影像處理的參數,等等。因此,在這種傳統的影像檢驗系統中,通常,在生產線上的產品檢驗處理之前,執行這樣的測試處理,而在生產線上的產品檢測處理期間,不能夠實現該測試處理。Heretofore, an image inspection system for determining the quality of a product by image processing has been known. The image inspection system implements the test prior to the actual inspection to improve the accuracy of the inspection. During the processing of this test, parameters of the camera that image the product on the production line, parameters of the image processing of the image imaged by the relevant camera, and the like are set. Therefore, in such a conventional image inspection system, generally, such a test process is performed before the product inspection process on the production line, and the test process cannot be realized during the product inspection process on the production line.

此外,已知在以下的專利文件1中,描述了一種執行測試處理的傳統技術。該專利文件1中描述的測試執行系統藉由以聯鎖方式顯示多角度視覺螢幕,來實現對內置微型電腦系統的控制軟體的測試。為了實現該測試,測試執行系統基於設備資訊(該設備資訊定義了設備的形狀和輸入/輸出的有關資訊)實現設備類比,並且測試該設備的控制程式。設備對應表使得控制程式與在設備資訊中定義的設備彼此對應。每當說明控制程式的一個步驟時,類比執行程式將該步驟作為程式跟蹤顯示來展示給用戶。同時,利用這種展示,類比執行程式以圖表的方式表示關於從設備資訊中獲得的設備形狀的資料,並且結合設備的情況將這樣的形狀資料顯示為動畫,這是藉由執行控制程式的一個步驟而改變的。[專利文件1]日本專利未審公開No.H8-194634(於1996年公開)Further, it is known that in the following Patent Document 1, a conventional technique of performing a test process is described. The test execution system described in Patent Document 1 implements testing of the control software of the built-in microcomputer system by displaying the multi-angle visual screen in an interlocking manner. To implement this test, the test execution system implements device analogy based on device information (which defines the shape of the device and information about the input/output) and tests the device's control program. The device correspondence table causes the control program to correspond to the devices defined in the device information. Whenever a step of the control program is described, the analog execution program presents the step as a program trace display to the user. At the same time, with this display, the analog execution program graphically represents the data about the shape of the device obtained from the device information, and displays such shape data as an animation in conjunction with the device, which is performed by executing a control program. The steps changed. [Patent Document 1] Japanese Patent Laid-Open Publication No. H8-194634 (published in 1996)

專利文件1中描述的傳統測試執行系統展示了執行測試的時間及測試進度的顯示內容。然而,在將測試執行系統應用於上述檢驗系統的情況下,必須在停止生產線一次之後執行測試。The conventional test execution system described in Patent Document 1 shows the time at which the test is performed and the display of the test progress. However, in the case where the test execution system is applied to the above inspection system, the test must be performed after the production line is stopped once.

此外,在上述影像檢驗系統中,在產品檢驗期間所能做的僅是確認被確定為不合格的產品的影像,並僅執行對檢驗結果的確認,諸如參照測量值的結果歷史記錄。此外,儘管即使在產品檢驗期間,也已經能夠改變檢驗條件和檢驗臨限值,但是為了評估變化內容的有效性,這樣的測試和檢驗不能夠在不影響產品檢驗處理的情況下予以執行。因此,不能夠同時執行產品檢驗處理以及多種設定,必須停止產品檢驗處理並停止生產線,以便改變產品檢驗處理的條件並添加或調整新的檢驗區域。Further, in the above image inspection system, what can be done during the product inspection is only to confirm the image of the product determined to be unqualified, and only perform confirmation of the inspection result, such as the result history of the reference measurement value. Furthermore, although the inspection conditions and inspection thresholds have been able to be changed even during product inspection, such tests and inspections cannot be performed without affecting the product inspection process in order to evaluate the validity of the variation. Therefore, it is not possible to perform product inspection processing and various settings at the same time, and it is necessary to stop the product inspection process and stop the production line in order to change the conditions of the product inspection process and add or adjust a new inspection area.

此外,儘管採用將個人電腦連接至影像檢驗系統這種線上方式,能夠執行用於改變產品檢驗處理的設定的另一方法,但是即使使用該方法,也必須在改變產品檢驗處理的設定期間停止生產線。Further, although another method for changing the setting of the product inspection process can be performed in an online manner of connecting the personal computer to the image inspection system, even if the method is used, the production line must be stopped during the setting of the product inspection process. .

在這種情況下,考慮到上述實際情形,提出了本發明。本發明的目的是提供一種影像處理設備,該影像處理設備能夠改變產品檢驗處理的設定,即使在相關的產品檢驗處理期間,也無需中斷產品檢驗處理。In this case, the present invention has been made in consideration of the above actual circumstances. It is an object of the present invention to provide an image processing apparatus capable of changing the setting of a product inspection process without interrupting the product inspection process even during the related product inspection process.

根據本發明的影像處理設備,包括:測試記憶體,其儲存測試資料;多個產品檢驗記憶體,其儲存產品檢驗資料;以及影像處理系統,其執行測試程式,該測試程式用於使用藉由對產品成像而獲得的影像資料並使用測試資料,來測試充當檢驗物件的產品,以及用於將測試資料儲存在任意的產品檢驗記憶體中;以及執行產品檢驗程式,該產品檢驗程式用於使用藉由對產品成像而獲得的影像資料,並使用在任意產品檢驗記憶體中所儲存的產品檢驗資料,來檢驗充當檢驗物件的產品的質量。為了解決上述問題,上述影像處理設備的特徵在於:在產品檢驗程式處於被執行狀態時執行測試程式的情況下,影像處理系統降低要根據測試程式而執行的測試任務的優先順序,以使其低於要根據產品檢驗程式而執行的產品檢驗任務的優先順序,並且並行處理產品檢驗程式和測試程式。An image processing apparatus according to the present invention includes: a test memory that stores test data; a plurality of product test memories that store product test data; and an image processing system that executes a test program for use by the test program The image data obtained by imaging the product and using the test data to test the product serving as the inspection object, and for storing the test data in any product inspection memory; and executing the product inspection program, the product inspection program is used for The quality of the product serving as the inspection object is verified by the image data obtained by imaging the product and using the product inspection data stored in any product inspection memory. In order to solve the above problem, the above image processing apparatus is characterized in that, in the case where the test program is executed while the product inspection program is in the executed state, the image processing system lowers the priority of the test task to be executed according to the test program to make it low. Prioritize the product inspection tasks to be performed according to the product inspection program, and process the product inspection program and test program in parallel.

根據本發明,在產品檢驗程式處於被執行狀態時執行測試程式的情況下,降低要根據測試程式而執行的測試任務的優先順序,以使其低於要根據產品檢驗程式而執行的產品檢驗任務的優先順序,並且並行處理產品檢驗程式和測試程式。相應地,即使在產品檢驗處理期間,也可以改變產品檢驗處理的設定,而無需中斷相關的產品檢驗處理。According to the present invention, in the case where the test program is executed while the product inspection program is in the executed state, the priority of the test task to be executed according to the test program is lowered to be lower than the product inspection task to be executed according to the product inspection program. Prioritize and process product inspection programs and test programs in parallel. Accordingly, the setting of the product inspection process can be changed even during the product inspection process without interrupting the related product inspection process.

以下將參照附圖描述本發明的實施例。Embodiments of the present invention will be described below with reference to the drawings.

例如,本發明應用於如圖1所示配置的影像檢驗系統。該影像檢驗系統用於檢驗物件的外觀,該物件例如是主要出於如下目的的元件和產品:在生產線上對元件等的類型標識、用於混合不同類型元件的檢驗、裝配工作、產品檢驗等進行自動化的目的。在該影像檢驗系統中,影像處理的結果用於測量/識別物件的區域、形狀、位置等,由此確定物件是合格的還是不合格的,等等。For example, the present invention is applied to an image inspection system configured as shown in FIG. The image inspection system is used for inspecting the appearance of an object, such as components and products mainly for the following purposes: type identification of components and the like on a production line, inspection for mixing different types of components, assembly work, product inspection, etc. For the purpose of automation. In the image inspection system, the result of the image processing is used to measure/identify the area, shape, position, etc. of the object, thereby determining whether the object is acceptable or unsatisfactory, and the like.

該影像檢驗系統包括:成像單元1;檢驗影像記憶體2;檢驗處理單元3;第一檢驗資料儲存單元4A和第二檢驗資料儲存單元4B;內嵌輸入/輸出控制單元5;顯示器控制單元(顯示器控制機構)6;以及顯示單元(顯示機構)7。The image inspection system includes: an imaging unit 1; an inspection image memory 2; an inspection processing unit 3; a first inspection data storage unit 4A and a second inspection data storage unit 4B; an embedded input/output control unit 5; and a display control unit ( a display control mechanism 6; and a display unit (display mechanism) 7.

在檢驗產品質量的情況下,該影像檢驗系統創建由成像單元1藉由對產品成像而獲得的成像影像資料。該成像影像資料由檢驗影像記憶體2捕獲,並暫時被儲存在檢驗影像記憶體2中,並且被視爲檢驗處理單元3要檢驗的物件。In the case of checking the quality of the product, the image inspection system creates imaged image data obtained by the imaging unit 1 by imaging the product. The imaged image data is captured by the test image memory 2 and temporarily stored in the test image memory 2, and is regarded as an object to be inspected by the inspection processing unit 3.

檢驗處理單元3由微處理器構成,該微處理器從程式記憶體(未示出)讀取產品檢驗程式,並根據相關的產品檢驗程式的指令執行算術運算處理(產品檢驗任務)。操作輸入單元(未示出)將由檢驗處理單元3對產品檢測任務的啟動觸發(檢驗觸發)提供至內嵌輸入/輸出控制單元5,並且將該啟動觸發從內嵌輸入/輸出控制單元5提供至檢驗處理單元3。此外,內嵌輸入/輸出控制單元5向外輸出由檢驗處理單元3獲得的產品檢驗結果。The verification processing unit 3 is constituted by a microprocessor which reads a product inspection program from a program memory (not shown) and performs an arithmetic operation processing (product inspection task) in accordance with an instruction of the related product inspection program. An operation input unit (not shown) supplies a start trigger (check trigger) of the product detection task by the check processing unit 3 to the embedded input/output control unit 5, and supplies the start trigger from the embedded input/output control unit 5. To the inspection processing unit 3. Further, the inline input/output control unit 5 outputs the product inspection result obtained by the inspection processing unit 3 to the outside.

在將檢驗觸發提供給檢驗處理單元3之際,檢驗處理單元3藉由使用在檢驗影像記憶體2中所儲存的成像影像資料,以及使用在第一檢驗資料儲存單元4A或第二檢驗資料儲存單元4B中所儲存的產品檢驗資料,來對產品執行這樣的質量檢驗。例如,檢驗處理單元3將儲存在檢驗影像記憶體2中的影像資料,與預先儲存在第一檢驗資料儲存單元4A或第二檢驗資料儲存單元4B中的合格產品的成像影像資料相互比較,測量作爲物件的產品的區域、形狀、位置等,並創建出產品合格還是不合格這種產品檢驗結果。透過顯示器控制單元6,將該產品檢驗結果顯示在顯示單元7上。When the verification trigger is supplied to the inspection processing unit 3, the inspection processing unit 3 uses the imaged image data stored in the inspection image memory 2 and is stored in the first inspection data storage unit 4A or the second inspection data. The product inspection data stored in unit 4B is used to perform such quality inspection on the product. For example, the inspection processing unit 3 compares the image data stored in the inspection image memory 2 with the image data of the qualified product previously stored in the first inspection data storage unit 4A or the second inspection data storage unit 4B, and measures The area, shape, location, etc. of the product as the object, and the result of the product inspection that the product is qualified or not. The product inspection result is displayed on the display unit 7 through the display control unit 6.

藉由執行下面將描述的測試任務,將分別儲存在第一檢驗資料儲存單元4A和第二檢驗資料儲存單元4B中的第一檢驗資料和第二檢驗資料切換成測試資料。The first inspection data and the second inspection data respectively stored in the first inspection data storage unit 4A and the second inspection data storage unit 4B are switched into test materials by performing a test task to be described below.

此外,該影像檢驗系統更新在產品檢驗任務中使用的產品檢驗資料,以便藉由檢驗處理單元3,來提高這種產品質量確定的精確度,或在改變要由檢驗處理單元3檢驗的檢驗物件的情況下,提高這種產品質量確定的精確度。爲了這個目的,該影像檢驗系統包括:測試檢驗處理單元8;測試資料儲存單元9,其作爲儲存測試資料的測試記憶體;測試影像記憶體10,其充當測試檢驗處理單元8的工作區;資料通訊單元11;以及儲存裝置12。Furthermore, the image inspection system updates the product inspection data used in the product inspection task to improve the accuracy of such product quality determination by the inspection processing unit 3, or to change the inspection object to be inspected by the inspection processing unit 3. In case of this, the accuracy of the quality of this product is determined. For this purpose, the image inspection system comprises: a test verification processing unit 8; a test data storage unit 9 as a test memory for storing test data; a test image memory 10 serving as a work area of the test verification processing unit 8; The communication unit 11; and the storage device 12.

儲存裝置12由諸如用於內部儲存的記憶體和外部儲存介質之類的記錄/再現設備構成。在該儲存裝置12中,儲存了要被儲存在測試資料儲存單元9中的測試資料。儲存裝置12根據指令向資料通訊單元11提供測試資料,該指令是基於對操作輸入單元(未示出)的操作的指令。此外,從資料通訊單元11向儲存裝置12,提供檢驗處理單元3執行產品檢驗時的成像影像資料。儲存裝置12對文件執行多路開放,以便同步執行如下處理:儲存檢驗影像記憶體2中所儲存的成像影像資料的處理;以及藉由資料通訊單元11,向測試資料儲存單元9輸出測試資料的處理。The storage device 12 is constituted by a recording/reproducing device such as a memory for internal storage and an external storage medium. In the storage device 12, the test data to be stored in the test data storage unit 9 is stored. The storage device 12 supplies the test data to the data communication unit 11 in accordance with an instruction, which is an instruction based on an operation of an operation input unit (not shown). Further, from the data communication unit 11 to the storage device 12, imaged image data when the inspection processing unit 3 performs product inspection is provided. The storage device 12 performs multiple ways of opening the file to synchronously perform the following processes: storing the processing of the imaged image data stored in the image memory 2; and outputting the test data to the test data storage unit 9 by the data communication unit 11. deal with.

資料通訊單元11可以藉由諸如乙太網(注冊商標)之類的通訊介面,連接至儲存裝置12,並可進行通訊。資料通訊單元11並行執行如下處理:將記憶體裝置12中所儲存的測試資料載入到測試資料儲存單元9上的處理;將檢驗影像記憶體2中所儲存的成像資料儲存在儲存裝置12中的處理;以及將測試資料儲存單元9中所儲存的測試資料複製並重寫至第一檢驗資料儲存單元4A或第二檢驗資料儲存單元4B。The data communication unit 11 can be connected to the storage device 12 via a communication interface such as Ethernet (registered trademark) and can communicate. The data communication unit 11 performs the following processing in parallel: loading the test data stored in the memory device 12 into the test data storage unit 9; storing the image data stored in the test image memory 2 in the storage device 12 And processing and storing the test data stored in the test data storage unit 9 to the first test data storage unit 4A or the second test data storage unit 4B.

測試檢驗處理單元8由微處理器構成,該微處理器從程式記憶體(未示出)讀取測試執行程式,並且根據相關的測試執行程式的指令來執行算術運算處理(測試任務)。The test check processing unit 8 is constituted by a microprocessor that reads a test execution program from a program memory (not shown) and performs an arithmetic operation process (test task) in accordance with an instruction of the associated test execution program.

在實現測試時,測試檢驗處理單元8從測試資料儲存單元9讀取出測試資料,並且從測試影像記憶體10讀取出用於測試的成像影像資料(測試影像)。測試影像記憶體10中的該測試影像可以是藉由成像單元1成像並儲存在檢驗影像記憶體2中的成像影像資料。然後,藉由使用成像影像資料和測試資料,測試檢驗處理單元8執行如下算術運算處理:測量產品的區域、形狀、位置等,並創建出與檢驗處理單元3類似的方式的產品合格或不合格這種測試結果,並且向顯示器控制單元6輸出測試結果。When the test is implemented, the test verification processing unit 8 reads out the test data from the test data storage unit 9, and reads out the image data for the test (test image) from the test image memory 10. The test image in the test image memory 10 may be imaged image data that is imaged by the imaging unit 1 and stored in the test image memory 2. Then, by using the imaging image data and the test data, the test verification processing unit 8 performs an arithmetic operation process of measuring the area, shape, position, and the like of the product, and creating a product that is qualified or unqualified in a manner similar to the inspection processing unit 3. This test result and the test result is output to the display control unit 6.

從測試檢驗處理單元8向顯示器控制單元6提供測試結果,並且從檢驗處理單元3向顯示器控制單元6提供產品檢驗結果。顯示器控制單元6在如下狀態之間切換:向顯示單元7提供包括測試結果的測試影像並在顯示單元7上顯示測試螢幕7a的狀態;以及,向顯示單元7提供包括產品檢驗結果的檢驗影像並在顯示單元7上顯示檢驗螢幕7b的狀態。The test result is supplied from the test check processing unit 8 to the display control unit 6, and the product check result is supplied from the check processing unit 3 to the display control unit 6. The display control unit 6 switches between providing a test image including the test result to the display unit 7 and displaying the state of the test screen 7a on the display unit 7; and providing the display unit 7 with the inspection image including the product inspection result and The state of the inspection screen 7b is displayed on the display unit 7.

在如上該的影像檢驗系統中,檢驗處理單元3和測試檢驗處理單元8起到影像處理裝置的作用,用於使用成像影像資料和測試資料來執行用來測試產品的測試程式,並將測試資料儲存在第一檢驗資料儲存單元4A或第二檢驗資料儲存單元4B中,以及使用成像影像資料和第一或第二檢驗資料,來執行用來檢驗產品質量的產品檢驗程式。In the image inspection system as described above, the inspection processing unit 3 and the test inspection processing unit 8 function as an image processing apparatus for executing a test program for testing a product using the image data and test data, and the test data is It is stored in the first inspection data storage unit 4A or the second inspection data storage unit 4B, and uses the imaged image data and the first or second inspection data to execute a product inspection program for checking the quality of the product.

此外,如果在允許檢驗處理單元3執行產品檢驗任務的產品檢驗程式處於被執行狀態時,由測試檢驗處理單元8執行測試程式,則影像檢驗系統降低要根據測試程式而執行的測試任務的優先順序,使其低於要根據產品檢驗程式而執行的產品檢驗任務的優先順序,並且藉由微處理器並行處理產品檢驗程式和測試程式。具體地,當檢驗處理單元3藉由產品檢驗任務向顯示器控制單元6輸出產品檢驗結果,並且產品檢驗任務被暫時結束時,影像檢驗系統啟動測試任務。Further, if the test program is executed by the test verification processing unit 8 while the product inspection program that allows the inspection processing unit 3 to perform the product inspection task is in the executed state, the image inspection system lowers the priority of the test tasks to be executed according to the test program. It is made lower than the priority of the product inspection tasks to be performed according to the product inspection program, and the product inspection program and the test program are processed in parallel by the microprocessor. Specifically, when the inspection processing unit 3 outputs the product inspection result to the display control unit 6 by the product inspection task, and the product inspection task is temporarily ended, the image inspection system starts the test task.

如圖2所示,藉由構成檢驗處理單元3和測試檢驗處理單元8的微處理器,如上所述的影像檢驗系統並行處理如下任務:與產品檢驗的執行處理相關的產品檢驗任務;以及與設定產品檢驗的設定處理相關的測試任務。值得注意的是,在操作該影像檢驗系統的開始時,將相同的產品檢驗資料儲存在第一檢驗資料儲存單元4A和第二檢驗資料儲存單元4B中。As shown in FIG. 2, by the microprocessor constituting the verification processing unit 3 and the test verification processing unit 8, the image inspection system as described above processes the tasks in parallel with the product inspection tasks related to the execution processing of the product inspection; Set the test tasks related to the setting of product inspection. It is to be noted that the same product inspection data is stored in the first inspection data storage unit 4A and the second inspection data storage unit 4B at the beginning of operation of the image inspection system.

首先,當在步驟S1將檢驗觸發輸入至測試檢驗處理單元8時,在步驟S2,測試檢驗處理單元8的與這種執行處理相關的產品檢驗任務允許檢驗影像記憶體2捕獲由成像單元1成像的成像影像資料。充當由用戶操作的操作輸入單元(未示出)的簡單遠端控制器等產生該檢驗觸發,然後,測試檢驗處理單元8藉由內嵌輸入/輸出控制單元5來檢測該檢驗觸發。作為該簡單遠端控制器,提出了包括方向鍵和判決鍵在內的簡單輸入設備,與滑鼠等相比,其可操作性較差。First, when the verification trigger is input to the test verification processing unit 8 in step S1, the product inspection task of the test verification processing unit 8 related to such execution processing allows the inspection image memory 2 to be captured by the imaging unit 1 in step S2. Imaging image data. The verification trigger is generated by a simple remote controller or the like serving as an operation input unit (not shown) operated by the user, and then the test verification processing unit 8 detects the verification trigger by the embedded input/output control unit 5. As the simple remote controller, a simple input device including a direction key and a decision key is proposed, which is inferior in operability compared with a mouse or the like.

其次,在步驟S3,測試檢驗處理單元8確定資料切換標記是否啟用,在產品檢驗資料由與設定處理相關的測試任務改變,並且有必要切換在產品檢驗任務中所使用的產品檢驗資料的情況下,該資料切換標記啟用,否則禁用。在資料切換標記沒有啟用的情況下,測試檢驗處理單元8將處理提前至步驟S6,並在步驟S6處執行產品檢驗任務,然後在步驟S7向顯示器控制單元6輸出產品檢驗結果。Next, in step S3, the test verification processing unit 8 determines whether the material switching flag is enabled, in the case where the product inspection data is changed by the test task related to the setting processing, and it is necessary to switch the product inspection data used in the product inspection task. , the data toggle flag is enabled, otherwise disabled. In the case where the material switching flag is not enabled, the test verification processing unit 8 advances the processing to step S6, and performs a product inspection task at step S6, and then outputs the product inspection result to the display control unit 6 at step S7.

同時,在資料切換標記啟用的情況下,在步驟S4,將產品檢驗任務中所使用的產品檢驗資料在第一檢驗資料與第二檢驗資料之間切換。具體地,在產品檢驗任務當前所使用的產品檢驗資料是第一檢驗資料的情況下,將產品檢驗資料切換成第二檢驗資料,相反地,在產品檢驗任務當前所使用的產品檢驗資料是第二檢驗資料的情況下,將產品檢驗資料切換成第一檢驗資料。Meanwhile, in the case where the data switching flag is enabled, in step S4, the product inspection data used in the product inspection task is switched between the first inspection data and the second inspection data. Specifically, in the case that the product inspection data currently used by the product inspection task is the first inspection data, the product inspection data is switched to the second inspection data, and conversely, the product inspection data currently used in the product inspection task is the first In the case of the second test data, the product inspection data is switched to the first test data.

在下一步驟S5中,藉由測試檢驗處理單元8,將資料切換標記設定為禁用,然後執行步驟S6和步驟S7,從而將顯示單元7切換至檢驗螢幕7b,並且該處理返回步驟S1。In the next step S5, the data switching flag is set to disabled by the test check processing unit 8, and then steps S6 and S7 are performed, thereby switching the display unit 7 to the check screen 7b, and the process returns to step S1.

對於與設定處理相關的測試任務,從步驟S11以後,在暫時結束優先順序高於相關測試任務優先順序的產品檢驗任務的時間點處,啟動處理。For the test task related to the setting process, from step S11 onwards, the process is started at a point in time when the product inspection task whose priority order is higher than the priority of the relevant test task is temporarily ended.

在步驟S11中,資料通訊單元11根據指令將儲存裝置12中所儲存的測試資料載入在測試資料儲存單元9上,該指令是基於對操作輸入單元(未示出)的操作的指令。In step S11, the material communication unit 11 loads the test data stored in the storage device 12 on the test data storage unit 9 in accordance with an instruction, which is an instruction based on the operation of the operation input unit (not shown).

在下一步驟S12中,藉由測試檢驗處理單元8,使用測試資料儲存單元9中所儲存的測試資料以及被讀入測試影像記憶體10的成像影像資料,執行如下處理:檢驗並測試測試影像記憶體10中所儲存的成像影像資料。此處,在為了提高生產線上當前所生產的產品的質量確定的精確度而執行測試任務的情況下,將合格產品的產品檢驗資料(除第一檢驗資料和第二檢驗資料以外的資料)載入在測試資料儲存單元9上。然後,測試檢測處理單元8將測試資料與成像影像資料相互比較,創建測試結果,並藉由顯示器控制單元6將顯示單元7切換至測試螢幕7a。In the next step S12, by using the test verification processing unit 8, using the test data stored in the test data storage unit 9 and the image data read into the test image memory 10, the following processing is performed: testing and testing the test image memory Imaging image data stored in the body 10. Here, in the case where the test task is performed in order to improve the accuracy determined by the quality of the product currently produced on the production line, the product inspection data of the qualified product (in addition to the first inspection data and the second inspection data) The test data storage unit 9 is incorporated. Then, the test detection processing unit 8 compares the test data with the imaged image data, creates a test result, and switches the display unit 7 to the test screen 7a by the display control unit 6.

在下一步驟S13中,藉由測試檢測處理單元8,確定是否使步驟S11中設定的測試資料改變為產品檢驗資料。此時,根據已直觀地確認了測試螢幕7a的用戶對操作輸入單元的操作,測試檢測處理單元8確定是否使測試資料改變為產品檢驗資料。在沒有使測試資料改變為產品檢驗資料的情況下,結束測試任務,並結束該處理。同時,在使測試資料改變為產品檢驗資料的情況下,處理前進至步驟S14。In the next step S13, it is determined by the test detection processing unit 8 whether or not the test data set in step S11 is changed to the product inspection data. At this time, based on the operation of the operation input unit by the user who has visually confirmed the test screen 7a, the test detection processing unit 8 determines whether or not the test data is changed to the product inspection data. In the case where the test data is not changed to the product inspection data, the test task is ended and the processing is ended. Meanwhile, in the case where the test data is changed to the product inspection data, the process proceeds to step S14.

在步驟S14中,藉由資料通訊單元11,將測試資料儲存單元9中所儲存的測試資料複製到第一檢驗資料儲存單元4A或第二檢驗資料儲存單元4B。此時,資料通訊單元11藉由參照標記的處理,使產品檢驗任務當前沒有使用的產品檢驗資料改變為測試資料,該標記識別:在與測試任務並行處理的產品檢驗任務中所使用的產品檢驗資料是第一檢驗資料還是第二檢驗資料。In step S14, the test data stored in the test data storage unit 9 is copied to the first test data storage unit 4A or the second test data storage unit 4B by the data communication unit 11. At this time, the data communication unit 11 changes the product inspection data not currently used by the product inspection task to the test data by referring to the processing of the mark, which identifies the product inspection used in the product inspection task processed in parallel with the test task. Whether the data is the first test data or the second test data.

在下一步驟S15中,將資料切換標記設定為啟用,並且結束測試任務。In the next step S15, the material switching flag is set to enable, and the test task is ended.

將藉由執行如上所述的測試任務而切換為啟用的資料切換標記確定為啟用,該確定步驟是參照與測試任務並行處理的產品檢驗任務的步驟S3所得的結果,並且在第一檢驗資料和第二檢驗資料之間切換產品檢驗資料。以這種方式,在產品檢驗任務中,使用由測試任務改變的產品檢驗資料,可以執行與成像影像資料相關的產品檢驗處理,並且即使在相關的產品檢驗處理期間也可以改變該產品檢驗處理的設定,而無需中斷產品檢驗處理。The data switching flag switched to enabled by performing the test task as described above is determined to be enabled, the determining step is a result obtained by referring to step S3 of the product inspection task processed in parallel with the test task, and in the first inspection data and The product inspection data is switched between the second inspection data. In this way, in the product inspection task, the product inspection process related to the imaged image data can be performed using the product inspection data changed by the test task, and the product inspection process can be changed even during the related product inspection process. Set without interrupting product inspection processing.

此外,根據該影像檢驗系統,將生產線上產品的影像資料和在之前檢驗中使用的資料預先儲存在儲存裝置12中,並且即使在產品檢驗期間,也可以執行用於確定產品質量的臨限值調整和測試。Further, according to the image inspection system, the image data of the product on the production line and the material used in the previous inspection are stored in advance in the storage device 12, and the threshold for determining the quality of the product can be performed even during the product inspection. Adjustment and testing.

此外,根據該影像檢驗系統,將生產線上產品的多個影像資料預先儲存在儲存裝置12中,將各個影像資料的檢驗/測量值儲存在相關的主體中,此後實現臨限值調整,由此,確定產品質量並比較和驗證諸如臨限值調整之前和之後的測量值之類的檢驗結果,這一點成為可能。In addition, according to the image inspection system, a plurality of image data of the products on the production line are pre-stored in the storage device 12, and the inspection/measurement values of the respective image data are stored in the relevant main body, thereby implementing the threshold adjustment. It is possible to determine the quality of the product and to compare and verify the test results such as the measured values before and after the threshold adjustment.

另外,根據該影像檢驗系統,即使在產品檢驗期間也可以上載如下檢驗程式:該檢驗程式是在由具有良好可操作性的個人電腦的工具改變了檢驗條件並校正(最佳化)且調整了檢驗臨限值之後的檢驗程式,並且,可以暫態切換在產品檢驗中所使用的產品檢驗程式。Further, according to the image inspection system, the inspection program can be uploaded even during the product inspection: the inspection program changes the inspection condition and corrects (optimizes) and adjusts it by the tool of the personal computer having good operability. The inspection program after the threshold is checked, and the product inspection program used in the product inspection can be temporarily switched.

另外,不僅在改變產品檢驗資料的情況下,而且在基於改變了生產線上產品的事實而改變檢測物件的情況下,該影像檢驗系統可以改變檢驗處理單元3將要使用的產品檢驗資料。In addition, the image inspection system can change the product inspection data to be used by the inspection processing unit 3 not only in the case of changing the product inspection data, but also in the case of changing the inspection object based on the fact that the product on the production line is changed.

在該影像檢驗系統中,如圖3所示,資料通訊單元11連接至儲存了用於多個檢驗物件的產品檢驗資料的檢驗資料組儲存單元20。在基於對操作輸入單元(未示出)的操作來產生改變檢驗物件的命令的情況下,影像檢驗系統藉由資料通訊單元11,將改變後的檢驗物件的產品檢驗資料,載入到第一檢驗資料儲存單元4A和第二檢驗資料儲存單元4B中任一其中之一者上,該第一檢驗資料儲存單元4A和第二檢驗資料儲存單元4B儲存了沒有被檢驗處理單元3的產品檢驗程式使用的產品檢驗資料。然後,檢驗處理單元3使用由資料通訊單元11載入的產品檢驗資料,來執行產品檢驗程式。In the image inspection system, as shown in FIG. 3, the material communication unit 11 is connected to the inspection data group storage unit 20 which stores product inspection data for a plurality of inspection articles. In the case of generating an instruction to change the inspection object based on the operation of the operation input unit (not shown), the image inspection system loads the product inspection data of the changed inspection object into the first by the data communication unit 11. On one of the inspection data storage unit 4A and the second inspection data storage unit 4B, the first inspection data storage unit 4A and the second inspection data storage unit 4B store the product inspection program without the inspection processing unit 3. Product inspection data used. Then, the inspection processing unit 3 executes the product inspection program using the product inspection data loaded by the material communication unit 11.

在如上所述的影像檢驗系統中,如圖4所示,其操作與圖2中所示的與設定處理相關的任務中的操作不同。值得注意的是,還將該與設定處理相關的任務設定為其優先順序低於上述產品檢驗任務的優先順序,並且在結束產品檢驗任務時啟動該與設定處理相關的任務。In the image inspection system as described above, as shown in FIG. 4, the operation thereof is different from the operation in the task related to the setting process shown in FIG. 2. It is to be noted that the tasks related to the setting process are also set to have a priority order lower than the priority order of the above-described product inspection tasks, and the tasks related to the setting process are started when the product inspection task is ended.

在步驟S21中,該與設定處理相關的任務確定是否改變檢驗物件。此時,與設定處理相關的任務根據用戶對操作輸入單元的操作、用來表示在生產線上改變產品的信號、或者預先設定的進度表,來確定是否改變檢驗物件。在沒有改變檢驗物件的情況下,結束與設定處理相關的任務,並且結束該處理。同時,在改變檢驗物件的情況下,處理前進至步驟S22。In step S21, the task related to the setting process determines whether to change the inspection object. At this time, the task related to the setting process determines whether to change the inspection object based on the user's operation on the operation input unit, a signal for changing the product on the production line, or a preset schedule. In the case where the inspection object is not changed, the task related to the setting processing is ended, and the processing is ended. Meanwhile, in the case of changing the inspection object, the process proceeds to step S22.

在步驟S22中,藉由資料通訊單元11,從檢驗資料組儲存單元20中取出用於在改變之後對檢驗物件進行檢驗的產品檢驗資料,並且將該產品檢驗資料載入為第一檢驗資料或第二檢驗資料。此時,資料通訊單元11藉由參照標記的處理,使當前沒有用於產品檢驗任務的產品檢驗資料改變為測試資料,該標記識別:在與與設定處理相關的任務並行處理的產品檢驗任務中所使用的產品檢驗資料是第一檢驗資料還是第二檢驗資料。In step S22, the product inspection data for inspecting the inspection object after the change is taken out from the inspection data group storage unit 20 by the data communication unit 11, and the product inspection data is loaded into the first inspection data or Second test data. At this time, the data communication unit 11 changes the product inspection data not currently used for the product inspection task to the test data by the processing of the reference mark, and the mark identifies that the product inspection task is processed in parallel with the task related to the setting process. Whether the product inspection data used is the first inspection data or the second inspection data.

在下一步驟S23中,將資料切換標記設定為啟用,並且結束與設定處理相關的任務。In the next step S23, the material switching flag is set to be enabled, and the task related to the setting processing is ended.

以這種方式,即使在改變檢驗物件的情況下,影像檢驗系統也可以根據相關的改變來切換產品檢驗資料,而無需中斷生產線上的檢驗。In this way, even in the case of changing the inspection object, the image inspection system can switch the product inspection data according to the relevant changes without interrupting the inspection on the production line.

值得注意的是,上述實施例僅是本發明的示例。因此,本發明不局限於上述實施例,理所當然的是,即使在除了本實施例以外的其他模式下,在不背離根據本發明的技術概念的前提下,回應於本發明範圍內的設計等等,對本發明增加多種變化也是可能的。It is to be noted that the above embodiment is merely an example of the present invention. Therefore, the present invention is not limited to the above-described embodiments, and it is a matter of course that, even in other modes than the present embodiment, in response to the technical concept according to the present invention, in response to the design within the scope of the present invention, etc. It is also possible to add various variations to the present invention.

1...成像單元1. . . Imaging unit

2...檢驗影像記憶體2. . . Verify image memory

3...檢驗處理單元3. . . Inspection processing unit

4A...第一檢驗資料儲存單元4A. . . First test data storage unit

4B...第二檢驗資料儲存單元4B. . . Second test data storage unit

5...內嵌輸入/輸出控制單元5. . . Embedded input/output control unit

6...顯示器控制單元6. . . Display control unit

7...顯示單元7. . . Display unit

7a...測試螢幕7a. . . Test screen

7b...檢驗螢幕7b. . . Inspection screen

8...測試檢驗處理單元8. . . Test inspection unit

9...測試資料9. . . Test data

10...測試影像記憶體10. . . Test image memory

11...資料通訊單元11. . . Data communication unit

12...儲存裝置12. . . Storage device

20...檢驗資料組20. . . Inspection data set

圖1係顯示應用本發明的影像檢驗系統的配置的方塊圖。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram showing the configuration of an image inspection system to which the present invention is applied.

圖2係顯示應用本發明的影像檢驗系統的操作程序的流程圖。Figure 2 is a flow chart showing the operational procedure of the image inspection system to which the present invention is applied.

圖3係顯示應用本發明的影像檢驗系統的另一配置的方塊圖。Figure 3 is a block diagram showing another configuration of an image inspection system to which the present invention is applied.

圖4係顯示應用本發明的影像檢驗系統的另一操作程序的流程圖。Figure 4 is a flow chart showing another operational procedure of the image inspection system to which the present invention is applied.

1...成像單元1. . . Imaging unit

2...檢驗影像記憶體2. . . Verify image memory

3...檢驗處理單元3. . . Inspection processing unit

4A...第一檢驗資料儲存單元4A. . . First test data storage unit

4B...第二檢驗資料儲存單元4B. . . Second test data storage unit

5...內嵌輸入/輸出控制單元5. . . Embedded input/output control unit

6...顯示器控制單元6. . . Display control unit

7...顯示單元7. . . Display unit

7a...測試螢幕7a. . . Test screen

7b...檢驗螢幕7b. . . Inspection screen

8...測試檢驗處理單元8. . . Test inspection unit

9...測試資料9. . . Test data

10...測試影像記憶體10. . . Test image memory

11...資料通訊單元11. . . Data communication unit

12...儲存裝置12. . . Storage device

Claims (4)

一種影像處理設備,包括:測試記憶體,其儲存測試資料;多個產品檢驗記憶體,其儲存產品檢驗資料;以及影像處理系統,其執行測試程式,該測試程式用於使用藉由對該產品成像而獲得的影像資料並使用測試資料,來測試作為檢驗物件的產品,以及用於將測試資料儲存在任意一個產品檢驗記憶體中;以及執行產品檢驗程式,該產品檢驗程式用於使用藉由對產品成像而獲得的影像資料,並使用在該等產品檢驗記憶體中任意一者所儲存的產品檢驗資料,來檢驗作為該檢驗物件的產品的品質,其中,在產品檢驗程式處於被執行狀態時執行測試程式的情況下,影像處理系統降低要根據測試程式而執行的測試任務的優先順序,以使其低於要根據產品檢驗程式而執行的產品檢驗任務的優先順序,並且並行處理產品檢驗程式和測試程式。An image processing apparatus comprising: a test memory for storing test data; a plurality of product test memories for storing product test data; and an image processing system for executing a test program for use by the product Imaging the obtained image data and using the test data to test the product as the inspection object, and to store the test data in any one of the product inspection memories; and execute the product inspection program, the product inspection program is used for The image data obtained by imaging the product, and using the product inspection data stored in any one of the product inspection memories, to check the quality of the product as the inspection object, wherein the product inspection program is in an executed state When the test program is executed, the image processing system lowers the priority of the test tasks to be executed according to the test program so that it is lower than the priority of the product inspection task to be executed according to the product inspection program, and the product inspection is processed in parallel. Program and test program. 根據申請專利範圍第1項所述的影像處理設備,還包括:資料通訊單元,其在產生使該測試資料改變為由該產品檢驗程式所使用的產品檢驗資料的命令的情況下,將該測試資料複製到該等產品檢驗記憶體中的其中之一者,該產品檢驗記憶體儲存產品檢驗程式沒有使用的產品檢驗資料,其中,該影像處理系統藉由使用作為該產品檢驗資料的、由該資料通訊單元複製的測試資料,來執行該產品檢驗程式。The image processing apparatus according to claim 1, further comprising: a data communication unit that performs the test in the case of generating a command to change the test data to product inspection data used by the product inspection program Copying data to one of the product inspection memories, the product inspection product inspection data not used by the memory storage product inspection program, wherein the image processing system uses the inspection data as the product The test data copied by the data communication unit is used to execute the product inspection program. 根據申請專利範圍第1項所述的影像處理設備,還包括:資料通訊單元,其連接至儲存多個檢驗物件的該產品檢驗資料的儲存單元,並且在產生改變該檢驗物件的命令的情況下,將改變後的檢驗物件的該產品檢驗資料載入到該等產品檢驗記憶體中的其中之一者上,該產品檢驗記憶體儲存未被該產品檢驗程式使用的產品檢驗資料,其中,該影像處理系統使用該資料通訊單元所載入的該產品檢驗資料,來執行該產品檢驗程式。The image processing apparatus according to claim 1, further comprising: a data communication unit connected to the storage unit storing the product inspection data of the plurality of inspection objects, and in the case of generating a command to change the inspection object Loading the product inspection data of the changed inspection object into one of the product inspection memories, the product inspection memory storing product inspection data not used by the product inspection program, wherein The image processing system executes the product inspection program using the product inspection data loaded by the data communication unit. 根據申請專利範圍第1至3項中任一項所述的影像處理設備,還包括:顯示單元,其顯示依該影像處理系統執行該產品檢驗程式的方式而獲取的產品檢驗結果,並且顯示依該影像處理系統執行該測試程式的方式而獲取的測試結果;以及顯示器控制單元,其在藉由執行該測試程式來獲取該測試結果的情況下,控制該顯示單元以顯示該測試結果,而不顯示該產品檢驗結果。The image processing device according to any one of claims 1 to 3, further comprising: a display unit displaying a product inspection result obtained by the image processing system executing the product inspection program, and displaying the a test result obtained by the image processing system executing the test program; and a display control unit that controls the display unit to display the test result without executing the test program to execute the test result without The product inspection result is displayed.
TW97140656A 2007-10-26 2008-10-23 Image processing apparatus TWI391873B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007279445A JP4462326B2 (en) 2007-10-26 2007-10-26 Image processing device

Publications (2)

Publication Number Publication Date
TW200935349A TW200935349A (en) 2009-08-16
TWI391873B true TWI391873B (en) 2013-04-01

Family

ID=40621399

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97140656A TWI391873B (en) 2007-10-26 2008-10-23 Image processing apparatus

Country Status (4)

Country Link
JP (1) JP4462326B2 (en)
CN (1) CN101419054B (en)
DE (1) DE102008052487B4 (en)
TW (1) TWI391873B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5469433B2 (en) * 2009-10-30 2014-04-16 株式会社キーエンス Image processing apparatus and image processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11304449A (en) * 1998-04-23 1999-11-05 Matsushita Electric Works Ltd Image processing device
JPH11348241A (en) * 1998-06-05 1999-12-21 Dainippon Printing Co Ltd Method for examining printed matter and device therefor
TW200419162A (en) * 2003-03-19 2004-10-01 Right Tek System Co Ltd Apparatus for inspecting electric products using vision system
TW200737057A (en) * 2006-03-31 2007-10-01 Accton Technology Corp Detection system and detection method for electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5046111A (en) * 1989-02-09 1991-09-03 Philip Morris Incorporated Methods and apparatus for optically determining the acceptability of products
JPH08194634A (en) 1995-01-18 1996-07-30 Hitachi Ltd Test execution system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11304449A (en) * 1998-04-23 1999-11-05 Matsushita Electric Works Ltd Image processing device
JPH11348241A (en) * 1998-06-05 1999-12-21 Dainippon Printing Co Ltd Method for examining printed matter and device therefor
TW200419162A (en) * 2003-03-19 2004-10-01 Right Tek System Co Ltd Apparatus for inspecting electric products using vision system
TW200737057A (en) * 2006-03-31 2007-10-01 Accton Technology Corp Detection system and detection method for electronic equipment

Also Published As

Publication number Publication date
DE102008052487A1 (en) 2009-06-10
CN101419054A (en) 2009-04-29
JP4462326B2 (en) 2010-05-12
JP2009110114A (en) 2009-05-21
CN101419054B (en) 2012-06-20
TW200935349A (en) 2009-08-16
DE102008052487B4 (en) 2011-06-16

Similar Documents

Publication Publication Date Title
JP3593302B2 (en) Image measuring device and method
JP4694272B2 (en) Printed solder inspection apparatus and printed solder inspection method
US20140177937A1 (en) Hardness tester and method for hardness test
US10984523B2 (en) Seam inspection apparatus
TWI391873B (en) Image processing apparatus
JP7385594B2 (en) Systems and methods using customized quality control tasks for non-destructive testing
JP7148858B2 (en) Image processing device, image processing method and image processing program
JP3977369B2 (en) Robot program generation device and analysis device
JP7035857B2 (en) Inspection method, inspection system and program
JP2010190851A (en) Test system
JP2007200332A (en) Method for using virtual input and output to automate inspection of application software and hardware
JP2013164313A (en) Screen display data editing device and screen display editing method
JP2010019695A (en) Measuring device and method for displaying tested result thereof
JP2017166967A (en) Inspection system
JP6861072B2 (en) Welding quality judgment device, welding system, welding quality judgment method and welding quality judgment program
JP3931669B2 (en) Screen transition inspection apparatus and method for information providing apparatus
JP2005077690A (en) Image forming apparatus and its operation verification method
JPWO2018235233A1 (en) Contact probe inspection apparatus and control method of contact probe inspection apparatus
KR200421155Y1 (en) Automotive Fuse and Relay Box Vision Inspection System
JPH10113967A (en) Method for automatically deciding quality of molding formed by injecting molding machine
JP2019093550A5 (en) Image inspection equipment, image formation system, image inspection method, control equipment and programs
KR20120108497A (en) Vision inspection apparatus and method using the same
US11281179B2 (en) Tracing apparatus
JP2012007979A (en) Remote control inspection support device of automatic inspection device
JP2009223804A (en) Terminal device and inspection method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees