CN110335229A - For the program creation apparatus of image inspection program, program creation method and creation program - Google Patents

For the program creation apparatus of image inspection program, program creation method and creation program Download PDF

Info

Publication number
CN110335229A
CN110335229A CN201910148108.8A CN201910148108A CN110335229A CN 110335229 A CN110335229 A CN 110335229A CN 201910148108 A CN201910148108 A CN 201910148108A CN 110335229 A CN110335229 A CN 110335229A
Authority
CN
China
Prior art keywords
program
image
creation
processing
image inspection
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910148108.8A
Other languages
Chinese (zh)
Inventor
渡嘉敷洁
石井翔平
椎名浩司
大野有美
野田直昭
白井秀典
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Industrial Devices SUNX Co Ltd
Original Assignee
Panasonic Industrial Devices SUNX Co Ltd
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 Industrial Devices SUNX Co Ltd filed Critical Panasonic Industrial Devices SUNX Co Ltd
Publication of CN110335229A publication Critical patent/CN110335229A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection

Abstract

A kind of program creation apparatus for image inspection program, the program creation apparatus create the image inspection program used in image testing device, which is configured as capture and checks the image of target and execute to the image inspection for checking target.The program creation apparatus includes: processing unit, and being configured as executing includes the creation processing of image inspection program and the processing that the operation acknowledgement of image inspection program is handled.Processing unit shows program creation screen related with creation image inspection program on the display device, and flow chart is described by the project on program creation screen according to user's operation distribution including processing item related with image inspection, to create the image inspection program including image inspection project according to flow chart.Allow to distribute to the input signal of image testing device into any position in flow chart.

Description

