CN105023262A - Visual detection controller - Google Patents

Visual detection controller Download PDF

Info

Publication number
CN105023262A
CN105023262A CN201410165380.4A CN201410165380A CN105023262A CN 105023262 A CN105023262 A CN 105023262A CN 201410165380 A CN201410165380 A CN 201410165380A CN 105023262 A CN105023262 A CN 105023262A
Authority
CN
China
Prior art keywords
image
module
detection controller
buffer memory
vision
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
CN201410165380.4A
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.)
Suzhou Ruisente Information Technology Co Ltd
Original Assignee
Suzhou Ruisente Information 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 Suzhou Ruisente Information Technology Co Ltd filed Critical Suzhou Ruisente Information Technology Co Ltd
Priority to CN201410165380.4A priority Critical patent/CN105023262A/en
Publication of CN105023262A publication Critical patent/CN105023262A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Input (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a visual detection controller. The visual detection controller comprises an image acquisition module, an image preprocessing module, an interface module, a time stamp management module, a buffer memory and a camera. The image acquisition module is used for controlling the camera to photograph linear images of a product to be detected and store the linear images of the product to be detected in the buffer memory. The time stamp management module is used for sorting the stored linear images according to time stamp order and transmitting a sorting result to the image preprocessing module. The image preprocessing module is used for extracting the linear images and preprocessing the linear images in turn according to the order. The interface module is used for uploading the preprocessed images to an industrial control computer, receiving detection results fed back by the industrial control computer and outputting the detection results to external equipment. According to the visual detection controller, computing amount of the industrial control computer required for image analysis is reduced, the overall detection speed of the detection system is enhanced, the risk of data packet loss can be greatly reduced, and the visual detection controller can be greatly adaptive to high-speed and complex detection environment.

Description

Vision-based detection controller
Technical field
The present invention relates to a kind of vision-based detection controller.
Background technology
Existing vision-based detection controller many uses scrambler, IO card (input-output card) link with industrial computer, the input and output of settling signal.Although this pattern is simple and general, not specially for vision-based detection design, thus for high speed, complicated testing environment.Such vision-based detection controller has the following disadvantages:
1, existing vision-based detection controller is not owing to having caching mechanism, and the risk of lost data packets is very high.If host computer process data more comparatively busy when, the view data that camera is taken still can only be sent to host computer, very possible packet discard by network interface card.
2, owing to not having Image semantic classification mechanism, and view data is comparatively large, and host computer is difficult to carry out real-time detection.
3, camera often obtains a frame image data all needs to be uploaded to host computer immediately, and when network traffics are high, host computer needs the request that continuous response data is transmitted, and reduces the whole efficiency of system.
4, common signals collecting pattern does not have a timestamp mark function, can only be coordinated and provide, but general operating system can only provide the time mark of Millisecond by upper computer software, can not meet with the requirement of the timestamp of packet mark.
5, the pattern of IO card, limits the quantity that interface exports.
6, there is no enough correct time stamp functions, when polyphaser gathers image, the sequencing of the packet of two distinct interface transmission cannot be analyzed.
7, the pattern that scrambler is direct-connected, control simple, but the pattern of image acquisition is very single, cannot meet the image acquisition of complex environment.
Therefore, need badly a kind of for vision-based detection design, the vision-based detection controller of high speed, complicated testing environment can be adapted to preferably.
Summary of the invention
The technical problem to be solved in the present invention is to overcome vision-based detection controller of the prior art, lost data packets risk is comparatively large, and entire system efficiency is lower, does not have enough correct time stamp functions, be difficult to the defect adapting to high speed, complicated testing environment, propose a kind of vision-based detection controller.
The present invention solves above-mentioned technical matters by following technical proposals:
The invention provides a kind of vision-based detection controller, its feature is, comprise image capture module, image pre-processing module, interface module, timestamp administration module, buffer memory and camera, image capture module for control camera take product to be detected linear image and by linear image stored in buffer memory, timestamp administration module is used for sorting to the timestamp sequencing of the linear image stored in buffer memory according to linear image, and ranking results is sent to image pre-processing module, image pre-processing module is used for from buffer memory, extracting linear image and carrying out pre-service to linear image successively according to the order of the ranking results received, to obtain pretreatment image, interface module is used for pretreatment image to be uploaded to industrial computer, receive the testing result to pretreatment image of industrial computer feedback, and export testing result to external unit.
In the detection of high speed, high resolving power, large format, all mass data can be faced.Image pre-processing module of the present invention carries out real-time Quick Pretreatment by hardware mode to mass data, effectively utilize pre-service reduce industrial computer image is analyzed needed for calculated amount, improve the detection speed of detection system entirety.Further, rely on the effect of buffer memory, namely utilize hardware cache mechanism to greatly reduce the risk of lost data packets.Simultaneously when host computer (i.e. industrial computer) task is more, the design of hardware cache mechanism also can reduce the number of times of host computer response request greatly, thus improves whole efficiency.
Interface module in the present invention can not only ensure the communication with host computer, can carry out the output of multichannel simultaneously, and can expand according to actual needs, to meet the control of more external units.
Preferably, image capture module comprises the time manager of nanosecond, this time manager is used for each the frame linearity image tagged nsec stamp for camera shooting, and the sequencing that timestamp administration module stabs for the nsec corresponding according to each frame linearity image to the linear image stored in buffer memory sorts and ranking results is sent to image pre-processing module.
Owing to devising the time manager of nanosecond on hardware, each frame image data collected all be marked to the timestamp of nanosecond, thus the needs of the application of the overwhelming majority can be met, precise time is provided to stab, and the image frame data of different cameral shooting distinct interface transmission also can sort, realize better data management, for further analysis of image data provides convenient.
Preferably, buffer memory comprises a Double Data Rate synchronous DRAM and a spare memory.
Data buffer storage is carried out by arranging the DDR sdram memory chip (i.e. Double Data Rate synchronous DRAM) being exclusively used in the 1G of caching image data, just can after receiving the view data bag of some, then by Packet Generation to pretreatment module.If pretreatment module has little time response request, then spare memory can continue the data that buffer memory gathers, and so just greatly reduces the risk of packet discard during collection.It should be noted that spare memory can be exclusively used in caching image data, but must not be exclusively used in caching image data.
Preferably, this vision-based detection controller also comprises system state module, and system state module is used for the state of Real-time Obtaining industrial computer and external unit and coordinates the work of industrial computer and external unit.Such user just can monitor the duty of industrial computer and external unit in real time by means of only vision-based detection controller, it is more convenient to use.
Preferably, the quantity of camera is multiple.
Preferably, interface module comprises multiple pci interface.PCI is the standard of the local bus that Intel company releases, also referred to as peripheral hardware interconnect standard, many referred to as PCI in practical application, is a kind of bus standard connecting robot calculator mainboard and external unit.Namely pci interface meets the interface of this bus standard.
On the basis meeting this area general knowledge, above-mentioned each optimum condition, can combination in any, obtains the preferred embodiments of the invention.
Positive progressive effect of the present invention is:
Vision-based detection controller of the present invention, realize the real-time Quick Pretreatment of mass data by hardware mode, effectively reduce industrial computer image is analyzed needed for calculated amount, improve the detection speed of detection system entirety, and utilize hardware cache mechanism to greatly reduce the risk of lost data packets, significantly improve whole efficiency, high speed, complicated testing environment can be adapted to well.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the vision-based detection controller of a preferred embodiment of the present invention.
Embodiment
Provide a preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail, but therefore do not limit the present invention among described scope of embodiments.
Shown in figure 1, the vision-based detection controller of the present embodiment, comprises image capture module 1, image pre-processing module 3, interface module 5, timestamp administration module 4, system state module 6, buffer memory 2 and 4 cameras 0.It will be appreciated by those skilled in the art that in Fig. 1 and all only schematically draw one for camera 0, external unit 8, the quantity therefore not limiting camera and external unit in the present invention is necessary for one.
Wherein, image capture module for control camera take product to be detected linear image and by linear image stored in buffer memory, timestamp administration module is used for sorting to the timestamp sequencing of the linear image stored in buffer memory according to linear image, and ranking results is sent to image pre-processing module, image pre-processing module is used for from buffer memory, extracting linear image and carrying out pre-service to linear image successively according to the order of the ranking results received, to obtain pretreatment image, interface module is used for pretreatment image to be uploaded to industrial computer, receive the testing result to pretreatment image of industrial computer feedback, and export testing result to external unit.System state module is used for the state of Real-time Obtaining industrial computer 7 and external unit 8 and coordinates the work of industrial computer and external unit.Such user just can monitor the duty of industrial computer and external unit in real time by means of only vision-based detection controller, it is more convenient to use.
In the detection of high speed, high resolving power, large format, all mass data can be faced.Image pre-processing module of the present invention carries out real-time Quick Pretreatment by hardware mode to mass data, effectively utilize pre-service reduce industrial computer image is analyzed needed for calculated amount, improve the detection speed of detection system entirety.Further, rely on the effect of buffer memory, namely utilize hardware cache mechanism to greatly reduce the risk of lost data packets.Simultaneously when host computer task is more, the design of hardware cache mechanism also can reduce the number of times of host computer response request greatly, thus improves whole efficiency.
Interface module in the present embodiment can not only ensure the communication with host computer, and interface module includes 8 pci interfaces, can carry out the output on nearly 8 tunnels simultaneously., can also further expand, to meet the control of more external units if needed.
In addition, the buffer memory of the present embodiment comprises DDR sdram memory chip and a spare memory of a 1G.If pretreatment module has little time response request, then spare memory can continue the data that buffer memory gathers, and so just greatly reduces the risk of packet discard during collection.Wherein spare memory is not be exclusively used in caching image data.
In addition, image capture module comprises the time manager of nanosecond, this time manager is used for each the frame linearity image tagged nsec stamp for camera shooting, and the sequencing that timestamp administration module stabs for the nsec corresponding according to each frame linearity image to the linear image stored in buffer memory sorts and ranking results is sent to image pre-processing module.
Owing to devising the time manager of nanosecond on hardware, each frame image data collected all be marked to the timestamp of nanosecond, thus the needs of the application of the overwhelming majority can be met, precise time is provided to stab, and the image frame data of different cameral shooting distinct interface transmission also can sort, realize better data management, for further analysis of image data provides convenient.
Although the foregoing describe the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is defined by the appended claims.Those skilled in the art, under the prerequisite not deviating from principle of the present invention and essence, can make various changes or modifications to these embodiments, but these change and amendment all falls into protection scope of the present invention.

Claims (6)

1. a vision-based detection controller, it is characterized in that, comprise image capture module, image pre-processing module, interface module, timestamp administration module, buffer memory and camera, image capture module for control camera take product to be detected linear image and by linear image stored in buffer memory, timestamp administration module is used for sorting to the timestamp sequencing of the linear image stored in buffer memory according to linear image, and ranking results is sent to image pre-processing module, image pre-processing module is used for from buffer memory, extracting linear image and carrying out pre-service to linear image successively according to the order of the ranking results received, to obtain pretreatment image, interface module is used for pretreatment image to be uploaded to industrial computer, receive the testing result to pretreatment image of industrial computer feedback, and export testing result to external unit.
2. vision-based detection controller as claimed in claim 1, it is characterized in that, image capture module comprises the time manager of nanosecond, this time manager is used for each the frame linearity image tagged nsec stamp for camera shooting, and the sequencing that timestamp administration module stabs for the nsec corresponding according to each frame linearity image to the linear image stored in buffer memory sorts and ranking results is sent to image pre-processing module.
3. vision-based detection controller as claimed in claim 1, it is characterized in that, buffer memory comprises a Double Data Rate synchronous DRAM and a spare memory.
4. vision-based detection controller as claimed in claim 1, it is characterized in that, this vision-based detection controller also comprises system state module, and system state module is used for the state of Real-time Obtaining industrial computer and external unit and coordinates the work of industrial computer and external unit.
5. as the vision-based detection controller in claim 1-4 as described in any one, it is characterized in that, the quantity of camera is multiple.
6. vision-based detection controller as claimed in claim 1, it is characterized in that, interface module comprises multiple pci interface.
CN201410165380.4A 2014-04-23 2014-04-23 Visual detection controller Pending CN105023262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410165380.4A CN105023262A (en) 2014-04-23 2014-04-23 Visual detection controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410165380.4A CN105023262A (en) 2014-04-23 2014-04-23 Visual detection controller

Publications (1)

Publication Number Publication Date
CN105023262A true CN105023262A (en) 2015-11-04

Family

ID=54413204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410165380.4A Pending CN105023262A (en) 2014-04-23 2014-04-23 Visual detection controller

Country Status (1)

Country Link
CN (1) CN105023262A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948458A (en) * 2017-11-02 2018-04-20 东莞理工学院 A kind of vision-based detection control method and system
CN111402190A (en) * 2018-12-28 2020-07-10 上海尤图智能科技有限公司 Image processing device and system for wire rod on-line detection
CN112487034A (en) * 2020-12-01 2021-03-12 上海思客琦智能装备科技股份有限公司 Double-queue asynchronous image processing method and device
CN114143458A (en) * 2021-11-26 2022-03-04 凌云光技术股份有限公司 Image acquisition control method and device based on machine vision

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0840518A2 (en) * 1996-11-01 1998-05-06 Texas Instruments Incorporated MPEG transport stream parser system
CN101276218A (en) * 2008-04-29 2008-10-01 上海交通大学 Machine vision system aiming at high real time image collecting and processing
CN101719984A (en) * 2009-11-09 2010-06-02 北京中星微电子有限公司 Image processing device
CN102044063A (en) * 2010-12-23 2011-05-04 中国科学院自动化研究所 FPGA (Field Programmable Gate Array) and DSP (Digital Signal Processor) based machine vision system
CN103686042A (en) * 2012-09-25 2014-03-26 三星电子株式会社 Method and apparatus for image data processing, and electronic device including the apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0840518A2 (en) * 1996-11-01 1998-05-06 Texas Instruments Incorporated MPEG transport stream parser system
CN101276218A (en) * 2008-04-29 2008-10-01 上海交通大学 Machine vision system aiming at high real time image collecting and processing
CN101719984A (en) * 2009-11-09 2010-06-02 北京中星微电子有限公司 Image processing device
CN102044063A (en) * 2010-12-23 2011-05-04 中国科学院自动化研究所 FPGA (Field Programmable Gate Array) and DSP (Digital Signal Processor) based machine vision system
CN103686042A (en) * 2012-09-25 2014-03-26 三星电子株式会社 Method and apparatus for image data processing, and electronic device including the apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948458A (en) * 2017-11-02 2018-04-20 东莞理工学院 A kind of vision-based detection control method and system
CN111402190A (en) * 2018-12-28 2020-07-10 上海尤图智能科技有限公司 Image processing device and system for wire rod on-line detection
CN111402190B (en) * 2018-12-28 2023-06-09 上海尤图智能科技有限公司 Image processing device and system for wire rod on-line detection
CN112487034A (en) * 2020-12-01 2021-03-12 上海思客琦智能装备科技股份有限公司 Double-queue asynchronous image processing method and device
CN114143458A (en) * 2021-11-26 2022-03-04 凌云光技术股份有限公司 Image acquisition control method and device based on machine vision

Similar Documents

Publication Publication Date Title
CN107171978B (en) Multi-channel data circulation acquisition system and method for gigabit Ethernet
CN105023262A (en) Visual detection controller
CN103647925B (en) A kind of embedded parallel duplex digital image capturing system based on GigE interface
CN107817217B (en) Image acceleration processing system suitable for LCM automatic optical detection
CN102355572A (en) Large high-definition video monitoring system based on cloud computing
CN101221439A (en) Embedded system for high speed parallel duplex digital image capturing and processing
CN202488597U (en) Autonomous cooperation video monitor node apparatus for intelligent object identification and track
CN104079885A (en) Nobody-monitored and linkage-tracked network camera shooting method and device
CN103617592A (en) Hyperspectral image high-speed parallel processing system and method based on FPGA and multiple DSPs
CN104917645A (en) Method and device for detecting message transmission overtime on line
CN205486305U (en) Multinuclear heart image processor system based on compactPCI bus
CN214586880U (en) Information processing apparatus
CN108073097B (en) Image processing device of industrial robot
CN105120235A (en) Industrial image collection system based on USB 3.0 interface, and image collection processing method of industrial image collection system
CN106385568A (en) Video monitoring system
CN205385561U (en) Tiled display systems of shielding more
CN202395911U (en) Embedded remote wireless real-time image processing system for industrial flaw detection
CN109632842A (en) A kind of the CT detector and its application method of module serial structure
CN202334758U (en) Wireless image collecting system based on FPGA (Field Programmable Gate Array)
CN212367393U (en) Video image processing device based on AI chip
CN205038593U (en) Data acquisition facility based on cloud computing technology
CN107508880A (en) Data-storage system based on big data processing
CN203164738U (en) Machine vision control system based on cloud computing
CN205484089U (en) Distributing type image acquisition system
CN108200357A (en) Video signal processing system based on multiple DSP processors

Legal Events

Date Code Title Description
C06 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: 20151104