CN104931907B - Digital display electrical measuring amount instrument quality group's check system based on machine vision - Google Patents

Digital display electrical measuring amount instrument quality group's check system based on machine vision Download PDF

Info

Publication number
CN104931907B
CN104931907B CN201510242542.4A CN201510242542A CN104931907B CN 104931907 B CN104931907 B CN 104931907B CN 201510242542 A CN201510242542 A CN 201510242542A CN 104931907 B CN104931907 B CN 104931907B
Authority
CN
China
Prior art keywords
digital display
electrical measuring
measured
measuring amount
display electrical
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.)
Expired - Fee Related
Application number
CN201510242542.4A
Other languages
Chinese (zh)
Other versions
CN104931907A (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.)
China University of Mining and Technology CUMT
Original Assignee
China University of Mining and Technology CUMT
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 China University of Mining and Technology CUMT filed Critical China University of Mining and Technology CUMT
Priority to CN201510242542.4A priority Critical patent/CN104931907B/en
Publication of CN104931907A publication Critical patent/CN104931907A/en
Application granted granted Critical
Publication of CN104931907B publication Critical patent/CN104931907B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The present invention relates to a kind of digital display electrical measuring amount instrument quality group's check system based on machine vision, it includes industrial computer, the industrial computer and bar code scanner, industrial camera and the connection of programmed criteria source, industrial camera corresponds with digital display electrical measuring amount instrument to be measured, programmed criteria source is connected by allotter relay with some digital display electrical measuring amount instrument to be measured, all digital display electrical measuring amount instrument to be measured are connected by the contact of allotter relay with instrument power supply power supply, allotter relay is also connected with industrial computer, industrial computer can control the on off state of corresponding contacts in allotter relay, to control digital display electrical measuring amount instrument to be measured and programmed criteria source and the connection status of instrument power supply power supply;Intelligence degree of the present invention is high, is suitable for the low value-added Numeral Display Products of middle-size and small-size instrument manufacturing enterprise, the particularly factory testing without communication interface digital display electrical measuring amount instrument, detection efficiency is high, wide adaptation range, securely and reliably.

Description