For the program creation apparatus of image inspection program, program creation method and creation Program
Cross reference to related applications
The application based on and require the Japanese Patent application No.2018-066251 submitted on March 29th, 2018 Priority, all the contents of the application are incorporated herein by reference.
Technical field
One or more embodiments of the invention is related to the program creation apparatus for image inspection program, program creation side Method and creation program, are applied to image testing device, which executes the image to capture image as checking Processing and inspection, such as the quality of product is determined in process of production in the production facility of such as factory etc.
Background technique
In recent years, in the production facility of such as factory etc, having had been incorporated into can largely regard according to the mankind at high speed Feel accurately and automatically carry out the image review systems of various visual inspections.It has been proposed for creating image inspection journey Sequence is to operate the various creating devices of such image review systems.For example, JP-A-2009-123069 discloses one kind Program creation apparatus, creates the control program of image process controller, which is based on by carrying out to inspection target Imaging and the camera image obtained exports determining signal.
The program creation apparatus includes: Program Generating unit, the Program Generating unit generate control program as image at The control program of controller is managed, control program generated is based on imaging trigger signal from camera acquisition camera image, and from institute Measurement result is extracted in the camera image of acquisition;Execute the analogue unit of control program;And it is transmitted to image process controller Control the transmission unit of program, wherein analogue unit includes: off-line simulation unit, and the off-line simulation unit is from being stored as It registers in the camera image of image and extracts measurement result;And online simulation unit, the online simulation unit are executing control journey Camera image is obtained from camera by image process controller during sequence, and extracts measurement knot from acquired camera image Fruit.According to such program creation apparatus, operability can be improved when confirming the operation of created control program.
Summary of the invention
In the above-mentioned creating device for image inspection program, can execute: off-line simulation, the off-line simulation is from It is stored as extracting measurement result in the camera image of registration image;And online simulation, the online simulation are executed in control program Period extracts measurement result from the camera image obtained by image process controller.However, input is only limitted to open in inspection Imaging trigger signal when the beginning, and cannot distribute to any position by that will input or export and create image inspection program To configure flexible image review systems.
One or more embodiments of the invention, and the purpose of the present invention are made that in view of the above situation of the relevant technologies It is to provide the program creation apparatus for image inspection program, program creation method and creation program, which can To execute image inspection, wherein any position that input or output are assigned in image inspection program.
One or more embodiments of the invention provides a kind of program creation apparatus for image inspection program, described Program creation apparatus creates the image inspection program used in image testing device, and described image check device is configured as catching It obtaining the image for checking target and executes to the image inspection for checking target, described program creating device includes: processing unit, Be configured as executing includes that described image checks that the creation processing of program and described image check the operation acknowledgement processing of program Processing, wherein the processing unit shows program creation screen related with creation described image inspection program on the display device Curtain, and distribution includes that processing item related with image inspection exists depending on the user's operation by creating on screen in described program Interior project describes flow chart, thus created according to the flow chart include image inspection project image inspection program, with And wherein, signal cuit is provided as the project, and allows to distribute the input signal of described image check device To any position in the flow chart.
One or more embodiments of the invention provides the journey that image inspection program is used in a kind of program creation apparatus Sequence creation method, described program creating device are configured as creation image inspection program used in image testing device, institute Image testing device is stated to be configured as the image of capture inspection target and execute to the image inspection for checking target, the journey Sequence creation method includes: that the creation processing that program is checked including described image is executed by the processing unit of described program creating device The processing of the operation acknowledgement processing of program is checked with described image;And existed by the processing unit of described program creating device It shows display program creation screen related with creation described image inspection program in equipment, and is shielded by being created in described program Project of the distribution including processing item related with image inspection describes flow chart depending on the user's operation on curtain, thus The image inspection program including image inspection project is created according to the flow chart, wherein is allowed described image check device Input signal distribute to any position in the flow chart.
One or more embodiments of the invention provides a kind of creation program for image inspection program, the creation Program makes each processing of the program creation method in executive program creating device, and described program creating device is matched It is set to creation described image used in image testing device and checks that program, described image check device are configured as capture inspection It looks into the image of target and executes to the image inspection for checking target, the creation program makes the computer execute following behaviour Make: executing includes that described image checks that the creation processing of program and described image check the processing of the operation acknowledgement processing of program; And program creation screen related with creation described image inspection program is shown on the display device, and by described program Project of the distribution including processing item related with image inspection describes process depending on the user's operation on creation screen Figure, to create the image inspection program including image inspection project according to the flow chart, wherein allow to examine described image The input signal for looking into device distributes to any position in the flow chart.
One or more embodiment according to the present invention, can execute wherein input or output is assigned to image inspection journey The image inspection of any position in sequence.
Detailed description of the invention
Fig. 1 is to show the figure of the configuration example of the image review systems according to the present embodiment;
Fig. 2 is to show the block diagram of the configuration example of the image testing device according to the present embodiment;
Fig. 3 is to show the exemplary perspective view of the exterior arrangement of the image testing device according to the present embodiment;
Fig. 4 is to show the exemplary bottom view of the exterior arrangement of the image testing device according to the present embodiment;
Fig. 5 is to show the block diagram of the configuration example of the program creation apparatus according to the present embodiment;
Fig. 6 is to show the exemplary figure of program creation screen according to first embodiment;
Fig. 7 is to show the exemplary figure of program creation screen according to first embodiment;
Fig. 8 is to show the exemplary figure of program validation screen according to first embodiment;
Fig. 9 is to show the exemplary figure of program validation screen according to first embodiment;
Figure 10 is to show the exemplary block diagram of the connection configuration of program creation apparatus according to the second embodiment;
Figure 11 is to show the exemplary block diagram of program creation screen according to the second embodiment;And
Figure 12 is to show the exemplary figure of image inspection program according to the second embodiment.
Specific embodiment
Hereinafter, will according to circumstances be described in detail by referring to the drawings specifically disclose it is according to the present invention be used for image inspection Look into program creation apparatus, program creation method and the embodiment for creating program of program.
In the present embodiment, it as image testing device and image review systems, will describe wherein by programmable logic The example of the configuration of the image inspection to target in production line etc., the PLC are executed in the production facility of controller (PLC) control It is arranged in such as factory.
The configuration example of image review systems
Fig. 1 is to show the figure of the configuration example of the image review systems according to the present embodiment.Image review systems include Multiple (for example, N number of) image testing device 10A, 10B, 10C and 10N.Multiple images check device 10A to 10N can be representative Ground is referred to as image testing device 10.Image testing device 10 is also known as imaging sensor, image processing apparatus etc., and has With good grounds predetermined image checks that program carries out imaging to target and carries out the function of image procossing and inspection to capture image.Even Be connected to the wired or wireless network 21 as communication interface image testing device 10A to 10N output and input it is various types of Information, such as image information, setting information and inspection result information.
Image testing device 10A to 10N is connected to another wired or wireless network as communication interface by HUB 20 22.Personal computer (PC) 31, monitor terminal 32, WLAN (LAN) router 33 and programmable logic controller (PLC) (PLC) 40 it is connected to network 22.
Example shown in figure is shown in which that the network 21 and 22 for constituting communication interface passes through such as Ethernet (registrar Mark) etc wired lan be connected to the configuration of network.Various wired or wireless networks and communication line can be used as communication The puppy parc of description is executed communication later as long as can be used by interface.Here, configuration example is shown, wherein Image testing device 10A to 10N is connected to the various of such as PC 31 and monitor terminal 32 etc by multiple networks 21 and 22 Terminal and equipment, but connection status is without being limited thereto.Image testing device 10 can be connected to terminal or be set by single network It is standby, or can be directly connected to terminal or equipment.
PC 31 includes the defeated of processor, memory, the display equipment of such as display etc and such as keyboard etc Enter equipment, and the processing unit and image inspection program of the application including having the function of operating such as browser etc prepare Tool.PC 31 execute such as be arranged image testing device 10, the check image that display is obtained by image testing device 10 and Save the processing of check image etc.The check image obtained by image testing device 10 not only includes the image letter for capturing image Breath further includes the various types of inspection result information obtained by image procossing.PC 31 matches program creation apparatus It sets, which is configured as creation image inspection program, and can execute for creating image inspection program Processing.Instead of PC 31, can connect and using such as tablet terminal and smart phone with display function and communication function it The information processing unit of class.
Do not have the monitor of supervision equipment that is standby or can be used for other purposes as the monitoring dedicated for image review systems Terminal 32 includes the input equipment of the display equipment of such as display etc, memory and such as touch tablet etc, and including Processing unit, the processing unit have the function of operating the application of such as browser etc.Monitor terminal 32 executes such as aobvious Show the processing of the check image obtained by image testing device 10 and the parameter for changing image testing device 10 etc.
Browser (also referred to as web browser) the access Internet protocol being mounted on PC 31 and monitor terminal 32 (IP) the scheduled uniform resource locator (URL) on network, the puppy parc indicated using hypertext transfer protocol (HTTP) It executes communication, and shows with the language of such as hypertext markup language (HTML) and extensible markup language (XML) etc The content (web content) write.PC 31 and monitor terminal 32 can be by browser access images check device 10A extremely 10N shows check image, image testing device is arranged, and change parameter related with image inspection.
Wireless/lan router 33 be used as Wireless LAN access point, and can by wireless network connection to such as PC with The various terminals of tablet terminal etc.Wireless/lan router 33 executes the inspection figure obtained with display by image testing device 10 The related data transmission such as picture, the parameter for changing image testing device 10.
PLC 40, which has, to be executed plc communication by network 21 and 22 and executes sequence to each equipment of image review systems The function of control.Image testing device 10 can control according to a predetermined sequence to be operated, such as by receiving from PLC 40 Inspection sign on control signal (trigger signal) start image inspection.
The configuration example of image testing device
Fig. 2 is to show the block diagram of the configuration example of the image testing device according to the present embodiment.Image testing device 10 Including imaging unit 11, control unit 12, storage unit 13 and communication unit 14.Image testing device 10 is configured as to be imaged Camera lens 101 and lighting unit 102 are mounted on lens attaching mount portion 18.By being had according to installation site or inspection target installation Imaging lens 101 of appropriate optical characteristics and also installation has the lighting unit 102 of appropriate photocurrent versus light intensity, image if necessary Check device 10 is used for image inspection.
Imaging unit 11 includes by charge-coupled device (CCD) type imaging sensor, complementary metal oxide semiconductor (CMOS) solid-state imaging element of the compositions such as type imaging sensor.Imaging unit 11 captures inspection under the control of a control unit 12 The image of target, and imaging signal is exported, which is the object of the image formed by imaging lens 101.
Control unit 12 includes the processor of such as CPU etc, and executes the list for controlling image testing device 10 Data between the control processing of integrated operation of member, image testing device 10 and exterior terminal or equipment output and input place Reason, date arithmetic (calculating) processing and data storage processing.Storage unit 13 includes the storage of such as RAM or ROM etc Device, and various information are stored, such as controlling the firmware program of the operation of image testing device 10, for executing image inspection Predetermined image check program, be the setting data that include various setting projects related with image inspection and parameter, single by imaging The image data of the capture image of 11 capture of member and the inspection result data obtained by image inspection.
The processing of control unit 12 checks the imaging signal of target, and exports treated imaging signal as capture image, Wherein, imaging unit 11 captures the image of the inspection target, which is moving image or static image.Control unit 12 Capture image handle and check inspection item according to scheduled image inspection program, and generating includes capture figure The image information of picture and the check image of inspection result information.Wherein multiple imaging units 11 are arranged at the same time it can also use To be connected to control unit 12 and controlling the configuration of the multiple imaging unit 11 by control unit 12.
Control unit 12 has the function of web server, generates and uses such as HTTP's etc based on access request Puppy parc exports the web content shown for executing the screen of check image information, the inspection from PC 31 or monitor terminal 32 Looking into image information includes for showing check image, inspection result of capture image etc., image inspection related with image inspection Relevant information etc..Image inspection relevant information includes: inspection setting information, which includes related with image inspection Various setting projects and parameter;And system set-up information, the system set-up information include that the various of image review systems set Confidence breath.
Control unit 12 is based on about the access from exterior terminal or equipment (such as, PC 31 or monitor terminal 32) Predetermined authentication information execute processing.As authentication information, the character input information of such as password etc can be used.As The identification information that can be used for that various certifications are carried out by network, such as bar code, two dimensional code, use can be used in authentication information The approval-key information or digital certificates of encryption key.As authentication information, can be used for identifying particular terminal or equipment Equipment id information, such as the sequence number or terminal iidentification of the MAC Address of equipment, the IP address for being assigned exclusively to equipment, equipment Number.As authentication information, user's id information for identifying specific user can be used, for example, as the ID of User ID card etc The biometric authentication information of information, the face authenticating information of user or such as fingerprint, vein pattern and iris patterns etc.
Including for be connected to such as the communication unit 14 of the network interface of the network of Ethernet (registered trademark) etc with The exterior terminal or equipment being attached thereto by network are communicated, and transmission of authentication information, image information, setting information, inspection Look into result information etc..Communication unit 14 uses the puppy parc of HTTP etc and PC 31, monitor terminal 32 etc. to communicate.
Communication unit 14 may include the wireless network for being connected to such as Wireless LAN or mobile communications network etc Wireless communication interface.Communication unit 14 may include for being connected to by the near-field communication of such as bluetooth (registered trademark) etc The wireless communication interface of exterior terminal or equipment.
Image testing device 10 includes communication terminal 15, power supply and signal input terminal 16 and mains lighting supply input terminal Son 17, as being connected to external terminal.Connect as the communication terminal 15 for outputting and inputting terminal for PERCOM peripheral communication It is connected to communication unit 14, and is configured to include the connector for being connected to network cable.Communication unit 14 passes through communication Terminal 15 is connected to network 21.The power supply of input terminal as power supply and external signal for input picture check device 10 Control unit 12 is connected to signal input terminal 16 and is configured to include the connector for being connected to signal cable.It is logical It crosses power supply and signal input terminal 16 supplies the power supply of image testing device 10.By power supply and signal input terminal 16 input come From the control signal of external PLC 40 etc..Mains lighting supply input terminal 17 as the input terminal for inputting mains lighting supply is logical It crosses control unit 12 and lens attaching mount portion 18 is connected to and is mounted on external lighting unit 102, and be configured to include use In the connector for being connected to power supply line.The power supply of lighting unit 102 is supplied by mains lighting supply input terminal 17.
Fig. 3 is to show the exemplary perspective view of the exterior arrangement of the image testing device according to the present embodiment, and Fig. 4 It is to show the exemplary bottom view of the exterior arrangement of the image testing device according to the present embodiment.
Image testing device 10 is configured to include the shell 19 with approximately cuboid shape (cassette shapes), and 19 inner containment of shell has substrate, is equipped with control unit 12, storage unit 13 and communication unit 14 on the substrate.Camera lens peace Dress part 18 is arranged on a side surface of shell 19, and imaging unit 11 is arranged in the inside of lens attaching mount portion 18. Communication terminal 15, power supply and signal input terminal 16 and mains lighting supply input terminal 17 are arranged on the bottom surface of shell 19.
The configuration example of program creation apparatus
Fig. 5 is to show the block diagram of the configuration example of the program creation apparatus according to the present embodiment.Program creation apparatus 35 It is made of the information processing unit of such as PC or tablet terminal etc.Program creation apparatus 35 includes storage unit 301, processing list Member 302, display unit 303, input unit 304 and communication unit 305.
Processing unit 302 includes the processor of such as CPU etc, and executes the creation processing of image inspection program, image Check that the operation acknowledgement (simulation) of program is handled, the data between program creation apparatus 35 and image testing device 10 input and defeated Processing, date arithmetic (calculating) processing and data storage processing out.Storage unit 301 includes such as RAM's or ROM etc Memory, and the wound that the operation acknowledgement for storing creation processing and image inspection program for executing image inspection program is handled The image inspection program 320 building program 310 and being created.Storage unit 301 stores various information, such as image inspection program Various material datas and various setting data.Such as hard disk drive (HDD) or solid state drive (SSD) etc can be provided Storage equipment as storage unit 301.
Processing unit 302 creates image inspection program based on the operation of user according to creation program 310, executes image inspection The image inspection program 320 created is stored in storage unit 301 by the simulation of program with confirmation operation.Processing unit 302 send created image inspection program 320 to image testing device 10 by communication unit 305, and fill to image inspection 10 transmission image inspection programs are set to install the image inspection program.
Display unit 303 includes the display equipment of such as liquid crystal display or organic electroluminescent (EL) display etc, And the application execution screen of creation program etc. that display processing unit 302 carries out.Input unit 304 includes such as keyboard, mouse The input equipment of mark, touch tablet or touch panel etc, and will be used to create the user's operation input of image inspection program everywhere Manage unit 302.Communication unit 305 includes the network interface for being connected to such as network of Ethernet (registered trademark) etc, It is communicated with the image testing device 10 being attached thereto by network, and sends journey related with the image inspection program created Sequence information, setting information etc..
Program creation apparatus 35 can be connected to image testing device 10 by single network, or can also be directly connected to To image testing device 10.
According to the program creation apparatus 35 of the present embodiment creation program 310 in depending on the user's operation arbitrarily distribution and Project related with image inspection is connected, and describes flow chart and is examined with creating the image including inspection item according to the flow chart Look into program.In this way, image inspection program is created according to flow chart, therefore can be easy and neatly creates desired figure As checking program.
First embodiment
Fig. 6 and Fig. 7 is to show the exemplary figure of program creation screen according to first embodiment.First embodiment is shown The processing item of respective item and with processing item corresponding is wherein shown when creating image inspection program according to flow chart Such as processing result etc processing information example, the example as program creation method.
The operation creation program 310 of program creation apparatus 35 is to show program creation screen 110 as shown in FIG. 6 and creation figure As checking program.Program creation screen 110 includes flow chart display area 111 and add items button 130, and in flow chart The flow chart 120 of the image inspection program as creation target is shown in display area 111.It is right in example shown in the figure The check process of image inspection program should be shown as in the flow chart 120 of main process task.
User's operation add items button 130 to select desired project from various elements relevant to image inspection, And selected item is arranged between beginning and end, so that description and configuration have the image inspection program of desired treatment process Flow chart 120.In example shown in the figure, shows and selected processing item 131 is added to flow chart 120 to add The mode of the description of flow chart 120.In Fig. 6, selected processing item 131 is arranged in after the processing item of feature extraction 122. Therefore, as shown in fig. 7, creating the stream of the processing item including feature extraction 122 and the processing item of binary edge detection 123 Journey Figure 120.In the program creation apparatus 35 according to the present embodiment, the processing of respective item as described below can be shown simultaneously The processing information of project and such as processing result etc corresponding with processing item.
Fig. 8 and Fig. 9 is to show the exemplary figure of program validation screen according to first embodiment.It is as shown in fig. 8 On program creation screen 150A, it is displayed next to check image 160 in flow chart display area 111, and by check image 160 Side display processing information shows 162.The sample image of the object of processing item used as image inspection is as check image 160, which is, for example, the capture image of the inspection target captured in the past, and to capture image execution image procossing The processing image of acquisition or the model image for checking target.Processing information shows the corresponding position of 162 display instruction check process Various conditions or result in reason project processing information (for example, inspection area, inspection condition, treatment conditions, determine condition, Measured value, processing result and processing result and definitive result), as inspection setting information corresponding with processing item or check knot Fruit information.
In the present embodiment, it when any processing item of the flow chart 120 of user's option program creation screen, is handling Information, which is shown, shows processing information corresponding with selected processing item in 162.When user selects the spy in flow chart 120 When sign extracts 122 processing item, the place with selected feature extraction 122 is shown on the program creation screen 150A of Fig. 8 The processing information of the corresponding feature extraction of reason project shows 162.Processing information as feature extraction shows 162, shows example Such as upper limit value (1), lower limit value (1), measured value (1) and the determination of amount result (OK) detected.In this case, in spy It levies in extraction process, detects the quantity (existence or non-existence) of black block as the feature extraction in check image 160, determine inspection The quantity (measured value) measured whether between upper limit value and lower limit value and obtain instruction measured value 1 and definitive result OK place Manage result.
When user selects the processing item of the binary edge detection 123 in flow chart 120, with selected binary edge The processing information of the corresponding binary edge of processing item of detection 123 shows the 163 program creation screen 150B for being displayed on Fig. 9 On.Processing information as binary edge shows 163, display such as rim condition (white → black), detection position (multiple) With upper limit value (256), lower limit value (0), measured value (4) and the determination of amount result (OK) detected.In this case, In binary edge processing, the quantity from the white edge for changing into black is detected as the binary edge in check image 160 Detection, the quantity confirmly detected (measured value) whether between upper limit value and lower limit value, and obtain instruction 4 He of measured value The processing result of definitive result OK.
Program creation apparatus 35 can show processing information corresponding with each processing item on program creation screen. For example, for feature extraction 122 and binary edge detection each of 123 as multiple processing items, display such as OK or The processing information of the processing result of NG etc.In this case, draw flow chart 120 on each processing item as a result, And the hypothesis result that each processing item whether is obtained in the flow chart of setting can be confirmed in user.When user's selection is appointed When meaning processing item, processing information corresponding with selected processing item is shown as in example shown in the figure. It in this way, can also be using for showing (including simple displaying and detailed display) for processing information execution two stages Display pattern.For example, when, there are when problem, user can be based on the processing information of instruction result in any one processing item Determine which processing item is NG at a glance.In addition, user can slap at a glance when user selects processing item The reason of holding the condition of instruction processing item and the details of result, therefore can simply confirming problem.
Program creation apparatus 35 can display (be such as checked about the processing information of condition simultaneously on program creation screen Region, check condition, treatment conditions and determine condition) and about result processing information (such as measured value, processing result and Definitive result).In this case, user can visually identify about processing item on the screen at the same at a glance Condition and result.For example, can simply confirm problem when any one processing item is there are when problem with reference conditions and result The reason of.
In figs. 8 and 9, when the processing information of the setting value for changing such as upper limit value and lower limit value etc, Yong Hucao Make Edit button 165 and input adjusted value and enable to change to be arranged.
As described above, individually showing processing information corresponding with respective handling project, therefore user can grasp in detail Thin processing information, such as indicate whether the setting of the condition of such as upper limit value and lower limit value etc in each processing item is appropriate Processing information and when there are the processing information of indication problem degree when problem in setting.Therefore, user can identify each The state of processing item and as a result, and can accurately obtain information for confirming the operation of image inspection program, such as Have the details of problematic processing item and the instruction of the adjustment to setting value.
According to the present embodiment, by when the image inspection program that be operated in image testing device 10 in creation in program Distribution includes the project of processing item related with image inspection to describe flow chart on creation screen, therefore can easily be created Build the image inspection program including required image inspection project and process.Instruction and each place are shown on program creation screen The processing information of the corresponding condition of reason project or result, therefore can simply confirm the detailed letter about each processing item Breath.Show that processing item selected by user and instruction are corresponding with the processing item various simultaneously on program creation screen The processing information of condition or result, therefore can easily verify that and grasp such as inspection condition relevant to each processing item With the details of processing result etc.Therefore, when creating image inspection program, such as each processing item can be improved Operation acknowledgement and condition confirmation etc operability and visuality.Each processing item in image inspection program can be held The detailed operation acknowledgement of row.
As described above, being creation in image inspection according to the program creation apparatus 35 for image inspection program of the present embodiment The program creation apparatus 35 of image inspection program 320 used in device 10 is looked into, the image testing device 10 capture checks target Image and execute to check target image inspection, and program creation apparatus 35 include processing unit 302, the processing unit The processing that 302 operation acknowledgements for executing creation processing and image inspection program including image inspection program are handled.Processing unit 302 show program creation screen related with creation image inspection program on the display device, and by program creation screen On depending on the user's operation distribution include that the project of related with image inspection processing item describes flow chart, thus according to stream The creation of journey figure includes the image inspection program of image inspection project.Processing unit 302 is shown on program creation screen and process The corresponding processing information of each processing item of figure.Therefore, it can easily verify that and be grasped such as on program creation screen The information of inspection condition relevant to each processing item and processing result etc.
In program creation apparatus 35, processing unit 302 by with by the operation of user from the processing item of flow chart The corresponding processing information of the processing item of selection and selected processing item are display together on program creation screen.Cause This, can easily verify that and grasp inspection condition such as relevant to each processing item and processing on program creation screen Etc as a result information.Therefore, when creating image inspection program, can improve such as each processing item operation acknowledgement and The operability and visuality of condition confirmation etc.Furthermore it is possible to be executed to each processing item in image inspection program detailed Thin operation acknowledgement.
In program creation apparatus 35, the processing corresponding with processing item that will be shown on program creation screen is believed Breath is set to indicate that the information of condition or result, including the inspection area in processing item, inspection condition, treatment conditions, determination At least one of condition, measured value, processing result and definitive result.Therefore, inspection related with processing item can be directed to Region, treatment conditions, determines condition, measured value, processing result and confirms in detail and grasp with definitive result inspection condition Various conditions or processing result.
In program creation apparatus 35, the processing corresponding with processing item that will be shown on program creation screen is believed Breath be set as include at least one of inspection area in processing item, inspection condition, treatment conditions and determination condition and The information of at least one of measured value, processing result and definitive result.Therefore, while item corresponding with processing item is shown Part and as a result, user is allowed simply to confirm condition and result.
In program creation apparatus 35, processing unit 302 allows to the input processing information on program creation screen Change.It therefore, can be with after the details for confirming inspection condition such as related with processing item and processing result etc Suitably change inspection condition etc..
Image inspection program creation method according to the present embodiment is the program creation used in program creation apparatus 35 Method, the program creation apparatus 35 create the image inspection program used in image testing device 10, the image testing device 10 captures check the image of target and execute to the image inspection for checking target.The processing unit 302 of program creation apparatus 35 is held Row includes the creation processing of image inspection program and the processing that the operation acknowledgement of image inspection program is handled, and is shown on the display device Show program creation screen related with creation image inspection program, and by dividing depending on the user's operation on program creation screen Flow chart is described with including the project of processing item related with image inspection, to include that image is examined according to flow chart creation Look into the image inspection program of project.Processing letter corresponding with each processing item of flow chart is shown on program creation screen Breath.
It is to make executive program creating device 35 according to the creation program for image inspection program of the present embodiment In program creation method each processing creation program, the program creation apparatus 35 creation make in image testing device 10 Image inspection program, the image testing device 10 capture check the image of target and execute the image inspection to target is checked It looks into.In this procedure, execute includes the creation processing of image inspection program and the place that the operation acknowledgement of image inspection program is handled Reason shows program creation screen related with creation image inspection program on the display device, and by program creation screen On depending on the user's operation distribution include that the project of related with image inspection processing item describes flow chart, thus according to stream The creation of journey figure includes the image inspection program of image inspection project.Each processing with flow chart is shown on program creation screen The corresponding processing information of project.
Second embodiment
Figure 10 is to show the exemplary block diagram of the connection configuration of program creation apparatus according to the second embodiment.Second is real It applies to be illustrated and wherein believes the input signal of image testing device and output when creating image inspection program according to flow chart Number distribute to the example of any position, the example as program creation method.
Here, as shown in Figure 10, in image review systems, it is assumed that following scenario described: image testing device 10 and PLC 40 It is connected to each other and sends instruction from PLC 40 to image testing device 10 to execute image inspection.PLC 40 uses temperature sensing The measurement result of device 45 is inputted to image testing device 10 and is instructed, and image testing device 10 is based on the instruction from PLC 40 Input execute image inspection.Program creation apparatus 35 creates the image inspection journey to execute in image testing device 10 Sequence, and transmitted to image testing device 10 and input created image inspection program.
Figure 11 is to show the exemplary block diagram of program creation screen according to the second embodiment.Program creation screen 210 It shows including flow chart display area 211 and add items button 230, and in flow chart display area 211 as creation The flow chart 220 of the image inspection program of target.In example shown in the figure, the flow chart 220 corresponding to main process task is shown It is out the check process of image inspection program.
User's operation add items button 230 to select desired project from various elements relevant to image inspection, And selected item is arranged between beginning and end, so that description and configuration have the image inspection program of desired treatment process Flow chart 220.In example shown in the figure, show by signals selected cuit 231 be added to flow chart 220 to Add the mode of the description of flow chart 220.In Figure 11, the processing item of imaging 222 is arranged and presence or absence of inspection 223 processing item, and exist and there is no check 223 processing item after arrange signal cuit 231 with Distribute the I/O input signal of image testing device 10.Meanwhile be similar to input signal, can also arrange signal output project with Distribute the I/O output signal of image testing device 10.
Figure 12 is to show the exemplary figure of image inspection program according to the second embodiment.In Figure 12, image inspection The flow chart 250 of the operating process of the flow chart 220, PLC 40 of the operating process of device 10 and the behaviour of temperature sensor 45 The flow chart 260 for making process is shown as the flow chart of image inspection program.
In the present embodiment, presence or absence of inspection in the flow chart 220 of the operating process of image testing device 10 Output signal (Out.0 connects (ON)) 224 and input signal (In.0 is connected or In.1 is connected) 225 are distributed after looking into 223.Addition For determining the determination element 226 of the type of input signal (In.0 is connected or In.1 is connected) 225, and divided according to definitive result Processing.First size is executed in the case where input signal (In.0 connection) and measures (dimensional measurement 1) 227, in input signal The second dimensional measurement (dimensional measurement 2) 228 is executed in the case where (In.1 connection).
In image inspection program in example shown in the figure, PLC 40 sends inspection to image testing device 10 and starts Instruction 251, and image testing device 10 checks sign on image inspection (221) with since PLC 40.Image inspection Imaging 222 of the execution of device 10 to inspection target is looked into, and to capture image execution inspection target presence or absence of inspection 223.Image testing device 10 sends output signal (Out.0 connection) 224 to PLC 40, as presence or absence of the knot checked Fruit.
PLC 40 is obtained presence or absence of the result (252) checked, and is connecting the I/O's of image testing device 10 Temperature measurement instruction 253 is sent to temperature sensor 45 when Out.0, to provide the instruction of the temperature of measurement check object.Temperature It spends sensor 45 and receives the temperature measurement instruction from PLC 40, to start the temperature (261) that measurement checks target.Temperature sensing Device 45 sends the temperature measurement result response 262 of instruction temperature measurement result to PLC 40.PLC 40 connects from temperature sensor 45 Shrinkage temperature measurement result (254), and the measurement method instruction based on the temperature for checking target is sent to image testing device 10 255.Depending on connecting which of the In.0 and In.1 of I/O of image inspection equipment 10, PLC according to temperature measurement result 40 either indicate dimensional measurement 1 or instruction dimensional measurement 2.
Image testing device 10 receives input signal (In.0 is connected or In.1 is connected) 225 and is used as from the received survey of PLC 40 The instruction of amount method.Image testing device 10 determines that the input signal of I/O is that In.0 is connected or In.1 connects (226).Work as connection When the In.0 of I/O, image testing device 10 executes first size and measures (dimensional measurement 1) 227.On the other hand, when connection I/O's When In.1, image testing device 10 executes the second dimensional measurement (dimensional measurement 2) 228.As described above, image testing device 10, The processing of the image inspection of PLC 40 and temperature sensor 45 terminates (229,256 and 263).
As described above, by the way that input signal is distributed to any position in image inspection program, it can be based on input letter Number execute processing.For example, can by according to the content of input signal (for example, the existence or non-existence of input signal and defeated Enter the type of signal) change the condition of desired inspection item to execute processing.It can also be executed according to the content of input signal Different processing.Therefore, the image inspection program that image inspection can be set based on input signal can be created.It can be according to defeated Enter the content of signal, executes flexible image inspection based on various conditions, such as prepare another processing item or skip specific place Reason project.By the way that output signal is distributed to any position in image inspection program, it can freely create and be combined as suitable in The external equipment of such as PLC or sensor etc execute the image inspection program of inspection item.
According to the present embodiment, by when the image inspection program that be operated in image testing device 10 in creation in program Distribution includes the project of processing item related with image inspection to describe flow chart on creation screen, therefore can easily be created Build the image inspection program including required image inspection project and process.By the way that allow to will be defeated on program creation screen Enter signal and/or output signal distributes to any position of flow chart, the flexible configuration of image inspection program may be implemented.At this It, can will be defeated by while being not limited to program starting (and or time before program determination) during processing in the case of kind Enter signal or output signal distributes to desired position, to create the image inspection for being able to carry out more appropriate image inspection project Program.
As described above, being creation in image inspection according to the program creation apparatus 35 for image inspection program of the present embodiment The program creation apparatus 35 of image inspection program 320 used in device 10 is looked into, the image testing device 10 capture checks target Image and execute to check target image inspection, and program creation apparatus 35 include processing unit 302, the processing unit The processing that 302 operation acknowledgements for executing creation processing and image inspection program including image inspection program are handled.Processing unit 302 show program creation screen related with creation image inspection program on the display device, and by program creation screen On depending on the user's operation distribution include that the project of related with image inspection processing item describes flow chart, thus according to stream The creation of journey figure includes the image inspection program of image inspection project.Processing unit 302 includes as the item in program creation screen Purpose signal cuit, and the input signal of image testing device 10 can be distributed to any position in flow chart.
Therefore, input signal can be distributed to by desired position by when starting (and be not limited to program) during processing It sets, to create the image inspection program for being able to carry out more appropriate image inspection project.As a result, it is possible to achieve image inspection program Flexible configuration and desired image inspection is accurately carried out in image testing device 10.Therefore, it can execute wherein defeated Enter to be assigned to the image inspection of any position in image inspection program.
In program creation apparatus 35, processing unit 302 includes the signal output as the project in program creation screen Project, and the output signal of image testing device 10 can be distributed to any position in flow chart.Therefore, can pass through Output signal is distributed to desired position by (and being not limited to the time before program determination) during processing, to create It is able to carry out the image inspection program of more appropriate image inspection project.It can neatly create and the output as output signal The external equipment of destination suitably associated image inspection program.As a result, it is possible to achieve the flexible configuration of image inspection program And execute the image inspection for any position that wherein output is assigned in image inspection program.
In program creation apparatus 35, the input signal distributed in flow charts or output signal of image testing device 10 The signal for being enter into programmable logic controller (PLC) 40 or being exported from programmable logic controller (PLC) 40, the programmable logic controller (PLC) 40 control image testing devices 10.Therefore, it can use free condition setting easily creation for combining programmable logic control Device processed executes the image inspection program of inspection item.
Image inspection program creation method according to the present embodiment is the program creation used in program creation apparatus 35 Method, the program creation apparatus 35 create the image inspection program used in image testing device 10, the image testing device 10 captures check the image of target and execute to the image inspection for checking target.The processing unit 302 of program creation apparatus 35 is held Row includes the creation processing of image inspection program and the processing that the operation acknowledgement of image inspection program is handled, and is shown on the display device Show program creation screen related with creation image inspection program, and by dividing depending on the user's operation on program creation screen Flow chart is described with including the project of processing item related with image inspection, to include that image is examined according to flow chart creation Look into the image inspection program of project.Signal cuit is provided as project in program creation screen, and can be by image The input signal of check device 10 distributes to any position in flow chart.
Creation program for the image inspection program according to the present embodiment is to make executive program creating device 35 In program creation method each processing creation program, the program creation apparatus 35 creation make in image testing device 10 Image inspection program, the image testing device 10 capture check the image of target and execute the image inspection to target is checked It looks into.In this procedure, execute includes the creation processing of image inspection program and the place that the operation acknowledgement of image inspection program is handled Reason shows program creation screen related with creation image inspection program on the display device, and by program creation screen On depending on the user's operation distribution include that the project of related with image inspection processing item describes flow chart, thus according to stream The creation of journey figure includes the image inspection program of image inspection project.Signal input item is provided as project in program creation screen Mesh, and the input signal of image testing device 10 can be distributed to any position in flow chart.
Although describing various embodiments by reference to attached drawing, example that unquestionably the present invention is not restricted to these.It is right In those skilled in the art in the invention it is readily apparent that it is contemplated that various modifications in range described in claim Example or correction example, and it is to be understood that above content is fallen within the technical scope of the present invention.The present invention is not being departed from Range in the case where, component in above-described embodiment can any combination each other.
One or more embodiments of the invention can be used as the creating device for image inspection program, creation method and wound Program is built, which, which is able to carry out, wherein inputs or export any position being assigned in image inspection program Image inspection.

