CN114485399A - Size detection system and method - Google Patents

Size detection system and method Download PDF

Info

Publication number
CN114485399A
CN114485399A CN202210065691.8A CN202210065691A CN114485399A CN 114485399 A CN114485399 A CN 114485399A CN 202210065691 A CN202210065691 A CN 202210065691A CN 114485399 A CN114485399 A CN 114485399A
Authority
CN
China
Prior art keywords
module
area
detection
contour
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210065691.8A
Other languages
Chinese (zh)
Other versions
CN114485399B (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.)
Lansi System Integration Co ltd
Original Assignee
Lansi System Integration 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 Lansi System Integration Co ltd filed Critical Lansi System Integration Co ltd
Priority to CN202210065691.8A priority Critical patent/CN114485399B/en
Publication of CN114485399A publication Critical patent/CN114485399A/en
Application granted granted Critical
Publication of CN114485399B publication Critical patent/CN114485399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a size detection system, comprising: a material conveying device; an image acquisition device; the size acquisition device is connected with the image acquisition device; a control device; wherein, size acquisition device includes: the device comprises an acquisition module, a contour judgment module, an alignment module, an extraction module, a calculation module and an output module; the acquisition module is used for acquiring the effective outline of the acquired image; the contour judging module is used for judging whether the effective contour is consistent with a preset standard contour or not; the alignment module is used for aligning the processed effective contour with a preset standard contour; the extraction module is used for segmenting and extracting the aligned effective contour from the section to be detected according to the detection elements; the calculation module is used for calculating the data after the effective contour segmentation and extraction to obtain a calculation result; the output module is used for outputting the calculation result. The system has simple structure, safety, effectiveness and reliability; and the size detection method can effectively improve the detection efficiency and the detection precision.

Description