Digital display electrical measuring amount instrument quality group's check system based on machine vision
Technical field
The present invention relates to a kind of detecting system, especially a kind of digital display electrical measuring amount instrument quality group inspection based on machine vision System, belong to the technical field of instrument Intelligent Measurement.
Background technology
Digital display electrical measuring amount instrument refers to the electrical measurement instrument using digital reading form output display, and it is raw in industry It is widely used in production, daily life.According to the difference of display device, digital display electrical measuring amount instrument can be divided into charactron and liquid crystal The major class of screen formula two.It is different according to the number of phases of measurement electricity, it is generally divided into single-phase and three-phase.According to the difference of measurement signal, it can divide For voltmeter, ammeter, power meter and frequency meter etc..These instrument after the completion of production, it is necessary to they carry out exfactory inspection, With judge whether its outward appearance damaged, display device whether normal, its accuracy (elementary error) whether meet national standard or Required as defined in industry.Wherein, elementary error is examined time-consuming longer, generally requires 5 that approximate decile is taken in range ability Point is tested.When elementary error is tested, standard testing source signal corresponding to taken point value is inputted into instrument, measured simultaneously with instrument The value of display output is compared, and judges whether instrument meets precision according to the deviation of measured value and standard measuring signal true value It is required that.
At present, the domestic factory testing work to digital display electrical measuring instrument mainly has digital communication method, artificial process and machine Visual method.For the high-end digital displaying meter with data communication interface, the detection of its elementary error typically uses digital communication method, its Outward appearance uses artificial process or machine vision method with display detection.For the low value-added instrument of no data communication interface, substantially Error, outward appearance and display device detection then all use artificial process or machine vision method.Artificial process is using artificial plus standard testing letter Number, then observing apparatus surface shows reading, while checks outward appearance and display device, to judge whether product is qualified.It is this to sentence Other method is by the subjective factor of people, and observation angle, distance and the fatigue strength influence of such as people, reliability is not high, detection efficiency Low, labor intensity is big.The special production line automatic lot instrumentation of existing machine vision method or design costliness, has and throws Enter greatly, be unsuitable for polytypic, the medium-sized and small enterprises production model of small lot.Or examined in exfactory inspection ring layout for single table The semi-automatic NI Vision Builder for Automated Inspection of survey, instrument need to be installed in vision-based detection frock by hand, only detect single instrument every time, It is less efficient.
The content of the invention
The purpose of the present invention is to overcome the deficiencies in the prior art, there is provided a kind of digital display electrical measuring based on machine vision Instrument quality group's check system is measured, it is suitable for the factory testing of the low value-added Numeral Display Products of middle-size and small-size instrument manufacturing enterprise, tool Have that intelligence degree is good, detection efficiency is high, wide adaptation range, it is safe and reliable the advantages that.
According to technical scheme provided by the invention, the digital display electrical measuring amount instrument quality group based on machine vision examines system System, including industrial computer, the industrial computer and the bar code for scanning bar code information in digital display electrical measuring amount instrument to be measured Scanner, the industrial camera for obtaining digital display electrical measuring amount Instrument image information to be measured and for digital display electrical measuring amount instrument to be measured The programmed criteria source connection of table loading test signal, industrial camera correspond with digital display electrical measuring amount instrument to be measured, programmed criteria Source is connected by allotter relay with some digital display electrical measuring amount instrument to be measured, and all digital display electrical measuring amount instrument to be measured pass through distribution The contact of relay is connected with instrument power supply power supply, and allotter relay is also connected with industrial computer, and industrial computer can control The on off state of corresponding contacts in allotter relay, to control digital display electrical measuring amount instrument to be measured to be supplied with programmed criteria source and instrument The connection status of power supply;
Bar code scanner scans the bar code information of digital display electrical measuring amount instrument to be measured and transmits the bar code information of scanning to work In industry computer, after the bar code information of digital display electrical measuring amount instrument to be measured is received, industrial computer by with the carry out bar code Industrial camera obtains the appearance images that digital display electrical measuring amount instrument to be measured is not powered corresponding to the digital display electrical measuring amount instrument to be measured of scanning And the aobvious image, and industrial computer is stored in advance in industrial computer simultaneously according to bar code information extraction entirely of the upper electricity after power supply It is electric in the standard digital display electrical measuring instrument appearance images template and standard digital display electrical measuring instrument matched with the bar code information Aobvious image template entirely, industrial computer are complete aobvious by the appearance images of digital display electrical measuring amount instrument to be measured, upper electricity using template matching method Aobvious image template enters image entirely with electricity on standard digital display electrical measuring instrument appearance images template, standard digital display electrical measuring instrument respectively Row comparison match, to determine and export the presentation quality and display quality of the digital display electrical measuring amount instrument to be measured;
Industrial computer can control allotter relay and programmed criteria source to the number to be measured after the progress bar code scan Elementary error test signal needed for aobvious electrical measuring instrument loading, and the digital display electricity to be measured is obtained by corresponding industrial camera Elementary error test image of the measuring instrumentss after elementary error test signal is loaded, industrial computer is according to the basic mistake of acquisition Poor test image determines the meter reading corresponding with elementary error test signal, and industrial computer is according to the meter reading of determination Elementary error of the digital display electrical measuring amount instrument to be measured when elementary error is tested is determined, and institute is judged according to the elementary error State the precision of digital display electrical measuring amount instrument to be measured.
The programmed criteria source, allotter relay are connected by 232/485 converter with industrial computer, and industrial camera leads to PCI Express x16 EBIs are crossed to be connected with industrial computer.
The digital display electrical measuring amount instrument to be measured includes ammeter, voltmeter, power meter, reactive volt-ampere meter, power-factor meter Or frequency meter, the display format of the digital display electrical measuring amount instrument to be measured include liquid crystal display or numeral method.
, will be to be measured after industrial computer obtains the appearance images of the not upper electricity of digital display electrical measuring amount instrument to be measured by industrial camera The appearance images of the upper electricity of digital display electrical measuring amount instrument carry out cutting separation, with obtain character zone to be measured, icon area to be measured with And label area to be measured;
Industrial computer is by obtained character zone to be measured, icon area to be measured and label area to be measured and standard digital display The corresponding region template in electrical measuring instrument apparent region directly carries out matching contrast, and industrial computer carries out matching contrast Method is:
Wherein, d is the matching degree value of similarity measurements flow function, and S is the area image to be measured of M*N sizes, and T is same big Small template image, (i, j) are the coordinate of pixel on image.
Industrial computer is unified for all digital display electrical measuring amount instrument to be measured by allotter relay and instrument power supply power supply Table is powered, and after digital display electrical measuring amount instrument to be measured is powered by instrument power supply power supply, digital display electrical measuring amount instrument to be measured carries out power-on self-test;
Industrial computer obtains the power-on self-test video of corresponding digital display electrical measuring amount instrument to be measured by industrial camera, and in work The upper electricity that the digital display electrical measuring amount instrument to be measured is obtained in the power-on self-test video that industry camera obtains shows image entirely;Industrial computer After getting electric entirely aobvious image, the display device of the digital display electrical measuring amount instrument to be measured is judged using the method for stencil matching Display quality.
The industrial computer is according to the bar code information adaptive judgement that bar code scanner transmits and the bar code information phase The meter type of corresponding digital display electrical measuring amount instrument to be measured;According to the type for judging digital display electrical measuring amount instrument to be measured, industry calculates Machine is controlled needed for the digital display electrical measuring amount instrument to be measured loading of allotter relay and programmed criteria source to the progress bar code scan Elementary error test signal.
When industrial computer loads the progress elementary error test of elementary error test signal to digital display electrical measuring amount instrument to be measured, During the output display stabilization of digital display electrical measuring amount instrument to be measured corresponding to current elementary error test signal is waited, industry calculates Machine accelerates to carry out parallel processing to elementary error test image corresponding to upper elementary error test signal using GPU, to determine Meter reading corresponding to elementary error test image.
Industrial computer calculates institute using meter reading corresponding to convolutional neural networks identification elementary error test image The fiducial error of meter reading under elementary error test signal is stated, the fiducial error is:
Wherein, xnFor the standard registration value of standard digital display electrical measuring instrument, xcMissed substantially for digital display electrical measuring amount instrument to be measured Meter reading under poor test signal, xmax-xminFor the instrument range of digital display electrical measuring amount instrument to be measured;
Elementary error test signal is being loaded to digital display electrical measuring amount instrument to be measured, industrial computer takes fiducial error Maximum is elementary error R;If elementary error R is more than setting, the precision of the digital display electrical measuring amount instrument to be measured is unqualified, Otherwise, the precision of the digital display electrical measuring amount instrument to be measured is qualified.
Compared with prior art, the present invention has following effective effect:
The image of digital display electrical measuring amount instrument to be measured is obtained by industrial camera, industrial computer obtains according to industrial camera Image information detects to digital display electrical measuring amount instrument to be measured, replaces human eye to multiple instrument with machine vision while examines Survey, avoid the reliability for due to error and mistake caused by people's subjective factor, improving detection, improve detection precision and Efficiency, the automaticity of detection process is improved, reduce the input of human resources.Based on computer close friend's man-machine interface, Simple to operate, convenient to realize the record for detecting data and check, dual-purpose is good, can detect all kinds of digital displays of different type, size Instrument.
Brief description of the drawings
Fig. 1 is the structured flowchart of the present invention.
Fig. 2 is a kind of schematic appearance of present invention digital display electrical measuring amount instrument to be measured.
Fig. 3 is the flow chart of the present invention.
Description of reference numerals:1- industrial cameras, 2- bar code scanners, 3-232/485 converters, 4- programmed criterias source, 5- Allotter relay, 6- industrial cameras, 7-PCI Express x16 EBIs, 8- digital display electrical measuring amount instrument to be measured and 9- instrument Table power supply.
Embodiment
With reference to specific drawings and examples, the invention will be further described.
:In order to the low value-added digital displaying meter suitable for middle-size and small-size instrument manufacturing enterprise Factory testing, realize and multiple digital displaying meters are detected simultaneously, improve detection efficiency, reduce testing cost, the present invention includes industry Computer 1, the industrial computer 1 with for scan the bar code scanner 2 of bar code information in digital display electrical measuring amount instrument 8 to be measured, For obtaining the industrial camera 6 of the image information of digital display electrical measuring amount instrument 8 to be measured and for adding to digital display electrical measuring amount instrument 8 to be measured The programmed criteria source 4 for carrying test signal connects, and industrial camera 6 corresponds with digital display electrical measuring amount instrument 8 to be measured, programmed criteria source 4 are connected by allotter relay 5 with some digital display electrical measuring amount instrument 8 to be measured, and all digital display electrical measuring amount instrument 8 to be measured are by dividing Contact with relay 5 is connected with instrument power supply power supply 9, and allotter relay 5 is also connected with industrial computer 1, industrial computer 1 The on off state of corresponding contacts in allotter relay 5 can be controlled, to control digital display electrical measuring amount instrument 8 to be measured and programmed criteria source 4 And the connection status of instrument power supply power supply 9;
Bar code scanner 2 scan the bar code information of digital display electrical measuring amount instrument 8 to be measured and by the bar code information of scanning transmit to In industrial computer 1, after the bar code information of digital display electrical measuring amount instrument 8 to be measured is received, industrial computer 1 by with the progress Industrial camera 6 corresponding to the digital display electrical measuring amount instrument 8 to be measured of bar code scan obtains the outer of the not upper electricity of digital display electrical measuring amount instrument 8 to be measured See the upper electricity aobvious image, and industrial computer 1 is stored in advance in industrial meter according to bar code information extraction entirely after image and upper electricity The standard digital display electrical measuring instrument appearance images and standard digital display electrical measuring instrument matched in calculation machine 1 and with the bar code information Aobvious image, industrial computer 1 are complete by the appearance images of digital display electrical measuring amount instrument 8 to be measured, upper electricity using template matching method entirely for upper electricity Aobvious image shows image template entirely with electricity on standard digital display electrical measuring instrument appearance images template, standard digital display electrical measuring instrument respectively Matching is compared, to determine and export the presentation quality and display quality of the digital display electrical measuring amount instrument 8 to be measured;
Industrial computer 1 can control allotter relay 5 and programmed criteria source 4 to the number to be measured of the progress bar code scan Aobvious electrical measuring instrument 8 loads required elementary error test signal, and obtains the digital display to be measured by corresponding industrial camera 6 Elementary error test image of the electrical measuring instrument 8 after elementary error test signal is loaded, industrial computer 1 is according to the base of acquisition This error testing image determines the meter reading corresponding with elementary error test signal, and industrial computer 1 is according to the instrument of determination Meter reading determines elementary error of the digital display electrical measuring amount instrument 8 to be measured when elementary error is tested, and is missed substantially according to described Difference judges the precision of the digital display electrical measuring amount instrument 8 to be measured.
Specifically, industrial computer 1 is connected with more colored industrial cameras 6, industrial camera 6 and digital display electrical measuring amount to be measured Instrument 8 is in one-to-one relationship, i.e., when being detected simultaneously to multiple digital display electrical measuring amount instrument 8 to be measured, passes through an industry Camera 6 corresponds to the image of digital display electrical measuring amount instrument 8 to be measured to obtain.Industrial camera 6 is to the image of digital display electrical measuring amount instrument 8 to be measured During collection, the position between industrial camera 6 and digital display electrical measuring amount instrument 8 to be measured keeps stable.Usually, in the specific implementation, Industrial camera 6 is fixedly mounted on Meter Test frame with digital display electrical measuring amount instrument 8 to be measured, industrial camera 6 and digital display electrical measuring to be measured Corresponded between amount instrument 8 in positive, i.e., industrial camera 6 can obtain 8 positive image of digital display electrical measuring amount instrument to be measured.At the same time to more When individual digital display electrical measuring amount instrument 8 to be measured detects, the type of multiple digital display electrical measuring amount instrument 8 to be measured can be with identical or different, specifically It can be configured according to detection needs.
The programmed criteria source 4, allotter relay 5 are connected by 232/485 converter 3 with industrial computer 1, industrial phase Machine 6 is connected by PCI Express x16 EBIs 7 with industrial computer 1.
The digital display electrical measuring amount instrument 8 to be measured includes ammeter, voltmeter, power meter, reactive volt-ampere meter, power-factor meter Or frequency meter, the electricity input form of digital display electrical measuring amount instrument 8 to be measured include single-phase and three-phase, digital display electrical measuring amount instrument 8 to be measured Display format include liquid crystal display or numeral method.
In the embodiment of the present invention, suitable for national standard《Installing type numerical monitor electrical measuring instrument》(GB/T 22264-2008) Specified in all kinds of digital display electrical measuring amount instrument exfactory inspection, mainly including ammeter, voltmeter, power meter, reactive volt-ampere meter, Power-factor meter, frequency meter etc., in addition, in corresponding national standard《Technical process measurement and control system are indicated with simulation input numeral Instrument》The part instrument that (GB/T 13639-2008) is included is also suitable.
When there is multiple digital display electrical measuring amount instrument 8 to be measured, all digital display electrical measuring amount instrument 8 to be measured pass through allotter relay 5 contact is connected with instrument power supply power supply 9, is that all digital display electrical measuring amount instrument 8 to be measured supply by instrument power supply power supply 9 Electricity, with facilitate digital display electrical measuring amount instrument 8 to be measured to be shown entirely and elementary error test.
Programmed criteria source 4 passes through the connection corresponding with digital display electrical measuring amount instrument 8 to be measured of the contact in allotter relay 5, i.e. work Industry computer 1 is by controlling the open and-shut mode of contact in allotter relay 5 so that programmed criteria source 4 is to different digital displays to be measured Electrical measuring instrument 8 carries out loading test signal.Programmed criteria source 4 can use the equipment that the art is commonly used, and be specially this Technical field personnel are familiar with, and here is omitted.Allotter relay 5 can realize by monolithic processor controlled relay group, It can be the programable controller system commonly used in industry.
Further, industrial computer 1 obtains the outward appearance of the not upper electricity of digital display electrical measuring amount instrument 8 to be measured by industrial camera 6 After image, the appearance images of the upper electricity of digital display electrical measuring amount instrument 8 to be measured are not subjected to cutting separation, with obtain character zone to be measured, Icon area to be measured and label area to be measured;
Industrial computer 1 is by obtained character zone to be measured, icon area to be measured and label area to be measured and criterion numeral The corresponding region in aobvious electrical measuring instrument apparent region directly carries out matching contrast, and industrial computer 1 carries out matching contrast Method is:
Wherein, d is the matching degree value of similarity measurements flow function, and S is the area image to be measured of M*N sizes, and T is same big Small image template, (i, j) are the coordinate of pixel on image.
As shown in Fig. 2 the image of the standard digital display electrical measuring instrument under normal illumination is stored in industrial computer 1, Standard digital display electrical measuring instrument refers to the digital display electrical measuring amount instrument that outward appearance conforms to quality requirements, standard digital display electrical measuring instrument outward appearance Image refers to appearance images of the standard digital display electrical measuring instrument in the case where being not powered on dispaly state, now, standard digital display electrical measurement instrument The viewing area of table is without associated display information.Standard digital display electrical measuring instrument appearance images are entered row of channels point by industrial computer 1 From, image preprocessing and region segmentation, so as to obtain standard character area image template, standard icon area image template with And standard label area image template, when industrial computer 1 carries out template generation to standard digital display electrical measuring instrument appearance images Conventional technological means can be used, specific implementation process is known to those skilled in the art.
Industrial computer 1 is by the appearance images of digital display electrical measuring amount instrument to be measured and standard digital display electrical measuring instrument appearance images When being compared matching using template matching method, by character zone image to be measured, icon area image to be measured and label to be measured Area image respectively with standard character area image template, standard icon area image template and standard label area image mould Plate is directly matched, i.e., above-mentioned area image S to be measured includes character zone to be measured, icon area to be measured and label area to be measured Domain, template image T are standard character area image template, standard icon area image template and standard label area image mould Plate.
For industrial computer 1 when being matched to area image S to be measured, matching degree value d is smaller, then illustrates region to be measured Image and template image matching degree are higher.When matching degree value d is more than the threshold value of setting, then it is assumed that area image and mould to be measured Plate image mismatches, then illustrates that the appearance images of digital display electrical measuring amount instrument 8 to be measured are unqualified, judges for matching degree value d Threshold value can be set as needed, and specially known to those skilled in the art, here is omitted.
In the embodiment of the present invention, matching ratio is carried out in the appearance images do not powered to digital display electrical measuring amount instrument 8 to be measured After relatively, industrial computer 1 is entered by the instrument power supply power supply 9 of allotter relay 5 to all digital display electrical measuring amount instrument 8 to be measured Row power supply.In digital display electrical measuring amount instrument 8 to be measured after electricity, start self-test, in the process, industrial camera 6 is constantly in video Acquisition state.After the completion of self-test, industrial computer 1 is according to electricity in digital display electrical measuring amount instrument 8 to be measured to the complete aobvious state of appearance Time interval is relatively fixed this feature, and Primary Location goes out Position Approximate of the image in self-test video corresponding to full display signals, So as to reduce the scope found the complete aobvious picture frame of upper electricity and correspond to video-frequency band.Then, the method counted using gradation of image, from diminution Image of the viewing area for complete aobvious state is found out in self-test video-frequency band after scope, that is, obtains digital display electrical measuring amount instrument 8 to be measured Upper electricity shows image entirely.
Because the digital display electrical measuring amount instrument 8 to be measured in the embodiment of the present invention is the low side instrument of no communication interface, therefore The upper electricity for being difficult to directly obtain the digital display electrical measuring amount instrument 8 to be measured shows image entirely, can only be by industrial camera 6 to digital display to be measured Intercept in the self-test video of electrical measuring instrument 8, to obtain the aobvious image entirely of upper electricity corresponding to digital display electrical measuring amount instrument 8 to be measured, that is, solve The low side digital display electrical measuring amount instrument for existing no communication interface of having determined can not carry out the Quality estimation that electricity shows entirely.
The standard shows region to match with the digital display electrical measuring amount instrument 8 to be measured is previously stored with industrial computer 1 Image, aobvious image and electricity on standard digital display electrical measuring instrument are complete aobvious entirely by electricity in digital display electrical measuring amount instrument to be measured for industrial computer 1 Image template carries out matching comparison, and the quality of viewing area is judged according to matching result.In the specific implementation, standard digital display electrical measuring The complete aobvious image of electricity is the image for only including viewing area in amount instrument, specifically matches the process compared and may be referred to above-mentioned number to be measured The matching comparison procedure of the appearance images and standard digital display electrical measuring instrument appearance images of aobvious electrical measuring instrument, it is no longer superfluous herein State.
Industrial computer 1 carries out appearance images and upper electricity to digital display electrical measuring amount instrument 8 to be measured, and aobvious image detects entirely Afterwards, abrasion, instrument surface label whether can whether paste whether accurate, charactron or liquid crystal display have with instrumentation surface Lack the unqualified situations such as pen.
Industrial computer 1 is after outward appearance and viewing area detection is carried out to digital display electrical measuring amount instrument 8 to be measured, it is necessary to treat Survey digital display electrical measuring amount instrument 8 and carry out elementary error measure.When carrying out elementary error measure to digital display electrical measuring amount instrument 8 to be measured, To be measured corresponding with the bar code information of bar code information adaptive judgement that industrial computer 1 transmits according to bar code scanner 2 The meter type of digital display electrical measuring amount instrument 8;According to the type for judging digital display electrical measuring amount instrument 8 to be measured, the control point of industrial computer 1 Loaded with relay 5 and programmed criteria source 4 to the digital display electrical measuring amount instrument 8 to be measured of the progress bar code scan required basic Error testing signal, the elementary error test signal needed for the loading include the type and standard measuring signal of loading signal Value sequence, programmed criteria source 4 is needed to provide 5 voltage signals as single-phase voltage table verifies, value is about single-phase voltage table range In the range of 5 deciles, then industrial computer 1 by programmed criteria source 4 and allotter relay 5 to digital display electrical measuring amount instrument to be measured Table 8 loads elementary error test signal, to cause digital display electrical measuring amount instrument 8 to be measured after elementary error test signal is connected to, Viewing area produces corresponding registration.
Usually, one elementary error test signal of loading in digital display electrical measuring amount instrument 8 to be measured, and it is electric to digital display to be measured When the registration of measuring instrumentss 8 is stable, industrial computer 1 gathers the display of digital display electrical measuring amount instrument 8 to be measured by industrial camera 6 Picture simultaneously preserves.After the completion of display image collection corresponding to an elementary error test signal, industrial computer 1 controls program control Standard source 4 exports next elementary error test signal.
In order to improve detection efficiency, in the embodiment of the present invention, industrial computer 1 loads to digital display electrical measuring amount instrument 8 to be measured When elementary error test signal carries out elementary error test, industrial computer 1 accelerates to test a upper elementary error using GPU to be believed Elementary error test image corresponding to number carries out parallel processing, to determine meter reading corresponding to elementary error test image.I.e. In waiting current elementary error test signal to correspond to the registration stabilization process of digital display electrical measuring amount instrument 8 to be measured, industrial computer 1 To a upper elementary error test signal determine elementary error test image handle, according to elementary error test image come Determine meter reading of the digital display electrical measuring amount instrument 8 to be measured under a upper elementary error test signal.
In the embodiment of the present invention, after industrial computer 1 controls programmed criteria source 4 to export elementary error test signal, journey The stable elementary error test signal of the control output of standard source 4 needs the time, and digital display electrical measuring amount instrument 8 to be measured is in current basic mistake The output stablized under poor test signal be also required to a period of time, usually, both time add up at least 3~5 seconds with On.So this image to a upper elementary error test signal test is handled in this interim, take full advantage of Stable interval time, detection efficiency can be effectively improved.
Industrial computer 1 is calculated using meter reading corresponding to convolutional neural networks identification elementary error test image The fiducial error of meter reading, the fiducial error are under the elementary error test signal:
Wherein, xnFor the standard registration value of standard digital display electrical measuring instrument, xcIt is digital display electrical measuring amount instrument 8 to be measured basic Meter reading under error testing signal, i.e. meter reading xcFor the reading identified by convolutional neural networks, xmax-xminTo treat Survey the instrument range of digital display electrical measuring amount instrument 8;
Elementary error test signal is being loaded to digital display electrical measuring amount instrument 8 to be measured, industrial computer 1 takes fiducial error Maximum be elementary error R;If elementary error R is more than setting, the precision of the digital display electrical measuring amount instrument 8 to be measured does not conform to Lattice, otherwise, the precision of the digital display electrical measuring amount instrument 8 to be measured are qualified.
In the embodiment of the present invention, when industrial computer 1 carries out elementary error test, digital display electrical measuring amount instrument 8 to be measured Meter reading identification be identified using convolutional neural networks, the image that Character segmentation obtains can directly as the input of algorithm, Simplify image preprocessing link, while convolutional neural networks have the ability of the geometric deformation such as anti-translation, scaling, can exclude to shield The influence of the disturbing factors such as curtain diaphragm, external light source, improves recognition accuracy;Therefore, it may not be necessary to using external light source, Identification can be completed under the conditions of natural light or natural illumination.Industrial computer 1 using convolutional neural networks identification when, it is necessary to Convolutional neural networks identifying system is established in industrial computer 1, can specifically be obtained by modes such as collecting sample, supervised learnings Arrive.The process of convolutional neural networks system is established in industrial computer 1 known to those skilled in the art, it is no longer superfluous herein State.Certainly, in the specific implementation, digital display electrical measuring amount instrument 8 to be measured can also be obtained using other conventional technologies Meter reading, specifically repeat no more.
Accuracy of instrument is to be divided into several grades according to the allowable error size of national regulation, and certain a kind of instrument allows to miss Difference refers to the maximum in the defined percentage error allowed under normal circumstances.I.e. according to the rule of elementary error R judgement precisions Definite value can determine there is different regulations for different digital display electrical measuring amount instrument 8 to be measured according to the data of national regulation Value, specially known to those skilled in the art, here is omitted.
Industrial computer 1 of the present invention obtain the outward appearance of digital display electrical measuring amount instrument 8 to be measured, on the complete aobvious and elementary error of electricity After the testing result of test, industrial computer 1 is stored corresponding result, and by forms such as forms that digital display to be measured is electric The testing result of measuring instrumentss 8 is exported.

