Intelligent quality control processing method and system for photovoltaic equipment parts

By obtaining the three-dimensional model data and feature points of photovoltaic equipment components, generating tool trajectories, and using genetic algorithms to optimize step size and line spacing, the problem of inaccurate tool trajectory generation in CNC machining is solved, the machining accuracy and efficiency are improved, and the Intelligent quality control processing with high pass rate.

CN118838257BActive Publication Date: 2024-12-17深圳市熠昇科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411329522.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-17
Estimated Expiration
2044-09-24

AI Technical Summary

Technical Problem

During the process of CNC machining photovoltaic equipment parts, tool trajectory cannot be accurately generated, resulting in the tool step length, tool stroke distance and interference inspection cannot meet the high-precision requirements, affecting the pass rate.

Method used

By obtaining three-dimensional model data of photovoltaic equipment components, determining coordinate data and feature points, generating tool trajectories, and using genetic algorithms to optimize tool step length and line spacing to achieve intelligent quality control processing.

Benefits of technology

The geometric accuracy, dimensional accuracy and surface roughness of photovoltaic equipment components are improved, ensuring high accuracy and high efficiency of the processing process, and achieving high pass rate processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118838257B_ABST
    Figure CN118838257B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent quality control processing method and system for photovoltaic equipment parts and components. The coordinate data is determined by acquiring the three-dimensional model data of the photovoltaic equipment parts and components, and the photovoltaic equipment parts and components are characterized according to the coordinate data to determine the processing requirements of the geometric accuracy, dimensional accuracy and surface roughness of the parts and components. The tool trajectory is generated and calculated according to the characteristic analysis results and the fitting curve, and then the processing parameters of the tool step length and the tool spacing are determined. In addition, the tool step length and the tool spacing in the processing process are continuously optimized and adjusted according to the actual situation of the parts and components in combination with a genetic algorithm, and the photovoltaic equipment parts and components are processed based on the optimized parameters to achieve intelligent quality control processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of intelligent numerical control processing, and specifically relates to an intelligent quality control processing method and system for photovoltaic equipment parts. Background Art

[0002] At present, in the field of CNC machining, the following problems generally occur. In the process of machining photovoltaic equipment parts, the geometric accuracy, dimensional accuracy, and surface roughness of the surface of the photovoltaic equipment parts should all meet the design requirements, and the CNC machining tool trajectory can be generated efficiently and accurately. In the current machining process, it is impossible to accurately generate and calculate the machining tool trajectory, thereby solving problems such as tool step length, tool spacing, interference inspection and correction, and it is impossible to meet the high-precision requirements. The high pass rate cannot be effectively guaranteed. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the present application provides an intelligent quality control processing method and system for photovoltaic equipment spare parts.

[0004] In the first aspect, the present application proposes an intelligent quality control processing method for photovoltaic equipment parts, comprising the following steps:

[0005] Acquire three-dimensional model data of photovoltaic equipment parts to be processed, and determine coordinate data of the photovoltaic equipment parts during numerical control processing according to the three-dimensional model data;

[0006] Determine the characteristic points of the photovoltaic equipment parts according to the coordinate data, and obtain the coordinates and fitting curves of the characteristic points;

[0007] Generate a tool trajectory of a CNC machine tool according to the coordinates of the feature points and the fitting curve, determine a tool step length according to a change in the curvature of a surface curve of the tool trajectory on the photovoltaic device component, and determine a tool spacing based on a residual height of the tool trajectory on the photovoltaic device component;

[0008] The step length and the line spacing of the cutting tool are optimized by genetic algorithm, and the photovoltaic equipment parts are processed based on the optimized parameters to achieve intelligent quality control processing.

[0009] In some embodiments, the step of acquiring the three-dimensional model data of the photovoltaic device parts to be processed, and determining the coordinate data of the photovoltaic device parts during the numerical control processing according to the three-dimensional model data, includes:

[0010] Obtain the three-dimensional model data of the photovoltaic equipment parts to be processed by direct programming on the CNC machine tool;

[0011] The three-dimensional model data is converted into a G code file using CAM software, and the coordinate data of the photovoltaic equipment parts in three-dimensional space is obtained by reading the G code file.

[0012] In some embodiments, determining the characteristic points of the photovoltaic device parts according to the coordinate data, and obtaining the coordinates and fitting curves of the characteristic points includes:

[0013] Analyze the geometric shape and structural characteristics of the photovoltaic equipment parts to obtain structural features, and divide the photovoltaic equipment parts into several sections according to the contour line according to the coordinate data combined with the structural features, and each contour line is regarded as a processing unit;

[0014] Select key points on each processing unit as feature points, including starting points, end points, inflection points and curvature change points, and calculate the precise three-dimensional coordinates of each feature point;

[0015] Each feature point is represented as a control point according to the precise three-dimensional coordinates. The control points are connected to form a smooth curve through the cubic B-spline curve interpolation method to obtain the fitting curve.

[0016] In some embodiments, the step of generating a tool trajectory of a CNC machine tool according to the coordinates of the feature points and the fitting curve includes:

[0017] Determine the direction of the cutting plane according to the precise three-dimensional coordinates and the fitting curve;

[0018] The direction of the cutting plane is used as a parent surface and divided into a plurality of sub-surfaces;

[0019] Generate equidistant surfaces on both sides of the parent surface according to the tool radius;

[0020] The tool trajectory is obtained by calculating the intersection line between the sub-face patch and the equidistant surface.

[0021] In some embodiments, determining the cutting step length according to the curvature change of the surface curve of the tool trajectory on the photovoltaic device component includes:

[0022] The curvature data of each point on the surface is obtained by digitizing the surface, and the tool step length is dynamically adjusted according to the curvature value of each point on the surface, wherein the greater the curvature, the smaller the tool step length.

[0023] In some embodiments, determining the cutting distance based on the residual height of the tool trajectory on the photovoltaic device component includes:

[0024] After a tool pass is performed according to the tool trajectory, the maximum height of the remaining material on the processing surface of the photovoltaic device component is calculated to obtain the residual height, and the next tool pass spacing of the tool trajectory is determined according to the residual height.

[0025] In some embodiments, the step length and the spacing of the cutting tool are optimized by a genetic algorithm, and the photovoltaic device parts are processed based on the optimized parameters to achieve intelligent quality control processing, including:

[0026] Select the tool step length and corresponding tool spacing of any tool passing process as the parameters to be optimized;

[0027] A multi-objective optimization function including machining time and machining error is constructed based on the selected tool step length and tool spacing, and constraint conditions are set according to the actual machining requirements and the preset parameter range;

[0028] The multi-objective optimization function and constraint conditions are integrated into the optimization model, and the optimal tool step length and tool spacing are obtained through iterative optimization through the genetic algorithm GA, so as to optimize the processing time and processing error.

[0029] In a second aspect, the present application proposes an intelligent quality control processing system for photovoltaic equipment parts, including a data acquisition module, a feature analysis module, a tool trajectory calculation module and an intelligent adjustment module;

[0030] The data acquisition module is used to acquire the three-dimensional model data of the photovoltaic equipment parts to be processed, and determine the coordinate data of the photovoltaic equipment parts during the numerical control processing according to the three-dimensional model data;

[0031] The feature analysis module is used to determine the feature points of the photovoltaic equipment parts according to the coordinate data, and obtain the coordinates and fitting curves of the feature points;

[0032] The tool trajectory calculation module is used to generate a tool trajectory of a CNC machine tool according to the coordinates of the feature points and the fitting curve, determine the tool step length according to the curvature change of the surface curve of the tool trajectory on the photovoltaic device parts, and determine the tool spacing based on the residual height of the tool trajectory on the photovoltaic device parts;

[0033] The intelligent adjustment module is used to optimize the parameters of the tool step length and the tool spacing through a genetic algorithm, and to process the photovoltaic equipment parts based on the optimized parameters to achieve intelligent quality control processing.

[0034] In a third aspect, the present application proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0035] In a fourth aspect, the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0036] Beneficial effects of the present invention:

[0037] The coordinate data is determined by acquiring the three-dimensional model data of the photovoltaic equipment parts and components, and the photovoltaic equipment parts and components are subjected to feature analysis based on the coordinate data to determine the processing requirements for the geometric accuracy, dimensional accuracy and surface roughness of the parts. The tool trajectory is generated and calculated based on the feature analysis results and the fitting curve, and then the processing parameters of the tool step length and tool spacing are determined. In addition, according to the actual situation of the parts and components and combined with the genetic algorithm, the parameters of the tool step length and tool spacing in the processing process are continuously optimized and adjusted, and the photovoltaic equipment parts and components are processed based on the optimized parameters to achieve intelligent quality control processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is the overall flow chart of the present invention.

