CN116702522B - Method for detecting radius of chamfer surface of rubber groove of automobile lamp - Google Patents

Method for detecting radius of chamfer surface of rubber groove of automobile lamp Download PDF

Info

Publication number
CN116702522B
CN116702522B CN202310987964.9A CN202310987964A CN116702522B CN 116702522 B CN116702522 B CN 116702522B CN 202310987964 A CN202310987964 A CN 202310987964A CN 116702522 B CN116702522 B CN 116702522B
Authority
CN
China
Prior art keywords
vec
point
line
chamfer
container
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.)
Active
Application number
CN202310987964.9A
Other languages
Chinese (zh)
Other versions
CN116702522A (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.)
Changzhou Xingyu Automotive Lighting Systems Co Ltd
Original Assignee
Changzhou Xingyu Automotive Lighting Systems 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 Changzhou Xingyu Automotive Lighting Systems Co Ltd filed Critical Changzhou Xingyu Automotive Lighting Systems Co Ltd
Priority to CN202310987964.9A priority Critical patent/CN116702522B/en
Publication of CN116702522A publication Critical patent/CN116702522A/en
Application granted granted Critical
Publication of CN116702522B publication Critical patent/CN116702522B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/10Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring diameters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • 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)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Non-Portable Lighting Devices Or Systems Thereof (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a method for detecting the radius of a chamfer surface of a glue groove of an automobile lamp, which comprises the following steps: step S1: acquiring an inner bottom wall surface of a rubber groove distributed in an annular manner and a pair of circular arc wall surfaces connected with the inner bottom wall surface; step S2: acquiring a pair of contour edges of a pair of arc wall surfaces respectively far away from the inner bottom wall surface; step S3: determining an outer contour edge of the pair of contour edges that is located outside; step S4: equally spaced cross-sectional points along the outer contour edge; step S5: making a section normal with a tangential direction of the outer contour edge at a section point to generate a section line; then, an arc line in the section line, namely a chamfer line, is found, and the curvature of the chamfer line is calculated; step S6: and (5) obtaining the radius of the corresponding chamfer line according to the curvature of the chamfer line obtained in the step (S5).

Description

Method for detecting radius of chamfer surface of rubber groove of automobile lamp
Technical Field
The invention relates to the technical field of automobile lamp processing, in particular to a method for detecting the radius of a chamfer surface of a glue groove of an automobile lamp.
Background
In the gluing process of the automobile lamp, the chamfer radius of the glue groove in the automobile lamp is a very important size, and generally, the larger the chamfer radius is, the better the chamfer radius is, the smaller the chamfer radius is, the glue fluidity is affected, the glue leakage is caused, and therefore the problem of unqualified air tightness is caused after the glue is glued. Therefore, in order to ensure the process quality of glue coating in the production process of the automobile lamp, in the analysis stage of process parameters, the chamfer radius of the glue groove is required to be checked, in the process, a section is made at the data glue groove, a section line intersecting with the glue groove surface is a section intersecting line, the radius of the chamfer line in the section intersecting line is the chamfer radius of the glue groove, wherein when the chamfer radius of the glue groove is more than or equal to a standard value, the parameter requirements are met, and the process trial production can be carried out; when the chamfer radius of the glue groove is smaller than the standard value, the glue groove is not in accordance with the parameter requirement, and the glue groove needs to be further modified.
Moreover, for the glue groove on the integral automobile lamp, the corresponding integral glue groove is also of an irregular structure in combination with the irregularity of the modeling of the automobile lamp, and the detection of the chamfer radius of the glue groove under the structure is generally carried out in the prior art by adopting a manual detection mode, and the following defects are verified in the mode:
firstly, the key parts of the glue groove can be generally inspected in a manual detection mode, the glue groove on an irregular automobile lamp can not be comprehensively inspected, and the missing non-inspected area is very likely to have too small chamfering radius so as to be unfavorable for gluing operation.
Secondly, the operation procedure of manual inspection is tedious, time-consuming and labor-consuming, and the accuracy is greatly influenced by the manual inspection experience, namely, the manual inspection experience may directly influence the accuracy of the inspection result. The accuracy of the manual inspection mode as a whole is difficult to ensure.
Therefore, aiming at the defect that the size of the chamfer radius of the glue groove is manually checked in the prior art, it is necessary to design a method capable of automatically checking the chamfer radius of the glue groove of the automobile lamp.
Disclosure of Invention
The invention aims to provide a method for detecting the chamfer radius of a rubber groove of an automobile lamp, which aims to solve the technical problem of improving the efficiency and the accuracy of detecting the chamfer radius of the rubber groove of the automobile lamp.
The method for detecting the radius of the chamfer surface of the rubber groove of the automobile lamp is realized by the following steps:
a detection method for the radius of a chamfer surface of a rubber groove of an automobile lamp comprises the following steps:
step S1: acquiring an inner bottom wall surface of a rubber groove distributed in an annular manner and a pair of circular arc wall surfaces connected with the inner bottom wall surface;
step S2: acquiring a pair of contour edges of a pair of arc wall surfaces respectively far away from the inner bottom wall surface;
step S3: determining an outer contour edge of the pair of contour edges that is located outside;
step S4: equally spaced cross-sectional points along the outer contour edge;
step S5: making a section normal with a tangential direction of the outer contour edge at a section point to generate a section line; then, an arc line in the section line, namely a chamfer line, is found, and the curvature of the chamfer line is calculated;
step S6: and (5) obtaining the radius of the corresponding chamfer line according to the curvature of the chamfer line obtained in the step (S5).
In an alternative embodiment of the present invention, step S2 includes:
step S21: giving corresponding tag values to line elements included in an inner bottom wall surface of the glue groove and a pair of arc wall surfaces connected with the inner bottom wall surface, and placing the line elements into a container edge 01_vec;
sorting all line elements in the container edge 01_vec according to the relevance of the tag value to find line elements with relevance of the tag value, and placing all line elements with relevance of the tag value into the container sharededge 01_vec;
step S22: removing the container sharededde01_vec from the container edes01_vec, the line element with the tag value having no correlation is retained in the edes01_vec, that is, a pair of contour edges with a pair of circular arc wall surfaces respectively far from the inner bottom wall surface.
In an alternative embodiment of the present invention, step S3 includes:
step S31: placing all point elements included by a pair of contour edges into a container edge 01_vec;
step S32: taking the first point element from the container edge 01_vec and assigning the first point element as egdeA, and putting the egdeA into the container loop1_vec and deleting the egdeA from the container edge 01_vec;
step S33: selecting point elements one by one from the container edge 01_vec, respectively assigning the point elements as egdeB until the last point element, calculating the distance between each point element egdeB and the point element egdeA so as to find the point element egdeB with the distance between the point element egdeB and the point element egdeA being 0 in all the point elements egdeB, putting the point element into the container loop1_vec, and deleting the point element from the container edge 01_vec;
step S34: assigning the point elements egdeB newly placed in the container loop1_vec as egdeA, selecting the point elements one by one from the container edge 01_vec and assigning the point elements as egdeB until the last point element, calculating the distance between each point element egdeB and the point element egdeA so as to find the point element egdeB with the distance 0 from the point element egdeA in all the point elements egdeB, placing the point element in the container loop1_vec and deleting the point element from the container edge 01_vec;
and so on, so that all the point elements in the container loop 1-vec form one annular closed edge, and the rest point elements in the edge 01-vec form another annular closed edge;
step S35: comparing the total length of the closed edges in container loop1 vec with the total length of the closed edges of edge 01 vec; the closure edge having the longer overall length is the outer contour edge of the pair of contour edges, and the closure edge having the shorter overall length is the inner contour edge of the pair of contour edges.
In an alternative embodiment of the present invention, in step S33, the spacing of each dot element egdeB from the dot element egdeAThe following formula is adopted for calculation:
let the coordinates of the point element egdeA beThe coordinates of the dot element egdeB are +.>The method comprises the steps of carrying out a first treatment on the surface of the Then:
in an alternative embodiment of the present invention, step S4 includes:
step S41: all the point elements included in the outline edge are placed in an outloop_vec, the point elements are selected one by one from the outloop_vec and are respectively assigned as egdeC until the last point element;
step S42: all the point elements edgeC are equally spaced to form section points according to a preset interval value interval_value, and then the section points are taken one by one and assigned to pntD in sequence.
In an alternative embodiment of the present invention, step S5 includes step S51:
taking the tangent line at each section point pntD as the section direction, intersecting the section with the inner bottom wall surface of the glue groove to form a section line, and putting the section line into the container CurveAfter1_vec.
In an alternative embodiment of the present invention, step S5 includes step S52:
section lines are extracted one by one from the container CurveAfter1_vec to obtain two circular arc curves, namely two chamfer lines, in the corresponding section lines.
In an alternative embodiment of the present invention, step S5 includes step S53:
the curvatures of the two chamfer lines included in each section of the cross-sectional line acquired in step S42 are calculated one by one.
In an alternative embodiment of the invention, the curvature of each chamfer line is calculated using the following formula:
let the rectangular equation of the chamfer line be y=f (x), and y=f (x) have the second derivative;
slope of tangent line of chamfer line at point M
Then: curvature of the chamfer line at point M
In an alternative embodiment of the present invention, the radius of the chamfer line in step S5 is set to beThen:
by adopting the technical scheme, the invention has the following beneficial effects: compared with the mode of manually detecting the corresponding chamfer radius at the cross section point of the outline edge of the adhesive groove of the irregular automobile lamp, the method can improve the detection efficiency, the comprehensiveness and the accuracy of detection and avoid the problem of missed detection caused by incomplete detection of the adhesive groove chamfer.
Drawings
FIG. 1 is a flow chart of a method of detecting a chamfer radius of a glue groove for an automotive luminaire of the present invention;
FIG. 2 is a schematic diagram showing the whole structure of a glue groove of an automobile lamp, to which the method for detecting the radius of the chamfer of the glue groove of the automobile lamp is applicable;
fig. 3 is a schematic cross-sectional view of a glue groove of an automobile lamp to which the method for detecting the radius of the chamfer of the glue groove for the automobile lamp of the present invention is applicable.
In the figure: the adhesive groove 1, the inner bottom wall surface 2, the chamfer surface 3, the adhesive groove side wall 4 and the section point 5.
Detailed Description
In order that the invention may be more readily understood, a more particular description of the invention will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
Referring to fig. 1 to 3, the present embodiment provides a method for detecting a radius of a chamfer of a glue groove for an automobile lamp, which is suitable for a glue coating process of an automobile lamp, specifically, referring to fig. 3 for a glue groove 1 of an automobile lamp, the glue groove 1 integrally includes an inner bottom wall 2 and a pair of glue groove side walls 4 located at two sides of the inner bottom wall 2, and a chamfer 3 is formed between the pair of glue groove side walls 4 and the inner bottom wall 2.
In more detail, for each chamfer 3, it is actually a circular arc curved surface between the side wall 4 and the inner bottom wall 2 of the glue groove, and since the glue groove 1 of the automobile lamp is of a circular structure as a whole, the two circular arc curved surfaces included in the whole glue groove 1 are of a circular structure, and for the general automobile lamp, it is basically of an irregular shape, so that the corresponding circular glue groove 1 and circular arc curved surface are of irregular shapes.
With such a structure, for the radius of the whole circular arc-shaped curved surface, namely the chamfer surface, the integrity and the accuracy of the radius detection of the chamfer surface of the whole adhesive groove 1 can be ensured by detecting the break points point by point. Therefore, the difficulty of the process of radius detection of the chamfer surface in a ring shape is how to control the detection of the point by point of the chamfer surface, and the condition of missing points does not occur.
In addition, because the whole glue groove 1 includes two chamfer faces 3, and one chamfer face 3 is located the inner ring, and another chamfer face 3 is located the outer ring, if two chamfer faces 3 carry out the detection of point by point respectively, detect complex operation and inefficiency, so how can carry out the detection of point by point to two chamfer faces 3 simultaneously then be the difficulty in the chamfer face 3 radius detection process of whole glue groove 1.
Based on the above-mentioned situation, the method for detecting the radius of the chamfer of the glue groove for the automobile lamp of the embodiment generally includes:
step S1: an inner bottom wall surface 2 of the rubber groove 1 distributed in an annular shape and a pair of circular arc wall surfaces connected with the inner bottom wall surface 2 are obtained. Since the chamfer 3 is formed between the inner bottom wall 2 and the pair of circular arc walls of the glue groove 1, the inner bottom wall 2 and the pair of circular arc walls of the glue groove 1 are commonly selected as the basic analysis data.
More specifically, the method of obtaining the inner bottom wall surface 2 and the pair of circular arc wall surfaces is, for example, an alternative embodiment, in which a desired wall surface is selected by a mold pattern of UG/NX format corresponding to the automotive lamp.
Step S2: a pair of contour sides of the pair of circular arc wall surfaces respectively distant from the inner bottom wall surface 2 are obtained.
Step S3: an outer contour edge of the pair of contour edges is defined that is located outboard.
Step S4: the cross-sectional points 5 are equally spaced along the outer contour edge.
Step S5: making a section normal with the tangential direction of the outer contour edge at the section point 5 to generate a section line; and finding out an arc line in the section line, namely a chamfering line, and calculating the curvature of the chamfering line.
Step S6: and (5) obtaining the radius of the corresponding chamfer line according to the curvature of the chamfer line obtained in the step (S5).
In addition, the step S2 adopted in the present embodiment includes the following two sub-steps S21 and S22.
Step S21: the inner bottom wall 2 of the glue groove 1 and the pair of circular arc wall parts connected with the inner bottom wall 2 are given corresponding tag values, and are put into a container edge 01_vec, and the fact that the wire elements specifically refer to wires which are in a ring shape along the outline of the automobile lamp, namely, each wall is divided into a plurality of wires which are in a ring shape and are connected in sequence, and each wire element is given a tag value which is mainly used as a characteristic tag for distinguishing the wire elements later.
In more detail, both for the inner bottom wall 2 itself of the glue tank 1 and for the circular-arc wall itself, it includes a plurality of line elements connected in sequence, and for the intersection of the inner bottom wall 2 and the circular-arc wall of the glue tank 1, there must be one line element associated with both the inner bottom wall 2 and the circular-arc wall. Based on the above, in the process of giving each line element a tag value, a line element having line elements adjacent on both sides among the line elements is given a first tag value, and a line element having only line elements adjacent on one side among the line elements is given a second tag value; that is, a plurality of line elements are divided into two types, one of which is sandwiched by line elements on both sides and the other of which is a line element having adjacent line elements on only one side thereof.
Based on the above situation, all line elements in the container edge 01_vec are sorted according to the relevance of the tag values (the line elements corresponding to the first tag value and the line elements corresponding to the second tag value are separated and sorted), so as to find the line elements with the relevance of the tag values (i.e. find the line elements sandwiched by the line elements on two sides), and put the line elements with the relevance of all tag values into the container sharedeedge 01_vec. That is, the line element sandwiched by the line elements on both sides is transferred from the container edge 01_vec to the container sharededde01_vec.
Step S22: removing the container sharededde01_vec from the container edes01_vec leaves a line element with the second tag value in the edes01_vec (i.e., leaves a line element with adjacent line elements only on one side of it in the container edes01_vec). In the practical structure of the adhesive groove 1, that is, the line elements having adjacent line elements on only one side thereof specifically correspond to a pair of contour edges of a pair of circular arc wall surfaces respectively distant from the inner bottom wall surface 2.
Next, the step S3 employed in the present embodiment includes:
step S31: placing all point elements included by a pair of contour edges into a container edge 01_vec; the complete line structure is subdivided here into a plurality of point elements in the circumferential direction for each contour edge, i.e. for each contour edge a contour edge of the complete ring structure is formed by a succession of a plurality of point elements. It should be noted that, regarding the point elements corresponding to the outline edges herein may be replaced by edge elements in the actual use process, that is, the outline edges in the ring shape are regarded as a plurality of short sides continuously arranged to form the outline edges in the ring structure, so the point elements or the edge elements are used as reference elements herein, which all meet the use requirements of the embodiment, and the embodiment only takes the case of the point elements as an example.
Step S32: taking the first point element from the container edge 01_vec and assigning the first point element as egdeA, and putting the egdeA into the container loop1_vec and deleting the egdeA from the container edge 01_vec; the first dot element is not limited in any way, and may be any dot element in the container edge 01_vec. The point element assigned to egdeA in this embodiment will become a reference point element.
Step S33: and selecting point elements from the container edge 01_vec one by one, respectively assigning the point elements as egdeB until the last point element, calculating the distance between each point element egdeB and the point element egdeA so as to find the point element egdeB with the distance between the point element egdeB and the point element egdeA being 0 in all the point elements egdeB, putting the point element into the container loop1_vec, and deleting the point element from the container edge 01_vec. Here, the distance calculation is used to find the point element adjacent to the first point element selected in step S32, that is, the reference point element.
It should be noted that, in step S33, the distance between each dot element egdeB and dot element egdeAWhich may employ a generic convention of spacing between point elements in three-dimensional spaceThe formula is calculated as follows:
let the coordinates of the point element egdeA beThe coordinates of the dot element egdeB are +.>The method comprises the steps of carrying out a first treatment on the surface of the Then:
of course, for each dot element egdeB to dot element egdeA spacingIs found in conjunction with the UG tool's own function UF_MODL_ask_minimum_dist. Both of the above two ways meet the use requirement of the present embodiment, and the present embodiment is not limited in any way.
Step S34: the point elements egdeB newly placed in the container loop1_vec are assigned as egdeA, then the point elements are selected one by one from the container edge 01_vec and respectively assigned as egdeB until the last point element, the distance between each point element egdeB and the point element egdeA is calculated, so that the point element egdeB with the distance 0 between the point element egdeB and the point element egdeA in all the point elements egdeB is found, and the point element is placed in the container loop1_vec and simultaneously deleted from the container edge 01_vec. Specifically, after the point element found in step S33 is put into the container loop1_vec, it becomes a new reference point element, and then the point element adjacent to the reference point element is found by means of distance calculation. Similarly, the above process is circularly performed so that all the point elements in the container loop1_vec form one closed edge in a ring shape, and the rest point elements in the edge 01_vec form the other closed edge in a ring shape. Here, the two closed edges are the outer contour edge and the inner contour edge.
Step S35: comparing the total length of the closed edges in container loop1 vec with the total length of the closed edges of edge 01 vec; the closure edge having the longer overall length is the outer contour edge of the pair of contour edges, and the closure edge having the shorter overall length is the inner contour edge of the pair of contour edges. The main points used here are that the outer contour edge and the inner contour edge are different in total length because one is on the inner side and the other is on the outer side, and the outer contour edge and the inner contour edge can be rapidly distinguished through length parameters.
Again, it will be described that step S4 employed in this embodiment includes:
step S41: all the point elements included in the outline edge are placed in an outloop_vec, the point elements are selected one by one from the outloop_vec and are respectively assigned as egdeC until the last point element;
step S42: all the point elements edgeC are equally spaced to form section points 5 according to a preset interval value interval_value, and then the section points 5 are taken one by one and assigned to pntD in sequence. The preset value interval_value here may be 0.001 to 1mm.
Finally, it should be noted that step S5 includes step S51: the tangent line at each section point 5pntD is taken as the section direction to be a section line which is intersected with the inner bottom wall surface 2 of the glue groove 1, and the section line is put into the container CurveAfter1_vec.
Furthermore, since one cross-sectional line simultaneously cuts out the arc curves corresponding to the chamfer faces 3, the step S5 adopted in the embodiment further includes the step S52: section lines are extracted one by one from the container CurveAfter1_vec to obtain two circular arc curves, namely two chamfer lines, in the corresponding section lines. Based on this, two chamfer lines are obtained by the section line, and are present simultaneously with the formation of the section line.
On the basis of the above configuration, it is necessary to say that step S5 includes step S53: the curvatures of the two chamfer lines included in each section of the cross-sectional line acquired in step S42 are calculated one by one.
For the curvatures of the two chamfer lines included in each section of the section line acquired in step S42 in step S53, it may be calculated as follows using a general formula for the curvatures of the chamfer lines:
let the rectangular equation of the chamfer line be y=f (x), and y=f (x) have the second derivative;
slope of tangent line of chamfer line at point M
Then: curvature of the chamfer line at point M
Further, let the radius of the chamfer line in step S5 beThen:
of course, the calculation of the curvatures of the two chamfer lines included in each section of the section line acquired in step S42 may also be obtained in combination with the function uf_modl_ask_max_curvature of the UG tool itself. Both of the above two ways meet the use requirement of the present embodiment, and the present embodiment is not limited in any way.
It should be noted that, the radius detection of the chamfer surface 3 in the present embodiment is implemented by subdividing the entire chamfer surface 3 into a plurality of chamfer line radii distributed along a ring shape, so as to ensure the comprehensiveness of the radius detection of the entire chamfer surface 3 of the irregular automobile lamp glue groove 1.
In summary, the method for detecting the radius of the chamfer surface of the adhesive groove of the automobile lamp of the embodiment realizes the comprehensive detection of the radius of the chamfer surface of the adhesive groove of the automobile lamp by using the surface elements, the line elements, the point elements (or the edge elements) and the cross section points 5 and the cross section lines in combination, and has high detection efficiency and high detection accuracy.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are more fully described herein with reference to the accompanying drawings, in which the principles of the present invention are shown and described, and in which the general principles of the invention are defined by the appended claims.
In the description of the present invention, it should be understood that the terms "orientation" or "positional relationship" are based on the orientation or positional relationship shown in the drawings, and are merely for convenience of description and to simplify the description, rather than to indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as limiting the invention.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the description of the present invention, it should be noted that, directions or positional relationships indicated by terms such as "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., are directions or positional relationships based on those shown in the drawings, or are directions or positional relationships conventionally put in use of the inventive product, are merely for convenience of describing the present invention and simplifying the description, and are not indicative or implying that the apparatus or element to be referred to must have a specific direction, be constructed and operated in a specific direction, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
Furthermore, the terms "horizontal," "vertical," "overhang," and the like do not denote a requirement that the component be absolutely horizontal or overhang, but rather may be slightly inclined. As "horizontal" merely means that its direction is more horizontal than "vertical", and does not mean that the structure must be perfectly horizontal, but may be slightly inclined.
In the present invention, unless expressly stated or limited otherwise, a first feature may include first and second features directly contacting each other, either above or below a second feature, or through additional features contacting each other, rather than directly contacting each other. Moreover, the first feature being above, over, and on the second feature includes the first feature being directly above and obliquely above the second feature, or simply indicating that the first feature is higher in level than the second feature. The first feature being below, beneath, and beneath the second feature includes the first feature being directly below and obliquely below the second feature, or simply indicates that the first feature is less level than the second feature.

Claims (4)

1. The method for detecting the radius of the chamfer surface of the rubber groove of the automobile lamp is characterized by comprising the following steps of:
step S1: acquiring an inner bottom wall surface of a rubber groove distributed in an annular manner and a pair of circular arc wall surfaces connected with the inner bottom wall surface;
step S2: acquiring a pair of contour edges of a pair of arc wall surfaces respectively far away from the inner bottom wall surface;
step S3: determining an outer contour edge of the pair of contour edges that is located outside;
step S4: equally spaced cross-sectional points along the outer contour edge;
step S5: making a section normal with a tangential direction of the outer contour edge at a section point to generate a section line; then, an arc line in the section line, namely a chamfer line, is found, and the curvature of the chamfer line is calculated;
step S6: obtaining the radius of the corresponding chamfer line according to the curvature of the chamfer line obtained in the step S5; wherein the method comprises the steps of
The step S2 comprises the following steps:
step S21: giving corresponding tag values to line elements included in an inner bottom wall surface of the glue groove and a pair of arc wall surfaces connected with the inner bottom wall surface, and placing the line elements into a container edge 01_vec;
sorting all line elements in the container edge 01_vec according to the relevance of the tag value to find line elements with relevance of the tag value, and placing all line elements with relevance of the tag value into the container sharededge 01_vec;
step S22: removing the container sharededde01_vec from the container edes01_vec, and keeping line elements with tag values not having relevance in the container sharededde01_vec, namely a pair of contour edges of which the arc wall surfaces are respectively far away from the inner bottom wall surface;
the step S3 comprises the following steps:
step S31: placing all point elements included by a pair of contour edges into a container edge 01_vec;
step S32: taking the first point element from the container edge 01_vec and assigning the first point element as egdeA, and putting the egdeA into the container loop1_vec and deleting the egdeA from the container edge 01_vec;
step S33: selecting point elements one by one from the container edge 01_vec, respectively assigning the point elements as egdeB until the last point element, calculating the distance between each point element egdeB and the point element egdeA so as to find the point element egdeB with the distance between the point element egdeB and the point element egdeA being 0 in all the point elements egdeB, putting the point element into the container loop1_vec, and deleting the point element from the container edge 01_vec;
step S34: assigning the point elements egdeB newly placed in the container loop1_vec as egdeA, selecting the point elements one by one from the container edge 01_vec and assigning the point elements as egdeB until the last point element, calculating the distance between each point element egdeB and the point element egdeA so as to find the point element egdeB with the distance 0 from the point element egdeA in all the point elements egdeB, placing the point element in the container loop1_vec and deleting the point element from the container edge 01_vec;
and so on, so that all the point elements in the container loop 1-vec form one annular closed edge, and the rest point elements in the edge 01-vec form another annular closed edge;
step S35: comparing the total length of the closed edges in container loop1 vec with the total length of the closed edges of edge 01 vec; the closed edge with longer total length is the outer contour edge in the pair of contour edges, and the closed edge with shorter total length is the inner contour edge in the pair of contour edges;
the step S4 includes:
step S41: all the point elements included in the outline edge are placed in an outloop_vec, the point elements are selected one by one from the outloop_vec and are respectively assigned as egdeC until the last point element;
step S42: all the point elements edgeC are equally spaced to form section points according to a preset interval value interval_value, and then the section points are taken one by one and assigned to pntD in sequence;
step S5 includes step S51:
taking a tangent line at each section point pntD as a section direction, intersecting the section with the inner bottom wall surface of the glue groove to form a section line, and putting the section line into a container CurveAfter1_vec;
step S5 includes step S52:
extracting section lines from the container CurveAfter1_vec one by one to obtain two sections of arc curves, namely two chamfer lines, in the corresponding section lines;
step S5 includes step S53:
the curvatures of the two chamfer lines included in each section of the cross-sectional line acquired in step S42 are calculated one by one.
2. The method for detecting a radius of a chamfer of a glue groove for an automotive lamp according to claim 1, wherein in step S33, a distance between each dot element egdeB and each dot element egdeA is setThe following formula is adopted for calculation:
let the coordinates of the dot element egdeA be ()The coordinates of the dot element egdeB are (,)>The method comprises the steps of carrying out a first treatment on the surface of the Then:
3. the method for detecting the radius of the chamfer of the adhesive groove for an automobile lamp according to claim 1, wherein the curvature of each chamfer line is calculated by adopting the following formula:
let the rectangular equation of the chamfer line be y=f (x), and y=f (x) have the second derivative;
slope of tangent line of chamfer line at point M
Then:
curvature of the chamfer line at point M
4. The method for detecting the radius of the chamfer of a glue groove for an automobile lamp according to claim 3, wherein the radius of the chamfer line in the step S5 is set asThen:
CN202310987964.9A 2023-08-08 2023-08-08 Method for detecting radius of chamfer surface of rubber groove of automobile lamp Active CN116702522B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310987964.9A CN116702522B (en) 2023-08-08 2023-08-08 Method for detecting radius of chamfer surface of rubber groove of automobile lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310987964.9A CN116702522B (en) 2023-08-08 2023-08-08 Method for detecting radius of chamfer surface of rubber groove of automobile lamp

Publications (2)

Publication Number Publication Date
CN116702522A CN116702522A (en) 2023-09-05
CN116702522B true CN116702522B (en) 2023-10-31

Family

ID=87824383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310987964.9A Active CN116702522B (en) 2023-08-08 2023-08-08 Method for detecting radius of chamfer surface of rubber groove of automobile lamp

Country Status (1)

Country Link
CN (1) CN116702522B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3727989A1 (en) * 1987-04-07 1989-04-20 Breinlich Richard Dr Assemblies carrying a fluid flow with axially sprung elements defining chambers for pressures up to several thousands of atmospheres
RU4793U1 (en) * 1996-06-19 1997-08-16 Омская государственная академия путей сообщения CONNECTING CYLINDER PARTS WITH TENSION
JP2000001761A (en) * 1998-06-18 2000-01-07 Kawasaki Steel Corp Sink roll of hot dipping device
WO2002014719A1 (en) * 2000-08-16 2002-02-21 James Hardie Research Pty Limited A seal and a pipe system allowing for misalignment
CN112889189A (en) * 2018-10-18 2021-06-01 菲尼克斯电气公司 Electrical contact element for making electrical contact with a mating contact element
CN114004981A (en) * 2021-11-10 2022-02-01 柳州沪信汽车科技有限公司 Vehicle body R angle visual detection method and system under incomplete point cloud condition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3727989A1 (en) * 1987-04-07 1989-04-20 Breinlich Richard Dr Assemblies carrying a fluid flow with axially sprung elements defining chambers for pressures up to several thousands of atmospheres
RU4793U1 (en) * 1996-06-19 1997-08-16 Омская государственная академия путей сообщения CONNECTING CYLINDER PARTS WITH TENSION
JP2000001761A (en) * 1998-06-18 2000-01-07 Kawasaki Steel Corp Sink roll of hot dipping device
WO2002014719A1 (en) * 2000-08-16 2002-02-21 James Hardie Research Pty Limited A seal and a pipe system allowing for misalignment
CN112889189A (en) * 2018-10-18 2021-06-01 菲尼克斯电气公司 Electrical contact element for making electrical contact with a mating contact element
CN114004981A (en) * 2021-11-10 2022-02-01 柳州沪信汽车科技有限公司 Vehicle body R angle visual detection method and system under incomplete point cloud condition

Also Published As

Publication number Publication date
CN116702522A (en) 2023-09-05

Similar Documents

Publication Publication Date Title
EP1324022B1 (en) Apparatus for inspecting wafer surface and method for inspecting wafer surface
JP2005331274A (en) Inspection method of tire irregularity pattern, and inspection device of tire irregularity pattern
US12056669B2 (en) Maintenance system and method
JP2014006222A (en) Method and apparatus for detecting change of concrete surface
CN113588692B (en) Computer vision-based weld defect nondestructive testing method
CN109215009B (en) Continuous casting billet surface image defect detection method based on deep convolution neural network
CN114789307B (en) Plate welding quality real-time monitoring method based on digital twinning
JPWO2004013572A1 (en) Curved shape inspection method and apparatus
JP2003344300A (en) Surface defect determination method
CN115184368A (en) Casting defect detection control system
WO2016186682A1 (en) Systems and methods for automated composite layup quality assurance
CN117788467B (en) Defect image classification method for titanium metal plate
CN116702522B (en) Method for detecting radius of chamfer surface of rubber groove of automobile lamp
CN107388991A (en) A kind of more fillet axial workpiece radius of corner measuring methods in end face
CN116740060A (en) Method for detecting size of prefabricated part based on point cloud geometric feature extraction
CN117805145B (en) Aluminum template surface defect detection method and system
CN113998072B (en) Manufacturing and installing method of standard anchor platform
CN117741090B (en) Quality defect detection method for precision casting of gearbox
KR102043664B1 (en) Auto Repair System and Method for Detecting and Repairing Defects in a Substrate
CN117058411B (en) Method, device, medium and equipment for identifying edge appearance flaws of battery
CN114511604A (en) Increase and decrease composite intelligent repair method for metal parts of medical instruments
CN107993235B (en) Method for measuring wave height of corrugated fire-retardant disc based on image processing technology
JP2007033126A (en) Substrate inspection device, parameter adjusting method thereof and parameter adjusting device
CN116465969B (en) Method for analyzing influence of using amount of molding sand powder on casting quality based on image processing
CN117557563A (en) Welding defect identification and detection method and system

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