Claims (6)

1. a kind of program creation apparatus for image inspection program, described program creating device is created in image testing device The image inspection program used, described image check device are configured as capture and check the image of target and execute to the inspection The image inspection of target, described program creating device include:
Processing unit, being configured as executing includes that described image checks that the creation processing of program and described image check the behaviour of program Make the processing of confirmation processing,
Wherein, the processing unit shows program creation screen related with creation described image inspection program on the display device Curtain, and distribution includes that processing item related with image inspection exists depending on the user's operation by creating on screen in described program Interior project describes flow chart, thus created according to the flow chart include image inspection project image inspection program, with And
Wherein, signal cuit is provided as the project, and is allowed the input signal of described image check device point Any position in flow chart described in dispensing.
2. the program creation apparatus according to claim 1 for image inspection program,
Wherein, in the case where providing signal output project as the project, the processing unit is allowed to examine described image The output signal for looking into device distributes to any position in the flow chart.
3. the program creation apparatus according to claim 1 or 2 for image inspection program,
Wherein, the input signal for the described image check device that distribute in the flow chart is by being configured as controlling The signal of the programmable logic controller (PLC) input of described image check device.
4. the program creation apparatus according to claim 2 for image inspection program,
Wherein, the output signal for the described image check device that distribute in the flow chart is to be output to be configured as Control the signal of the programmable logic controller (PLC) of described image check device.
5. being used for the program creation method of image inspection program in a kind of program creation apparatus, described program creating device is configured To create the image inspection program used in image testing device, described image check device is configured as capture and checks target Image and execute to the image inspection for checking target, described program creation method includes:
The creation processing and described image that program is checked including described image are executed by the processing unit of described program creating device Check the processing of the operation acknowledgement processing of program;And
It is shown on the display device by the processing unit of described program creating device and checks that program has with creation described image The program creation screen of pass, and distribution includes having with image inspection depending on the user's operation by creating on screen in described program Project including the processing item of pass describes flow chart, thus created according to the flow chart include image inspection project figure As checking program,
Wherein, the input signal by described image check device is allowed to distribute to any position in the flow chart.
6. a kind of creation program for image inspection program, the creation program makes in executive program creating device Program creation method each processing, described program creating device be configured as creation the institute used in image testing device Image inspection program is stated, described image check device is configured as capture and checks the image of target and execute to the inspection target Image inspection, the creation program makes the computer execute following operation:
Execute includes that described image checks that the creation processing of program and described image check the processing of the operation acknowledgement processing of program; And
Display program creation screen related with creation described image inspection program on the display device, and by described program Project of the distribution including processing item related with image inspection describes process depending on the user's operation on creation screen Figure, so that the image inspection program including image inspection project is created according to the flow chart,
Wherein, the input signal by described image check device is allowed to distribute to any position in the flow chart.
CN201910148108.8A 2018-03-29 2019-02-27 For the program creation apparatus of image inspection program, program creation method and creation program Pending CN110335229A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018066251A JP2019175408A (en) 2018-03-29 2018-03-29 Program creation device and program creation method of image inspection program, and creation program
JP2018-066251 2018-03-29