[0039] Figure 2 It is a system principle diagram of the present invention. DETAILED DESCRIPTION

[0040] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein; on the contrary, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0041] In the first aspect, the present application proposes an intelligent quality control processing method for photovoltaic equipment parts, comprising the following steps:

[0042] S100: Acquire three-dimensional model data of photovoltaic equipment parts to be processed, and determine coordinate data of the photovoltaic equipment parts during numerical control processing according to the three-dimensional model data;

[0043] In some embodiments, the step of acquiring the three-dimensional model data of the photovoltaic device parts to be processed, and determining the coordinate data of the photovoltaic device parts during the numerical control processing according to the three-dimensional model data, includes:

[0044] Obtain the three-dimensional model data of the photovoltaic equipment parts to be processed by direct programming on the CNC machine tool;

[0045] The three-dimensional model data is converted into a G code file using CAM software, and the coordinate data of the photovoltaic equipment parts in three-dimensional space is obtained by reading the G code file.

[0046] Among them, CAM (computer-aided manufacturing) software, such as Mastercam or EdgeCAM, is used to convert the 3D model into G-code, which is a series of instructions that control the actions of CNC machine tools.

[0047] Typical instructions in G code are:

[0048] or : Rapid positioning or linear interpolation.

[0049] or : Circular interpolation.

[0050] Parameter definition:

[0051] : G code instruction set.

[0052] : Respectively represent the coordinate positions of spare parts in three-dimensional space. Specific embodiments

[0053] Suppose we have the following G-code snippet:

[0054] (G00 X10 Y20 Z5) means rapid positioning to the coordinate point (10, 20, 5).

[0055] (G01 X30 Y40 Z-10 F100) means linear interpolation to the coordinate point (30, 40, -10) at a speed of 100 mm per minute).

[0056] (G02 X10 Y20 Z5 I-20 J0 F100) means clockwise arc interpolation to the coordinate point (10, 20, 5) at a speed of 100 mm per minute, with the center point relatively offset to (-20, 0).

[0057] S200: determining the characteristic points of the photovoltaic equipment parts according to the coordinate data, and obtaining the coordinates and fitting curves of the characteristic points;

[0058] In some embodiments, determining the characteristic points of the photovoltaic device parts according to the coordinate data, and obtaining the coordinates and fitting curves of the characteristic points includes:

[0059] Analyze the geometric shape and structural characteristics of the photovoltaic equipment parts to obtain structural features, and divide the photovoltaic equipment parts into several sections according to the contour line according to the coordinate data combined with the structural features, and each contour line is regarded as a processing unit;

[0060] Among them, the analysis of geometric features: analysis of the geometric shapes and structural characteristics of photovoltaic equipment parts and components, such as straight segments, curved segments, bosses, grooves, etc.

[0061] Determine processing requirements: Consider the requirements for accuracy, surface roughness, etc. during the processing.

[0062] Segment processing: According to coordinate data, geometric features and processing requirements, the contour lines of photovoltaic equipment parts are divided into several segments, each of which can be regarded as a processing unit.

[0063] Assuming that the contour of a photovoltaic panel bracket is composed of straight line segments and circular arc segments, it can be divided into two processing units: the straight line segment part and the circular arc segment part.

[0064] Select key points on each processing unit as feature points, including starting points, end points, inflection points and curvature change points, and calculate the precise three-dimensional coordinates of each feature point;

[0065] These include:

[0066] Select feature points: Select key points on each contour line as feature points, such as starting point, end point, inflection point, curvature change point, etc.

[0067] Coordinate calculation: Use CAD software or mathematical calculation methods to calculate the precise three-dimensional coordinates of each feature point.

[0068] Mathematical formula: For a straight line segment, assuming the feature point is , the coordinates can be calculated directly using the two-point formula:

[0069]

[0070] in, are the coordinates of the starting point, is the change in coordinate per unit length.

[0071] In the straight line segment part of the above example, select the start point and end point as feature points; in the arc segment part, select the center point, start point and end point as feature points.

