CN111402234B - Machine vision detecting system - Google Patents

Machine vision detecting system Download PDF

Info

Publication number
CN111402234B
CN111402234B CN202010182793.9A CN202010182793A CN111402234B CN 111402234 B CN111402234 B CN 111402234B CN 202010182793 A CN202010182793 A CN 202010182793A CN 111402234 B CN111402234 B CN 111402234B
Authority
CN
China
Prior art keywords
module
unit
algorithm
editing
functional units
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.)
Active
Application number
CN202010182793.9A
Other languages
Chinese (zh)
Other versions
CN111402234A (en
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.)
Shenzhen Qiling Image Technology Co ltd
Original Assignee
Shenzhen Qiling Image Technology 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 Shenzhen Qiling Image Technology Co ltd filed Critical Shenzhen Qiling Image Technology Co ltd
Priority to CN202010182793.9A priority Critical patent/CN111402234B/en
Publication of CN111402234A publication Critical patent/CN111402234A/en
Application granted granted Critical
Publication of CN111402234B publication Critical patent/CN111402234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06T2207/30164Workpiece; Machine component

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a machine vision inspection system, comprising: an algorithm module for storing at least one visual algorithm; the function expansion module comprises a plurality of functional units, and the functional units are arranged in one-to-one correspondence with the vision algorithm; the logic acquisition module is used for acquiring the execution sequence among the plurality of functional units set by the user; the interface module comprises a plurality of communication interfaces, and each communication interface is connected with corresponding peripheral equipment and is used for receiving image data from the peripheral equipment through the communication interface; the detection module is used for sequentially detecting the image data by adopting the corresponding functional units according to the execution sequence so as to obtain a corresponding detection result; in the detection processing process of the detection module, the current functional unit sends detection parameters obtained by detecting the image data to the next functional unit in the execution sequence. The invention has the beneficial effects that: the detection speed is improved.

Description

