CN115169161B - Method and device for detecting turned corners and trimmed corners of stamping parts - Google Patents

Method and device for detecting turned corners and trimmed corners of stamping parts Download PDF

Info

Publication number
CN115169161B
CN115169161B CN202211082334.9A CN202211082334A CN115169161B CN 115169161 B CN115169161 B CN 115169161B CN 202211082334 A CN202211082334 A CN 202211082334A CN 115169161 B CN115169161 B CN 115169161B
Authority
CN
China
Prior art keywords
flanging
stamping part
corner
angle
preset
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
CN202211082334.9A
Other languages
Chinese (zh)
Other versions
CN115169161A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202211082334.9A priority Critical patent/CN115169161B/en
Publication of CN115169161A publication Critical patent/CN115169161A/en
Application granted granted Critical
Publication of CN115169161B publication Critical patent/CN115169161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/11Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Computer Hardware Design (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Operations Research (AREA)
  • Image Analysis (AREA)

Abstract

The disclosure relates to the technical field of computer aided design, in particular to a method and a device for detecting a turned corner and a trimmed corner of a stamping part. The method for detecting the turned corner of the stamping part is characterized by comprising the following steps of: acquiring boundary characterization data in the stamping part, wherein the boundary characterization data comprises a normal vector of a face forming the stamping part, point coordinates forming the stamping part and tangent vectors of edges forming the stamping part; searching according to a preset flanging searching algorithm to obtain each flanging; and calculating according to an auxiliary plane normal vector calculation equation preset by the tangent vector of each flanging to obtain an auxiliary plane normal vector of each flanging, and calculating according to the auxiliary plane normal vector, the normal vector of the main surface of the flanging and a preset flanging angle calculation equation to obtain the flanging angle. The method for detecting the turned corner and the trimmed corner of the stamping part can automatically obtain the turned corner and the trimmed corner, manual measurement one by one is not needed, and a great amount of energy and time of workers are saved.

Description

Method and device for detecting turned corners and trimmed corners of stamping parts
Technical Field
The disclosure relates to the technical field of computer aided design, in particular to a method and a device for detecting a flanging corner and a trimming corner of a stamping part.
Background
The edges of the automobile stamping parts are provided with a large number of flanges, and the number of the flanges is generally hundreds. When the arrangement of the stamping process is designed, the flanging angle of the flanging and the corresponding trimming angle need to be measured firstly.
In the prior art, the flanging angle is measured by manually selecting the flanging one by one in engineering design software such as CAD (computer-aided design) and the like, then an auxiliary plane is made, and the flanging angle and the trimming angle are calculated according to the auxiliary plane, so that a large amount of energy and time are consumed by workers.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the disclosure provides a method and a device for detecting a turned corner and a trimmed corner of a stamping part, which can save energy and time consumed by workers.
In a first aspect, the present disclosure provides a method for detecting a stamping part corner, where the method for detecting a stamping part corner includes the following steps:
acquiring boundary characterization data of a stamping part, wherein the boundary characterization data comprises a normal vector of a face forming the stamping part, point coordinates forming the stamping part and tangent vectors of edges forming the stamping part;
searching according to the point coordinates of the formed stamping parts, tangent vectors of edges of the formed stamping parts and a preset flanging searching algorithm to obtain each flanging;
according to the tangent vector tau (of each flangingτ x ,τ y ,τ z ) And calculating with a preset auxiliary plane normal vector calculation equation to obtain an auxiliary plane normal vector n of each flanging 1n x n y n z ) The preset auxiliary plane normal vector calculation equation is as follows:
Figure 628328DEST_PATH_IMAGE001
according to the auxiliary plane normal vector n 1 Normal vector n of main surface of turned-up edge 2 And calculating to obtain a turned corner by a preset turned corner calculation equation, wherein the turned corner calculation equation is as follows:
Figure 556969DEST_PATH_IMAGE002
wherein alpha is a turned corner.
Optionally, the flanging search algorithm includes the following steps:
firstly, manually selecting an initial flanging and a final flanging of a line section to be detected of a stamping part;
and (3) performing iteration:
acquiring a first end point of the initial flanging;
obtaining the edge which is connected with the first end point to be the smoothest after the initial flanging is removed as a new initial flanging;
and ending iteration until a new initial flanging is obtained as an ending flanging, so as to obtain all flanging of the line segment to be detected.
Optionally, the edge that is the smoothest edge connected with the first end point after the initial flanging is removed is obtained by screening through a preset smoothness calculation equation, and the preset smoothness calculation equation is used for screening the edge that has the most flat angle trend with the tangent vector included angle formed by the initial flanging and other edges connected with the first end point.
Optionally, the preset smoothness calculation equation is:
Figure 754732DEST_PATH_IMAGE003
wherein, tau 01 Tangent to the initial turn-up, τ i Is used to refer to the tangent vector of the other edge of the starting flange connected by the first end point,
Figure 404454DEST_PATH_IMAGE004
is τ i Neutralization of tau 01 And forming a tangent vector of the side with the smallest absolute value of the sine value of the included angle of the tangent vectors.
In a second aspect, the present disclosure provides a detection apparatus for a stamping part corner, including:
the data acquisition module is used for acquiring boundary characterization data in the stamping part, wherein the boundary characterization data comprises a normal vector of a face forming the stamping part, a point coordinate forming the stamping part and a tangent vector of an edge forming the stamping part;
the flanging searching module is used for searching and obtaining each flanging according to the point coordinates forming the stamping part, the tangent vector of the edge forming the stamping part and a preset flanging searching algorithm;
a flanging angle calculating module used for calculating the tangent vector tau (c) of each flangingτ x ,τ y ,τ z ) And a preset auxiliary plane normal vector calculationThe equation is calculated to obtain the normal vector n of the auxiliary plane of each flanging 1n x n y n z ) The preset auxiliary plane normal vector calculation equation is as follows:
Figure 495907DEST_PATH_IMAGE001
then according to the auxiliary plane normal vector n 1 Normal vector n of main surface of turned-up edge 2 And calculating a flanging angle alpha by using a preset flanging angle calculation equation, wherein the flanging angle calculation equation is as follows:
Figure 736396DEST_PATH_IMAGE005
in a third aspect, the present disclosure provides a method for detecting a trimmed corner of a stamping part, including any one of the methods for detecting a flanged corner of a stamping part in the first aspect, to obtain a flanged corner of each flanged edge, where the method for detecting a trimmed corner of a stamping part further includes the following steps:
obtaining a trimming angle corresponding to each flanging according to the obtained flanging angle of each flanging and a preset trimming angle calculation equation, wherein the preset trimming angle calculation equation is as follows:
Figure 31242DEST_PATH_IMAGE006
wherein theta is a trimming corner.
In a fourth aspect, the present disclosure provides a detection apparatus for trimming corners of stamping parts, including:
the flanging corner acquisition module is used for acquiring the flanging corners of all the flanging according to the detection method of the flanging corners of the stamping part in the first aspect;
the trimming angle obtaining module is used for obtaining a trimming angle corresponding to each flanging according to the obtained flanging angle of each flanging and a preset trimming angle calculation equation, wherein the preset trimming angle calculation equation is as follows:
Figure 382589DEST_PATH_IMAGE007
wherein theta is a trimming corner.
In a fifth aspect, the present disclosure provides a terminal, including a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for detecting a turned corner of a stamping part according to any one of the first aspect or the method for detecting a trimmed corner of a stamping part according to the third aspect.
In a sixth aspect, the present disclosure provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the method for detecting a turned corner of a stamping part according to any one of the first aspect or the method for detecting a trimmed corner of a stamping part according to the third aspect.
Compared with the prior art, the technical scheme provided by the disclosure has the following advantages:
according to the detection method for the flanging angle of the stamping part, after each flanging is obtained through a preset flanging search algorithm, an auxiliary plane normal vector corresponding to each flanging can be obtained through a preset auxiliary plane normal vector calculation equation, then a normal vector of a main surface of the flanging, which can be directly obtained from engineering design software such as CAD (computer aided design) and the like, is combined, and the flanging angle can be calculated through a preset flanging angle calculation equation.
The detection method for the flanging angle of the stamping part can automatically select the flanging in the line segment to be detected, then obtains the obtained normal vector of the auxiliary plane, and calculates the flanging angle corresponding to the flanging according to the normal vector of the auxiliary plane and the normal vector of the main surface of the flanging, so that a great amount of energy and time of workers are saved.
Drawings
Fig. 1 is an application scenario diagram of a method for detecting a stamping part turned corner according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a line segment to be detected according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for detecting a stamping part flanging corner according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a cuff search algorithm provided by the embodiments of the present disclosure;
fig. 5 is a schematic structural diagram of a detection apparatus for a stamping part turned corner according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a method for detecting a trimmed corner of a stamped part according to an embodiment of the disclosure;
fig. 7 is a schematic structural diagram of a detection apparatus for trimming corners of stamped parts according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Fig. 1 is an application scenario diagram of a detection method for a stamping part flanging corner provided by the embodiment of the disclosure.
The method for detecting the turned corner of the stamping part, provided by the embodiment of the disclosure, is a computer aided design method for providing data support for the design of a manufacturing process of a stamping part product in CAD (computer aided design) engineering design software for providing a secondary development interface.
According to the detection method for the turned corners of the stamping parts, provided by the embodiment of the disclosure, partial data are obtained by utilizing the secondary development interface provided by CAD engineering design software, and by providing the scheme specifically stated below in the embodiment of the disclosure, the turned corners of the line segments 1 to be detected of the stamping parts are finally obtained, so that the steps of manually selecting the turned edges 11 in the CAD engineering design software one by one and then calculating the turned corners are eliminated, and a great deal of effort and time of workers are saved.
Similarly, the method for detecting the trimming corner of the stamping part, which is provided by the embodiment of the disclosure, is also applied to CAD engineering design software providing a secondary development interface, so as to achieve the same effect of saving a great deal of effort and time of workers.
Fig. 2 is a schematic diagram of a line segment 1 to be detected according to an embodiment of the present disclosure. Referring to fig. 2, fig. 1 shows a stamping part in CAD engineering design software, wherein a line segment 1 to be detected of the stamping part is one of the long sides of the flanging position of the stamping part, although the line segment 1 to be detected is one side visually, in practice, as shown by a line segment separated by a dotted line in fig. 2, the line segment 1 to be detected is composed of a plurality of fine turned edges 11, each turned edge 11 has a different turning angle, and therefore, a worker is required to manually measure the line segment one by one, while the number of the turned edges 11 in one stamping part is generally as high as several hundred, and the measurement one by one requires a great deal of effort and time of the worker.
Fig. 3 is a flowchart of a method for detecting a turned corner of a stamping part according to an embodiment of the present disclosure. Referring to fig. 3, the method for detecting the turned corner of the stamping part provided by the embodiment of the disclosure includes the following steps:
s301: and acquiring boundary characterization data of the stamping part, wherein the boundary characterization data comprises a normal vector of a face forming the stamping part, a point coordinate forming the stamping part and a tangent vector of an edge forming the stamping part.
Specifically, a secondary development interface provided by CAD engineering design software is used to obtain a normal vector of a face forming the stamping part, point coordinates forming the stamping part, and tangent vectors of edges forming the stamping part.
S302: and searching and obtaining each flanging 11 according to the point coordinates of the forming stamping parts, tangent vectors of edges of the forming stamping parts and a preset flanging searching algorithm.
The flanging searching algorithm comprises the following steps:
firstly, manually selecting an initial flanging and a final flanging of a line segment 1 to be detected;
and (3) performing iteration:
acquiring a first end point of the initial flanging;
obtaining the edge which is connected with the first end point to be the smoothest after the initial flanging is removed as a new initial flanging;
and ending iteration until a new initial flanging is obtained as an ending flanging, so as to obtain all the flanging 11 of the line segment 1 to be detected.
Specifically, fig. 4 is a schematic diagram of a flanging search algorithm provided in the embodiment of the present disclosure. Referring to fig. 4, line E0 is the initial flanging of the initial selection of the line section 1 of the stamping to be detected, and line En is the final flanging of the line section 1 of the stamping to be detected.
Acquiring a first endpoint of the initial flanging, which is an endpoint V01 of a line segment E0 in the embodiment;
and acquiring the edge which is connected with the first end point and is the smoothest edge after the initial flanging is removed as a new initial flanging, wherein in the embodiment, a line segment E1_ E and a line segment E1 which are connected with the end point V01 except the line segment E0 are obtained.
And the edge which is most smoothly connected with the first end point after the initial flanging is removed is obtained by screening a preset smoothness calculation equation, wherein the preset smoothness calculation equation is used for screening the edge which has the most flat angle trend with the tangent vector included angle formed by the initial flanging and other edges which are connected with the initial flanging through the first end point.
Specifically, the preset smoothness calculation equation is as follows:
Figure 328548DEST_PATH_IMAGE003
wherein, tau 01 Tangent to the initial turn-up, τ i Used to refer to the tangent vector of the other edge of the starting cuff connected by the first end point,
Figure 739938DEST_PATH_IMAGE004
is τ i Neutralization of tau 01 And the tangent vector of the side with the minimum absolute value of the sine value of the included angle of the tangent vectors is formed.
That is, in this embodiment, the tangent vectors of the line segment E1_ E and the line segment E1 are combined with the initial turned-up edge E0 initially selected and then substituted into the smoothness calculation equation to obtain the absolute value of the sine value of the tangent vector angle formed by the line segment E1_ E and the line segment E0 and the absolute value of the sine value of the tangent vector angle formed by the line segment E1 and the line segment E0, and the edge with the smallest absolute value of the sine value of the tangent vector angle is taken as the edge that is connected most smoothly. In this embodiment, the smoothest edge connected to the first end point V01 of the starting cuff after removing the starting cuff E0 is the line segment E1.
Taking the line segment E1 as a new initial turned edge, where the first end point of the new initial turned edge E1 is changed to the end point V11, and similarly, selecting a new initial turned edge, which is connected with the smoothest edge among the other edges connected with the end point V11 except the new initial turned edge E1, and is the line segment E2 in this embodiment.
And (5) performing iteration until a new initial flanging is obtained as a termination flanging, and then finishing the iteration to obtain all the fine-crushed flanging 11 on the line segment 1 to be detected of the stamping part.
In this embodiment, the line segment 1 to be detected is a long edge seen by naked eyes manually selected from the flanging position of the stamping part.
In this embodiment, the point coordinates of all the end points, the line segments including the end points, and the tangent vectors corresponding to the line segments can be obtained through a secondary development interface provided by the CAD engineering design software, and in this embodiment, the data is included in the boundary characterization data obtained in step S301.
S303: according to the tangent vector tau (of each flangingτ x ,τ y ,τ z ) And calculating with a preset auxiliary plane normal vector calculation equation to obtain an auxiliary plane normal vector n of each flanging 11 1n x n y n z ) Said preset isThe auxiliary plane normal vector calculation equation is as follows:
Figure 522080DEST_PATH_IMAGE001
according to the auxiliary plane normal vector n 1 Normal vector n of main surface of turned-up edge 2 And calculating a preset flanging angle calculation equation to obtain a flanging angle, wherein the flanging angle calculation equation is as follows:
Figure 411539DEST_PATH_IMAGE005
wherein alpha is a turned corner.
Specifically, each of the flanges 11 on the line segment 1 to be detected of the stamping part can be searched and obtained according to the step S302, and the tangent vector of each of the flanges 11 can be obtained through a secondary development interface of the CAD engineering design software, where the data is included in the boundary characterization data obtained in the step S301.
Whereinτ x ,τ y ,τ z Are variables that make up the tangent vector, are used to make up a conventional representation of the tangent vector. Whereinn x n y n z Are variables that constitute a normal vector, and are used to constitute a conventional representation of the normal vector.
The tangent vector of each of the flanges 11 is substituted into the calculation equation of the normal vector of the auxiliary plane provided by the embodiment of the present disclosure to perform simultaneous solution, so as to obtain the normal vector n of the auxiliary plane corresponding to each of the flanges 11 1 Each variable in (1)n x n y n z Further, the auxiliary plane normal vector n corresponding to each flange 11 is obtained 1
Subsequently acquired auxiliary plane normal vector n 1 And a normal vector n of the main face of the flange contained in the boundary characterization data 2 And substituting a preset flanging angle calculation equation to calculate the flanging angle alpha.
In this embodiment, the flange main surface is a flange surface connected to the flange 11, and the flange surface having the smallest included angle with the xy surface in the spatial coordinate system is the flange main surface. In the present embodiment, the auxiliary plane is a plane parallel to the z-axis and containing the cuff 11.
Fig. 5 is a schematic structural diagram of a detection apparatus for a stamping part turned corner according to an embodiment of the present disclosure. Referring to fig. 5, the device has a function of implementing the method for detecting the turned corner of the stamping part in the above method embodiment, and the function may be implemented by hardware, or may be implemented by hardware executing corresponding software. As shown in fig. 5, the apparatus may include:
the data acquisition module 501 is configured to acquire boundary characterization data in a stamping part, where the boundary characterization data includes a normal vector of a face constituting the stamping part, a point coordinate constituting the stamping part, and a tangent vector of an edge constituting the stamping part;
the flanging searching module 502 is used for searching and obtaining each flanging 11 according to the point coordinates forming the stamping part, the tangent vector of the edge forming the stamping part and a preset flanging searching algorithm;
a flange angle calculating module 503, configured to calculate a tangent τ (according to the tangent τ) (of each flange 11)τ x ,τ y ,τ z ) And calculating with a preset auxiliary plane normal vector calculation equation to obtain an auxiliary plane normal vector n of each flanging 11 1n x n y n z ) The preset auxiliary plane normal vector calculation equation is as follows:
Figure 477584DEST_PATH_IMAGE001
then according to the auxiliary plane normal vector n 1 Normal vector n of main surface of turned-up edge 2 And calculating a flanging angle alpha by using a preset flanging angle calculation equation, wherein the flanging angle calculation equation is as follows:
Figure 325454DEST_PATH_IMAGE005
it should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 6 is a flowchart of a method for detecting a trimmed corner of a stamping part according to an embodiment of the disclosure. Referring to fig. 6, the method for detecting the trimmed corner of the stamping part provided by the embodiment of the disclosure includes the following steps:
s601: the flanging angle of each flanging 11 is obtained by the detection method of the flanging angle of the stamping part in the embodiment;
s602: obtaining a trimming angle corresponding to each flanging 11 according to the obtained flanging angle of each flanging 11 and a preset trimming angle calculation equation, wherein the preset trimming angle calculation equation is as follows:
Figure 594893DEST_PATH_IMAGE006
wherein θ is the trim angle.
Since the trimming corner and the flanging corner have a definite relationship, that is, the difference between the trimming corner and the flanging corner is ninety degrees, after the flanging corner is obtained by the method for detecting the flanging corner of the stamping part according to the embodiment, the trimming corner corresponding to each flanging 11 can be obtained by substituting a preset trimming angle calculation equation.
Fig. 7 is a schematic structural diagram of a detection apparatus for trimming corners of stamped parts according to an embodiment of the present disclosure; referring to fig. 7, the device has a function of implementing the method for detecting the trimmed corner of the stamped part in the above method embodiment, and the function may be implemented by hardware, or by hardware executing corresponding software. As shown in fig. 7, the apparatus may include:
a flanging angle obtaining module 701, configured to obtain a flanging angle of each flanging 11 according to the detection method for the flanging angle of the stamping part described in the above embodiment;
the trim angle obtaining module 702 is configured to obtain a trim angle corresponding to each of the flanges 11 according to the obtained flange angle of each of the flanges 11 and a preset trim angle calculation equation, where the preset trim angle calculation equation is:
Figure 288042DEST_PATH_IMAGE007
wherein θ is the trim angle.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, the division of each functional module is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure. Referring to fig. 8, the embodiment of the present invention further provides a terminal 80, which includes a memory 802, a processor 801, and a computer program stored in the memory 802 and running on the processor 801, where when the processor 801 executes the computer program, the steps of the method for detecting a turned corner and/or a trimmed corner of a stamping part described in the foregoing embodiments can be implemented.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by the processor 801, is capable of implementing the steps of the method for detecting a turned corner and/or a trimmed corner of a stamping part as described in the foregoing embodiment.
Compared with the prior art, the terminal 80 provided by the embodiment of the invention can automatically select the flanging 11 in the line segment 1 to be detected, then obtain the normal vector of the auxiliary plane, then calculate the flanging angle corresponding to the flanging 11 according to the normal vector of the auxiliary plane and the normal vector of the main surface of the flanging, and then obtain the trimming angle of the flanging 11 according to the obtained flanging angle corresponding to the flanging 11, so that a great deal of energy and time of workers are saved.
In a particular application, the various components of the terminal 80 are coupled together by a bus system that may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus. For clarity of illustration, however, the various buses are labeled as a bus system in the figures.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware integrated logic circuits or software in the processor 801. The processor 801 described above may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and combines the hardware to complete the steps of the method.
The above terminal 80 can be understood by referring to the description of the method embodiment, and will not be described in detail herein.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The previous description is only for the purpose of describing particular embodiments of the present disclosure, so as to enable those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. The detection method of the stamping part turned corner is characterized by comprising the following steps:
acquiring boundary characterization data of a stamping part, wherein the boundary characterization data comprises a normal vector of a face forming the stamping part, point coordinates forming the stamping part and tangent vectors of edges forming the stamping part;
searching according to the point coordinates of the formed stamping parts, tangent vectors of edges of the formed stamping parts and a preset flanging searching algorithm to obtain each flanging;
according to the tangent vector tau (of each flange)τ x ,τ y ,τ z ) And calculating with a preset auxiliary plane normal vector calculation equation to obtain an auxiliary plane normal vector n of each flanging 1n x n y n z ) The preset auxiliary plane normal vector calculation equation is as follows:
Figure DEST_PATH_IMAGE001
according to the auxiliary plane normal vector n 1 Normal vector n of main surface of turned-up edge 2 And calculating a preset flanging angle calculation equation to obtain a flanging angle, wherein the flanging angle calculation equation is as follows:
Figure DEST_PATH_IMAGE002
wherein alpha is a turned corner.
2. The method for detecting the turned edge angle of the stamping part according to claim 1, wherein the turned edge search algorithm comprises the following steps:
firstly, manually selecting an initial flanging and a final flanging of a line section to be detected of a stamping part;
and (3) performing iteration:
acquiring a first end point of the initial flanging;
obtaining the edge which is connected with the first end point and is the smoothest after the initial flanging is removed as a new initial flanging;
and ending iteration until a new initial flanging is obtained as an ending flanging, so as to obtain all the flanging of the line segment to be detected.
3. The method for detecting the flanging angle of the stamping part according to claim 2, wherein the edge which is most smoothly connected with the first end point after the initial flanging is removed is obtained by screening through a preset smoothness calculation equation, and the preset smoothness calculation equation is used for screening the edge which has the most flat angle trend with the tangent vector formed by the initial flanging in other edges which are connected with the initial flanging through the first end point.
4. A method for detecting a turned corner of a stamping part according to claim 3, wherein the preset smoothness calculation equation is as follows:
Figure DEST_PATH_IMAGE003
wherein, tau 01 Tangent to the initial turn-up, τ i As the tangent vectors of the other edges of the initial flanging connected by the first end point,
Figure DEST_PATH_IMAGE004
is tau i Neutralization of tau 01 And forming a tangent vector of the side with the smallest absolute value of the sine value of the included angle of the tangent vectors.
5. Detection device of stamping workpiece corner, its characterized in that includes:
the data acquisition module is used for acquiring boundary characterization data in the stamping part, wherein the boundary characterization data comprises a normal vector of a face forming the stamping part, a point coordinate forming the stamping part and a tangent vector of an edge forming the stamping part;
the flanging searching module is used for searching and obtaining each flanging according to the point coordinates forming the stamping part, the tangent vector of the edge forming the stamping part and a preset flanging searching algorithm;
a flanging angle calculating module used for calculating the tangent vector tau (f) of each flangingτ x ,τ y ,τ z ) And calculating with a preset auxiliary plane normal vector calculation equation to obtain an auxiliary plane normal vector n of each flanging 1n x n y n z ) The preset auxiliary plane normal vector calculation equation is as follows:
Figure 196972DEST_PATH_IMAGE001
then according to the auxiliary levelNormal vector n of plane 1 Normal vector n of flanged main surface 2 And calculating to obtain a flanging angle alpha by using a preset flanging angle calculation equation, wherein the flanging angle calculation equation is as follows:
Figure DEST_PATH_IMAGE005
6. the detection method for the trimming corner of the stamping part is characterized by comprising the detection method for the trimming corner of the stamping part according to any one of claims 1 to 4 to obtain the trimming corner of each flanging, and the detection method for the trimming corner of the stamping part further comprises the following steps:
obtaining a trimming angle corresponding to each flanging according to the obtained flanging angle of each flanging and a preset trimming angle calculation equation, wherein the preset trimming angle calculation equation is as follows:
Figure DEST_PATH_IMAGE006
wherein θ is the trim angle.
7. Detection device of stamping workpiece corner trimming, its characterized in that includes:
a flanging corner obtaining module, which is used for obtaining the flanging corner of each flanging according to the detection method of the flanging corner of the stamping part in any one of claims 1-4;
the trimming angle obtaining module is used for obtaining a trimming angle corresponding to each flanging according to the obtained flanging angle of each flanging and a preset trimming angle calculation equation, wherein the preset trimming angle calculation equation is as follows:
Figure DEST_PATH_IMAGE007
wherein θ is the trim angle.
8. A terminal, characterized by comprising a processor and a memory, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the method for detecting the turned corner of the stamping part according to any one of claims 1 to 4 or the method for detecting the trimmed corner of the stamping part according to claim 6.
9. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method for detecting a die corner according to any one of claims 1 to 4 or the method for detecting a die corner according to claim 6.
CN202211082334.9A 2022-09-06 2022-09-06 Method and device for detecting turned corners and trimmed corners of stamping parts Active CN115169161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211082334.9A CN115169161B (en) 2022-09-06 2022-09-06 Method and device for detecting turned corners and trimmed corners of stamping parts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211082334.9A CN115169161B (en) 2022-09-06 2022-09-06 Method and device for detecting turned corners and trimmed corners of stamping parts