[0072] Each feature point is represented as a control point according to the precise three-dimensional coordinates. The control points are connected to form a smooth curve through the cubic B-spline curve interpolation method to obtain the fitting curve.

[0073] These include:

[0074] Determine control points: Take each feature point as a control point.

[0075] Construct B-spline basis function: Use cubic B-spline basis function .

[0076] Curve fitting: The control points are connected to form a smooth curve through the B-spline interpolation method.

[0077] Mathematical formula: The mathematical expression of the cubic B-spline curve is:

[0078]

[0079] in, is the cubic B-spline basis function, are control points (feature points), is a parameter variable.

[0080] Furthermore, suppose that the straight line segment has two feature points and , a smooth transition curve is generated by the B-spline curve, where The value range is usually .

[0081] Through the above steps, an accurate curve description of the machining contour of the spare parts can be obtained, providing a basis for the subsequent generation of tool paths.

[0082] S300: Generate a tool trajectory of a CNC machine tool according to the coordinates of the feature points and the fitting curve, determine a tool step length according to a curvature change of a surface curve of the tool trajectory on the photovoltaic device component, and determine a tool spacing based on a residual height of the tool trajectory on the photovoltaic device component;

[0083] In some embodiments, the step of generating a tool trajectory of a CNC machine tool according to the coordinates of the feature points and the fitting curve includes:

[0084] Determine the direction of the cutting plane according to the precise three-dimensional coordinates and the fitting curve;

[0085] In CNC machining, the cutting plane direction refers to the plane where the tool contacts the workpiece during machining. Usually, the machining features (such as contours, grooves, etc.) in the cutting plane direction are first determined by the coordinates of the feature points and the fitting curve.

[0086] Equation of the cutting plane:

[0087]

[0088] in, represents the normal vector coordinates of the cutting plane, Indicates the distance from the cutting plane to the origin.

[0089] The direction of the cutting plane is used as a parent surface and divided into a plurality of sub-surfaces;

[0090] In order to calculate the tool path, the complex section plane direction needs to be divided into many sub-patches, which can be triangles or quadrilaterals.

[0091] Assume that the parent surface is composed of multiple sub-surfaces, each sub-surface can be represented by a vertex:

[0092]

[0093] in, Indicates The first feature points of a small patch. Represents small patches No. Vertices.

[0094] Generate equidistant surfaces on both sides of the parent surface according to the tool radius;

[0095] Among them, the tool radius refers to half of the distance from the tool tip to the tool centerline;

[0096] The equidistant surface refers to a surface that is equidistantly generated on both sides of the parent surface and is equal to the radius of the tool. This helps to determine the position of the tool during the machining process. The equidistant surface equation is expressed as:

[0097]

[0098] in, represents the coordinates of the center point of the equidistant surface, Indicates the tool radius.

[0099] The tool trajectory is obtained by calculating the intersection line between the sub-face patch and the equidistant surface.

[0100] Let the point on the intersection line be , can be obtained by solving the following system of equations:

[0101]

[0102] in, Represents a point on the tool path.

[0103] Suppose we have a simple machining task, which is to machine a groove on a cylindrical workpiece. Here is an application example of the above process:

[0104] Determine the direction of the section plane: The processing of the groove requires determining a section plane perpendicular to the groove axis, and its normal vector may be .

[0105] Discrete parent surface: Split the cylindrical surface into many quadrilateral sub-surfaces.

[0106] Generate offset surface: According to the tool radius (assuming ), the distance between the two sides of the cylinder is isometric surface.

[0107] Solve the intersection line: Calculate the intersection line of each sub-facet with the equidistant surface to obtain the tool path. On a cylindrical workpiece, this will be two intersection lines, corresponding to the two sides of the groove.

[0108] Through the above steps, the tool path can be accurately generated to ensure machining accuracy.

[0109] In some embodiments, determining the cutting step length according to the curvature change of the surface curve of the tool trajectory on the photovoltaic device component includes:

[0110] The curvature data of each point on the surface is obtained by digitizing the surface, and the tool step length is dynamically adjusted according to the curvature value of each point on the surface, wherein the greater the curvature, the smaller the tool step length.

[0111] These include:

[0112] Obtain curvature data: By digitizing the processed surface, the curvature data of each point on the surface can be obtained.

