CN113976452A - Failure detection method and device based on flexible flat cable - Google Patents
Failure detection method and device based on flexible flat cable Download PDFInfo
- Publication number
- CN113976452A CN113976452A CN202110877967.8A CN202110877967A CN113976452A CN 113976452 A CN113976452 A CN 113976452A CN 202110877967 A CN202110877967 A CN 202110877967A CN 113976452 A CN113976452 A CN 113976452A
- Authority
- CN
- China
- Prior art keywords
- detected
- product
- characteristic
- image
- flexible flat
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 69
- 238000004891 communication Methods 0.000 claims description 36
- 230000003287 optical effect Effects 0.000 claims description 28
- 238000012360 testing method Methods 0.000 claims description 28
- 230000002159 abnormal effect Effects 0.000 claims description 27
- 230000003014 reinforcing effect Effects 0.000 claims description 18
- 230000006698 induction Effects 0.000 claims description 14
- 238000000605 extraction Methods 0.000 claims description 13
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 230000009191 jumping Effects 0.000 claims description 8
- 238000000034 method Methods 0.000 claims description 7
- 238000007689 inspection Methods 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 6
- 230000007306 turnover Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 abstract description 8
- 230000002950 deficient Effects 0.000 abstract description 6
- 230000001976 improved effect Effects 0.000 description 8
- 238000013461 design Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 210000001503 joint Anatomy 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 230000001939 inductive effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 210000005069 ears Anatomy 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B07—SEPARATING SOLIDS FROM SOLIDS; SORTING
- B07C—POSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
- B07C5/00—Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B07—SEPARATING SOLIDS FROM SOLIDS; SORTING
- B07C—POSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
- B07C5/00—Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
- B07C5/36—Sorting apparatus characterised by the means used for distribution
- B07C5/361—Processing or control devices therefor, e.g. escort memory
Landscapes
- Image Analysis (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention relates to the technical field of vehicle-mounted display, and provides a failure detection method and a device based on a flexible flat cable. Compared with the traditional flexible flat cable detection, the flexible flat cable detection device can comprehensively cover the grabbing of effective characteristics on a product to be detected, improves the production efficiency of the product by improving the image recognition rate, realizes the automatic judgment of equipment, and can also intercept the outflow of defective products in time by improving the judgment accuracy rate.
Description
Technical Field
The invention relates to the technical field of vehicle-mounted display, in particular to a failure detection method and device based on a flexible flat cable.
Background
The vehicle-mounted electronic instrument assembly is provided with a circuit board which is connected with the display screen through a flexible flat cable. The operation result of the circuit board is connected with the communication connector through the flexible flat cable and is transmitted to the display screen, and the display content of the circuit board can interact with a driver. The flexible flat cable and the communication connector are in a failure mode of poor butt joint, for example, a golden finger of the flexible flat cable is staggered with a golden finger of the communication connector, the flexible flat cable is in butt joint and inclined, the flexible flat cable is not in butt joint with the communication connector to a specified position, and the communication connector is not buckled and leveled by a self-locking buckle. The existing flexible flat cable detection scheme has the following defects:
(1) after the traditional flexible flat cable is buckled, a human eye checking mode is adopted for buckling checking, the possibility of missing judgment and wrong judgment exists based on the limitation of manpower, and the deviation of the checking result is large due to the fact that the judgment standards of different workers are not uniform.
(2) After the traditional flexible flat cable is buckled, the judgment mode of the adopted automatic inspection mode is solidified, cannot be expanded and compatible, and cannot be calibrated, so that the misjudgment probability is high, defective products cannot be effectively intercepted, and only the subsequent working procedures can be relied on for interception and rework treatment, so that the production efficiency is low and cannot be effectively improved.
Disclosure of Invention
The invention provides a failure detection method and device based on a flexible flat cable, and solves the technical problems of low inspection efficiency and high misjudgment rate of the conventional flexible flat cable detection scheme, which cause low production efficiency.
In order to solve the technical problems, the invention provides a failure detection method based on a flexible flat cable, which comprises the following steps:
s1, acquiring an assembly image of the product to be detected;
s2, acquiring target contour curve data of the product to be detected in the assembly image according to a feature extraction algorithm;
s3, calculating a plurality of target test indexes of the product to be detected according to the target contour curve data;
and S4, judging that the total index of the product to be detected is normal when all target test indexes meet preset conditions, and otherwise, judging that the total index of the product to be detected is abnormal.
The basic scheme is based on the limitation of the existing image template comparison, a novel failure detection method for the flexible flat cable is designed, target test indexes and corresponding preset conditions are preset, when an assembly image of a product to be detected (the flexible flat cable and the communication connector which are connected in an assembly mode) at present is obtained, image recognition is directly carried out on the assembly image according to a feature extraction algorithm, target contour curve data which can represent an assembly effect is obtained, a plurality of corresponding target test indexes are further calculated, the target test indexes are substituted into the preset conditions to be compared, and whether the total index of the product to be detected at present is abnormal or not can be judged quickly. Compare in traditional flexible winding displacement detection, this scheme can cover comprehensively waits to detect snatching of effective characteristic on the product, through the improvement to the production efficiency of image recognition rate in order to improve the product, has realized the automatic judgement of equipment, also can in time intercept the defective products through improving the judgement rate of accuracy and flow.
In a further embodiment, the step S1 specifically includes: when the induction switch is triggered to detect that a product to be detected enters a detection position, driving image acquisition equipment to acquire a structural characteristic image of the product to be detected as an assembly image;
the product to be detected is an assembled and connected flexible flat cable and communication connector.
The inductive switch is triggered by the design of the scheme, automatic identification and starting of products to be detected are completed, detection of the flexible flat cable is more automatic and intelligent, and the high efficiency requirement of flow line production is met.
In further embodiments, the step S2 includes:
s21, determining the outline characteristic line of the product to be detected according to the bright-dark cut-off in the assembly image;
and S22, acquiring a target contour curve from the contour characteristic line, and determining the actual size characteristic of the target contour curve by combining the image conversion ratio.
In further embodiments, the step S21 includes:
s211, carrying out gray processing on the assembly image, and determining a region around a bright-dark cut-off in the assembly image as a region of interest;
s212, setting a plurality of groups of directional reference lines vertical to the bright-dark cut-off in the region of interest;
s213, acquiring pixel values of all pixel points on the directional reference line from the region of interest, and determining pixel jumping points;
and S214, fitting all the jumping points to obtain a profile characteristic line.
According to the scheme, after a real image with disordered contents is converted into a grayed image with clear lines, a bright and dark cut-off line in an assembly image is identified according to the characteristic that the real image is not black or white, a general outline range is preliminarily determined, then pixel values of pixel points on a directional reference line perpendicular to the bright and dark cut-off line are obtained, specific pixel jumping points are determined and fitted, and then an accurate outline characteristic line can be extracted, so that accurate test data are provided for a detection program, and the product detection accuracy is improved.
In further embodiments, in the step S3, the target test indicator includes: the device comprises a communication connector buckle, a left ear distance characteristic, a right ear distance characteristic, a double ear inclination angle characteristic, a turnover projection area characteristic and a proportion value characteristic, and a reinforcing plate distance characteristic and a reinforcing plate inclination characteristic on a flexible flat cable.
According to the scheme, the actual indexes of product detection are considered, index acquisition and comparison aiming at the left ear distance characteristic, the right ear distance characteristic, the double ear inclination angle characteristic, the overturning projection area characteristic and the proportion value characteristic are designed in detail, and whether the buckle of the communication connector is really buckled or not can be determined; the acquisition and comparison of indexes of the distance characteristic and the inclination characteristic of the reinforcing plate are designed in detail, and the connection state of the flexible flat cable and the communication connector can be further determined.
In a further embodiment, the step S4 specifically includes: and when all target test indexes meet preset conditions, judging that the total indexes of the products to be detected are normal, withdrawing the products to be detected from the detection position and executing the inspection of the next products to be detected, otherwise, judging that the total indexes of the products to be detected are abnormal, intercepting the products to be detected and carrying out retrospective management.
According to the scheme, when the current product to be detected does not meet the preset condition, the total index of the product to be detected can be directly judged to be abnormal, and then the abnormal total index is timely fed back to the control center, so that the interception and tracing management of defective products is carried out, and the qualified quality of the product leaving the factory is ensured.
The invention also provides a failure detection device based on the flexible flat cable, which comprises: the system comprises a rack, a control module fixed in the rack, a sensing module and a transportation module of a middle detection position, and image acquisition equipment arranged right above the detection position; the control module is electrically connected with the induction module, the transportation module and the image acquisition equipment;
the transportation module is used for conveying the products to be detected to the detection position;
the induction module is used for generating an input signal and uploading the input signal to the control module when detecting that the product to be detected enters the detection position;
the control module is used for responding to the input signal and sending a driving signal to drive the optical module;
the image acquisition equipment is used for responding to the driving signal to acquire an assembly image of a product to be detected and uploading the assembly image to the control module;
the control module is used for acquiring target contour curve data of the product to be detected in the assembly image according to a feature extraction algorithm and calculating a plurality of corresponding target test indexes; and judging whether the total index of the product to be detected is abnormal or not according to a preset condition.
In a further embodiment, the transport module includes a power assembly mounted on the frame, a conveyor track, and a vehicle mounted on the power assembly;
the transportation module of this scheme design on the frame is fixed, realizes waiting to detect the mechanized transportation of product, has not only improved the conveying efficiency of product by a wide margin, still through mechanical positioning, has improved the location rate of accuracy who detects the product, has reduced the degree of difficulty that the product became invalid.
The image acquisition equipment comprises an optical camera, an optical lens and a light source, wherein the optical camera is fixed on the rack with the front surface facing downwards, the optical lens vertically installed is fixed on the front surface of the optical camera, and the light source is installed on the rack and is opposite to the optical lens;
this scheme sets up optical camera, optical lens and light source and constitutes image acquisition equipment, utilizes the light compensation of light source, can guarantee the stability of image acquisition environment, and then improves the degree of accuracy that the image acquireed, and then reduces the detection degree of difficulty.
The induction module comprises a code scanner arranged on the outer side of the rack, a travel switch and a photoelectric switch arranged on the inner side of the detection position;
the code scanner is used for identifying the identification code on the product to be detected and inputting a corresponding product serial number;
the travel switch is used for sensing whether the carrier reaches the detection position or not;
the photoelectric switch is used for detecting whether the product to be detected is placed on the carrier.
This scheme design bar code collector treats to detect the product and carries out identification (types the product serial number that corresponds), can directly bind its testing result rather than product serial number, and subsequent product of being convenient for is traced to the source and is examined quality, adopts travel switch, photoelectric switch to accomplish and treats the triggering of treating the product detection process, and degree of automation is high, detection efficiency is high, and can effectively prevent the spurious triggering.
In further embodiments, the target test metric comprises: the device comprises a communication connector buckle, a left ear distance characteristic, a right ear distance characteristic, a double ear inclination angle characteristic, a turnover projection area characteristic and a proportion value characteristic, and a reinforcing plate distance characteristic and a reinforcing plate inclination characteristic on a flexible flat cable.
In a further embodiment, the obtaining of the target contour curve data of the product to be detected in the assembly image according to the feature extraction algorithm specifically includes:
determining a contour characteristic line of the product to be detected according to a bright-dark cut-off line in the assembly image;
and acquiring a target contour curve from the contour characteristic line, and determining the actual size characteristic of the target contour curve by combining the image conversion ratio.
Drawings
Fig. 1 is a flowchart illustrating a failure detection method based on a flexible flat cable according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the extraction of contour feature lines provided by the embodiment of the present invention;
fig. 3 is a perspective view of a failure detection device based on a flexible flat cable according to an embodiment of the present invention;
fig. 4 is a schematic view of a product placement carrier (at position P1) for inspection according to an embodiment of the present invention;
FIG. 5 is a schematic view of a product to be detected entering a detection position (at position P2) provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of a structure of a product to be detected according to an embodiment of the present invention;
FIG. 7 is a schematic illustration of an indicator A, B provided by an embodiment of the present invention;
FIG. 8 is a schematic diagram of the indicators C, α provided by the embodiment of the present invention;
FIG. 9 is a schematic diagram of an indicator β provided by an embodiment of the present invention;
FIG. 10 is a simplified enlarged view of FIG. 9 provided by an embodiment of the present invention;
fig. 11 is a schematic diagram of the indicator S according to the embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail below with reference to the accompanying drawings, which are given solely for the purpose of illustration and are not to be construed as limitations of the invention, including the drawings which are incorporated herein by reference and for illustration only and are not to be construed as limitations of the invention, since many variations thereof are possible without departing from the spirit and scope of the invention.
Example 1
As shown in fig. 1, the failure detection method based on a flexible flat cable according to an embodiment of the present invention includes steps S1 to S4:
s1, acquiring an assembly image of the product to be detected, specifically: when the induction switch is triggered to detect that the product to be detected enters the detection position, driving the image acquisition equipment to acquire a structural characteristic image of the product to be detected as an assembly image;
referring to fig. 6, the product to be detected is a flexible flat cable and a communication connector which are assembled and connected on a circuit board through a communication connector buckle, and a strength-keeping plate covers the flexible flat cable.
The inductive switch is triggered in the design of the embodiment, automatic identification and starting of products to be detected are completed, so that the flexible flat cable is more automatic and intelligent in detection, and the high efficiency requirement of flow line production is met.
S2, according to the feature extraction algorithm, acquiring the target contour curve data of the product to be detected in the assembly image, including the steps S21-S22:
s21, determining the outline characteristic line of the product to be detected according to the bright-dark cut-off in the assembly image;
in the present embodiment, step S21 includes:
s211, carrying out gray processing on the assembly image, and determining a region around a bright-dark cut-off in the assembly image as a region of interest;
s212, setting a plurality of groups of directed reference lines vertical to the bright-dark cut-off in the region of interest;
s213, acquiring pixel values of all pixel points on the directional reference line from the region of interest, and determining pixel jumping points;
and S214, fitting all the jumping points to obtain a profile characteristic line.
Referring to fig. 2, only two colors, namely black and white, exist in the grayed picture, when a bright-dark cut-off line in the grayed picture is identified (the pixel value of the picture in the bright area is greater than the pixel value of the picture in the dark area), a directed reference line (virtual reference line segment) from light to dark is set in the direction of an arrow in the picture, the pixel values of the pixels on the directed reference line are sequentially obtained according to the direction of the arrow, transition points (see a gray cross area in the picture) of the pixel values from light to dark are recorded, and all the detected transition points are fitted into a straight line to obtain a contour characteristic line.
In the embodiment, after a realistic image with disordered contents is converted into a grayed image with clear lines, a bright-dark cut-off line in an assembly image is identified according to the characteristic of the bright-dark cut-off line, a general outline range is preliminarily determined, then, pixel values of pixel points on a directional reference line perpendicular to the bright-dark cut-off line are obtained, specific pixel jumping points are determined and fitted, and then, an accurate outline characteristic line can be extracted, accurate test data are provided for a detection program, and therefore the accuracy of product detection is improved.
And S22, acquiring a target contour curve from the contour characteristic line, and determining the actual size characteristic of the target contour curve by combining the image conversion ratio. Wherein, the image conversion ratio is the conversion ratio of an image coordinate system and a world coordinate system.
In this embodiment, the target profile curve includes a left ear grabbing line L1 of the communication connector buckle, a reference grabbing line L2 of the communication connector buckle, a right ear grabbing line L3 of the communication connector buckle, a strength-maintaining plate grabbing line L4 of the flexible flat cable, a strength-maintaining plate grabbing line L5 of the flexible flat cable, and a projected grabbing area S formed by turning over the communication connector buckle.
And S3, calculating a plurality of target test indexes of the product to be detected according to the target contour curve data.
Wherein the target test index comprises: left ear distance characteristic, right ear distance characteristic, ears inclination characteristic, overturn projection area characteristic, proportion value characteristic on the communication connector buckle, and the distance characteristic of the reinforcing plate on the flexible flat cable, the inclination characteristic of the reinforcing plate, specifically, refer to fig. 7 to 11:
the left ear distance characteristic is that the distance A between the left ear grabbing line L1 and the reference grabbing line L2 corresponds to a theoretical data value A1;
the right ear distance characteristic is that the distance B between the right ear grabbing line L3 and the reference grabbing line L2 corresponds to a theoretical data value of B1;
the distance characteristic of the reinforcing plate is that the distance C between the gripping line L4 of the reinforcing plate and the reference gripping line L2 corresponds to a theoretical data value of C1;
the inclination of the reinforcing plate is characterized in that the angle alpha between the grabbing line L5 of the reinforcing plate and the reference grabbing line L2;
the double-ear inclination angle is characterized in that the inclination angle beta of the buckle of the communication connector, namely the included angle between a parallel connecting line L6 between a left-ear grabbing line L1 and a right-ear grabbing line L3 and a reference grabbing line L2; the intersection point of the line L6 and the line L2 is D, and M, N, J, K is the vertical point.
The turning projection area is characterized in that a projection grabbing area S formed by turning over the buckle of the communication connector is calculated according to a preset calculation formula, and a turning angle corresponding to the value of the area S is calculated, for example, the projection grabbing area corresponding to 0-degree turning is S0, the projection grabbing area corresponding to 5-degree turning is S1, and the projection grabbing area corresponding to 10-degree turning is S2. Referring to fig. 11, wherein fig. I is a side view of the communication connector clip, fig. II is a top view of the communication connector clip, and fig. III is an enlarged view of the communication connector clip.
The ratio is characterized by a comparison of the communication connector reference capture line L2 to a standard value L7, denoted as E.
In the embodiment, the actual indexes of product detection are considered, index acquisition and comparison aiming at the left ear distance characteristic, the right ear distance characteristic, the double ear inclination angle characteristic, the overturning projection area characteristic and the proportion value characteristic are designed in detail, and whether the buckle of the communication connector is really buckled or not can be determined; the acquisition and comparison of indexes of the distance characteristic and the inclination characteristic of the reinforcing plate are designed in detail, and the connection state of the flexible flat cable and the communication connector can be further determined.
And S4, judging that the total index of the product to be detected is normal when all target test indexes meet preset conditions, quitting the product to be detected at the detection position and executing the inspection of the next product to be detected, otherwise judging that the total index of the product to be detected is abnormal, intercepting the product to be detected and carrying out retrospective management.
In this embodiment, the above deviation es, the lower deviation ei, and the default size tolerance F are taken as examples, and the preset conditions are specifically:
when the angle beta is equal to 0 degrees, Aei is equal to + F, Aes is equal to-F, if the angle beta meets the condition that (A1+ Aei) < A < (A1+ Aes), the output A characteristic index is normal, otherwise, the output A index is abnormal;
when the angle beta is equal to 0 degrees, the Bei is equal to + F, the Bes is equal to-F, and if the condition that (B1+ Bei) < B < (B1+ Bes) is met, the output B characteristic index is normal; otherwise, the B index is abnormal.
When-2 degrees less than angle beta < 2 degrees and MN is sin beta DM, MN brings positive and negative values according to positive and negative directions, if (A1-MN) < A1-MN + F), the output A characteristic index is normal, otherwise, the A index is abnormal;
when-2 degrees less than angle beta < 2 degrees, JK is sin beta DJ, JK is brought into positive and negative values according to positive and negative directions, if (B1-JK) < B < (B1-JK + F), the output B characteristic index is normal, otherwise, the B index is abnormal.
And Cei is + F, Ces is-F, if (C1+ Cei) < C < (C1+ Ces) is satisfied, the C characteristic index is output normally, otherwise, the C index is abnormal.
If the angle alpha is less than 88 degrees and less than 92 degrees, outputting the alpha characteristic index to be normal, otherwise, outputting the alpha characteristic index to be abnormal
Calculating S, if S0 is more than S and less than S1 degrees, outputting the S index to be normal, otherwise, outputting the S index to be abnormal
When indexes A, B, C, S, alpha and beta are all normal, outputting a total normal index, uploading to a production process execution management system, and when one of the indexes is abnormal, outputting a total abnormal index and intercepting the total abnormal index.
According to the method, when the current product to be detected does not meet the preset conditions, the total index of the product to be detected can be directly judged to be abnormal, and then the abnormal total index can be timely fed back to the control center, so that the interception and tracing management of defective products can be carried out, and the qualified quality of the product leaving the factory can be ensured.
The embodiment of the invention designs a novel failure detection method for a flexible flat cable based on the limitation of the comparison of the existing image templates, sets a target test index and a corresponding preset condition in advance, when an assembly image of a current product to be detected (the flexible flat cable and a communication connector which are assembled and connected) is obtained, image recognition is directly carried out on the assembly image according to a feature extraction algorithm, target contour curve data which can represent an assembly effect is obtained, a plurality of corresponding target test indexes are further calculated, and the target test indexes are substituted into the preset condition for comparison, so that whether the total index of the current product to be detected is abnormal or not can be quickly judged. Compared with the traditional flexible flat cable detection, the flexible flat cable detection device can comprehensively cover the grabbing of effective characteristics on a product to be detected, improves the production efficiency of the product by improving the image recognition rate, realizes the automatic judgment of equipment, and can also intercept the outflow of defective products in time by improving the judgment accuracy rate.
Example 2
Reference numerals appearing in the drawings of the present embodiment include: the device comprises a frame 1, a base 11, a detection position 12 and a packaging shell 13; the induction module 2, a travel switch 21 and a photoelectric switch 22; the transportation module 3, a power assembly 31, a conveying track 32 and a carrier 33; the image acquisition device 4, the optical camera 41, the optical lens 42, the light source 43; the display module 5, the product 6 to be detected, the circuit board 61, the communication connector buckle 62, the flexible flat cable 63, the communication connector 64 and the strength protection plate 65.
The failure detection device based on the flexible flat cable provided by the embodiment of the invention, referring to fig. 3 to 5, comprises: the system comprises a rack 1, a control module fixed in the rack 1, an induction module 2 and a transportation module 3 of a middle detection position 12, and an image acquisition device 4 arranged right above the detection position 12; the control module is electrically connected with the induction module 2, the transportation module 3 and the image acquisition equipment 4;
the frame 1 device comprises a base 11 at the bottom of a seal, a detection position 12 with a semi-open middle part and an encapsulation shell 13 at the upper part, wherein the encapsulation shell 13 can effectively prevent a lens from shaking and a light source 43 from interfering.
The transportation module 3 is used for transporting the product to be detected to the detection position 12;
referring to fig. 6, the product 6 to be detected is a flexible flat cable 63 and a communication connector 64 which are assembled and connected on a circuit board 61 through a communication connector buckle 62, and a strength-keeping plate 65 covers the flexible flat cable 63.
The induction module 2 is used for generating an input signal and uploading the input signal to the control module when detecting that a product to be detected enters the detection position 12;
the control module is used for responding to the input signal and sending a driving signal to drive the optical module;
the image acquisition equipment 4 is used for responding to the driving signal to acquire an assembly image of the product to be detected and uploading the assembly image to the control module;
the control module is used for acquiring target contour curve data of a product to be detected in the assembly image according to a feature extraction algorithm and calculating a plurality of corresponding target test indexes; and judging whether the total index of the product to be detected is abnormal or not according to a preset condition.
The invention also comprises a display module 5 which is arranged on the base 11 and comprises an acousto-optic alarm component. For example, a green light is displayed when the index is normal, a red light is displayed when the index is abnormal, and a warning is automatically sounded.
In the present embodiment, the transportation module 3 includes a power assembly 31 mounted on the frame 1, a conveying rail 32, and a vehicle 33 mounted on the power assembly 31; wherein the power assembly 31 is provided with 2 magnetic attraction points for stabilizing the carrier 33.
The transportation module 3 fixed on the frame 1 is designed in the embodiment, so that the mechanical transportation of the product to be detected is realized, the transportation efficiency of the product is greatly improved, the positioning accuracy of the product to be detected is improved through mechanical positioning, and the difficulty of product failure is reduced.
The image acquisition device 4 comprises an optical camera 41, an optical lens 42 and a light source 43, wherein the optical camera 41 is fixed on the frame 1 with the front surface facing downwards, the optical lens 42 vertically installed is fixed on the front surface of the optical camera, and the light source 43 is installed on the frame 1 and faces the optical lens 42;
the image acquisition device 4 is composed of the optical camera 41, the optical lens 42 and the light source 43, and the stability of the image acquisition environment can be ensured by using the light compensation of the light source 43, so that the accuracy of image acquisition is improved, and the detection difficulty is reduced.
The induction module 2 comprises a code scanner arranged outside the rack 1, a travel switch 21 and a photoelectric switch 22 arranged inside the detection position 12;
the code scanner is used for identifying the identification code on the product to be detected and inputting the corresponding product serial number into the interlocking database; in the present embodiment, the code scanner is a conventional external code scanner.
The travel switch 21 is used for sensing whether the carrier 33 reaches the detection position 12;
the photoelectric switch 22 is used for detecting whether a product to be detected is placed on the carrier 33.
This embodiment design bar code scanner treats to detect the product and carries out identification (types the product serial number that corresponds), can directly bind its testing result rather than product serial number, and subsequent product of being convenient for is traced to the source and is examined quality, adopts travel switch 21, photoelectric switch 22 to accomplish and waits to detect the triggering of product detection process, and degree of automation is high, detection efficiency is high, and can effectively prevent the spurious triggering.
In this embodiment, the target test indicators include: the device comprises a communication connector buckle, a left ear distance characteristic, a right ear distance characteristic, a double ear inclination angle characteristic, a turnover projection area characteristic and a proportion value characteristic, and a reinforcing plate distance characteristic and a reinforcing plate inclination characteristic on a flexible flat cable.
In this embodiment, according to the feature extraction algorithm, the data of the target contour curve of the product to be detected from the acquired assembly image is specifically:
determining a contour characteristic line of the product to be detected according to a bright-dark cut-off line in the assembly image;
and acquiring a target contour curve from the contour characteristic line, and determining the actual size characteristic of the target contour curve by combining the image conversion ratio.
In this embodiment, the specific working principle is as follows:
starting the image acquisition equipment 4 and confirming the normal operation of the equipment; and scanning the two-dimensional code of the product to be detected by using a code scanner, uploading the serial number of the product to the control module, and recording the serial number into an interlocking database.
Placing the product to be tested (the assembled flexible flat cable and the communication connector) into the carrier 33 (at the position P1); the carriage 33 reaches a position P2 along the conveying track 32 under the action of the power assembly 31.
At this time, the travel switch 21 and the photoelectric switch 22 are both triggered, the control module automatically delays (for anti-shake) for a certain time and then sends a driving signal to the image acquisition device 4, and controls the optical camera 41 to acquire an assembly image of the product to be detected and store the assembly image locally.
The control module acquires target contour curve data of a product to be detected in the assembly image according to a feature extraction algorithm and calculates a plurality of corresponding target test indexes; and judging whether the total index of the product to be detected is abnormal or not according to a preset condition. Wherein, the second photographing and judging can be added, and the repeated verification of the abnormity can be carried out.
And then, the control module uploads the judgment result to an interlocking database of a background control room, if the total index of the product to be detected is normal, the product to be detected exits the detection position 12 and the next product to be detected is checked, otherwise, the total index of the product to be detected is judged to be abnormal, the product to be detected is intercepted and tracing management is carried out.
The control module drives the power assembly 31 to control the carrier 33 to retreat from the position P2 to the position P1, take out the product to be detected and place the product into the designated area, and prepare for assembly detection operation of other processes at the next station.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.
Claims (10)
1. A failure detection method based on a flexible flat cable is characterized by comprising the following steps:
s1, acquiring an assembly image of the product to be detected;
s2, acquiring target contour curve data of the product to be detected in the assembly image according to a feature extraction algorithm;
s3, calculating a plurality of target test indexes of the product to be detected according to the target contour curve data;
and S4, judging that the total index of the product to be detected is normal when all target test indexes meet preset conditions, and otherwise, judging that the total index of the product to be detected is abnormal.
2. The method according to claim 1, wherein the step S1 specifically comprises: when the induction switch is triggered to detect that a product to be detected enters a detection position, driving image acquisition equipment to acquire a structural characteristic image of the product to be detected as an assembly image;
the product to be detected is an assembled and connected flexible flat cable and communication connector.
3. The flex cable-based failure detection method according to claim 1, wherein the step S2 comprises:
s21, determining the outline characteristic line of the product to be detected according to the bright-dark cut-off in the assembly image;
and S22, acquiring a target contour curve from the contour characteristic line, and determining the actual size characteristic of the target contour curve by combining the image conversion ratio.
4. The flex cable-based failure detection method according to claim 1, wherein the step S21 comprises:
s211, carrying out gray processing on the assembly image, and determining a region around a bright-dark cut-off in the assembly image as a region of interest;
s212, setting a plurality of groups of directional reference lines vertical to the bright-dark cut-off in the region of interest;
s213, acquiring pixel values of all pixel points on the directional reference line from the region of interest, and determining pixel jumping points;
and S214, fitting all the jumping points to obtain a profile characteristic line.
5. The flex-cable-based failure detection method of claim 1, wherein in the step S3, the target test index comprises: the device comprises a communication connector buckle, a left ear distance characteristic, a right ear distance characteristic, a double ear inclination angle characteristic, a turnover projection area characteristic and a proportion value characteristic, and a reinforcing plate distance characteristic and a reinforcing plate inclination characteristic on a flexible flat cable.
6. The method according to claim 1, wherein the step S4 specifically comprises: and when all target test indexes meet preset conditions, judging that the total indexes of the products to be detected are normal, withdrawing the products to be detected from the detection position and executing the inspection of the next products to be detected, otherwise, judging that the total indexes of the products to be detected are abnormal, intercepting the products to be detected and carrying out retrospective management.
7. A failure detection device based on a flexible flat cable is characterized by comprising: the system comprises a rack, a control module fixed in the rack, a sensing module and a transportation module of a middle detection position, and image acquisition equipment arranged right above the detection position; the control module is electrically connected with the induction module, the transportation module and the image acquisition equipment;
the transportation module is used for conveying the products to be detected to the detection position;
the induction module is used for generating an input signal and uploading the input signal to the control module when detecting that the product to be detected enters the detection position;
the control module is used for responding to the input signal and sending a driving signal to drive the optical module;
the image acquisition equipment is used for responding to the driving signal to acquire an assembly image of a product to be detected and uploading the assembly image to the control module;
the control module is used for acquiring target contour curve data of the product to be detected in the assembly image according to a feature extraction algorithm and calculating a plurality of corresponding target test indexes; and judging whether the total index of the product to be detected is abnormal or not according to a preset condition.
8. A flex cable-based failure detection device as claimed in claim 7, wherein:
the transportation module comprises a power assembly arranged on the rack, a conveying track and a carrier arranged on the power assembly;
the image acquisition equipment comprises an optical camera, an optical lens and a light source, wherein the optical camera is fixed on the rack with the front surface facing downwards, the optical lens vertically installed is fixed on the front surface of the optical camera, and the light source is installed on the rack and is opposite to the optical lens;
the induction module comprises a code scanner arranged on the outer side of the rack, a travel switch and a photoelectric switch arranged on the inner side of the detection position;
the code scanner is used for identifying the identification code on the product to be detected and inputting a corresponding product serial number;
the travel switch is used for sensing whether the carrier reaches the detection position or not;
the photoelectric switch is used for detecting whether the product to be detected is placed on the carrier.
9. A flex cable-based failure detection device as claimed in claim 7, wherein: the target test indicator includes: the device comprises a communication connector buckle, a left ear distance characteristic, a right ear distance characteristic, a double ear inclination angle characteristic, a turnover projection area characteristic and a proportion value characteristic, and a reinforcing plate distance characteristic and a reinforcing plate inclination characteristic on a flexible flat cable.
10. The flex-cable-based failure detection device according to claim 7, wherein the target profile curve data of the product to be detected from the obtained assembly image according to the feature extraction algorithm is specifically:
determining a contour characteristic line of the product to be detected according to a bright-dark cut-off line in the assembly image;
and acquiring a target contour curve from the contour characteristic line, and determining the actual size characteristic of the target contour curve by combining the image conversion ratio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110877967.8A CN113976452B (en) | 2021-07-30 | 2021-07-30 | Failure detection method and device based on flexible flat cable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110877967.8A CN113976452B (en) | 2021-07-30 | 2021-07-30 | Failure detection method and device based on flexible flat cable |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113976452A true CN113976452A (en) | 2022-01-28 |
CN113976452B CN113976452B (en) | 2024-07-12 |
Family
ID=79735118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110877967.8A Active CN113976452B (en) | 2021-07-30 | 2021-07-30 | Failure detection method and device based on flexible flat cable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113976452B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002107311A (en) * | 2000-09-28 | 2002-04-10 | Mitsubishi Heavy Ind Ltd | Printed circuit board inspecting device and method |
US6427024B1 (en) * | 1999-04-02 | 2002-07-30 | Beltronics, Inc. | Apparatus for and method of automatic optical inspection of electronic circuit boards, wafers and the like for defects, using skeletal reference inspection and separately programmable alignment tolerance and detection parameters |
WO2009102964A2 (en) * | 2008-02-14 | 2009-08-20 | Nordson Corporation | Apparatus for testing containers, tray for holding cylinders and suction-basedchuck for robotic arm |
CN104438125A (en) * | 2014-12-11 | 2015-03-25 | 天津普达软件技术有限公司 | Mobile phone screen defective product removing method |
CN105181709A (en) * | 2015-10-14 | 2015-12-23 | 中国计量学院 | Combined multiple-light-source on-line detection device and method for appearance defects of brake pad |
CN108106532A (en) * | 2017-11-23 | 2018-06-01 | 重庆椿本智能科技有限公司 | The detection method of notebook vision testing machine |
CN108273760A (en) * | 2018-01-23 | 2018-07-13 | 上海读家电子科技有限公司 | A kind of detecting system and detection method for thick film wiring board print quality inspection |
CN110490238A (en) * | 2019-08-06 | 2019-11-22 | 腾讯科技(深圳)有限公司 | A kind of image processing method, device and storage medium |
CN110508495A (en) * | 2019-07-10 | 2019-11-29 | 湖北三江航天万山特种车辆有限公司 | Small parts online dimension detection and automatic sorting device and method |
CN110935654A (en) * | 2019-11-13 | 2020-03-31 | 惠州硕贝德电子有限公司 | Press-buckling type flat cable detection device |
CN111558542A (en) * | 2020-06-24 | 2020-08-21 | 重庆视智迪科技有限公司 | Ceramic tile surface quality online detection sorting system and method |
-
2021
- 2021-07-30 CN CN202110877967.8A patent/CN113976452B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6427024B1 (en) * | 1999-04-02 | 2002-07-30 | Beltronics, Inc. | Apparatus for and method of automatic optical inspection of electronic circuit boards, wafers and the like for defects, using skeletal reference inspection and separately programmable alignment tolerance and detection parameters |
JP2002107311A (en) * | 2000-09-28 | 2002-04-10 | Mitsubishi Heavy Ind Ltd | Printed circuit board inspecting device and method |
WO2009102964A2 (en) * | 2008-02-14 | 2009-08-20 | Nordson Corporation | Apparatus for testing containers, tray for holding cylinders and suction-basedchuck for robotic arm |
CN104438125A (en) * | 2014-12-11 | 2015-03-25 | 天津普达软件技术有限公司 | Mobile phone screen defective product removing method |
CN105181709A (en) * | 2015-10-14 | 2015-12-23 | 中国计量学院 | Combined multiple-light-source on-line detection device and method for appearance defects of brake pad |
CN108106532A (en) * | 2017-11-23 | 2018-06-01 | 重庆椿本智能科技有限公司 | The detection method of notebook vision testing machine |
CN108273760A (en) * | 2018-01-23 | 2018-07-13 | 上海读家电子科技有限公司 | A kind of detecting system and detection method for thick film wiring board print quality inspection |
CN110508495A (en) * | 2019-07-10 | 2019-11-29 | 湖北三江航天万山特种车辆有限公司 | Small parts online dimension detection and automatic sorting device and method |
CN110490238A (en) * | 2019-08-06 | 2019-11-22 | 腾讯科技(深圳)有限公司 | A kind of image processing method, device and storage medium |
CN110935654A (en) * | 2019-11-13 | 2020-03-31 | 惠州硕贝德电子有限公司 | Press-buckling type flat cable detection device |
CN111558542A (en) * | 2020-06-24 | 2020-08-21 | 重庆视智迪科技有限公司 | Ceramic tile surface quality online detection sorting system and method |
Also Published As
Publication number | Publication date |
---|---|
CN113976452B (en) | 2024-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105674880B (en) | Contact net geometric parameter measurement method and system based on binocular principle | |
CN106226157B (en) | Concrete structure member crevices automatic detection device and method | |
JP4461203B2 (en) | Stocker robot teaching method, stocker robot teaching apparatus, and recording medium | |
JP5494286B2 (en) | Overhead position measuring device | |
CN201890600U (en) | Machine vision belt tearing detecting device | |
CN104217441A (en) | Mechanical arm positioning fetching method based on machine vision | |
CN107703513B (en) | Non-contact net relative position detection method based on image processing | |
CN107428261B (en) | Lifting hook detection device based on image processing | |
CN109242035B (en) | Vehicle bottom fault detection device and method | |
CN113112501B (en) | Vehicle-mounted track inspection device and method based on deep learning | |
JP2017215220A (en) | Railway vehicle appearance inspection device | |
CN101794842A (en) | Vision device of solar cell back silver printing equipment | |
CN117309766B (en) | Visual detection method and system for product surface defects | |
CN117557570A (en) | Rail vehicle abnormality detection method and system | |
CN111551559A (en) | LCD (liquid Crystal display) liquid crystal screen defect detection method based on multi-view vision system | |
CN109712115B (en) | Automatic PCB detection method and system | |
CN113976452A (en) | Failure detection method and device based on flexible flat cable | |
CN115457330A (en) | Method, device and equipment for identifying broken wire state of packing wire and storage medium | |
WO2019044345A1 (en) | Railway equipment monitoring device and railway equipment monitoring system | |
JP2011180049A (en) | Pantograph monitoring system | |
CN113701633A (en) | Position and posture monitoring equipment of development machine | |
KR100697992B1 (en) | Instructing method, instructing device and recording materials for stocker robot | |
JP3261199B2 (en) | Pantograph frame deformation inspection device | |
CN112866680A (en) | Automatic code scanning system for final inspection machine | |
CN112330600A (en) | Fault identification method for vehicle end link line fracture based on image processing |
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 |