Publications (2)

Publication Number Publication Date
CN115169161A CN115169161A (en) 2022-10-11
CN115169161B true CN115169161B (en) 2022-12-02

Family

ID=83480700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211082334.9A Active CN115169161B (en) 2022-09-06 2022-09-06 Method and device for detecting turned corners and trimmed corners of stamping parts

Country Status (1)

Country Link
CN (1) CN115169161B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116522544B (en) * 2023-06-29 2024-02-23 季华实验室 Trimming segment determination method, device, equipment and computer readable storage medium
CN117951764B (en) * 2024-03-27 2024-05-28 季华实验室 Automatic trimming line segmentation method for trimming and punching die and related equipment
CN118045917A (en) * 2024-04-16 2024-05-17 季华实验室 Splayed trimming line generation method, part trimming method and related equipment

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001321848A (en) * 2000-05-11 2001-11-20 Fuji Heavy Ind Ltd Trim line setting method for pressing part
CN101655884B (en) * 2009-09-21 2013-06-12 奇瑞汽车股份有限公司 Method for automatically drawing trimming line of stamping die
CN101862779B (en) * 2010-06-02 2013-01-30 奇瑞汽车股份有限公司 Flanging device
CN102672060A (en) * 2011-03-16 2012-09-19 重庆长安汽车股份有限公司 Method for confirming flanging trimming line on basis of panel grids
CN102989854B (en) * 2012-11-27 2014-10-01 奇瑞汽车股份有限公司 Correcting method of misplacement of flanging angle and unevenness of flanging face of automotive L-shaped stamping part
DE102013208424A1 (en) * 2013-05-07 2014-11-13 Behr Gmbh & Co. Kg Floor for a heat exchanger, in particular for a motor vehicle and method for producing the floor
CN104268349A (en) * 2014-09-30 2015-01-07 华南理工大学 Method for accurately controlling trimming line of turned edge under complex curved surface
CN206747410U (en) * 2017-03-07 2017-12-15 台州台鹰电动汽车有限公司 A kind of carved punched part flanging die of V-arrangement
CN210702058U (en) * 2019-08-13 2020-06-09 奇瑞汽车股份有限公司 Stamping workpiece deburring and turn-ups mould location structure
CN111633143B (en) * 2020-05-26 2021-11-23 东风柳州汽车有限公司 Pre-flanging method for increasing excessive drawing amount
CN112058994B (en) * 2020-08-31 2022-03-18 安徽江淮汽车集团股份有限公司 Trimming method for automobile tail lamp installation seat plate and notch cutter block structure
CN113361007B (en) * 2021-05-26 2022-05-03 东风商用车有限公司 Modeling method, device and equipment for part flanging curved surface and readable storage medium
CN113642100B (en) * 2021-07-15 2024-05-10 西安理工大学 Design method and design device of trimming cutter block