[0113] Dynamically adjust the step length: Dynamically adjust the step length of the tool according to the curvature value of each point on the surface. The greater the curvature, the smaller the step length to ensure the processing accuracy, expressed as:

[0114]

[0115] in, It indicates the step length of tool movement, which refers to the distance between two adjacent tool movements in CNC machining. It represents curvature, which indicates the degree of curvature of a surface at a certain point. The greater the curvature, the more obvious the curvature of the surface. It represents the safety radius, which is usually the tool radius or a value slightly smaller than the tool radius to ensure that no interference occurs during the machining process. Suppose that when machining a photovoltaic device component, the tool radius , curvature , then the tool step length is calculated according to the formula .

[0116] In some embodiments, determining the cutting distance based on the residual height of the tool trajectory on the photovoltaic device component includes:

[0117] After a tool pass is performed according to the tool trajectory, the maximum height of the remaining material on the processing surface of the photovoltaic device component is calculated to obtain the residual height, and the next tool pass spacing of the tool trajectory is determined according to the residual height.

[0118] These include:

[0119] Calculate the residual height: After the previous cut, calculate the maximum height of the unremoved material on the machining surface, that is, the residual height.

[0120] Determine the spacing of the tool: Determine the spacing of the next tool according to the residual height and processing requirements, expressed as:

[0121]

[0122] in, Indicates the tool spacing, which means the distance between two adjacent tool paths. Indicates the residual height, which indicates the height of the material that was not completely removed after the previous pass. and The curve in and The derivative in the direction represents the slope of the tangent line of the curve at that point;

[0123] Assumed residual height , the curve is and The derivatives in the directions are

[0124] and , then the tool spacing:

[0125]

[0126] Through the above steps, it can be ensured that during the CNC machining process, the tool step length and line spacing are dynamically adjusted according to the curvature and residual height, thereby improving the machining accuracy and efficiency.

[0127] S400: Optimizing the step length and the line spacing of the cutting tool by a genetic algorithm, and processing the photovoltaic equipment parts based on the optimized parameters to achieve intelligent quality control processing.

[0128] In some embodiments, the step length and the spacing of the cutting tool are optimized by a genetic algorithm, and the photovoltaic device parts are processed based on the optimized parameters to achieve intelligent quality control processing, including:

[0129] Select the tool step length and corresponding tool spacing of any tool passing process as the parameters to be optimized;

[0130] A multi-objective optimization function including machining time and machining error is constructed based on the selected tool step length and tool spacing, and constraint conditions are set according to the actual machining requirements and the preset parameter range;

[0131] The multi-objective optimization function and constraint conditions are integrated into the optimization model, and the optimal tool step length and tool spacing are obtained through iterative optimization through the genetic algorithm GA, so as to optimize the processing time and processing error.

[0132] Among them, the step length and cutting distance As the variable to be optimized, a multi-objective optimization function is then constructed based on it:

[0133]

[0134] in, and is the weight coefficient, which is adjusted according to the actual processing requirements and is used to weigh the importance of processing time and processing error. Represents the machining time function, which depends on the tool step length and tool spacing represents the machining error function, which also depends on the tool step length and tool spacing;

[0135] Set up constraints:

[0136] Range of tool step length:

[0137] Range of tool spacing:

[0138] Assuming that the machining time is linearly related to the tool step length and line spacing, and the machining error is inversely proportional to their squares, it can be expressed as:

[0139]

[0140] in, It is a constant determined according to actual processing conditions.

[0141] Integrating the objective function and constraints into an optimization model, we get the following form:

[0142]

[0143] The above model is solved iteratively by genetic algorithm (GA):

[0144] Calculation process:

[0145] Step 1: According to A set of solutions (combinations of step length and row spacing) are randomly generated as the initial population.

[0146] Step 2: Select the best solution based on the fitness (objective function value).

[0147] Step 3: Cross the selected solutions to generate new solutions.

[0148] Step 4: Mutate the solution after crossover to increase the diversity of the population.

[0149] Step 5: Calculate the objective function value of the new solution.

[0150] Step 6: Repeat steps 2-5 until the stopping condition is met (such as reaching the maximum number of iterations or the improvement of the solution is less than a certain threshold).