Size detection system and method
Technical Field
The invention relates to the technical field of grinding wheel rod grinding head detection, in particular to a size detection system and method.
Background
In the production and use processes of the grinding wheel rod, the grinding wheel rod needs to be measured at variable time for avoiding errors caused by self loss, and the measurement correlation value is fed back to a production and use machine table for deviation compensation.
In any stage, the relevant size of the grinding wheel rod is detected, the relevant parameters are calculated according to the size to adjust parameters of the machine, and the precision of the size detection platform has important influence on the adjustment of the production and use of the grinding wheel rod.
At present, the following difficulties exist in detecting the grinding wheel rod in the prior art: the grinding head part of the grinding wheel rod with the sand is attached with sand grains with different sand numbers according to different product models, and the thickness degrees of the different sand grains are different, so that wavy grains are formed on the surface profile of the grinding head part of the grinding wheel rod, and the detection precision is influenced; the grinding head part of the grinding wheel rod can be attached with hair or other sundries which influence detection due to static electricity and the like; the detection of the grinding wheel rod needs manual adjustment, and the requirement on an operator is high; the defects of low detection speed, low detection precision, high machine adjusting difficulty and the like exist.
Therefore, it is an urgent need to solve the above-mentioned problems and to provide a dimension detecting system that can improve the detecting efficiency and detecting accuracy of the grinding wheel rod head.
Disclosure of Invention
The invention aims to provide a size detection system and a method, and the system has simple structure, safety, effectiveness and reliability; the method has clear logic and simple and convenient operation, can solve the defects and effectively improve the detection efficiency and the detection precision.
Based on the above purposes, the technical scheme provided by the invention is as follows:
a size detection system comprising:
the material conveying device is used for feeding and discharging materials and positioning and detecting the materials;
the image acquisition device is used for acquiring images of the positioned materials;
the size acquisition device is connected with the image acquisition device and used for acquiring size information of the material according to the acquired image;
the control device is respectively connected with the material conveying device, the image acquisition device and the size acquisition device;
wherein the size acquiring means includes: the system comprises an acquisition module, a contour judgment module, an alignment module, an extraction module, a calculation module and an output module;
the acquisition module is used for acquiring the effective outline of the acquired image;
the contour judging module is used for judging whether the effective contour is consistent with a preset standard contour or not;
the alignment module is used for aligning the processed effective contour with the preset standard contour;
the extraction module is used for segmenting and extracting the aligned effective contour from the section to be detected according to the detection elements;
the calculation module is used for calculating the data after the effective contour segmentation and extraction to obtain a calculation result;
the output module is used for outputting the calculation result.
Preferably, the first and second electrodes are formed of a metal,
the size acquisition device also comprises an analysis module;
the analysis module is used for acquiring a preset standard outline and detection elements;
the detection elements are the detection attribute and the detection starting point of each section to be detected.
Preferably, the first and second electrodes are formed of a metal,
a plurality of sections to be detected are arranged;
the extraction module is also used for summarizing the data obtained after the segmentation and extraction of the plurality of sections to be detected;
the calculation module is further used for calculating the data of each section to be detected in the collected data obtained by segmenting and extracting the plurality of sections to be detected to obtain a calculation result.
Preferably, the material transfer device comprises: the device comprises a loading platform, a loading area, a blanking area, a placing area, a detection area and a conveyor belt;
the conveyor belts comprise a first conveyor belt and a second conveyor belt;
a first conveying belt and a second conveying belt are arranged on the material carrying platform in parallel;
the material loading platform is respectively provided with a material loading area, a material unloading area, a placing area and a detection area;
the feeding area and the discharging area are both arranged on one side of the material loading platform;
the feeding area is positioned above the first conveyor belt;
the blanking area is positioned above the second conveyor belt;
the placing area is adjacent to the feeding area and the discharging area;
the detection zone is disposed between the first conveyor belt and the second conveyor belt.
Preferably, the image acquisition device comprises an inspection platform disposed above the inspection area;
the detection platform comprises a transfer component, a positioning component and a detection component;
the detection component is respectively connected with the transfer component and the positioning component;
the transfer component is used for transferring the materials between the placing area and the detection area;
the positioning component is used for positioning materials;
the detection component is used for detecting the size of the material.
Preferably, the detection component comprises a camera lens, a light source, a large-area CCD camera, a five-axis fine adjustment component and an adjustment slide rail;
the large-area CCD camera is rotatably arranged on the detection area;
the five-axis fine adjustment component and the adjustment slide rail are both arranged below the large-area CCD camera, and the five-axis fine adjustment component is matched with the adjustment slide rail and is used for adjusting the shooting angle of the large-area CCD camera;
the camera lens is mounted on the large-area CCD camera;
the light source is fixed to penetrate through the camera lens to irradiate the material;
the camera lens is specifically a bilateral telecentric lens.
Preferably, the control device includes: the system comprises a first judgment module, a second judgment module, a control module, a third judgment module, an alarm module, a network database and an interactive interface;
the first judging module is used for judging whether the detection area is provided with materials to be detected or not;
the second judging module is used for judging whether a preset standard contour is loaded or not;
the control module is used for controlling the large-area CCD camera to rotate;
the third judging module is used for judging whether the rotation is finished or not;
the network database is used for receiving and storing material size information;
the interactive interface is used for receiving and displaying material size information;
the alarm module is used for alarming abnormity when the judgment results of the first judgment module and the outline judgment module are negative.
A size detection method comprises the following steps:
s1, judging whether the material exists on the detection area or not, and if so, carrying out the next step;
s2, acquiring image information of the positioned material according to an image acquisition device, and extracting an effective outline;
s3, judging whether the effective contour is consistent with the preset standard contour or not, and if so, carrying out the next step;
s4, aligning the effective contour with a preset standard contour after processing the effective contour;
s5, segmenting and extracting the aligned effective contour according to the detection elements and the to-be-detected section;
s6, calculating the data after the effective contour segmentation extraction to obtain a calculation result;
s7, outputting the calculation result to the interactive interface and the network database;
s8, after the large-area CCD camera is controlled to rotate, judging whether the rotation is finished, if so, repeating the steps S1-S7 until the multi-angle size information of the material is obtained.
Preferably, if there are a plurality of segments to be detected, before step S6, the method further includes summarizing data obtained by segmenting and extracting the plurality of segments to be detected;
and the step S6 further comprises the step of calculating the data of each segment to be detected in the collected data obtained by segmenting and extracting the plurality of segments to be detected to obtain the calculation result of each segment to be detected.
Preferably, if any one of the determination results in steps S1 and S3 is negative, an alarm is given.
The size detection system provided by the invention is provided with a material conveying device, an image acquisition device, a size acquisition device and a control device, wherein the size acquisition device comprises an acquisition module, a contour judgment module, an alignment module, an extraction module, a calculation module and an output module. The size acquisition device acquires the effective outline of the image acquired by the image acquisition device through the acquisition module in the working process, judges whether the effective outline is consistent with a preset standard module through the outline judgment module after acquiring the effective outline of the image, and transmits the part of the effective outline which is consistent with the standard outline to the alignment module; the alignment module carries out edge processing on the effective contour, determines that the contour vertex is aligned with the standard contour after sundries which influence detection, such as burrs, are removed, transmits the aligned effective contour to the extraction module, the extraction module carries out segmentation and extraction on a section to be detected according to the detection elements, transmits data after the segmentation and extraction to the calculation module, and obtains and outputs a calculation result according to the data after the segmentation and extraction and a preset calculation formula. According to the technical scheme, after the effective contour is compared with the standard contour, the effective contour is subjected to edge processing, and impurities which affect detection, such as burrs and the like, are removed. In the specific calculation process according to the data after the segmentation and extraction, the weighting coefficients are respectively corresponding to a sand rod, a fine sand rod, a medium sand rod and a coarse sand rod (namely, sand wheel rods of different models) which are not coated with sand, so as to obtain a calculation result. The whole measurement, calculation and output processes do not need manual adjustment, and the detection efficiency and the detection precision of the grinding wheel rod are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a size detection system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a size obtaining apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a detecting component according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control device according to an embodiment of the present invention;
fig. 5 is a flowchart of a size detection method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Embodiments of the present invention are written in a progressive manner.
The embodiment of the invention provides a size detection system and a size detection method. Mainly solve prior art, emery wheel stick model or debris etc. influence and detect the precision, artifical detection speed is slow, detect the technical problem that the precision is low.
A size detection system comprising:
the material conveying device 1 is used for feeding and discharging materials and positioning and detecting the materials;
the image acquisition device 2 is used for acquiring images of the positioned materials;
the size acquisition device is connected with the image acquisition device 2 and used for acquiring size information of the material according to the acquired image;
the control device is respectively connected with the material conveying device 1, the image acquisition device 2 and the size acquisition device;
wherein, size acquisition device includes: the device comprises an acquisition module, a contour judgment module, an alignment module, an extraction module, a calculation module and an output module;
the acquisition module is used for acquiring the effective outline of the acquired image;
the contour judging module is used for judging whether the effective contour is consistent with a preset standard contour or not;
the alignment module is used for aligning the processed effective contour with a preset standard contour;
the extraction module is used for segmenting and extracting the aligned effective contour from the section to be detected according to the detection elements;
the calculation module is used for calculating the data after the effective contour segmentation and extraction to obtain a calculation result;
the output module is used for outputting the calculation result.
The size detection system provided by the invention is provided with a material conveying device, an image acquisition device, a size acquisition device and a control device, wherein the size acquisition device comprises an acquisition module, a contour judgment module, an alignment module, an extraction module, a calculation module and an output module. The size acquisition device acquires the effective contour of the image acquired by the image acquisition device through the acquisition module in the working process, judges whether the effective contour is consistent with a preset standard module through the contour judgment module after acquiring the effective contour of the image, and transmits the part of the effective contour consistent with the standard contour to the alignment module; the alignment module carries out edge processing on the effective contour, determines that the contour vertex is aligned with the standard contour after sundries which influence detection, such as burrs, are removed, transmits the aligned effective contour to the extraction module, the extraction module carries out segmentation and extraction on the section to be detected according to the detection elements, transmits the segmented and extracted data to the calculation module, and obtains and outputs a calculation result according to the segmented and extracted data and a preset calculation formula. According to the technical scheme, after the effective contour is compared with the standard contour, the effective contour is subjected to edge processing, and impurities which affect detection, such as burrs and the like, are removed. In the specific calculation process according to the data after the segmentation and extraction, the weighting coefficients are respectively corresponding to a sand rod, a fine sand rod, a medium sand rod and a coarse sand rod (namely, sand wheel rods of different models) which are not coated with sand, so as to obtain a calculation result. The whole measurement, calculation and output processes do not need manual adjustment, and the detection efficiency and the detection precision of the grinding wheel rod are improved.
Preferably, the first and second electrodes are formed of a metal,
the size acquisition device also comprises an analysis module;
the analysis module is used for acquiring a preset standard outline and detection elements;
the detection elements are the detection attribute and the detection starting point of each section to be detected.
In the actual application process, the size acquisition device is also provided with an analysis module, and the analysis module is used for acquiring the preset standard outline and the detection elements. The detection elements are the detection attribute and the detection starting point of each section to be detected.
In this embodiment, the parsing module is specifically a DXF parsing module, which implements parsing of a standard DXF protocol, and compares and converts lines, points, circles, arcs, spline curves, and the like in DXF by a self-contained preset algorithm, and draws a standard contour map in proportion consistent with actual detected physical coordinates. And analyzing the detection attribute and the detection starting point of each segment to be detected by extracting different layer information of the DXF.
The detection elements are specifically the diameter, groove height and circular run-out. The diameter is obtained by extracting edge data of the detection section, fitting a left straight line and a right straight line, extracting a plurality of points, calculating the distance from a single point to the other straight line, and then summarizing and calculating. The groove height refers to that after the edge data of the detection section is extracted, the upper oblique line, the lower oblique line and the middle section vertical line are fitted, the intersection points of the upper oblique line, the lower oblique line and the middle straight line are respectively obtained, and the distance between the two points is calculated to be the groove height. The circle run-out means that the product rotates 360 degrees, the images are stored for multiple times, the offset distance value of the position of the detection point is calculated, and the maximum value is the circle run-out.
Preferably
A plurality of sections to be detected are arranged;
the extraction module is also used for summarizing the data obtained after the segmentation and extraction of the plurality of sections to be detected;
the calculation module is further used for calculating the data of each section to be detected in the collected data obtained by segmenting and extracting the plurality of sections to be detected to obtain a calculation result.
In the actual application process, the to-be-detected sections can be provided with a plurality of sections, the extraction module collects the data obtained after the plurality of sections to be detected are divided and extracted, and the calculation module calculates the data of each section to be detected in the collected data to obtain a calculation result.
Wherein, the specific rule of calculating the diameter of the section to be detected is as follows: after extracting the data of the section to be detected, dividing the contour data sets into a left part and a right part. Left and right two-part datasets are also generated from the standard outlines proposed from DXF documents. And (3) calculating the normal distances from all the actual contour points to the standard contour to obtain a left distance data set and a right distance data set, and filtering partial abnormal data after filtering. According to the preset parameter configuration, the distance data of different partial segments can be extracted to calculate the average distance value. Since the standard diameter is known when DXF is imported, the actual diameter can be calculated from the distance values calculated from the left and right data sets.
The specific rule for calculating the groove height of the section to be detected is that after data of the section to be detected is extracted, the endpoint coordinates of the fitted upper end straight line and the endpoint coordinates between the fitted lower ends are obtained, and the endpoint coordinates which are the closest to the two straight lines are connected to obtain the groove height.
The specific rule of the circle runout of the section to be detected is calculated, after the data of the section to be detected is extracted, a plurality of detection points of the section to be detected are selected, the section to be detected is rotated for multiple times, and in order to ensure the calculation accuracy, the rotation times are more than 30 times, and the relative offset distance of the monitoring points in each sectional image is calculated. And the difference value between the maximum value and the minimum value of the relative offset distance is the circle run-out value.
Preferably, the material transfer device 1 comprises: the device comprises a loading platform 11, a loading area 12, a blanking area 13, a placing area 14, a detection area 15 and a conveyor belt 16;
the conveyor 16 includes a first conveyor 161 and a second conveyor 162;
a first conveyor belt 161 and a second conveyor belt 162 are arranged on the material loading platform 11 in parallel;
the loading platform 11 is respectively provided with a loading area 12, a blanking area 13, a placing area 14 and a detection area 15;
the feeding area 12 and the discharging area 13 are both arranged on one side of the loading platform 11;
the feeding section 12 is located above the first conveyor belt 161;
the blanking area 13 is positioned above the second conveyor belt 162;
the placing area 14 is adjacent to the feeding area 12 and the discharging area 13;
the detection zone 15 is disposed between the first conveyor belt 161 and the second conveyor belt 162.
It should be noted that, the material conveying device is including being provided with material loading platform, first conveyer belt and second conveyer belt to divide into material loading district, unloading district, place district, detection zone according to the function on material loading platform, wherein, material loading district and unloading district are located the top of first conveyer belt and second conveyer belt respectively, place the district and adjacent with material loading district, unloading district, and the detection zone sets up between first conveyer belt and second conveyer belt. In the working process, two conveyer belts move in different directions, the materials are driven to the placing area by the first conveyer belt in the feeding area, the image acquisition device transfers the materials to the detection area, after the positioning acquisition, the image acquisition device transfers the materials to the second conveyer belt, and the second conveyer belt drives the materials to the discharging area. In this embodiment, a tray is further provided in the placing area for loading the material.
Preferably, the image acquisition device 2 comprises an inspection platform 21 arranged above the inspection area 15;
the detection platform 21 comprises a transfer part 211, a positioning part and a detection part 3;
the detection component 3 is respectively connected with the transfer component 211 and the positioning component;
the transfer member 211 is used for transferring the material between the placement area 14 and the detection area 15;
the positioning component is used for positioning materials;
the detection component 3 is used for detecting the size of the material.
It should be noted that the image capturing device is specifically a detection platform disposed above the detection area, the detection platform includes a transfer component, a positioning component and a detection component, and the detection component is connected to the transfer component and the positioning component respectively. The material is transferred from the placing area to the detection area through the transfer component, the material is positioned through the positioning component, and the size of the material is detected through the detection component. In the course of the work, treat that the material is driven by first drive belt to placing the district after, the transfer unit is got the material clamp and is placed in the detection zone after, and the positioning element will place the material location in the detection zone afterwards, and the back that finishes in the location, the detection unit detects the material size, and after finishing, the transfer unit shifts the material to placing the district by the detection zone, drives to unloading district unloading by the second conveyer belt. In this embodiment, the transfer unit is embodied as a robot, and the positioning unit and the detection unit are integrally formed.
Preferably, the detection component 3 comprises a camera lens 31, a light source 32, a large-area CCD camera 33, a five-axis fine adjustment component 34 and an adjustment slide rail 35;
the large-area CCD camera 33 is rotatably arranged on the detection area 15;
the five-axis fine adjustment component 34 and the adjustment slide rail 35 are both arranged below the large-area CCD camera 33, and the five-axis fine adjustment component 34 is matched with the adjustment slide rail 35 to adjust the shooting angle of the large-area CCD camera 33;
the camera lens is mounted on the large area CCD camera 33;
the light source 32 is fixed to irradiate the material through the camera lens;
the camera lens is specifically a bilateral telecentric lens.
It should be noted that the detection component includes camera lens, light source, large-area CCD camera, five-axis fine adjustment component and adjustment slide rail, wherein the large-area CCD camera is rotatably arranged on the detection area, and the five-axis fine adjustment component is matched with the adjustment slide rail for adjusting the shooting angle of the large-area CCD camera. The camera lens is installed on the large-area CCD camera, and the light source is fixed to penetrate through the camera lens to irradiate the material. In the working process, the light source penetrates through the camera lens of the large-area CCD camera to irradiate on the material, and the large-area CCD camera shoots the material. Under the cooperation of the five-axis fine adjustment component and the adjustment slide rail, the large-area CCD camera is adjusted to adjust the shooting angle of the material, so that a multi-angle material image is obtained.
In the practical application process, the camera lens is specifically a bilateral telecentric lens. In this embodiment, a double-sided telecentric lens and a parallel light source adapted thereto are employed. The bilateral telecentric lens only receives parallel light, almost all diffused light sources are filtered, the matched parallel light source just plays the advantages of the bilateral telecentric lens to the maximum extent, the edge of a detected object is clear and stable, and noise in the detection process is effectively removed. The main advantages are that: high resolution, low distortion, high depth of field and large visual field. And the large-area array CCD and the bilateral telecentric lens are adopted, so that a plurality of sections to be detected can be detected at one time, and the detection time is saved.
Preferably, the control device includes: the system comprises a first judgment module, a second judgment module, a control module, a third judgment module, an alarm module, a network database and an interactive interface;
the first judging module is used for judging whether the material to be detected in the detection area 15 is detected;
the second judging module is used for judging whether a preset standard contour is loaded or not;
the control module is used for controlling the large-area CCD camera to rotate;
the third judging module is used for judging whether the rotation is finished or not;
the network database is used for receiving and storing the material size information;
the interactive interface is used for receiving and displaying material size information;
the alarm module is used for alarming abnormity when the judgment results of the first judgment module and the outline judgment module are negative.
It should be noted that the control device includes a first determination module, a second determination module, a control module, a third determination module, an alarm module, a network database, and an interactive interface. In the working process, the first judging module judges whether materials to be detected are in the detection area or not, if yes, the second judging module judges whether a preset standard outline is loaded or not, if the transmission image is different from the preset standard outline in format, the preset standard outline is loaded, and if the transmission image is the same as the preset standard outline, the standard outline does not need to be loaded. And then calling a size acquisition device to acquire material size information and outputting the material size information to a network database and an interactive interface. If the first judging module and the outline judging module in the size obtaining device judge that the result is negative, the alarm module is called to alarm abnormity. After the current angle image is converted into material size information, the control module controls the large-area CCD camera to rotate; and the third judgment module judges whether the rotation of the large-area CCD camera is finished or not, and if the rotation is finished, the third judgment module repeatedly calls the modules to convert the current material other angle images into material size information until the size information of the current material is completely detected.
A size detection method comprises the following steps:
s1, judging whether a material exists on a detection area 15, and if so, carrying out the next step;
s2, acquiring image information of the positioned material according to the image acquisition device 2, and extracting an effective outline;
s3, judging whether the effective contour is consistent with a preset standard contour or not, and if so, carrying out the next step;
s4, aligning the effective contour with a preset standard contour after processing the effective contour;
s5, segmenting and extracting the aligned effective contour according to the detection elements and the to-be-detected section;
s6, calculating data after the effective contour segmentation extraction to obtain a calculation result;
s7, outputting a calculation result to an interaction interface and a network database;
and S8, after the large-area CCD camera is controlled to rotate, judging whether the rotation is finished, if so, repeating the steps S1-S7 until the size information of the material in multiple angles is obtained.
In step S1, after the material is loaded, whether a material is placed on the detection area is judged, if not, an alarm is given, and if so, the step S2 is executed.
In step S2, a valid contour is extracted from the image information acquired by the image acquisition device.
The specific steps for extracting the effective contour are as follows: 1. and binarizing the acquired image. 2. And (3) contour extraction, namely extracting only the outer contour, and judging whether a non-0 value exists nearby when the image gray value is not 0 through a raster scanning method from left to right and from top to bottom, if not, the image gray value is a boundary, and if so, marking the boundary. After the scan is completed, the connected profiles can be accessed. 3. And (4) removing abnormal contours by area screening contours, and reserving contours within the area size range, namely effective contours.
In step S3, determining whether the effective contour is consistent with a preset standard contour, if not, alarming for an exception, and if so, executing step S4;
in step S4, performing edge processing on the effective contour, removing impurities which affect detection, such as burrs and the like, and then determining that the contour vertex is aligned with the standard contour;
the specific steps of edge processing are as follows: firstly, carrying out binarization processing on an image, constructing a 3 x 3 kernel, and carrying out morphological corrosion operation by using the kernel, wherein the iteration times are 4 times. And then performing expansion operation, wherein the iteration number is 8. The effect of removing the marginal hair can be achieved by the treatment.
In step S5, according to the detection factors such as diameter, groove height and circle run-out, the aligned different sections to be detected of the effective contour are segmented and extracted;
in step S6, the data obtained after the effective contour segmentation and extraction is calculated according to the preset calculation rules of the diameter, the groove height and the circular run-out, and the corresponding calculation result of the segment to be detected is obtained.
In step S7, a corresponding calculation result is output to the interaction interface and the network database, and the data extracted by the effective contour segmentation is the size information of the current angle of the current material.
And step S8, after the large-area CCD camera is controlled to rotate, judging whether the rotation is finished or not, if the rotation is not finished, waiting for the completion of the rotation, and if the rotation is finished, repeating the steps until the size information of the material in multiple angles is obtained.
Preferably, if there are a plurality of segments to be detected, before step S6, the method further includes summarizing data obtained by segmenting and extracting the plurality of segments to be detected;
step S6 further includes calculating data of each segment to be detected in the summarized data obtained by segmenting and extracting the plurality of different segments to be detected, and obtaining a calculation result of each segment to be detected.
In the actual application process, the to-be-detected section can be provided with a plurality of sections according to actual needs, and each section to be detected is segmented and extracted according to the step S5. Data obtained by dividing and extracting a plurality of segments to be detected are collected between the step S5 and the step S6. And after the summary, calculating the data of each section to be detected according to the corresponding calculation rule to obtain the calculation result of each section to be detected.
Preferably, if either of the determination results in steps S1 and S3 is negative, an alarm is given.
In the actual application process, if no material exists on the detection area or the effective profile is inconsistent with the preset standard profile, an abnormal problem is indicated. Alarms typically use audible and visual alarms.
In the embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is only one division of logical functions, and other divisions may be realized in practice, such as: multiple modules or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be electrical, mechanical or other.
In addition, all functional modules in the embodiments of the present invention may be integrated into one processor, or each module may be separately used as one device, or two or more modules may be integrated into one device; each functional module in each embodiment of the present invention may be implemented in the form of hardware, or in the form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by program instructions and related hardware, where the program instructions may be stored in a computer-readable storage medium, and when executed, the program instructions perform the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description details a size detection system and method provided by the present invention. The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A dimensional inspection system, comprising:
the material conveying device is used for feeding and discharging materials and positioning and detecting the materials;
the image acquisition device is used for acquiring images of the positioned materials;
the size acquisition device is connected with the image acquisition device and used for acquiring size information of the material according to the acquired image;
the control device is respectively connected with the material conveying device, the image acquisition device and the size acquisition device;
wherein the size acquiring means includes: the device comprises an acquisition module, a contour judgment module, an alignment module, an extraction module, a calculation module and an output module;
the acquisition module is used for acquiring the effective outline of the acquired image;
the contour judging module is used for judging whether the effective contour is consistent with a preset standard contour or not;
the alignment module is used for aligning the processed effective contour with the preset standard contour;
the extraction module is used for segmenting and extracting the aligned effective contour from the section to be detected according to the detection elements;
the calculation module is used for calculating the data after the effective contour segmentation and extraction to obtain a calculation result;
the output module is used for outputting the calculation result.
2. The dimension detection system of claim 1,
the size acquisition device also comprises an analysis module;
the analysis module is used for acquiring a preset standard outline and detection elements;
the detection elements are the detection attribute and the detection starting point of each section to be detected.
3. The dimension detection system of claim 1,
a plurality of sections to be detected are arranged;
the extraction module is also used for summarizing the data obtained after the segmentation and extraction of the plurality of sections to be detected;
the calculation module is further used for calculating the data of each section to be detected in the collected data obtained by segmenting and extracting the plurality of sections to be detected to obtain a calculation result.
4. The sizing system of claim 1, wherein the material transport device comprises: the device comprises a loading platform, a loading area, a blanking area, a placing area, a detection area and a conveyor belt;
the conveyor belt comprises a first conveyor belt and a second conveyor belt;
a first conveyor belt and a second conveyor belt are arranged on the material carrying table in parallel;
the material loading platform is respectively provided with a material loading area, a material unloading area, a placing area and a detection area;
the feeding area and the discharging area are both arranged on one side of the material loading platform;
the feeding area is positioned above the first conveyor belt;
the blanking area is positioned above the second conveyor belt;
the placing area is adjacent to the feeding area and the discharging area;
the detection zone is disposed between the first conveyor belt and the second conveyor belt.
5. The dimensional inspection system according to claim 4, wherein the image capture device includes an inspection platform disposed over the inspection area;
the detection platform comprises a transfer component, a positioning component and a detection component;
the detection component is respectively connected with the transfer component and the positioning component;
the transfer component is used for transferring the materials between the placing area and the detection area;
the positioning component is used for positioning materials;
the detection component is used for detecting the size of the material.
6. The dimensional inspection system of claim 5, wherein the inspection component includes a camera lens, a light source, a large area CCD camera, a five-axis fine adjustment component, and an adjustment slide;
the large-area CCD camera is rotatably arranged on the detection area;
the five-axis fine adjustment component and the adjustment slide rail are both arranged below the large-area CCD camera, and the five-axis fine adjustment component is matched with the adjustment slide rail and is used for adjusting the shooting angle of the large-area CCD camera;
the camera lens is mounted on the large-area CCD camera;
the light source is fixed to penetrate through the camera lens to irradiate the material;
the camera lens is specifically a bilateral telecentric lens.
7. The dimensional inspection system according to claim 6, wherein the control means comprises: the system comprises a first judgment module, a second judgment module, a control module, a third judgment module, an alarm module, a network database and an interactive interface;
the first judging module is used for judging whether the detection area is provided with materials to be detected or not;
the second judging module is used for judging whether a preset standard contour is loaded or not;
the control module is used for controlling the large-area CCD camera to rotate;
the third judging module is used for judging whether the rotation is finished or not;
the network database is used for receiving and storing material size information;
the interactive interface is used for receiving and displaying material size information;
the alarm module is used for alarming abnormity when the judgment results of the first judgment module and the outline judgment module are negative.
8. A size detection method is characterized by comprising the following steps:
s1, judging whether the material exists on the detection area or not, and if so, carrying out the next step;
s2, acquiring image information of the positioned material according to an image acquisition device, and extracting an effective outline;
s3, judging whether the effective contour is consistent with the preset standard contour or not, and if so, carrying out the next step;
s4, aligning the effective contour with a preset standard contour after processing the effective contour;
s5, segmenting and extracting the aligned effective contour according to the detection elements and the to-be-detected section;
s6, calculating the data after the effective contour segmentation and extraction to obtain a calculation result;
s7, outputting the calculation result to the interactive interface and the network database;
and S8, after the large-area CCD camera is controlled to rotate, judging whether the rotation is finished, if so, repeating the steps S1-S7 until the size information of the material in multiple angles is obtained.
9. The method for detecting size of claim 8, wherein if there are a plurality of segments to be detected, before step S6, the method further includes summarizing the data extracted by segmenting the plurality of segments to be detected;
and the step S6 further comprises the step of calculating the data of each segment to be detected in the collected data obtained by segmenting and extracting the plurality of segments to be detected to obtain the calculation result of each segment to be detected.
10. The method of claim 9, wherein if either of the steps S1 and S3 is negative, an alarm is given.
CN202210065691.8A 2022-01-20 2022-01-20 Dimension detection system and method Active CN114485399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210065691.8A CN114485399B (en) 2022-01-20 2022-01-20 Dimension detection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210065691.8A CN114485399B (en) 2022-01-20 2022-01-20 Dimension detection system and method