Publications (1)

Publication Number Publication Date
CN110335229A true CN110335229A (en) 2019-10-15

Family

ID=68140080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910148108.8A Pending CN110335229A (en) 2018-03-29 2019-02-27 For the program creation apparatus of image inspection program, program creation method and creation program

Country Status (2)

Country Link
JP (1) JP2019175408A (en)
CN (1) CN110335229A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009116377A (en) * 2007-11-01 2009-05-28 Keyence Corp Device for creating program for use in image processing controller
JP2009122035A (en) * 2007-11-16 2009-06-04 Keyence Corp Inspection support system
CN102103659A (en) * 2009-12-17 2011-06-22 株式会社岛津制作所 Measurement data analysis processing apparatus and program therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6271206B2 (en) * 2013-10-04 2018-01-31 三菱重工業株式会社 Control device and editing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009116377A (en) * 2007-11-01 2009-05-28 Keyence Corp Device for creating program for use in image processing controller
JP2009122035A (en) * 2007-11-16 2009-06-04 Keyence Corp Inspection support system
CN102103659A (en) * 2009-12-17 2011-06-22 株式会社岛津制作所 Measurement data analysis processing apparatus and program therefor

Also Published As

Publication number Publication date
JP2019175408A (en) 2019-10-10

Similar Documents