[0151] in, Indicates Generation population, Indicates The first Individuals (solution), Represents an individual The fitness (objective function value) of .

[0152] Suppose after many iterations, we find the optimal solution :

[0153]

[0154] in, Through genetic algorithm, the optimal step length of each tool can be obtained. and cutting distance , thereby optimizing the processing time and processing error.

[0155] In a second aspect, the present application proposes an intelligent quality control processing system for photovoltaic equipment parts, including a data acquisition module, a feature analysis module, a tool trajectory calculation module and an intelligent adjustment module;

[0156] The data acquisition module is used to acquire the three-dimensional model data of the photovoltaic equipment parts to be processed, and determine the coordinate data of the photovoltaic equipment parts during the numerical control processing according to the three-dimensional model data;

[0157] The feature analysis module is used to determine the feature points of the photovoltaic equipment parts according to the coordinate data, and obtain the coordinates and fitting curves of the feature points;

[0158] The tool trajectory calculation module is used to generate a tool trajectory of a CNC machine tool according to the coordinates of the feature points and the fitting curve, determine the tool step length according to the curvature change of the surface curve of the tool trajectory on the photovoltaic device parts, and determine the tool spacing based on the residual height of the tool trajectory on the photovoltaic device parts;

[0159] The intelligent adjustment module is used to optimize the parameters of the tool step length and the tool spacing through a genetic algorithm, and to process the photovoltaic equipment parts based on the optimized parameters to achieve intelligent quality control processing.

[0160] In a third aspect, the present application proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0161] In a fourth aspect, the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0162] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0163] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0164] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0165] In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus / computer equipment and methods can be implemented in other ways. For example, the apparatus / computer equipment embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of the apparatus or unit, which may be electrical, mechanical or other forms.

[0166] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0167] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0168] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present disclosure implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0169] The above are only preferred implementations of the present invention. It should be pointed out that a number of modifications and improved technical solutions made by those skilled in the art without departing from the technical solution should also be deemed to fall within the scope of protection required by the claims.

Claims

1. An intelligent quality control processing method for photovoltaic equipment parts, characterized in that: The following steps are involved: Acquire three-dimensional model data of photovoltaic equipment parts to be processed, and determine coordinate data of the photovoltaic equipment parts during numerical control processing according to the three-dimensional model data; Determine the characteristic points of the photovoltaic equipment parts according to the coordinate data, and obtain the coordinates and fitting curves of the characteristic points; The tool path of a numerical control machine tool is generated according to the coordinates of the feature points and the fitting curve, including determining the direction of the cutting plane according to the precise three-dimensional coordinates and the fitting curve; taking the direction of the cutting plane as the parent surface and dividing it into a plurality of sub-surfaces; generating equidistant surfaces on both sides of the parent surface according to the tool radius; and obtaining the tool path by calculating the intersection line between the sub-surface and the equidistant surface. Wherein, the direction of the section plane is determined according to the precise three-dimensional coordinates and the fitting curve; In CNC machining, the cutting plane direction refers to the plane where the tool contacts the workpiece during machining. The machining features of the cutting plane direction are determined by the coordinates of the feature points and the fitting curve. The cutting plane equation is: in, represents the normal vector coordinates of the cutting plane, Indicates the distance from the cutting plane to the origin; The direction of the cutting plane is used as a parent surface and divided into a plurality of sub-surfaces; In order to calculate the tool path, the complex section plane direction is divided into many sub-patches, which are triangles or quadrilaterals; Assume that the parent surface is composed of multiple sub-surfaces, and each sub-surface is represented by a vertex: in, Indicates The first Feature points of a small patch; Generate equidistant surfaces on both sides of the parent surface according to the tool radius; Among them, the tool radius refers to half of the distance from the tool tip to the tool centerline; The equidistant surface refers to a surface generated at equal distances on both sides of the parent surface with the same radius as the tool. The equidistant surface equation is expressed as: in, represents the coordinates of the center point of the equidistant surface, Indicates the tool radius; Obtaining a tool trajectory by calculating the intersection line between the sub-surface and the equidistant surface; The step length of the tool is determined according to the curvature change of the surface curve of the tool trajectory on the photovoltaic device parts, including obtaining the curvature data of each point on the surface by digitizing the surface, and dynamically adjusting the step length of the tool according to the curvature value of each point on the surface, wherein the greater the curvature, the smaller the step length of the tool, including: Obtain curvature data: obtain the curvature data of each point on the surface by digitizing the processed surface; Dynamically adjust the step length: dynamically adjust the step length of the tool according to the curvature value of each point on the surface. The greater the curvature, the smaller the step length to ensure the processing accuracy, expressed as: in, Indicates the tool step length, which indicates the distance between two adjacent tool passes in CNC machining. It represents curvature, which indicates the degree of curvature of the surface at a certain point. The greater the curvature, the more obvious the curvature of the surface. Determining the tool spacing based on the residual height of the tool trajectory on the photovoltaic device parts, including calculating the maximum height of the remaining material on the processing surface of the photovoltaic device parts after performing a tool pass according to the tool trajectory to obtain the residual height, and determining the tool spacing of the next tool pass according to the residual height, including: Calculate residual height: Calculate the maximum height of the unremoved material on the machining surface after the previous pass; Determine the spacing of the tool path: Determine the spacing of the next tool path based on the residual height and processing requirements, expressed as: in, Indicates the tool spacing, which means the distance between two adjacent tool paths. Indicates the residual height, which indicates the height of the material that was not completely removed after the previous pass. and The curve in and derivatives in direction; The step length and the line spacing of the cutting tool are optimized by a genetic algorithm, and the photovoltaic equipment parts are processed based on the optimized parameters, wherein the step length of the cutting tool is optimized. and cutting distance As the variable to be optimized, a multi-objective optimization function is then constructed based on it: in, and is the weight coefficient, which is adjusted according to the actual processing requirements and is used to weigh the importance of processing time and processing error. Represents the machining time function, which depends on the tool step length and tool spacing represents the machining error function, which also depends on the tool step length and tool spacing; Set up constraints: Range of tool step length: ; Range of tool spacing: ; Assuming that the machining time is linearly related to the tool step length and line spacing, and the machining error is inversely proportional to their squares, it can be expressed as: in, It is a constant determined according to actual processing conditions; Integrating the objective function and constraints into an optimization model, we get the following form: 。 2. The method according to claim 1, characterized in that: The step of acquiring the three-dimensional model data of the photovoltaic equipment parts to be processed, and determining the coordinate data of the photovoltaic equipment parts during the numerical control processing according to the three-dimensional model data, comprises: Obtain the three-dimensional model data of the photovoltaic equipment parts to be processed by direct programming on the CNC machine tool; The three-dimensional model data is converted into a G code file using CAM software, and the coordinate data of the photovoltaic equipment parts in three-dimensional space is obtained by reading the G code file.

3. The method according to claim 1, characterized in that: Determining the characteristic points of the photovoltaic equipment parts according to the coordinate data, and obtaining the coordinates and fitting curves of the characteristic points, includes: Analyze the geometric shape and structural characteristics of the photovoltaic equipment parts to obtain structural features, and divide the photovoltaic equipment parts into a plurality of segments according to the contour line according to the coordinate data combined with the structural features, and each contour line is regarded as a processing unit; Select key points on each processing unit as feature points, including starting points, end points, inflection points and curvature change points, and calculate the precise three-dimensional coordinates of each feature point; Each feature point is represented as a control point according to the precise three-dimensional coordinates. The control points are connected to form a smooth curve through the cubic B-spline curve interpolation method to obtain the fitting curve.

4. The method according to claim 3, characterized in that: The step length and the spacing of the cutting tool are optimized by a genetic algorithm, and the photovoltaic equipment parts are processed based on the optimized parameters, including: Select the tool step length and corresponding tool spacing of any tool passing process as the parameters to be optimized; A multi-objective optimization function including machining time and machining error is constructed based on the selected tool step length and tool spacing, and constraint conditions are set according to the actual machining requirements and the preset parameter range; The multi-objective optimization function and constraint conditions are integrated into the optimization model, and the optimal tool step length and tool spacing are obtained through iterative optimization through the genetic algorithm GA, so as to optimize the processing time and processing error.

5. An intelligent quality control processing system for photovoltaic equipment parts, characterized in that: It includes data acquisition module, feature analysis module, tool path calculation module and intelligent adjustment module; The data acquisition module is used to acquire the three-dimensional model data of the photovoltaic equipment parts to be processed, and determine the coordinate data of the photovoltaic equipment parts during the numerical control processing according to the three-dimensional model data; The feature analysis module is used to determine the feature points of the photovoltaic equipment parts according to the coordinate data, and obtain the coordinates and fitting curves of the feature points; The tool path calculation module is used to generate the tool path of the CNC machine tool according to the coordinates of the feature points and the fitting curve, including determining the direction of the cutting plane according to the precise three-dimensional coordinates and the fitting curve; taking the direction of the cutting plane as the parent surface and dividing it into a plurality of sub-surfaces; generating equidistant surfaces on both sides of the parent surface according to the tool radius; and obtaining the tool path by calculating the intersection line between the sub-surface and the equidistant surface. Wherein, the direction of the section plane is determined according to the precise three-dimensional coordinates and the fitting curve; In CNC machining, the cutting plane direction refers to the plane where the tool contacts the workpiece during machining. The machining features of the cutting plane direction are determined by the coordinates of the feature points and the fitting curve. The cutting plane equation is: in, represents the normal vector coordinates of the cutting plane, Indicates the distance from the cutting plane to the origin; The direction of the cutting plane is used as a parent surface and divided into a plurality of sub-surfaces; In order to calculate the tool path, the complex section plane direction is divided into many sub-patches, which are triangles or quadrilaterals; Assume that the parent surface is composed of multiple sub-surfaces, and each sub-surface is represented by a vertex: in, Indicates The first Feature points of a small patch; Generate equidistant surfaces on both sides of the parent surface according to the tool radius; Among them, the tool radius refers to half of the distance from the tool tip to the tool centerline; The equidistant surface refers to a surface generated at equal distances on both sides of the parent surface with the same radius as the tool. The equidistant surface equation is expressed as: in, represents the coordinates of the center point of the equidistant surface, Indicates the tool radius; Obtaining a tool trajectory by calculating the intersection line between the sub-surface and the equidistant surface; The step length of the tool is determined according to the curvature change of the surface curve of the tool trajectory on the photovoltaic device parts, including obtaining the curvature data of each point on the surface by digitizing the surface, and dynamically adjusting the step length of the tool according to the curvature value of each point on the surface, wherein the greater the curvature, the smaller the step length of the tool, including: Obtain curvature data: obtain the curvature data of each point on the surface by digitizing the processed surface; Dynamically adjust the step length: dynamically adjust the step length of the tool according to the curvature value of each point on the surface. The greater the curvature, the smaller the step length to ensure the processing accuracy, expressed as: in, Indicates the tool step length, which indicates the distance between two adjacent tool passes in CNC machining. It represents curvature, which indicates the degree of curvature of the surface at a certain point. The greater the curvature, the more obvious the curvature of the surface. Determining the tool spacing based on the residual height of the tool trajectory on the photovoltaic device parts, including calculating the maximum height of the remaining material on the processing surface of the photovoltaic device parts after performing a tool pass according to the tool trajectory to obtain the residual height, and determining the tool spacing of the next tool pass according to the residual height, including: Calculate residual height: Calculate the maximum height of the unremoved material on the machining surface after the previous pass; Determine the spacing of the tool path: Determine the spacing of the next tool path based on the residual height and processing requirements, expressed as: in, Indicates the tool spacing, which means the distance between two adjacent tool paths. Indicates the residual height, which indicates the height of the material that was not completely removed after the previous pass. and The curve in and derivatives in direction; The intelligent adjustment module is used to optimize the parameters of the tool step length and the tool spacing through a genetic algorithm, and process the photovoltaic equipment parts based on the optimized parameters, wherein the tool step length and cutting distance As the variable to be optimized, a multi-objective optimization function is then constructed based on it: in, and is the weight coefficient, which is adjusted according to the actual processing requirements and is used to weigh the importance of processing time and processing error. Represents the machining time function, which depends on the tool step length and tool spacing represents the machining error function, which also depends on the tool step length and tool spacing; Set up constraints: Range of tool step length: ; Range of tool spacing: ; Assuming that the machining time is linearly related to the tool step length and line spacing, and the machining error is inversely proportional to their squares, it can be expressed as: in, It is a constant determined according to actual processing conditions; Integrating the objective function and constraints into an optimization model, we get the following form: 。 6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.