Machine vision detecting system
Technical Field
The invention relates to the technical field of industrial machines, in particular to a machine vision detection system.
Background
With the rapid development of manufacturing industry, the requirements on the production process, production efficiency and product quality are continuously improved. Therefore, the positioning, identification, measurement and detection in the process automation production are required to rely on the machine vision technology.
In the prior art, machine vision technologies such as OpenCV, matlab algorithm software are adopted, most of vision algorithms are functionally integrated by the software, and free configuration algorithms (including positioning, identification, detection and other algorithms) are provided for users, so that the users can test and verify projects, however, when the users need to apply to application software generated in specific projects, the users need to perform corresponding secondary development;
however, when the above single application requirement or the machine vision technology suitable for certain range requirements solves the specific function, it is required to access the industrial camera with a fixed model, and define a specific man-machine interface, so as to output a customized interface and an interaction mode such as data storage and communication.
However, the above prior art generally has the following problems:
(1) Only realizing a single requirement or a specific requirement, and being difficult to realize for software with complex flow;
(2) A developer is required to write complex codes, so that the project period is prolonged;
(3) Only department hardware is supported, and the number and the types of the supported hardware are limited: for industrial cameras, motion control cards, PLCs, robots, data acquisition cards and other hardware compatibility is not sufficient;
(4) The analysis capability of the data is insufficient, and functions such as remote monitoring, data simulation and the like are absent.
Disclosure of Invention
In view of the foregoing problems in the prior art, a machine vision inspection system is now provided that aims to increase development speed.
The specific technical scheme is as follows:
A machine vision inspection system, comprising:
an algorithm module for storing at least one visual algorithm;
The function expansion module is connected with the algorithm module and comprises a plurality of functional units, and the functional units are arranged in one-to-one correspondence with the vision algorithm;
The logic acquisition module is connected with the function expansion module and used for acquiring the execution sequence among the plurality of functional units set by a user;
The interface module comprises a plurality of communication interfaces, and each communication interface is connected with corresponding peripheral equipment and is used for receiving image data from the peripheral equipment through the communication interface;
The detection module is respectively connected with the logic acquisition module and the interface module and is used for sequentially detecting and processing the image data by adopting the corresponding functional units according to the execution sequence so as to obtain a corresponding detection result;
In the detection processing process of the detection module, the current functional unit sends detection parameters obtained by detecting the image data to the next functional unit in the execution sequence.
Preferably, the machine vision inspection system, wherein the logic acquisition module comprises:
a selection unit for acquiring a plurality of function units selected by a user;
the function module acquisition unit is connected with the selection unit and used for acquiring an execution sequence obtained by arranging a plurality of function units by a user.
Preferably, the machine vision detection system, wherein the algorithm module further comprises a first editing unit, the function expansion module further comprises a second editing unit, and the first editing unit is connected with the second editing unit;
the first editing unit is used for editing the visual algorithm and editing the corresponding visual algorithm according to the functional unit obtained by the second editing unit;
the second editing unit is used for editing the functional units and editing the corresponding functional units according to the visual algorithm obtained by the first editing unit.
Preferably, the machine vision inspection system, wherein the interface module further comprises:
And the third editing unit is used for editing the corresponding communication interface according to the peripheral equipment.
Preferably, the machine vision inspection system, wherein the execution sequence includes: and a functional unit that executes simultaneously.
Preferably, the machine vision inspection system, wherein the execution sequence includes: the exchange of the detection parameters is performed between a plurality of functional units having a sequential execution order.
Preferably, the machine vision detection system further comprises a display module, which is respectively connected with the algorithm module, the function expansion module, the logic acquisition module, the interface module and the detection module, and is used for connecting with a peripheral display to display the vision algorithm, the functional units associated with the vision algorithm, the execution sequence and the detection result.
Preferably, the machine vision inspection system wherein the execution sequence is displayed in a flow chart form in the display module.
The technical scheme has the following advantages or beneficial effects: the development convenience is improved, the development threshold is reduced, and the development speed is improved.
Drawings
Embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The drawings, however, are for illustration and description only and are not intended as a definition of the limits of the invention.
FIG. 1 is a schematic block diagram of a machine vision inspection system of the present invention;
FIG. 2 is a functional block diagram of a logic acquisition module of an embodiment of a machine vision inspection system of the present invention;
FIG. 3 is a schematic block diagram of a machine vision inspection system according to a second embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The invention is further described below with reference to the drawings and specific examples, which are not intended to be limiting.
The present invention includes a machine vision inspection system, as shown in fig. 1, comprising:
An algorithm module 1 for storing at least one visual algorithm;
The function expansion module 2 is connected with the algorithm module 1, and the function expansion module 2 comprises a plurality of function units which are arranged in one-to-one correspondence with the vision algorithm;
The logic acquisition module 3 is connected with the function expansion module 2 and is used for acquiring the execution sequence among a plurality of function units set by a user;
an interface module 4 including a plurality of communication interfaces 41, each communication interface 41 being connected to a corresponding peripheral device 42 for receiving image data from the peripheral device 42 through the communication interface 41;
The detection module 5 is respectively connected with the logic acquisition module 3 and the interface module 4 and is used for sequentially detecting and processing the image data by adopting the corresponding functional units according to the execution sequence so as to obtain a corresponding detection result;
in the detection process of the detection module 5, the current functional unit sends the detection parameter obtained by performing the detection process on the image data to the next functional unit in the execution sequence.
In the embodiment, by arranging the functional units in association with the visual algorithm, development convenience can be improved, development threshold is reduced, and development efficiency is improved;
the user sets the execution sequence among the functional units by himself, and the detection module 5 automatically detects and processes the image data according to the execution sequence, so that the detection operation difficulty is reduced, and the user can smoothly use the machine vision detection system through simple training;
The exchange of the detection parameters can be performed by a plurality of functional units in the detection processing of the detection module 5, so that the detection speed is increased, and the detection parameters of each functional unit do not need to be set.
Further, in the above embodiment, as shown in fig. 2, the logic acquisition module 3 includes:
a selection unit 31 for acquiring a plurality of function units selected by a user;
And a function module obtaining unit 32 connected to the selecting unit 31 for obtaining an execution order obtained by arranging the plurality of function units by the user.
In the above-described embodiment, the user may select a plurality of functional units as needed among all the functional units provided in the function expansion module 2, and arrange the plurality of functional units to obtain the corresponding execution order.
In a preferred embodiment, the machine vision inspection system may include an access module for interfacing with a peripheral input device (e.g., mouse, keyboard) for providing user selection and alignment functions.
Further, in the above-described embodiment, as shown in fig. 3, the algorithm module 1 further includes a first editing unit 11, the function expansion module 2 further includes a second editing unit 21, and the first editing unit 11 is connected to the second editing unit 21;
The first editing unit 11 is configured to edit the visual algorithm, and edit the corresponding visual algorithm according to the functional unit obtained by editing by the second editing unit 21;
The second editing unit 21 is configured to edit the functional units, and edit the corresponding functional units according to the visual algorithm obtained by the first editing unit 11.
In the above embodiment, the user may autonomously expand the visual algorithm and the functional unit;
for example, the first editing unit 11 may add a new visual algorithm, at this time, the second editing unit 21 newly creates a corresponding functional unit according to the newly added visual algorithm;
For example, the first editing unit 11 may modify the visual algorithm, and at this time, the second editing unit 21 modifies the corresponding functional unit according to the modified visual algorithm;
For example, the first editing unit 11 may delete the visual algorithm, and at this time, the second editing unit 21 deletes the corresponding functional unit according to the above-described deleted visual algorithm;
i.e. the editing functions adopted by the first editing unit 11 and the second editing unit 21 coincide.
While using the existing algorithm tools of the software, the user can freely add various algorithms and hardware, including development kits and autonomous algorithms which are mature in the market.
As a preferred embodiment, the functional units include a system tool unit, an image source unit, a positioning functional unit, a measurement functional unit, a calibration functional unit, an image processing unit, a character code type detection unit, a 3D tool unit, an alignment unit, and a data processing unit;
The functional units can be freely combined to realize the multiple functional requirements of a product, and the output parameters (same type) of any functional unit in front of the functional unit can be cited among the functional units, so that the effect of parameter interaction among the functional units is achieved.
Further, in the above embodiment, the interface module 4 further includes:
The third editing unit is configured to edit the corresponding communication interface 41 according to the peripheral device 42.
In the above embodiment, the user may perform autonomous expansion of the communication interface 41 according to the requirement of the peripheral device 42;
For example, the third editing unit may add a new communication interface 41 according to the newly added peripheral device 42 to access the new peripheral device 42;
for example, the third editing unit may modify the communication interface 41 to access the other peripheral device 42 described above;
for example, the third editing unit may add the communication interface 41 as needed.
The communication interface 41 includes: camera driving, IO card driving, serial port hardware interface, network port hardware interface, expansion hardware driving and the like;
in the above embodiment, by editing the communication interface 41, various hardware can be connected, so as to adapt to various complex and changeable test environments.
Further, in the above embodiment, the execution sequence includes: and a functional unit that executes simultaneously.
In the above embodiment, a plurality of functional units can be triggered simultaneously, so that the problems of stiffness and inflexibility of the conventional vision configuration can be solved.
And the multiple functional units can be triggered simultaneously to realize the simultaneous execution of multiple tasks, so that the execution sequence can comprise multiple execution steps of parallel operation, thereby reducing the detection time. Further, in the above embodiment, the execution sequence includes: the exchange of the detection parameters is performed between a plurality of functional units having a sequential execution order.
Further, in the above embodiment, the system further includes a display module, which is respectively connected to the algorithm module 1, the function expansion module 2, the logic acquisition module 3, the interface module 4, and the detection module 5, and is configured to connect to a peripheral display, so as to display the visual algorithm, the functional units associated with the visual algorithm, the execution sequence, and the detection result.
Further, in the above embodiment, the execution sequence is displayed in the form of a flow chart in the display module.
In the above embodiment, the free drag connection may be performed on a plurality of functional units, so that the addition of the functional units may be dragged, and the parameter links of every two functional units may be dragged, thereby constructing the above flowchart for displaying the execution sequence.
As a preferred embodiment, the detection module 5 may include:
An execution unit for performing detection processing on the image data according to an execution order;
and the suspension unit is connected with the execution unit and used for suspending the current execution sequence.
As a preferred embodiment, the detection module 5 may include:
and the circulating unit is connected with the executing unit and is used for performing circulating operation on the executing unit so that the executing unit circularly works.
In the embodiment, the execution sequence is displayed in a flow chart mode, so that the operation is weakened, the logic is enhanced, the thought of a user is clearer, the operation is simpler and more convenient, the training time is saved, and the misoperation probability is reduced.
The foregoing description is only illustrative of the preferred embodiments of the present invention and is not to be construed as limiting the scope of the invention, and it will be appreciated by those skilled in the art that equivalent substitutions and obvious variations may be made using the description and illustrations of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. A machine vision inspection system, comprising:
an algorithm module for storing at least one visual algorithm;
the function expansion module is connected with the algorithm module and comprises a plurality of functional units, and the functional units are arranged in one-to-one correspondence with the vision algorithm;
the logic acquisition module is connected with the function expansion module and used for acquiring the execution sequence among the plurality of function units set by a user;
the interface module comprises a plurality of communication interfaces, wherein each communication interface is connected with corresponding peripheral equipment and is used for receiving image data from the peripheral equipment through the communication interface;
the detection module is respectively connected with the logic acquisition module and the interface module and is used for sequentially detecting the image data by adopting the corresponding functional units according to the execution sequence so as to obtain a corresponding detection result;
In the detection processing process of the detection module, the current functional unit sends detection parameters obtained by detecting the image data to the next functional unit in the execution sequence so as to refer to the detection parameters output by any functional unit before the current functional unit;
the algorithm module further comprises a first editing unit, the function expansion module further comprises a second editing unit, and the first editing unit is connected with the second editing unit;
the first editing unit is used for editing the visual algorithm and editing the corresponding visual algorithm according to the functional unit obtained by the second editing unit;
The second editing unit is used for editing the functional units and editing the corresponding functional units according to the visual algorithm obtained by the first editing unit;
The editing functions adopted by the first editing unit and the second editing unit are consistent.
2. The machine vision inspection system of claim 1, wherein the logic acquisition module comprises:
a selection unit, configured to obtain a plurality of the function units selected by the user;
And the function module acquisition unit is connected with the selection unit and is used for acquiring the execution sequence obtained by arranging the plurality of function units by the user.
3. The machine vision inspection system of claim 1, wherein the interface module further comprises:
and the third editing unit is used for editing the corresponding communication interface according to the peripheral equipment.
4. The machine vision inspection system of claim 1, wherein the execution sequence includes: and the functional units are executed simultaneously.
5. The machine vision inspection system of claim 1, wherein the execution sequence includes: and exchanging the detection parameters among the functional units with the execution sequence.
6. The machine vision inspection system of claim 1, further comprising a display module coupled to the algorithm module, the function expansion module, the logic acquisition module, the interface module, and the inspection module, respectively, for interfacing with a peripheral display to display the vision algorithm, the functional units associated with the vision algorithm, the execution order, and the inspection result.
7. The machine vision inspection system of claim 6, wherein the execution sequence is displayed in a flow chart form in the display module.
CN202010182793.9A 2020-03-16 2020-03-16 Machine vision detecting system Active CN111402234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010182793.9A CN111402234B (en) 2020-03-16 2020-03-16 Machine vision detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010182793.9A CN111402234B (en) 2020-03-16 2020-03-16 Machine vision detecting system

Publications (2)

Publication Number Publication Date
CN111402234A CN111402234A (en) 2020-07-10
CN111402234B true CN111402234B (en) 2024-05-03

Family

ID=71432453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010182793.9A Active CN111402234B (en) 2020-03-16 2020-03-16 Machine vision detecting system

Country Status (1)

Country Link
CN (1) CN111402234B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515313B (en) * 2020-11-09 2024-04-19 苏州如林自动化软件科技有限公司 Motion control card configuration method, computer equipment, motion control method and system
WO2024098325A1 (en) * 2022-11-10 2024-05-16 京东方科技集团股份有限公司 Image processing method, three-dimensional measurement method, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007102286A (en) * 2005-09-30 2007-04-19 Seiko Epson Corp Specific image detection device, method, and program
CN103018259A (en) * 2012-12-18 2013-04-03 华南理工大学 Multi-zone segmentation visual detection system and method based on embedded type framework
CN105511388A (en) * 2015-12-01 2016-04-20 天津普达软件技术有限公司 Method for randomly setting functions of all points of PLC
CN105718271A (en) * 2016-02-15 2016-06-29 福州觉感视觉软件科技有限公司 Machine vision intelligent detection system
CN106470307A (en) * 2015-08-18 2017-03-01 泰科电子(上海)有限公司 Programmable machine sighting device
KR101858691B1 (en) * 2017-01-10 2018-05-16 주식회사 에스원 Event Sensing and Space Adjusting method of Image of Security System

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007102286A (en) * 2005-09-30 2007-04-19 Seiko Epson Corp Specific image detection device, method, and program
CN103018259A (en) * 2012-12-18 2013-04-03 华南理工大学 Multi-zone segmentation visual detection system and method based on embedded type framework
CN106470307A (en) * 2015-08-18 2017-03-01 泰科电子(上海)有限公司 Programmable machine sighting device
CN105511388A (en) * 2015-12-01 2016-04-20 天津普达软件技术有限公司 Method for randomly setting functions of all points of PLC
CN105718271A (en) * 2016-02-15 2016-06-29 福州觉感视觉软件科技有限公司 Machine vision intelligent detection system
KR101858691B1 (en) * 2017-01-10 2018-05-16 주식회사 에스원 Event Sensing and Space Adjusting method of Image of Security System

Also Published As

Publication number Publication date
CN111402234A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN111402234B (en) Machine vision detecting system
CN102789713B (en) Entity programming method and system based on infrared and wireless transmission technology
JP5030852B2 (en) Device management apparatus, device management method, and program
US6901309B2 (en) Programming platform for generating parts programs for machine tools or production machines
CN108983729A (en) A kind of twin method and system of industrial production line number
CN111966068A (en) Augmented reality monitoring method and device for motor production line, electronic equipment and storage medium
CN104395843A (en) Automatic operation system and method for automating operation
CN107579913B (en) Configurable communication gateway and communication method based on same
CN116127821A (en) Three-dimensional visual presentation method and platform for operation and maintenance data
CN108776444A (en) Augmented reality man-machine interactive system suitable for CPS automatic control systems
KR102464729B1 (en) Installation support device and method for installation process support for an automation system
CN108052073B (en) Numerically-controlled machine tool control method and system
CN103970053A (en) Data creating device and method
CN116958426A (en) Virtual debugging configuration method, device, computer equipment and storage medium
CN204331731U (en) A kind of product automatic assembly design system based on Pro/E
CN112131759B (en) Comprehensive environment simulation multi-parameter working condition input system and working condition creation method
CN113741687B (en) Industrial air conditioner control communication method, system and storage medium based on AR (augmented reality) glasses
CN115988026A (en) Intelligent data processing and decision analysis method and device for Internet of things edge terminal
CN108115680A (en) Robot control method, robot control system and control logic collocation method
Kovalev et al. Development of a mobile application for training operators to work with machine tools with CNC systems using augmented reality
CN112859660B (en) Equipment synchronization control method, device, terminal and system
CN108549342A (en) A kind of multi-work piece hybrid process flexible intelligent manufacture system
Patibandla et al. Augmented reality for assistive maintenance and real-time failure analysis in industries
CN108711190B (en) MR/VR-based laser control system implementation method
US11474496B2 (en) System and method for creating a human-machine interface

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
GR01 Patent grant
GR01 Patent grant