Claims (6)

1. a kind of digital display electrical measuring amount instrument quality group's check system based on machine vision, it is characterized in that:Including industrial computer (1), the industrial computer (1) and the bar code scanner for scanning bar code information on digital display electrical measuring amount instrument (8) to be measured (2), for obtaining the industrial camera (6) of digital display electrical measuring amount instrument (8) image information to be measured and for digital display electrical measuring to be measured Measure programmed criteria source (4) connection of instrument (8) loading test signal, industrial camera (6) and digital display electrical measuring amount instrument (8) one to be measured One correspondence, programmed criteria source (4) are connected by allotter relay (5) with some digital display electrical measuring amount instrument (8) to be measured, and all treats Survey digital display electrical measuring amount instrument (8) to be connected with instrument power supply power supply (9) by the contact of allotter relay (5), allotter relay (5) Also it is connected with industrial computer (1), industrial computer (1) can control the on off state of allotter relay (5) interior corresponding contacts, with Control digital display electrical measuring amount instrument (8) to be measured and programmed criteria source (4) and the connection status of instrument power supply power supply (9);
Bar code scanner (2) scan the bar code information of digital display electrical measuring amount instrument (8) to be measured and by the bar code information of scanning transmit to In industrial computer (1), after the bar code information of digital display electrical measuring amount instrument (8) to be measured is received, industrial computer (1) is by with entering Industrial camera (6) corresponding to the digital display electrical measuring amount instrument (8) to be measured of row bar code scan obtains digital display electrical measuring amount instrument (8) to be measured not Upper electricity aobvious image, and industrial computer (1) is deposited in advance according to bar code information extraction entirely after the appearance images of power supply and power supply Store up the standard digital display electrical measuring instrument appearance images template and mark matched in industrial computer (1) and with the bar code information Aobvious image template, industrial computer (1) use template matching method by digital display electrical measuring amount to be measured to electricity entirely in quasi- digital display electrical measuring amount instrument Aobvious image is electric with standard digital display electrical measuring instrument appearance images template, standard digital display respectively entirely for the appearance images of instrument (8), upper electricity Aobvious image template is compared matching to electricity entirely in measuring instrumentss, to determine and export the digital display electrical measuring amount instrument (8) to be measured Presentation quality and display quality;
Industrial computer (1) can control allotter relay (5) and programmed criteria source (4) to the number to be measured after progress bar code scan Elementary error test signal needed for aobvious electrical measuring instrument (8) loading, and it is described to be measured by corresponding industrial camera (6) acquisition Elementary error test image of the digital display electrical measuring amount instrument (8) after elementary error test signal is loaded, industrial computer (1) basis The elementary error test image of acquisition determines the meter reading corresponding with elementary error test signal, industrial computer (1) root Elementary error of the digital display electrical measuring amount instrument (8) to be measured when elementary error is tested, and root are determined according to the meter reading of determination The precision of the digital display electrical measuring amount instrument (8) to be measured is judged according to the elementary error;
The digital display electrical measuring amount instrument (8) to be measured include ammeter, voltmeter, power meter, reactive volt-ampere meter, power-factor meter, Frequency meter, the display format of the digital display electrical measuring amount instrument (8) to be measured include liquid crystal display or numeral method;
Industrial computer (1) calculates institute using meter reading corresponding to convolutional neural networks identification elementary error test image The fiducial error of meter reading under elementary error test signal is stated, the fiducial error is:
<mrow> <msub> <mi>r</mi> <mi>n</mi> </msub> <mo>=</mo> <mfrac> <mrow> <mo>|</mo> <mrow> <msub> <mi>x</mi> <mi>n</mi> </msub> <mo>-</mo> <msub> <mi>x</mi> <mi>c</mi> </msub> </mrow> <mo>|</mo> </mrow> <mrow> <msub> <mi>x</mi> <mrow> <mi>m</mi> <mi>a</mi> <mi>x</mi> </mrow> </msub> <mo>-</mo> <msub> <mi>x</mi> <mrow> <mi>m</mi> <mi>i</mi> <mi>n</mi> </mrow> </msub> </mrow> </mfrac> <mo>&amp;times;</mo> <mn>100</mn> <mi>%</mi> </mrow>
Wherein, xnFor the standard registration value of standard digital display electrical measuring instrument, xcMissed substantially for digital display electrical measuring amount instrument (8) to be measured Meter reading under poor test signal, xmax-xminFor the instrument range of digital display electrical measuring amount instrument (8) to be measured;
Elementary error test signal is being loaded to digital display electrical measuring amount instrument (8) to be measured, industrial computer (1) takes fiducial error Maximum be elementary error R;If elementary error R is more than setting, the precision of the digital display electrical measuring amount instrument (8) to be measured is not Qualified, otherwise, the precision of the digital display electrical measuring amount instrument (8) to be measured is qualified.
2. digital display electrical measuring amount instrument quality group's check system according to claim 1 based on machine vision, it is characterized in that:Institute State programmed criteria source (4), allotter relay (5) is connected by 232/485 converter (3) with industrial computer (1), industrial camera (6) it is connected by PCI Express x16 EBIs (7) with industrial computer (1).
3. digital display electrical measuring amount instrument quality group's check system according to claim 1 based on machine vision, it is characterized in that:Work , will be to be measured after industry computer (1) obtains the appearance images of the not upper electricity of digital display electrical measuring amount instrument (8) to be measured by industrial camera (6) The appearance images of the upper electricity of digital display electrical measuring amount instrument (8) carry out cutting separation, to obtain character zone to be measured, icon area to be measured And label area to be measured;
Industrial computer (1) is by obtained character zone to be measured, icon area to be measured and label area to be measured and standard digital display The corresponding region template in electrical measuring instrument apparent region directly carries out matching contrast, and industrial computer (1) carries out matching pair The method of ratio is:
<mrow> <mi>d</mi> <mo>=</mo> <mfrac> <mn>1</mn> <mrow> <mi>M</mi> <mi>N</mi> </mrow> </mfrac> <munderover> <mo>&amp;Sigma;</mo> <mrow> <mi>i</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>M</mi> </munderover> <munderover> <mo>&amp;Sigma;</mo> <mrow> <mi>j</mi> <mo>=</mo> <mn>1</mn> </mrow> <mi>N</mi> </munderover> <mo>|</mo> <mrow> <mo>(</mo> <mi>S</mi> <mo>(</mo> <mrow> <mi>i</mi> <mo>,</mo> <mi>j</mi> </mrow> <mo>)</mo> <mo>-</mo> <mi>T</mi> <mo>(</mo> <mrow> <mi>i</mi> <mo>,</mo> <mi>j</mi> </mrow> <mo>)</mo> <mo>)</mo> </mrow> <mo>|</mo> </mrow>
Wherein, d is the matching degree value of similarity measurements flow function, and S is the area image to be measured of M × N sizes, and T is onesize Template image, (i, j) be image on pixel coordinate.
4. digital display electrical measuring amount instrument quality group's check system according to claim 1 based on machine vision, it is characterized in that:Work Industry computer (1) is unified for all digital display electrical measuring amount instrument to be measured by allotter relay (5) and instrument power supply power supply (9) (8) power, after digital display electrical measuring amount instrument (8) to be measured is powered by instrument power supply power supply (9), digital display electrical measuring amount instrument (8) to be measured is entered Row power-on self-test;
Industrial computer (1) obtains the power-on self-test video of corresponding digital display electrical measuring amount instrument (8) to be measured by industrial camera (6), And the complete aobvious figure of upper electricity that the digital display electrical measuring amount instrument (8) to be measured is obtained in the power-on self-test video that industrial camera (6) obtains Picture.
5. digital display electrical measuring amount instrument quality group's check system according to claim 1 based on machine vision, it is characterized in that:Institute It is corresponding with the bar code information to state the bar code information adaptive judgement that industrial computer (1) transmits according to bar code scanner (2) Digital display electrical measuring amount instrument (8) to be measured meter type;According to the type for judging digital display electrical measuring amount instrument (8) to be measured, industry meter To be measured digital display electrical measuring amount instrument of calculation machine (1) the control allotter relay (5) and programmed criteria source (4) to progress bar code scan (8) the elementary error test signal needed for loading.
6. digital display electrical measuring amount instrument quality group's check system according to claim 1 based on machine vision, it is characterized in that:Work When industry computer (1) loads the progress elementary error test of elementary error test signal to digital display electrical measuring amount instrument (8) to be measured, waiting During treating that the output display of digital display electrical measuring amount instrument (8) to be measured corresponding to current elementary error test signal is stable, industry calculates Machine (1) accelerates to carry out parallel processing to elementary error test image corresponding to upper elementary error test signal using GPU, with true Determine meter reading corresponding to elementary error test image.
CN201510242542.4A 2015-05-13 2015-05-13 Digital display electrical measuring amount instrument quality group's check system based on machine vision Expired - Fee Related CN104931907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510242542.4A CN104931907B (en) 2015-05-13 2015-05-13 Digital display electrical measuring amount instrument quality group's check system based on machine vision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510242542.4A CN104931907B (en) 2015-05-13 2015-05-13 Digital display electrical measuring amount instrument quality group's check system based on machine vision

Publications (2)

Publication Number Publication Date
CN104931907A CN104931907A (en) 2015-09-23
CN104931907B true CN104931907B (en) 2017-12-26

Family

ID=54119160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510242542.4A Expired - Fee Related CN104931907B (en) 2015-05-13 2015-05-13 Digital display electrical measuring amount instrument quality group's check system based on machine vision

Country Status (1)

Country Link
CN (1) CN104931907B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375698A (en) * 2016-08-31 2017-02-01 上海伟世通汽车电子系统有限公司 Automatic discrimination method of automobile instrument icons based on digital image processing technology
CN106530275B (en) * 2016-10-11 2019-06-11 广州视源电子科技股份有限公司 Method and system for detecting wrong component
CN108681705B (en) * 2018-05-15 2022-08-23 国网重庆市电力公司电力科学研究院 Metering equipment consistency judgment method and system based on pattern recognition
CN109489988A (en) * 2018-09-27 2019-03-19 惠州市德赛西威汽车电子股份有限公司 A kind of simulation real vehicle key starting vision durability Meter Test system
CN112453645A (en) * 2020-11-13 2021-03-09 重庆长安工业(集团)有限责任公司 Electric welding machine calibration system for realizing synchronous data acquisition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201653450U (en) * 2010-04-27 2010-11-24 杭州电子科技大学 Digital display meter automatic calibration device based on machine vision
CN102176228A (en) * 2011-01-28 2011-09-07 河海大学常州校区 Machine vision method for identifying dial plate information of multi-pointer instrument
CN202304746U (en) * 2011-09-29 2012-07-04 云南昆船设计研究院 Electric energy meter detection apparatus based on machine vision
CN203053880U (en) * 2013-01-29 2013-07-10 中国计量学院 Machine vision-based automatic smart electric meter appearance defect inspection device
CN204085552U (en) * 2014-10-21 2015-01-07 郑州精益达汽车零部件有限公司 A kind of automobile instrument automatic detection system based on machine vision

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201653450U (en) * 2010-04-27 2010-11-24 杭州电子科技大学 Digital display meter automatic calibration device based on machine vision
CN102176228A (en) * 2011-01-28 2011-09-07 河海大学常州校区 Machine vision method for identifying dial plate information of multi-pointer instrument
CN202304746U (en) * 2011-09-29 2012-07-04 云南昆船设计研究院 Electric energy meter detection apparatus based on machine vision
CN203053880U (en) * 2013-01-29 2013-07-10 中国计量学院 Machine vision-based automatic smart electric meter appearance defect inspection device
CN204085552U (en) * 2014-10-21 2015-01-07 郑州精益达汽车零部件有限公司 A kind of automobile instrument automatic detection system based on machine vision

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于机器视觉的电能表检测系统研究;阮春雷;《中国优秀硕士学位论文全文数据库 工程科技II辑》;20140315(第2014年第3期);正文第2.1节、第4.1节 *