Publications (2)

Publication Number Publication Date
CN114485399A true CN114485399A (en) 2022-05-13
CN114485399B CN114485399B (en) 2024-05-31

Family

ID=81473106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210065691.8A Active CN114485399B (en) 2022-01-20 2022-01-20 Dimension detection system and method

Country Status (1)

Country Link
CN (1) CN114485399B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117893535A (en) * 2024-03-14 2024-04-16 大连保税区金宝至电子有限公司 Automatic calling size detection method, system and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4344271C1 (en) * 1993-12-28 1995-07-13 Fraunhofer Ges Forschung Preform from which cylindrical lenses, in particular micro-cylindrical lenses, can be produced, processes for producing such cylindrical lenses with the formation of such preforms and the use of the cylindrical lenses produced by the processes
JP2000258141A (en) * 1999-03-04 2000-09-22 Hitachi Ltd Device and method for inspecting inner peripheral surface of closed-end cylindrical member for shape, method for working closed-end cylindrical member, and manufacture of battery
US20080069452A1 (en) * 2006-09-14 2008-03-20 Jun Matsumoto Pattern dimension measuring apparatus and pattern area measuring method
US20080267468A1 (en) * 2006-10-10 2008-10-30 Paul Geiger System and Method for Segmenting a Region in a Medical Image
CN106546185A (en) * 2016-10-18 2017-03-29 福州觉感视觉软件科技有限公司 A kind of profile quality determining method based on Machine Vision Detection
US20200279389A1 (en) * 2017-11-17 2020-09-03 C 3 Limited Object measurement system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4344271C1 (en) * 1993-12-28 1995-07-13 Fraunhofer Ges Forschung Preform from which cylindrical lenses, in particular micro-cylindrical lenses, can be produced, processes for producing such cylindrical lenses with the formation of such preforms and the use of the cylindrical lenses produced by the processes
JP2000258141A (en) * 1999-03-04 2000-09-22 Hitachi Ltd Device and method for inspecting inner peripheral surface of closed-end cylindrical member for shape, method for working closed-end cylindrical member, and manufacture of battery
US20080069452A1 (en) * 2006-09-14 2008-03-20 Jun Matsumoto Pattern dimension measuring apparatus and pattern area measuring method
US20080267468A1 (en) * 2006-10-10 2008-10-30 Paul Geiger System and Method for Segmenting a Region in a Medical Image
CN106546185A (en) * 2016-10-18 2017-03-29 福州觉感视觉软件科技有限公司 A kind of profile quality determining method based on Machine Vision Detection
US20200279389A1 (en) * 2017-11-17 2020-09-03 C 3 Limited Object measurement system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
彭檐波;陈根余;周聪;王彦懿;杨宏程;王彬;常明;: "基于图像处理的成形砂轮激光切向整形***算法与实现", 应用激光, no. 03, 15 June 2018 (2018-06-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117893535A (en) * 2024-03-14 2024-04-16 大连保税区金宝至电子有限公司 Automatic calling size detection method, system and electronic equipment
CN117893535B (en) * 2024-03-14 2024-06-04 大连保税区金宝至电子有限公司 Automatic calling size detection method, system and electronic equipment

Also Published As

Publication number Publication date
CN114485399B (en) 2024-05-31

Similar Documents

Publication Publication Date Title
CN108230324B (en) Visual detection method for microdefect on surface of magnetic shoe
CN109141232B (en) Online detection method for disc castings based on machine vision
CN107941808B (en) 3D printing forming quality detection system and method based on machine vision
CN106934803B (en) method and device for detecting surface defects of electronic device
US7257996B2 (en) Device and method for a quality test of a body
CN106969706A (en) Workpiece sensing and three-dimension measuring system and detection method based on binocular stereo vision
CN111982921B (en) Method and device for detecting hole defects, conveying platform and storage medium
CN104458764B (en) Curved uneven surface defect identification method based on large-field-depth stripped image projection
CN103858147B (en) The rapid analysis method of the relief elemental characteristic in the interior surface of tire
CN102441581A (en) Machine vision-based device and method for online detection of structural steel section size
CN115375686B (en) Glass edge flaw detection method based on image processing
CN107290347B (en) Automatic honeycomb carrier defect detection method
CN112950541B (en) Online monitoring method for gluing synthetic leather based on machine vision
CN116165216B (en) Liquid crystal display micro scratch flaw 3D detection method, system and computing equipment
CN114485399B (en) Dimension detection system and method
CN111524134B (en) Method and device for detecting regularity of honeycomb products on production line
CN115731222A (en) Billet surface detection method, device, equipment and computer readable storage medium
CN113607058B (en) Straight blade size detection method and system based on machine vision
CN111815575B (en) Bearing steel ball part detection method based on machine vision
CN113436102A (en) Method for detecting surface defects of machined part
CN111476792B (en) Extraction method of strip steel image contour
JP3913517B2 (en) Defect detection method
CN101696876A (en) Visual detection method for VCM magnetic steel
CN114383522B (en) Method for measuring surface gap and surface difference of workpiece with reflective difference
CN114187269A (en) Method for rapidly detecting surface defect edge of small-sized device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant