CN111402234A - Machine vision detection system - Google Patents

Machine vision detection system Download PDF

Info

Publication number
CN111402234A
CN111402234A CN202010182793.9A CN202010182793A CN111402234A CN 111402234 A CN111402234 A CN 111402234A CN 202010182793 A CN202010182793 A CN 202010182793A CN 111402234 A CN111402234 A CN 111402234A
Authority
CN
China
Prior art keywords
module
editing
unit
execution sequence
algorithm
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.)
Granted
Application number
CN202010182793.9A
Other languages
Chinese (zh)
Other versions
CN111402234B (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • 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 Analysis (AREA)
  • Image Processing (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 function units, and the function units are arranged in one-to-one correspondence with the visual algorithm; the logic acquisition module is used for acquiring the execution sequence among a plurality of functional units set by a user; the interface module comprises a plurality of communication interfaces, 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 and processing the image data by adopting the corresponding functional units according to the execution sequence to obtain corresponding detection results; in the detection processing process of the detection module, the current functional unit sends the 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 detection 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 for production process, production efficiency and product quality are continuously improved. Therefore, the positioning, identification, measurement and detection in the process automation production need to depend on the machine vision technology.
In the prior art, machine vision technologies such as OpenCV and Matlab algorithm software are adopted, the software functionally integrates most of vision algorithms, and provides a user with a free configuration algorithm (including positioning, identifying, detecting and other algorithms) so that the user can test and verify a project, however, when the user needs to apply to application software generated in a specific project, the user needs to perform corresponding secondary development;
however, when the machine vision technology meeting the above-mentioned single application requirements or requirements in some ranges is used to solve a specific function, an industrial camera of a fixed model needs to be accessed, and a specific human-computer interface needs to be defined, so as to output a customized interface and interaction modes such as data storage and communication.
However, the above prior art generally has the following problems:
(1) only the realization function of single requirement or specific requirement is realized, and the realization of the software with complex flow is difficult;
(2) developers are required to write complex codes and prolong the project period;
(3) only supporting department hardware, and the number and the types of the supported hardware are limited, and the compatibility of hardware such as an industrial camera, a motion control card, a P L C, a robot, a data acquisition card and the like is not enough;
(4) the analysis capability of the data is insufficient, and functions such as remote monitoring and data simulation are lacked.
Disclosure of Invention
In view of the above problems in the prior art, a machine vision inspection system is provided to improve the 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 function units, and the function units are arranged in one-to-one correspondence with the visual 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 the user;
the interface module comprises a plurality of communication interfaces, 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 to obtain corresponding detection results;
in the detection processing process of the detection module, the current functional unit sends the 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:
the selection unit is used for acquiring a plurality of functional units selected by a user;
and the function module acquisition unit is connected with the selection unit and used for acquiring the execution sequence obtained by arranging the plurality of function units by the user.
Preferably, the machine vision inspection system, wherein the algorithm module further comprises a first editing unit, the function extension 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 editing by the second editing unit;
and the second editing unit is used for editing the functional units and editing the corresponding functional units according to the visual algorithm obtained by editing in 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: functional units that execute simultaneously.
Preferably, the machine vision inspection system, wherein the execution sequence includes: and exchanging detection parameters among a plurality of functional units with a sequential execution sequence.
Preferably, the machine vision inspection system further includes a display module, which is respectively connected to the algorithm module, the function expansion module, the logic acquisition module, the interface module and the inspection module, and is used to connect to an external display to display the visual algorithm, the functional units associated with the visual algorithm, the execution sequence and the inspection result.
Preferably, the machine vision inspection system, wherein the execution sequence is displayed in the form of a flow chart 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 hereinafter with reference to the accompanying drawings. The drawings are, however, to be regarded as illustrative and explanatory only and are not restrictive of the scope of the invention.
FIG. 1 is a first schematic block diagram of a machine vision inspection system of an embodiment of the present invention;
FIG. 2 is a functional block diagram of a logic acquisition module of an embodiment of the machine vision inspection system of the present invention;
fig. 3 is a schematic block diagram of a machine vision inspection system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The invention is further described with reference to the following drawings and specific examples, which are not intended to be limiting.
The present invention comprises 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, the function expansion module 2 comprises a plurality of function units, and the function units are arranged in one-to-one correspondence with the visual 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 functional units set by a user;
the interface module 4 comprises a plurality of communication interfaces 41, wherein each communication interface 41 is connected with a corresponding peripheral device 42 and is used 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 to obtain corresponding detection results;
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, the functional units and the visual algorithm are arranged in a correlation manner, so that the development convenience is improved, the development threshold is reduced, and the development efficiency is improved;
the execution sequence among the functional units is set by a user, 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 detection parameters can be exchanged by a plurality of functional units in the detection processing process 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 obtaining module 3 includes:
a selection unit 31 for acquiring a plurality of functional units selected by a user;
and the function module acquiring unit 32 is connected with the selecting unit 31 and is used for acquiring an execution sequence obtained by arranging the plurality of function units by a user.
In the above embodiment, the user may select a plurality of required functional units from all the functional units provided in the function extension 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) configured to provide user selection and alignment functions.
Further, in the above embodiment, as shown in fig. 3, the algorithm module 1 further includes a first editing unit 11, the function extension 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 in the second editing unit 21;
the second editing unit 21 is configured to edit the functional unit, and edit the corresponding functional unit according to the visual algorithm edited by the first editing unit 11.
In the above embodiment, the user may perform autonomous expansion of the visual algorithm and the functional unit;
for example, the first editing unit 11 may add a new vision algorithm, and at this time, the second editing unit 21 newly builds a corresponding functional unit according to the newly added vision algorithm;
for example, the first editing unit 11 may modify a 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 deleted visual algorithm;
that is, the editing functions employed by the first editing unit 11 and the second editing unit 21 coincide.
While using the existing algorithm tools of software, users can freely add various algorithms and hardware, including mature development kits and autonomous algorithms in the market.
As a preferred embodiment, the function unit comprises a system tool unit, an image source unit, a positioning function unit, a measurement function unit, a calibration function unit, an image processing unit, a character code detection unit, a 3D tool unit, a registration unit and a data processing unit;
the multiple functional units can be freely combined to meet multiple functional requirements of a product, and output parameters (same type) of any functional unit before the functional unit can be referenced among the multiple 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:
and a third editing unit, configured to edit the corresponding communication interface 41 according to the peripheral device 42.
In the above embodiment, the user can autonomously expand 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;
for example, the third editing unit may add the communication interface 41 as needed.
The communication interface 41 includes: a camera driver, an IO card driver, a serial port hardware interface, a network port hardware interface, an expansion hardware driver and the like;
in the above embodiment, the communication interface 41 is edited, so that various hardware can be connected, and various complicated and changeable test environments can be adapted.
Further, in the above embodiment, the execution order includes: functional units that execute simultaneously.
In the above embodiment, a plurality of functional units can be triggered simultaneously, so that the problems of rigid configuration and insufficient flexibility of the traditional vision can be solved.
And multiple functional units can be triggered simultaneously to realize simultaneous multitasking, so that the execution sequence can comprise multiple execution steps of parallel operation, and the detection time is reduced. Further, in the above embodiment, the execution order includes: and exchanging detection parameters among a plurality of functional units with a sequential execution sequence.
Further, in the above embodiment, the display module is further included, and is respectively connected to the algorithm module 1, the function expansion module 2, the logic obtaining module 3, the interface module 4, and the detection module 5, and is configured to connect to an external 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 embodiments, the execution sequence is displayed in the display module in the form of a flow chart.
In the above embodiment, a plurality of functional units may be freely dragged and connected, so that the addition of the functional units may be dragged, and every two functional unit parameter links may be dragged, thereby constructing the above flowchart for showing the execution sequence.
As a preferred embodiment, the detection module 5 may include:
an execution unit configured to perform detection processing on the image data according to an execution order;
and the pause unit is connected with the execution unit and is used for pausing the current execution sequence.
As a preferred embodiment, the detection module 5 may include:
and the circulating unit is connected with the execution unit and is used for performing circulating operation on the execution unit so that the execution unit works circularly.
In the embodiment, the execution sequence is displayed in a flow chart mode, so that the operation is weakened, the logicality is strengthened, the user thought is clearer, the operation is simpler and more convenient, the training time is saved, and the misoperation probability is reduced.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.

Claims (8)

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 function units, and the function units are arranged in one-to-one correspondence with the visual 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, 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 to obtain corresponding detection results;
in the detection processing process of the detection module, the current functional unit sends a detection parameter obtained by detecting the image data to the next functional unit in the execution sequence.
2. The machine-vision inspection system of claim 1, wherein the logic acquisition module comprises:
a selection unit configured to acquire a plurality of the functional units selected by the user;
and the functional module acquisition unit is connected with the selection unit and used for acquiring the execution sequence obtained by arranging the plurality of functional units by the user.
3. The machine vision inspection system of claim 1, wherein the algorithm module further comprises a first editing unit, the function extension module further comprises a second editing unit, 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 editing by the second editing unit;
and the second editing unit is used for editing the functional units and editing the corresponding functional units according to the visual algorithm obtained by editing in the first editing unit.
4. 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.
5. The machine vision inspection system of claim 1, wherein the execution sequence comprises: the functional units being executed simultaneously.
6. The machine vision inspection system of claim 1, wherein the execution sequence comprises: and exchanging the detection parameters among a plurality of functional units with a sequential execution sequence.
7. The machine-vision inspection system of claim 1, further comprising a display module, respectively coupled to said algorithm module, said function expansion module, said logic acquisition module, said interface module, and said inspection module, for coupling to a peripheral display for displaying said visual algorithm, said functional units associated with said visual algorithm, said execution sequence, and said inspection results.
8. The machine-vision inspection system of claim 7, wherein the execution sequence is displayed in the display module in the form of a flow chart.
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 true CN111402234A (en) 2020-07-10
CN111402234B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515313A (en) * 2020-11-09 2021-10-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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515313A (en) * 2020-11-09 2021-10-19 苏州如林自动化软件科技有限公司 Motion control card configuration method, computer equipment, motion control method and system
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

Also Published As

Publication number Publication date
CN111402234B (en) 2024-05-03

Similar Documents

Publication Publication Date Title
CN111835582B (en) Configuration method and device of Internet of things inspection equipment and computer equipment
CN102789713B (en) Entity programming method and system based on infrared and wireless transmission technology
CN111402234A (en) Machine vision detection system
CN104780407A (en) Automatic testing method and automatic testing system for set top box
US6901309B2 (en) Programming platform for generating parts programs for machine tools or production machines
KR102543064B1 (en) System for providing manufacturing environment monitoring service based on robotic process automation
US11960925B2 (en) Program generating device, program generating method, and information storage medium
US8589133B1 (en) Dynamic simulation of a system of interdependent systems
CN104395843A (en) Automatic operation system and method for automating operation
CN116958426A (en) Virtual debugging configuration method, device, computer equipment and storage medium
CN114578790A (en) Unmanned aerial vehicle flight control automatic test method, system, equipment and medium
Lin et al. Design and development of a digital twin dashboards system under cyber-physical digital twin environment
Kim et al. Smart connected worker edge platform for smart manufacturing: Part 1—Architecture and platform design
CN113377583B (en) Display screen controller backup method, device and system
CN115988026A (en) Intelligent data processing and decision analysis method and device for Internet of things edge terminal
CN214896671U (en) Intelligent software test platform based on robot
CN115712537A (en) Low-cost vehicle controller CAN signal simulation system
CN110794798B (en) Production data monitoring system and monitoring method applied to display panel
CN111025916A (en) Household appliance detection control method and system
CN107703917A (en) Controller performance detection method and system
CN113703637A (en) Inspection task coding method and device, electronic equipment and computer storage medium
WO2023013784A1 (en) Library presenting device, library presenting method, and robot control system
CN112819760A (en) Image detection method, device and system
US20220226998A1 (en) Method and apparatus for tracing fault of collaborative robot
CN113986431B (en) Visual debugging method and system for automatic robot production line

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