Also Published As

Publication number Publication date
CN104931907A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN104931907B (en) Digital display electrical measuring amount instrument quality group&#39;s check system based on machine vision
CN111242123B (en) Power equipment fault diagnosis method based on infrared image
CN106238350B (en) A kind of solar battery sheet method for separating and system based on machine vision
CN102253048B (en) Machine vision detection method and system for detection of various products
CN109358064A (en) Pole piece film-making winding defect global function detection method, equipment, medium and system
CN107515481B (en) Display panel detection method and device
CN105158678A (en) Printed circuit board short-circuit fault rapid detection device
CN105444891A (en) Machine vision-based yarn printing and dyeing color difference detection system
CN110567987A (en) Feeder terminal substrate detection system and method based on automatic vision technology
CN102590222A (en) Photovoltaic component defect detection method and system
CN102507008B (en) Multi-template automatic optical color detection method
CN112730251B (en) Device and method for detecting screen color defects
CN116297199B (en) Detection system for automatically detecting lithium battery parameters based on machine vision
CN104535589A (en) Online detection method and device for low-voltage current mutual inductor
CN109309022A (en) A kind of defect sampling observation method
CN110935646A (en) Full-automatic crab grading system based on image recognition
CN106803412A (en) LED display module testing equipment and method
CN104950489B (en) A kind of liquid crystal display detection method
CN106353340A (en) Surface defect detection method for rod-like high-reflectance part
Kunze et al. Efficient deployment of deep neural networks for quality inspection of solar cells using smart labeling
CN104101614A (en) Detection method and device
CN114814697A (en) Automatic calibration system, control method and control terminal for distributed multimeter
CN104390982A (en) Test method for SMT first article inspection
CN105371955B (en) A kind of dye aberration detection device and detection method
CN109448615A (en) A kind of automatic adjustment method of Electronic Paper drive waveforms

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171226

Termination date: 20190513

CF01 Termination of patent right due to non-payment of annual fee