Also Published As

Publication number Publication date
CN115169161A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN115169161B (en) Method and device for detecting turned corners and trimmed corners of stamping parts
CN114743259A (en) Pose estimation method, pose estimation system, terminal, storage medium and application
JP2003099482A (en) Three-dimensional modeling system
CN111027248B (en) Automatic creation method and system for analysis model of local structure of injection mold
CN113781622A (en) Three-dimensional model texture mapping conversion method, device, equipment and medium
CN111523531B (en) Word processing method, word processing device, electronic equipment and computer readable storage medium
US8249392B2 (en) Method for aligning point clouds
CN113822006A (en) Method, apparatus and computer-readable storage medium for analyzing integrated circuit layout
CN116592776B (en) Pipe diameter size detection method and device based on three-dimensional point cloud and electronic equipment
US20150125069A1 (en) Method and system for wafer alignment
Li et al. Automatic design for trimming die insert of automotive panel
Moghaddam et al. Development of a new method to automatic nesting and piloting system design for progressive die
CN115098957B (en) Method and device for generating connection point of vehicle body part and electronic equipment
JPH03259307A (en) Method for generating sculptured surface working data
CN107330199B (en) Automatic design system and design method for automobile radiator based on CATIA (computer-graphics aided three-dimensional Interactive application)
CN116129177A (en) Image labeling method and device and electronic equipment
JPH0664486B2 (en) 3D curve creation method
CN115630439A (en) Arrangement design method and device for male die fastening, storage medium and electronic equipment
CN111611761B (en) Method, apparatus and computer readable storage medium for generating circuit layout pattern
CN109242955B (en) Workpiece manufacturing characteristic automatic identification method and device based on single image
CN111862017A (en) Human body nonlinear transformation algorithm based on skeleton extraction
CN112465756B (en) Method, device, medium and computer equipment for estimating initial value of image point in sub-region
CN112380611B (en) Method, device, equipment and medium for designing perforated steel plate of ship outfitting platform channel
CN112380612A (en) Rapid design method, device, medium and terminal suitable for ship outfitting platform
CN116245894B (en) Map segmentation method and device, electronic equipment and medium

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