A kind of lithium battery total quality on-line monitoring system and method based on machine vision
Technical field
The present invention relates to lithium battery quality monitoring technical field, the comprehensive matter of specifically a kind of lithium battery based on machine vision
Measure on-line monitoring system and method.
Background technique
Machine vision is fast-developing branch of artificial intelligence.In brief, machine vision is exactly to use machine
It measures and judges instead of human eye.NI Vision Builder for Automated Inspection will be ingested by machine vision product (i.e. image-pickup device)
Target is converted into picture signal, sends dedicated image processing system to, obtains the shape information of target subject, according to pixel point
The information such as cloth and brightness, color, are transformed into digitized signal;Picture system carries out various operations to these signals to extract target
Feature.
Traditional lithium battery quality monitoring is carried out by way of manually checking, and working efficiency is low, monitors not comprehensive.Needle
To the above problem, the invention proposes a kind of lithium battery total quality on-line monitoring system and method based on machine vision.
Summary of the invention
The lithium battery total quality on-line monitoring system and side that the purpose of the present invention is to provide a kind of based on machine vision
Method, to solve the problems mentioned in the above background technology.
To achieve the above object, the invention provides the following technical scheme:
A kind of lithium battery total quality on-line monitoring system based on machine vision, comprising:
Image capture module, the image of multiple angles for acquiring lithium battery, by camera come electric from multiple angle shot lithiums
Pond achievees the purpose that lithium battery Image Acquisition;
Data transmission module is used for transmission the image of multiple angles of the lithium battery of image capture module acquisition, is passed by data
The image transmitting of the multiple angles for the lithium battery that defeated module can acquire image capture module is to image processing module, to scheme
As processing module handles it;
Image processing module obtains the brightness and saturation degree of image for handling the image that data transmission module transmits
Plane, using the application of morphology and threshold operator in luminance picture, the minor change of compensation brightness obtains the shape of lithium battery
State information, pixel distribution, brightness and colouring information extract the feature of lithium battery;
Analysis module, the lithium battery feature for extracting to image processing module are analyzed, are compared with preset threshold,
Obtain analysis as a result, finding out mass defect;
Display module facilitates personnel to understand, check for showing the analysis result of analysis module over the display.
As a further solution of the present invention: the lithium battery total quality on-line monitoring system based on machine vision is also
Including the module that calibrates for error, the module that calibrates for error is for correcting camera error and systematic error, so that analysis result is more
It is accurate to add.
As further scheme of the invention: the lithium battery total quality on-line monitoring system based on machine vision
It further include WIFI transmission module and terminal, terminal includes mobile phone, plate, computer, and WIFI transmission module is led to for that will analyze result
It crosses WIFI network and is transmitted to terminal, by the cooperation of WIFI transmission module and terminal, can check analysis as a result, making at the terminal
It is more convenient to obtain the lithium battery total quality on-line monitoring system use based on machine vision, intelligence degree is high.
As further scheme of the invention: described image acquisition module includes front side camera, upside camera and left side
Camera, front side camera are used to shoot the main view image of lithium battery, and upside camera is used to shoot the overhead view image of lithium battery, left side phase
Machine is used to shoot the side elevation image of lithium battery, achievees the purpose that multiple angle acquisition images with this.
As the present invention further scheme: the signal output end of described image acquisition module and data transmission module
Signal input part is electrically connected, and the signal output end of data transmission module and the signal input part of image processing module electrically connect
It connects, by the cooperation of image capture module, data transmission module and image processing module, realizes and acquire image capture module
The image transmitting of multiple angles of lithium battery handled to image processing module.
As further scheme of the invention: the signal output end of described image processing module and the signal of analysis module
Input terminal is electrically connected, and the signal output end of analysis module and the signal input part of display module are electrically connected, image procossing mould
Block carries out analysis and obtains analysis as a result, analysis result is passed to analysis module, analysis module is transferred to after the image procossing of acquisition
Display module is defeated by be shown.
A kind of lithium battery total quality on-line monitoring method based on machine vision, comprising the following steps:
The image for acquiring multiple angles of lithium battery, from multiple angle shot lithium batteries, reaches lithium battery image by camera
The purpose of acquisition;
Transmit the image of multiple angles of the lithium battery of acquisition;
Image is handled, the brightness and saturation degree plane of image are obtained, using morphology and threshold operator in luminance picture
In application, the minor change of compensation brightness obtains shape information, pixel distribution, brightness and the colouring information of lithium battery, extracts
The feature of lithium battery out;
Lithium battery feature is analyzed, is compared with preset threshold, obtains analysis as a result, finding out mass defect;
Analysis result is shown over the display, personnel is facilitated to understand, check.
Compared with prior art, the beneficial effects of the present invention are:
The lithium battery total quality on-line monitoring system based on machine vision passes through the image of multiple angles of acquisition lithium battery,
Image is handled, shape information, pixel distribution, brightness and the colouring information of lithium battery is obtained, extracts the spy of lithium battery
Sign, analyzes lithium battery feature, compares with preset threshold, finds out mass defect, analysis result can be in display
Upper display facilitates the understanding of personnel, checks, solves the monitoring mode manually checked there are working efficiencies low, monitors incomplete
The problem of face.
Detailed description of the invention
Fig. 1 is the structural block diagram of the lithium battery total quality on-line monitoring system based on machine vision.
Fig. 2 is the functional block diagram of the lithium battery total quality on-line monitoring system based on machine vision.
In figure: 1- image capture module, 2- data transmission module, 3- image processing module, 4- analysis module, 5- error school
Quasi-mode block, 6- display module, 7-WIFI transmission module, 8- terminal.
Specific embodiment
The technical solution of the patent is explained in further detail With reference to embodiment.
Embodiment 1
Referring to FIG. 1-2, in the embodiment of the present invention, a kind of lithium battery total quality on-line monitoring system based on machine vision,
Include:
Image capture module 1, the image of multiple angles for acquiring lithium battery, specifically, by camera come from multiple angles
Lithium battery is shot, achievees the purpose that lithium battery Image Acquisition;
Data transmission module 2 is used for transmission the image of multiple angles of the lithium battery of the acquisition of image capture module 1, passes through data
The image transmitting of the multiple angles for the lithium battery that transmission module 2 can acquire image capture module 1 to image processing module 3,
So that image processing module 3 handles it;
Image processing module 3, the image for transmitting to data transmission module 2 are handled, and obtain the brightness and saturation of image
Plane is spent, using the application of morphology and threshold operator in luminance picture, the minor change of compensation brightness obtains lithium battery
Shape information, pixel distribution, brightness and colouring information extract the feature of lithium battery;
Analysis module 4, the lithium battery feature for extracting to image processing module 3 are analyzed, and are carried out pair with preset threshold
Than obtaining analysis as a result, finding out mass defect;
Display module 6 facilitates personnel to understand, check for showing the analysis result of analysis module 4 over the display.
Further, the lithium battery total quality on-line monitoring system based on machine vision further includes the mould that calibrates for error
Block 5, the module that calibrates for error 5 is for correcting camera error and systematic error, so that analysis result is more accurate.
Further, the lithium battery total quality on-line monitoring system based on machine vision further includes WIFI transmission mould
Block 7 and terminal 8, terminal 8 include mobile phone, plate, computer, and WIFI transmission module 7 is passed for that will analyze result by WIFI network
Terminal 8 is transported to, by the cooperation of WIFI transmission module 7 and terminal 8, can check analysis as a result, being based on this in terminal 8
The lithium battery total quality on-line monitoring system use of machine vision is more convenient, and intelligence degree is high.
Specifically, described image acquisition module 1 includes front side camera, upside camera and left camera, front side camera is used for
The main view image of lithium battery is shot, upside camera is used to shoot the overhead view image of lithium battery, and left camera is for shooting lithium battery
Side elevation image, multiple angle acquisition images are achieved the purpose that with this.
Specifically, the signal output end of described image acquisition module 1 and the signal input part of data transmission module 2 electrically connect
It connects, the signal output end of data transmission module 2 and the signal input part of image processing module 3 are electrically connected, and pass through Image Acquisition
The cooperation of module 1, data transmission module 2 and image processing module 3 realizes the lithium battery for acquiring image capture module 1
The image transmitting of multiple angles is handled to image processing module 3.
Specifically, the signal output end of described image processing module 3 and the signal input part of analysis module 4 are electrically connected,
The signal output end of analysis module 4 and the signal input part of display module 6 are electrically connected, the figure of 3 pairs of image processing module acquisitions
As being transferred to analysis module 4 after processing, analysis module 4 carries out analysis and obtains analysis as a result, analysis result is transferred to display mould
Block 6 is shown.
Embodiment 2
In the embodiment of the present invention, a kind of lithium battery total quality on-line monitoring method based on machine vision, comprising the following steps:
The image for acquiring multiple angles of lithium battery, from multiple angle shot lithium batteries, reaches lithium battery image by camera
The purpose of acquisition;
Transmit the image of multiple angles of the lithium battery of acquisition;
Image is handled, the brightness and saturation degree plane of image are obtained, using morphology and threshold operator in luminance picture
In application, the minor change of compensation brightness obtains shape information, pixel distribution, brightness and the colouring information of lithium battery, extracts
The feature of lithium battery out;
Lithium battery feature is analyzed, is compared with preset threshold, obtains analysis as a result, finding out mass defect;
Analysis result is shown over the display, personnel is facilitated to understand, check.
Better embodiment of the invention is explained in detail above, but the present invention is not limited to above-mentioned embodiment party
Formula within the knowledge of one of ordinary skill in the art can also be without departing from the purpose of the present invention
Various changes can be made.