Publication Publication Date Title
CN110321108A (en) For the program creation apparatus of image inspection program, program creation method and creation program
CN105378810B (en) Remote sharing of measurement data
CN104486975B (en) System of inventory control
CN101517501B (en) Handheld field maintenance bus monitor
CN104049582B (en) It is generated in process control environment and checks list
CN106770313B (en) A kind of detection system of automobile armrest
CN104049587B (en) For using the method and apparatus of location aware mobile control device control process factory
CN104049589B (en) The method of system and operating process factory for operating process control factory
WO2020250498A1 (en) Information processing device, information processing method, information processing program, and recording medium
JP6856236B2 (en) Systems, terminals, server devices, programs and methods
CN104508576B (en) Object in industrial plant is examined
EP2386083A1 (en) System and method for remote monitoring and control of field device
CN110244669A (en) Mobile Control Room with real time environment perception
CN104049268B (en) Method and apparatus for mobile control device position in determination process factory
CN104049583B (en) Method for initiating or continuing the mobile control session in process plant
US7973826B2 (en) Program creating and editing apparatus for image processing controller, and apparatus for editing image processing program executed in image processing controller
CN110335229A (en) For the program creation apparatus of image inspection program, program creation method and creation program
EP3298350B1 (en) System and method for intelligently coupling and connecting mobile terminals to a coordinate-measuring device
CN110320210A (en) Image testing device and image review systems
WO2013114658A1 (en) Method for constructing control system for controlling energy-consuming equipment and control system for controlling energy-consuming equipment
JP2020047044A (en) Work management system, work management server, and work management method
JP6987617B2 (en) Configuration support systems, data servers, control methods and programs
JP6987616B2 (en) Configuration support systems, data servers, control methods and programs
KR20190004337A (en) Remote operating system
JP6743716B2 (en) Maintenance navigation mobile device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191015