An edge cleaning pattern generation method of power generation glass and power generation glass

By using automated calculation and generation of edge-cleaning patterns, the problem of edge warping during the cleaning of P4 photovoltaic glass was solved, simplifying the operation process and improving the accuracy and efficiency of edge cleaning.

CN122373650APending Publication Date: 2026-07-10SONGSHAN LAKE MATERIALS LAB +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SONGSHAN LAKE MATERIALS LAB
Filing Date
2026-03-30
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

The existing P4 edge cleaning process for power generation glass suffers from edge warping, and the generation of edge cleaning patterns requires manual drawing and complex transformations, making the process cumbersome and lacking in precision.

Method used

By locating the preset positioning lines on the power generation glass, obtaining their position information, calculating the endpoint coordinates of the straight lines to be processed, forming a group of processed straight lines, recording the position information, calculating the intersection coordinates, and generating the edge clearing outline graphic, the operation process is simplified, avoiding manual drawing and complex transformations.

Benefits of technology

It achieves precise matching between the edge clearing pattern and the actual coordinates of the power generation glass, improving the edge clearing accuracy and efficiency, ensuring neat edge clearing boundaries, and adapting to various power generation glass application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122373650A_ABST
    Figure CN122373650A_ABST
Patent Text Reader

Abstract

This invention discloses a method for generating edge-cleaning patterns for photovoltaic glass and photovoltaic glass in the field of photovoltaic technology. The method includes: locating a preset positioning line on the photovoltaic glass and obtaining its position information; calculating the endpoint coordinates of the straight lines to be processed based on the position information; processing a group of processing straight lines on the photovoltaic glass based on the endpoint coordinates, and recording the position information of each processing straight line through a processing trajectory; calculating the intersection coordinates between the processing straight lines based on the position information; and generating a contour pattern for edge cleaning of the photovoltaic glass based on the intersection coordinates. This invention generates edge-cleaning patterns through trajectory linkage, solving the problems of easy edge curling and complex processes in traditional edge cleaning methods. It eliminates the need for complex pattern transformation algorithms, simplifies operation steps, and improves edge cleaning accuracy and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of photovoltaic technology, and in particular to a method for generating edge clearing patterns for power-generating glass and power-generating glass. Background Technology

[0002] The laser scribing process for perovskite solar cells includes P1 / P2 / P3 / P4 processes. Directly performing P4 edge cleaning after P3 process can easily cause the glass edge to curl. The industry usually adds a fine edge cleaning process between the two, which uses a cutting head to scribing around the glass to form a transition area.

[0003] However, in the existing technology, P4 edge cleaning relies on galvanometer processing, which requires manually drawing the edge cleaning pattern first, and then performing complex transformations such as translation, rotation, expansion and contraction on the pattern according to the positioning result to adapt to the actual contour of the glass. The operation steps are cumbersome and the pattern algorithm is complicated, which can easily lead to deviations between the pattern and the actual object size, affecting the edge cleaning accuracy and efficiency.

[0004] Therefore, there is an urgent need for a precise and efficient method for automatically generating edge-clearing graphics to fill the gaps in existing technologies. Summary of the Invention

[0005] The technical problem this invention aims to solve is that, in the photovoltaic field, the existing P4 edge-cleaning process for photovoltaic glass suffers from edge warping, and the generation of the edge-cleaning pattern requires manual drawing and complex transformations, resulting in a cumbersome process and insufficient accuracy. Therefore, an effective solution is urgently needed to address the aforementioned technical problems.

[0006] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: In a first aspect, the present invention provides a method for generating edge-clearing patterns for power-generating glass, the method comprising: Position the preset positioning line on the power generation glass and obtain the position information of the preset positioning line; Based on the position information of the preset positioning line, the endpoint coordinates of the straight line to be processed are calculated; Based on the endpoint coordinates of the straight line to be processed, a group of processed straight lines is formed on the power generation glass, and the position information of each processed straight line in the group of processed straight lines is recorded; The coordinates of the intersection points between the machining lines are calculated using the position information of the machining lines. Based on the intersection coordinates, a contour graphic for cleaning the edges of the power generation glass is generated.

[0007] In one implementation, the positioning of the pre-set positioning line on the positioning power generation glass, and obtaining the position information of the pre-set positioning line, includes: The pre-defined positioning lines formed by laser scribing process are used to position the power generation glass. The pre-defined positioning lines include process lines on the upper and lower sides of the power generation glass and insulation lines on the left and right sides. Obtain the endpoint coordinates of the preset positioning line, and the endpoint coordinates of the preset positioning line constitute the position information of the preset positioning line.

[0008] In one implementation, calculating the endpoint coordinates of the straight line to be processed based on the position information of the preset positioning line includes: Based on the endpoint coordinates of the preset positioning line, the direction vector of the preset positioning line is calculated; The length of the direction vector is calculated using the direction vector. Based on the length of the direction vector, the unit normal vector is calculated; Based on the unit normal vector, the endpoint coordinates of the straight line to be processed are calculated using a preset offset distance.

[0009] In one implementation, the unit normal vector includes two opposite directions, corresponding to the two sides of a preset positioning line, and the straight line to be processed is parallel to the preset positioning line.

[0010] In one implementation, the step of forming a group of processed straight lines on the power-generating glass based on the endpoint coordinates of the straight lines to be processed, and recording the position information of each processed straight line in the group of processed straight lines, includes: Based on the endpoint coordinates of the straight line to be processed, the straight line to be processed is located, and laser scribing is used to form a group of processed straight lines; Record the endpoint coordinates of each machining line in the machining line group.

[0011] In one implementation, recording the endpoint coordinates of each machining line in the machining line group includes: By recording the motion trajectory during the laser scribing process, the trajectory coordinates of the motion trajectory are extracted; Based on the trajectory coordinates, the endpoint coordinates of each processing line are determined.

[0012] In one implementation, calculating the coordinates of the intersection points between the machining lines using the position information of the machining lines includes: Select two intersecting machining lines from the machining line group; Based on the endpoint coordinates of two intersecting machining lines, the coordinates of the intersection point of the two machining lines are obtained by calculating the intersection of the lines.

[0013] In one implementation, generating the contour graphic for edge clearing of the power generation glass based on the intersection point coordinates includes: Obtain the coordinates of the intersection points between all the machining lines, and generate the first quadrilateral by connecting the intersection points in sequence; Set a preset edge width, and translate each vertex of the first quadrilateral away from the center of the quadrilateral by the preset edge width to obtain the second quadrilateral; Integrate the first quadrilateral and the second quadrilateral to form a square-shaped outline.

[0014] Secondly, embodiments of the present invention also provide a power-generating glass, wherein the power-generating glass obtains an edge-cleaning outline pattern by any one of the edge-cleaning pattern generation methods described above, and completes the edge-cleaning process based on the edge-cleaning outline pattern.

[0015] In one implementation, the power-generating glass is a perovskite power-generating glass.

[0016] Beneficial Effects: This invention discloses a method for generating edge-cleaning patterns for photovoltaic glass and photovoltaic glass in the field of photovoltaic technology. The method first locates a preset positioning line on the photovoltaic glass, obtains the position information of the preset positioning line, and calculates the endpoint coordinates of the straight lines to be processed based on the position information of the preset positioning line. Then, based on the endpoint coordinates of the straight lines to be processed, a group of processing straight lines is formed on the photovoltaic glass, and the position information of each processing straight line in the group is recorded. Finally, using the position information of the processing straight lines, the coordinates of the intersection points between each processing straight line are calculated, and based on the intersection coordinates, a contour pattern for edge cleaning of the photovoltaic glass is generated. This invention generates edge-cleaning patterns by linking a fine edge-cleaning trajectory, ensuring that the pattern accurately matches the actual coordinates of the photovoltaic glass, avoiding dimensional deviations from manual drawing. It eliminates the need for complex algorithms such as visual positioning, graphic translation, rotation, and scaling, significantly simplifying the operation process. Moreover, the generated U-shaped contour pattern ensures neat edge-cleaning boundaries, effectively solving the P4 edge-cleaning warping problem, while improving edge-cleaning accuracy and processing efficiency, adapting to various application scenarios for photovoltaic glass. Attached Figure Description

[0017] Figure 1 A flowchart illustrating a specific implementation of the method for generating edge-clearing patterns for power-generating glass provided in this embodiment of the invention.

[0018] Figure 2 This is a flowchart illustrating the method for generating edge-cleaning patterns for power-generating glass according to an embodiment of the present invention.

[0019] Figure 3 This is a schematic diagram of the coordinates of each positioning line and positioning point in the method for generating edge clearing patterns of power-generating glass provided in an embodiment of the present invention.

[0020] Figure 4 This is a schematic diagram of the outline of the edge clearing pattern generation method for power generation glass provided in this embodiment of the invention. Detailed Implementation

[0021] To make the objectives, technical solutions, and effects of this invention clearer and more explicit, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0022] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content, operations, or steps, nor does it require execution in the described order. For example, some operations or steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.

[0023] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0024] It should be understood that, in order to clearly describe the technical solutions of the embodiments of the present invention, the terms "first" and "second" are used in the embodiments of the present invention to distinguish identical or similar items with essentially the same function and effect. For example, "first control information" and "second control information" are only used to distinguish different control information and do not limit their order.

[0025] Those skilled in the art will understand that the words "first" and "second" do not limit the quantity or the order of execution, and that the words "first" and "second" do not necessarily imply that they are different.

[0026] It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0027] Photovoltaic glass, such as perovskite photovoltaic glass, has broad application prospects in fields such as building-integrated photovoltaics (BIPV) due to its adjustable light transmittance, short manufacturing process, and high potential energy conversion efficiency. In its manufacturing process, laser scribing is a core step in realizing the series connection of sub-cells and ensuring the electrical performance of the module, typically involving four key processes: P1, P2, P3, and P4.

[0028] The P1 process involves laser etching of the transparent conductive oxide (TCO) film on the glass substrate surface. This divides the continuous TCO film into independent substrate regions, providing a foundation for the subsequent partitioned fabrication of sub-cells. The P2 process is performed after the deposition of functional films such as the perovskite light-absorbing layer and carrier transport layer. Laser etching removes specific areas of the functional film, providing conductive channels for the positive and negative electrodes of adjacent sub-cells and enabling electrical connections between them. The P3 process is performed after the back electrode deposition. Laser etching penetrates the back electrode and the underlying functional film to isolate the series-connected sub-cell array, preventing short circuits between adjacent sub-cells and ensuring each sub-cell operates independently and in an orderly series connection. The P4 process is an edge-cleaning step, removing all films of a specific width from the edge of the power-generating glass to form an insulating region. This prevents leakage caused by contact between the metal frame and the film during packaging, while also ensuring the hermeticity and reliability of the packaging.

[0029] In actual production, directly performing P4 edge cleaning after the P3 process can easily lead to edge warping of the glass film, affecting product quality. This problem stems primarily from two reasons. First, during the laser etching processes of P2 and P3, the highly concentrated laser energy causes rapid vaporization of the film material, inevitably creating a heat-affected zone. This results in uneven thermal stress distribution among different film layers, such as the perovskite light-absorbing layer, carrier transport layer, and back electrode layer. Second, differences in adhesion between the film layers and the glass substrate, as well as between the film layers themselves, mean that after being heated, the film layer in the edge area is prone to warping but not completely detaching from the substrate, forming a warped edge structure. During subsequent lamination in the encapsulation process, these warped edges may be pressed into the etching trenches, causing electrode short circuits, or cause adjacent warped edges to overlap, forming short circuits between sub-cells. This significantly reduces the open-circuit voltage and fill factor of the power-generating glass, affecting overall power generation performance. To address this issue, the industry typically adds a fine edge cleaning process between the P3 and P4 edge cleaning processes. This process uses a cutting head to create a transition area around the glass, mitigating thermal stress concentration and reducing the risk of edge warping.

[0030] Currently, the P4 edge cleaning process mostly employs galvanometer laser processing, which controls the laser spot path based on a pre-set edge cleaning pattern. However, the generation of edge cleaning patterns in existing technologies has significant drawbacks, requiring manual drawing. The main reasons are: firstly, slight differences exist in the size and film thickness of different batches of photovoltaic glass, and fluctuations in the scribing accuracy of the P1-P3 processes lead to deviations between the actual positioning line position and the design value, making it difficult to adapt a fixed pattern to all products; secondly, existing processing equipment lacks trajectory linkage functionality, making it impossible to directly acquire the movement trajectory of the cutting head during fine edge cleaning and convert it into an edge cleaning pattern. Operators must rely on visual observation or simple measuring tools to determine the actual glass outline and then manually draw the edge cleaning pattern; thirdly, galvanometer processing requires high precision in matching the pattern with the actual coordinates of the glass, and manually drawn patterns need subsequent adjustments through complex transformations such as translation, rotation, and expansion / contraction to adapt to actual processing requirements.

[0031] It is evident that existing technical solutions have numerous shortcomings. Manually drawing the edge-cleaning pattern is not only cumbersome and time-consuming, but also heavily reliant on operator experience, easily leading to discrepancies between the pattern dimensions and actual requirements. Algorithm errors introduced during pattern transformation further reduce edge-cleaning accuracy, potentially causing film residue or over-etching, affecting insulation performance and encapsulation compatibility. Simultaneously, the complex pattern processing reduces edge-cleaning efficiency, making it difficult to meet the demands of large-scale production. Furthermore, even after manual drawing and pattern transformation, the matching degree between the edge-cleaning pattern and the actual contour of the photovoltaic glass remains limited, failing to fundamentally solve the edge-warping problem, thus restricting product yield and reliability.

[0032] Therefore, existing methods for generating edge clearing patterns for perovskite photovoltaic glass suffer from technical defects such as cumbersome processes, insufficient precision, low efficiency, and difficulty in eradicating edge warping problems. There is an urgent need for an automatic method for generating edge clearing patterns that can be accurate and efficient, in order to fill the gaps in existing technologies and meet actual production needs.

[0033] This invention addresses the aforementioned technical problems by providing a specific embodiment of a method for generating edge-clearing patterns for power-generating glass. In this embodiment, the process of generating the edge-clearing patterns is as follows: Figure 2 As shown, the process includes the following steps: positioning the straight line, calculating the coordinates of the endpoints of the straight line to be processed, processing the straight line, recording the coordinates of the selected cutting straight line, calculating the intersection points of each pair of straight lines, and generating the edge clearing outline graphic.

[0034] Specifically, the method for generating the edge-clearing pattern of the power-generating glass provided in this embodiment is as follows: Figure 1 As shown, the specific steps include the following: Step S100: Locate the preset positioning line on the power generation glass and obtain the position information of the preset positioning line.

[0035] In this embodiment, the preset positioning lines are lines formed by the preceding laser scribing process on the power-generating glass, serving as a positioning reference for subsequent fine edge cleaning. Specifically, they can be lines naturally formed at the top, bottom, left, and right of the perovskite power-generating glass after completing processes P1, P2, and P3. These lines are products of the preceding processes and do not require additional positioning structures, ensuring the stability of the positioning reference. The position information is a set of parameters that can accurately characterize the spatial position of the preset positioning lines. Specifically, it can be the endpoint coordinates of the preset positioning lines. These parameters can completely reconstruct the distribution of the preset positioning lines on the power-generating glass.

[0036] By using the existing process lines of the power-generating glass as a positioning reference, instead of setting additional positioning marks or manually drawing positioning lines, the extra operations in the positioning process are reduced, and human errors caused by manual positioning are avoided. At the same time, the formation of the preceding process lines has a high degree of consistency, which can provide an accurate and unified basis for the calculation of the straight lines to be processed in the subsequent process, thereby ensuring the accuracy of fine edge cleaning and laying the positioning foundation for solving the P4 edge cleaning and warping problem.

[0037] In practice, laser vision inspection equipment can scan the surface of the power-generating glass to identify the P3 process lines on the top and bottom sides and the insulation lines on the left and right sides. These lines are the preset positioning lines. Subsequently, the coordinate acquisition module of the equipment captures the coordinates of the endpoints at both ends of each preset positioning line. These coordinate data together constitute the position information of the preset positioning lines, providing a direct basis for subsequently calculating the endpoint coordinates of the straight lines to be processed.

[0038] In one implementation, obtaining the position information of the preset positioning line on the positioning power generation glass specifically includes the following steps: Step S110: Position the preset positioning lines formed by the laser scribing process of the power generation glass. The preset positioning lines include the process lines on the upper and lower sides of the power generation glass and the insulation lines on the left and right sides. Step S120: Obtain the endpoint coordinates of the preset positioning line. The endpoint coordinates of the preset positioning line constitute the position information of the preset positioning line.

[0039] In this embodiment, the specific type and origin of the preset positioning lines are first determined when positioning them. After the power-generating glass is processed by laser scribing, lines with specific functions will be formed on the surface. The lines on the top and bottom sides are P3 process lines, and the lines on the left and right sides are insulation lines. These lines together constitute the preset positioning lines. Figure 3 This is a schematic diagram showing the coordinates of each positioning line and positioning point, illustrating the positional relationship between the preset positioning line, the straight line to be processed, and each coordinate point. For example... Figure 3As shown in the diagram, the yellow lines represent the preset positioning lines. These lines are fixed in position on the surface of the power-generating glass and have clear visual identification, allowing for accurate positioning via laser detection or machine vision technology. Utilizing existing process lines as positioning references eliminates the need for additional positioning structures, reducing process complexity. Furthermore, the high precision of the P3 process lines and insulation lines provides a reliable positioning basis for subsequent processing. The accurate positioning of the preset positioning lines determines the positional accuracy of the straight lines to be processed, affecting the fine edge cleaning effect.

[0040] Subsequently, when obtaining the position information of the preset positioning line, the position information is determined by the coordinates of the endpoints of the preset positioning line. For example... Figure 3 As shown, the yellow line is the straight line to be located, i.e. the preset positioning line. The red dots are two positioning points on one of the yellow lines. The coordinates of these two positioning points are (x1, y1) and (x2, y2). The coordinates of these two endpoints can be directly obtained through the coordinate acquisition device, and the coordinates of these two endpoints completely constitute the position information of the preset positioning line.

[0041] The specific form of the location information is defined as endpoint coordinates, which provides a standardized data format for the subsequent calculation of direction vectors and unit normal vectors. This avoids calculation errors caused by ambiguous location information. Furthermore, the endpoint coordinates provide the basic data for geometric calculations, ensuring the accuracy of the calculation steps and thus guaranteeing that the relative position of the line to be processed and the preset positioning line meets the design requirements.

[0042] In practical applications, the accuracy of the coordinate acquisition equipment needs to match the accuracy of the laser scribing process. Typically, a high-precision laser displacement sensor is used in conjunction with a motion control system to acquire the endpoint coordinates. After acquisition, the coordinate data is stored in the control system's database, preparing it for subsequent steps.

[0043] Step S200: Based on the position information of the preset positioning line, calculate the endpoint coordinates of the straight line to be processed.

[0044] In this embodiment, the straight line to be processed is a straight line formed by offsetting it through specific mathematical calculations based on the position information of the preset positioning line. It is used to perform fine edge cleaning operations. Specifically, it can be a group of straight lines parallel to the preset positioning line. The positions of these straight lines are determined by the position information of the preset positioning line and the preset offset distance, ensuring that a transition area is formed between the cleaned and retained film.

[0045] The endpoint coordinates of the straight line to be processed are obtained directly through calculation, eliminating the need for manual drawing or adjustment. This eliminates subjective errors caused by manual operation, allowing the positional accuracy of the straight line to be processed to be completely controlled by calculation parameters. It also significantly simplifies the operation process and shortens preparation time. The precise formation of the transition region effectively alleviates thermal stress concentration during P4 edge cleaning, reducing edge warping at its source. Specifically, the transition region disperses stress transmission between film layers, preventing edge film layers from warping due to stress concentration.

[0046] In the actual calculation process, based on the endpoint coordinates of the preset positioning line, combined with parameters such as direction vector, unit normal vector and preset offset distance, the coordinates of the two endpoints of each line to be processed can be obtained through standardized mathematical operations. These coordinate data will be directly used to control the movement trajectory of the laser cutting head to ensure the precise execution of fine edge cleaning.

[0047] In one implementation, calculating the endpoint coordinates of the straight line to be processed based on the position information of the preset positioning line specifically includes the following steps: Step S210: Calculate the direction vector of the preset positioning line based on the endpoint coordinates of the preset positioning line; Step S220: Calculate the length of the direction vector using the direction vector; Step S230: Calculate the unit normal vector based on the length of the direction vector; Step S240: Based on the unit normal vector, calculate the endpoint coordinates of the straight line to be processed by a preset offset distance.

[0048] In this embodiment, the endpoint coordinates of the straight line to be processed are obtained through continuous calculation. Each calculation step provides a basis for the subsequent results, and all calculation processes are based on the endpoint coordinates of the preset positioning line, ensuring the coherence and accuracy of the calculation logic.

[0049] First, the direction vector is calculated. Specifically, based on the coordinates of the two endpoints (x1, y1) and (x2, y2) of the preset positioning line, the direction vector is calculated as follows: ,

[0050] in, It represents the component difference in the x-axis direction, reflecting the extension trend of the preset positioning line in the x-axis direction; It represents the component difference in the y-axis direction, reflecting the extension trend of the preset positioning line in the y-axis direction.

[0051] The direction vector (dx, dy) fully represents the orientation of the preset positioning line, providing the basic direction parameters for subsequent calculations. The direction vector accurately determines the parallel direction of the line to be processed. The line to be processed is parallel to the preset positioning line, and the direction vector is the basis for determining whether two lines are parallel.

[0052] Next, the length of the direction vector is calculated. The expression for calculating the length of the direction vector is:

[0053] in, This is the magnitude of the direction vector (dx, dy), representing the straight-line distance between the two endpoints of the preset positioning line. Calculating the direction vector length provides a normalization basis for calculating the unit normal vector, because solving for the unit normal vector requires division based on the direction vector length to ensure the normal vector's magnitude is 1. A characteristic of the unit normal vector is that its magnitude is 1, determined by the direction vector length. Normalization is performed to obtain a standard unit normal vector, thereby ensuring the accuracy of the offset direction.

[0054] Next, the unit normal vector is calculated. This calculation yields two normal vectors in opposite directions. The expression for the unit normal vector is: Normal vector N: ,

[0055] normal vector N: ,

[0056] The direction of the normal vector N usually corresponds to the left direction from point (x1, y1) to point (x2, y2), and the direction of the normal vector -N corresponds to the right direction from point (x1, y1) to point (x2, y2). Point (x1, y1) is named point 1, and point (x2, y2) is named point 2.

[0057] The unit normal vector defines the offset direction of the straight line to be processed relative to the preset positioning line. Two opposite directions can meet the edge cleaning requirements of different sides of the power-generating glass. The straight line to be processed maintains a fixed distance from the preset positioning line, and the direction of the unit normal vector is the perpendicular direction of the offset, ensuring that the straight line to be processed is parallel to the preset positioning line and the distance is accurate.

[0058] Finally, the endpoint coordinates of the line to be processed are calculated. Combining the preset offset distance and the unit normal vector, the expression for calculating the endpoint coordinates of the line to be processed is: For the first parallel line, that is, when offset along the N direction, the coordinates of the two endpoints of the line L2 to be processed are as follows: L2 point 1:

[0059] L2 point 2:

[0060] For the second parallel line, that is, when offset along the -N direction, the coordinates of the two endpoints of the line L2 to be processed are as follows: L2 point 1:

[0061] L2 point 2:

[0062] in, This is the preset offset distance.

[0063] like Figure 3 As shown, the green line is the straight line to be processed, which is parallel to the yellow straight line to be positioned and the preset positioning line, and the distance between them is dis.

[0064] The precise position of the lines to be processed is calculated to ensure that each line maintains a set offset distance from the preset positioning line, providing an accurate processing path for fine edge cleaning. The offset direction is controlled by the unit normal vector, and the offset distance is controlled by dis. The combination of these two methods can accurately locate the position of the lines to be processed, avoiding abnormal dimensions of the transition area caused by offset direction deviation or inaccurate distance.

[0065] In one implementation, the unit normal vector includes two opposite directions, corresponding to the two sides of a preset positioning line, and the straight line to be processed is parallel to the preset positioning line.

[0066] In this embodiment, the two opposite directions of the unit normal vector are defined based on the extension direction of the preset positioning line, specifically corresponding to the two sides of the preset positioning line. For example... Figure 3 As shown in the attached diagram, the yellow lines represent the preset positioning lines, including the P3 process lines on the top and bottom sides and the insulation lines on the left and right sides. The extension direction formed by the endpoint coordinates (x1, y1) and (x2, y2) of the preset positioning lines is used as the reference. The direction corresponding to the normal vector N is the leftward direction from point (x1, y1) to point (x2, y2). The direction corresponding to N is the right side of this extension direction. These two opposite directions precisely define the offset of the straight line to be processed relative to the preset positioning line, ensuring that the straight line to be processed can be formed on both sides of the preset positioning line, meeting the layout requirements for fine edge cleaning around the power generation glass.

[0067] The technical principle behind keeping the straight line to be processed parallel to the preset positioning line stems from the perpendicular relationship between the unit normal vector and the direction vector of the preset positioning line. The unit normal vector N and... N is obtained by performing a perpendicular transformation and normalization on the direction vector. Its dot product with the direction vector is zero, meaning they remain perpendicular. The straight line to be processed, calculated based on this unit normal vector, extends in the same direction as the direction vector of the preset positioning line; therefore, the straight line to be processed is necessarily parallel to the preset positioning line. For example... Figure 3 As shown, the green line is the straight line to be processed, and its parallel relationship with the yellow preset positioning line reflects this technical feature.

[0068] In practical applications, two unit normal vectors in opposite directions can correspond to the inner and outer sides of the functional film layer of the power-generating glass, respectively. For example, for the P3 process lines on the upper and lower sides, the functional film layer to be processed, offset along the left direction (normal vector N), is closer to the center of the glass, while the functional film layer is offset along the right direction (normal vector N). N represents the offset, where the straight line to be processed is closer to the edge of the glass. The same principle applies to the insulating lines on the left and right sides; the offsets in the two directions correspond to the inner and outer sides of the functional film layer, respectively. This bidirectional design can simultaneously meet the edge-cleaning requirements of different areas around the power-generating glass without requiring additional adjustments to the positioning reference, thus simplifying the processing flow.

[0069] The parallelism between the straight line to be processed and the preset positioning line ensures a uniform width of the transition area formed by fine edge cleaning. Since the extension direction of the preset positioning line is consistent with the edge contour of the photovoltaic glass, the parallel straight line to be processed can form a uniform transition zone that fits the edge contour, avoiding uneven width of the transition area caused by line tilt, which would otherwise fail to effectively alleviate the problem of thermal stress concentration. A uniform transition area can more effectively disperse the thermal stress during P4 edge cleaning, reducing the risk of film warping, while ensuring the neatness of the edge cleaning boundary, providing a precise processing foundation for subsequent P4 galvanometer edge cleaning.

[0070] Furthermore, this parallel design can ensure uniform spacing between multiple straight lines to be processed. When multiple fine edge-cleaning lines need to be set on the power generation glass, the parallel relationship can make the distribution of each line more regular, further optimize the stress dispersion effect in the transition area, and improve the edge-cleaning quality and product yield.

[0071] Step S300: Based on the endpoint coordinates of the straight line to be processed, process a group of processed straight lines on the power generation glass, and record the position information of each processed straight line in the group of processed straight lines.

[0072] In this embodiment, the processing straight line group is a collection of multiple straight lines to be processed arranged in a preset layout. Specifically, it can be four straight lines surrounding the power-generating glass and parallel to the preset positioning lines. These straight lines together form a fine edge-cleaning processing path, creating a transition area on the surface of the power-generating glass through laser scribing. This fine edge-cleaning process uses laser scribing to create a transition area by processing the straight line group, alleviating the thermal stress concentration after the P3 process. The position information here specifically refers to the endpoint coordinates of the processing straight lines. These coordinates are the core data of the laser cutting head's movement trajectory during processing, completely reproducing the actual distribution of the processing straight lines.

[0073] Processing and recording are performed simultaneously. The position information of the processed straight line group is recorded directly as it is formed, achieving linkage between the fine edge-cleaning trajectory and position data. This avoids secondary errors caused by measuring position information after processing, ensuring that the recorded position information is completely consistent with the actual processing trajectory. It also eliminates the need for a separate measurement step, significantly simplifying the process. Accurate position information provides a reliable data foundation for subsequent intersection point coordinate calculations, thereby ensuring a precise match between the edge-cleaning outline and the actual processing trajectory. This provides trajectory data support for solving the P4 edge-cleaning warping problem.

[0074] In actual operation, the laser cutting head moves according to the endpoint coordinates of the straight line to be processed, and scribing to form a group of processed straight lines. At the same time, the motion trajectory recording module of the equipment collects and stores the endpoint coordinates of each processed straight line in real time, forming a complete cutting trajectory data archive, which can be directly called in subsequent steps.

[0075] In one implementation, the step of forming a group of processed straight lines on the power-generating glass based on the endpoint coordinates of the straight lines to be processed, and recording the position information of each processed straight line in the group of processed straight lines, specifically includes the following steps: Step S310: Based on the endpoint coordinates of the line to be processed, locate the line to be processed and laser scribing to form a group of processed lines; Step S320: Record the endpoint coordinates of each machining line in the machining line group.

[0076] In this embodiment, when locating the line to be processed based on its endpoint coordinates, the motion control system of the laser cutting head converts the endpoint coordinates of the line into motion commands in the device coordinate system. The system uses a coordinate mapping algorithm to align the preset endpoint coordinates with the actual position of the power-generating glass on the processing platform, accurately locating the specific direction and position of each line on the surface of the power-generating glass. Subsequently, a group of processed lines is formed using laser scribing. The energy parameters for laser scribing need to be adapted according to the film thickness and material characteristics of the power-generating glass to ensure effective scribing of the functional film without damaging the glass substrate.

[0077] The high precision of laser scribing ensures that the actual position of the processed straight lines closely matches the calculated endpoint coordinates, resulting in clean edges. The high energy density and narrow spot size of the laser enable precise material removal, and combined with accurate coordinate positioning, guarantee the dimensional and positional accuracy of the processed lines, providing a precise physical basis for subsequent intersection point calculations.

[0078] Subsequently, the endpoint coordinates of each machining line in the machining line group are recorded. Specifically, a real-time synchronous recording method can be used. During the process of the laser cutting head scribes each machining line, the motion control system collects the coordinate data of the starting and ending points of the cutting head in real time. These data correspond one-to-one with the endpoint coordinates of the machining lines. The recorded coordinate data is stored in the device's local database, and a trajectory data file is generated, which can be directly called in subsequent steps.

[0079] Ensuring that the recorded endpoint coordinates are completely consistent with the actual processing line avoids errors caused by secondary measurements after processing. Real-time synchronous recording can capture the actual movement trajectory endpoints of the cutting head, eliminating the influence of factors such as processing deviations and equipment positioning errors on the coordinate data, and providing real basic data for subsequent intersection coordinate calculations.

[0080] In one implementation, recording the endpoint coordinates of each machining line in the machining line group specifically includes the following steps: Step S321: Extract the trajectory coordinates of the motion trajectory by recording the motion trajectory during the laser scribing process; Step S322: Based on the trajectory coordinates, determine the endpoint coordinates of each processing line.

[0081] In this embodiment, the motion trajectory during the laser scribing process is first recorded. Specifically, the XY-axis interpolation motion trajectory of the laser cutting head is captured in real time by the device's high-precision trajectory acquisition module. All coordinate points of the cutting head during the scribing process are continuously sampled and recorded, forming a complete motion trajectory data stream. This trajectory data not only includes the endpoint coordinates of the processed straight line but also covers the intermediate coordinate points during the scribing process, fully reflecting the movement path of the cutting head.

[0082] The system comprehensively captures the actual motion state of the cutting head, providing a rich data foundation for the subsequent extraction of endpoint coordinates. Furthermore, high-frequency sampling avoids missing key coordinate points, ensuring the integrity of the trajectory data and thus guaranteeing that the extracted endpoint coordinates accurately reflect the actual position of the machining line.

[0083] Subsequently, a coordinate filtering algorithm is used to determine the endpoint coordinates of each processing line based on the trajectory coordinates of the motion trajectory. From the trajectory data stream, the coordinate points corresponding to the start and end times of each processing line are filtered out; these two coordinate points are the endpoint coordinates of the processing line. For trajectory data with slight jitter, the algorithm performs smoothing processing, removes abnormal coordinate points, and retains the coordinate data that best represents the actual endpoint positions.

[0084] The endpoint coordinates of the processed straight line are accurately extracted to ensure the accuracy and reliability of the coordinate data. The reasoning process uses algorithm filtering and smoothing to effectively eliminate trajectory jitter caused by factors such as equipment vibration and airflow interference during laser scribing, and obtains coordinate data that is consistent with the actual endpoint height of the processed straight line, providing accurate input for subsequent intersection calculation.

[0085] Step S400: Calculate the coordinates of the intersection points between the machining lines using the position information of the machining lines.

[0086] In this embodiment, the intersection coordinates are the coordinate values ​​of the spatial intersection point of two intersecting processing lines in the processing line group. Specifically, they can be four coordinate points formed by the pairwise intersection of four processing lines surrounding the power generation glass. These coordinate points are the core vertices constituting the edge clearing contour pattern, and their accuracy determines the accuracy of the contour pattern.

[0087] The software automatically calculates the intersection coordinates based on the position information of the processing lines, eliminating the need for manual measurement or marking of intersection points. This significantly improves the efficiency and accuracy of intersection coordinate calculation, avoiding human error caused by manual measurement. Furthermore, the calculation process can be completed automatically by the software without manual intervention, further simplifying the workflow. Accurate intersection coordinates ensure that the subsequently generated edge-cleaning contour graphic closely matches the actual contour of the photovoltaic glass, providing a precise graphic basis for P4 edge cleaning. The reasoning process uses the intersection coordinates as the vertices of the contour graphic; its accuracy is directly transferred to the contour graphic, thus affecting the boundary accuracy of P4 edge cleaning and reducing the risk of film residue or over-etching.

[0088] In actual calculations, by calling the stored coordinates of the endpoints of the processing lines, a mathematical algorithm for the intersection of lines is used to automatically solve the coordinates of the intersection points of each intersecting line. After the calculation is completed, all the coordinates of the intersection points are stored in a preset order to provide a basis for the subsequent generation of contour graphics.

[0089] In one implementation, calculating the coordinates of the intersection points between the machining lines using the position information of the machining lines specifically includes the following steps: Step S410: Select two intersecting machining lines from the machining line group; Step S420: Based on the endpoint coordinates of the two intersecting machining lines, the intersection coordinates of the two machining lines are obtained by calculating the intersection of the lines.

[0090] In this embodiment, when selecting two intersecting processing lines, the intersection relationship needs to be determined first based on the outline layout of the power generation glass. The processing line group consists of four lines surrounding the power generation glass, namely, four lines parallel to the preset positioning line: upper, lower, left, and right. The upper processing line and the left processing line, the upper processing line and the right processing line, the lower processing line and the left processing line, and the lower processing line and the right processing line each form four pairs of intersecting lines. This selection method ensures that all intersecting line pairs cover the four-sided outline of the power generation glass, forming a complete set of intersection points. Furthermore, the intersection relationship of the four processing lines matches the rectangular outline of the power generation glass, and the four intersection points formed by each pair of intersections completely delineate the boundary of the cleared edge area of ​​the power generation glass.

[0091] Subsequently, the determinant method is used to calculate the intersection coordinates based on the endpoint coordinates of the two intersecting processing lines. Assuming the endpoint coordinates of the first intersecting line are (x3, y3) and (x4, y4), and the endpoint coordinates of the second intersecting line are (x5, y5) and (x6, y6), then the formula for calculating the intersection point (x7, y7) is:

[0092]

[0093] The numerator constructs a system of linear equations using the coordinates of the endpoints of two straight lines, while the denominator is the determinant of the coefficients of the system, ensuring that the equations have a unique solution. For example... Figure 3 As shown, the orange dots represent the intersection points of the fine edge-cleaning trajectories, i.e., the coordinate points calculated using this formula. Through mathematical derivation, the calculated intersection point coordinates are ensured to be absolutely accurate. The reasoning process uses the determinant method, a standard mathematical method for solving the intersection points of two straight lines. Derived from the two-point equation of a straight line, it directly yields a unique intersection point solution using the endpoint coordinates, avoiding errors caused by approximate calculations and ensuring that the intersection point coordinates are completely consistent with the actual intersection positions of the two processing straight lines.

[0094] Step S500: Based on the intersection coordinates, generate a contour graphic for cleaning the edges of the power generation glass.

[0095] In this embodiment, the outline graphic is a specific shape constructed based on the intersection coordinates for P4 edge clearing. Specifically, it can be a square-shaped graphic composed of two quadrilaterals. This graphic is the direct processing basis for P4 edge clearing, and its shape and size directly determine the range and boundary of the edge clearing area.

[0096] Automatically generate a contour graph based on the intersection coordinates, without the need for complex operations such as visual positioning, graph translation, rotation, or scaling. This completely simplifies the graph preparation process for P4 edge cleaning, avoiding errors and efficiency losses caused by complex graph transformation algorithms. At the same time, the generated contour graph corresponds one-to-one with the actual coordinates of the power generation glass and can be directly used for galvanometer laser processing. The figure-eight-shaped graph structure can ensure that a complete transition zone is formed in the edge cleaning area, effectively solving the problem of edge curling in P4 edge cleaning. The reasoning process is that the area covered by the figure-eight-shaped contour exactly corresponds to the联动区域 of fine edge cleaning and P4 edge cleaning. Through filling processing, the edge film layer can be evenly removed, relieving the concentration of thermal stress and reducing the phenomenon of edge curling.

[0097] In practical applications, connect the calculated intersection coordinates in clockwise or counterclockwise order to form a basic quadrilateral, and then expand it in combination with the preset edge cleaning width to form a figure-eight-shaped contour. The generated graphic file can be directly imported into the galvanometer laser processing system without additional processing.

[0098] In one implementation, generating a contour graph for edge cleaning of power generation glass based on the intersection coordinates specifically includes the following steps: Step S510: Obtain the intersection coordinates between all processing lines, and generate a first quadrilateral by connecting each intersection in sequence; Step S520: Set a preset edge cleaning width, and translate each vertex of the first quadrilateral in the direction away from the center of the quadrilateral by the preset edge cleaning width to obtain a second quadrilateral; Step S530: Integrate the first quadrilateral and the second quadrilateral to form a figure-eight-shaped edge cleaning contour graph.

[0099] In this embodiment, when obtaining the intersection coordinates between all processing lines, first collect the four intersection coordinates calculated from four groups of intersecting line pairs, which are (x7, y7), (x8, y8), (x9, y9), and (x10, y10). These four intersection coordinates are arranged in the order of the contour of the power generation glass. Connect x7, y7 to x8, y8, x8, y8 to x9, y9, x9, y9 to x10, y10, and x10, y10 to x7, y7 in sequence to generate the first quadrilateral (polygon1). Figure 4 It is a schematic diagram of the figure-eight-shaped contour graph. As Figure 4 shown, the first quadrilateral is the inner boundary of the figure-eight-shaped contour, and its shape is consistent with the contour of the functional area of the power generation glass.

[0100] Forming a basic contour by connecting the intersection coordinates provides a core framework for subsequent expansion of the figure-eight-shaped graph, and the four intersection coordinates accurately correspond to the edge positions of the functional film layer of the power generation glass. The first quadrilateral formed after connection can accurately define the boundary of the functional film layer to be retained.

[0101] After that, a preset edge cleaning width d is set and translated to generate a second quadrilateral. Specifically, the preset edge cleaning width d is a parameter determined according to the application scenario of the power generation glass and the characteristics of the film layer, and its value range can be adjusted according to actual processing requirements. During the translation process, each vertex of the first quadrilateral moves a distance d in the direction away from the center of the quadrilateral, obtaining four new vertex coordinates (x11, y11), (x12, y12), (x13, y13), (x14, y14), and the calculation expressions for the values of each coordinate are as follows:

[0102]

[0103]

[0104]

[0105]

[0106]

[0107]

[0108]

[0109] Connect these four new vertices in sequence to generate a second quadrilateral (polygon2), which is the outer boundary of the double-square contour. The complete edge cleaning area is formed by translational expansion. The preset edge cleaning width d directly determines the scope of the edge cleaning, can adapt to the requirements of different packaging specifications, and the translation direction away from the center of the quadrilateral ensures that the edge cleaning area is outside the functional film layer, avoiding damage to the core functional area. The precise control of the translation distance d can ensure that the edge cleaning width is uniform.

[0110] Finally, the first quadrilateral and the second quadrilateral are integrated to form a double-square edge cleaning contour graph, and the contour lines of the two quadrilaterals are completely retained, forming an inner and outer double boundary. The area between the two boundaries is the processing area for P4 edge cleaning. As Figure 4 shown, the inner boundary of the double-square contour graph corresponds to the first quadrilateral, and the outer boundary corresponds to the second quadrilateral. The area between the two boundaries can be completed with edge cleaning by galvanometer laser filling.

[0111] The double-square graph can ensure that the boundary of the edge cleaning area is neat. During processing, the laser can evenly cover the film layer area to be removed, effectively avoiding film layer residue or over-etching. Moreover, the double boundary can clearly define the processing range, and the filling process can ensure the thoroughness of film layer removal. At the same time, the double-square structure can relieve the transfer of thermal stress during processing and reduce the occurrence of warping.

[0112] Based on the above embodiments, the present invention also provides a power generation glass, wherein the power generation glass obtains an edge clearing outline pattern by the edge clearing pattern generation method described in any one of the above schemes, and completes the edge clearing process based on the edge clearing outline pattern.

[0113] In this embodiment, the power-generating glass is a novel material that integrates power generation functionality with the properties of a glass substrate. Specifically, it can be perovskite power-generating glass, cadmium telluride power-generating glass, copper indium gallium selenide power-generating glass, etc. Its core structure includes a glass substrate and a functional film layer. The functional film layer is formed on the surface of the glass substrate and has photoelectric conversion functionality. The core feature of the power-generating glass of this invention is that the edge-cleaning process is completed using the edge-cleaning pattern generation method described in any of the above specific embodiments, rather than the traditional edge-cleaning pattern preparation method.

[0114] During the edge cleaning process, a U-shaped edge cleaning outline graphic that precisely matches the actual coordinates of the power-generating glass is first generated using the method described above. This graphic is then imported into a galvanometer laser processing device, which fills and processes the outline, removing all functional film layers of a specific width from the edges to form an insulating area. This edge cleaning process ensures that the cleaned area of ​​the power-generating glass is free of edge curling, and the boundary between the retained and removed functional film layers is neat, avoiding problems such as irregular boundaries and film residue caused by traditional edge cleaning methods. Furthermore, the cleaned power-generating glass is compatible with building curtain wall installation specifications, and leakage due to edge film layer issues will not occur during encapsulation, thus improving the product's power generation performance and service life.

[0115] The functional films of power generation glass typically include a transparent conductive oxide (TCO) film, a light-absorbing layer, a carrier transport layer, and a back electrode layer. When cleaning the edges using this method, the cleaning range can be precisely controlled to avoid damage to the core functional films and ensure that the photoelectric conversion efficiency of the power generation glass is not affected.

[0116] In one implementation, the power-generating glass is a perovskite power-generating glass.

[0117] In this embodiment, the power-generating glass can be perovskite power-generating glass. Perovskite power-generating glass is a new type of power-generating glass that uses perovskite material as the light-absorbing layer. Its glass substrate is usually made of ultra-white rolled glass, which has high light transmittance and good mechanical strength. The functional film layers include, in sequence, a transparent conductive oxide (TCO) film layer, an electron transport layer, a perovskite light-absorbing layer, a hole transport layer, and a back electrode layer. Each film layer is formed on the surface of the glass substrate in sequence through processes such as vapor deposition and solution coating.

[0118] The perovskite power generation glass completes edge cleaning through the above-mentioned edge cleaning pattern generation method. After the perovskite power generation glass completes the P1, P2, and P3 processes, P3 process lines are formed on the upper and lower sides and insulating lines are formed on the left and right sides of the surface. By positioning these preset positioning lines and obtaining the endpoint coordinates, the endpoint coordinates of the straight line to be processed are calculated. After laser scribing, a set of processed straight lines is formed and their endpoint coordinates are recorded. Then, the four intersection coordinates are obtained through straight line intersection calculation. Finally, a zigzag edge cleaning contour pattern is generated based on the intersection coordinates and the preset edge cleaning width. The galvanometer laser processing equipment performs filling processing according to this contour pattern to remove all functional film layers with a specific width at the edge, forming an insulating area.

[0119] The edge cleaning area of the perovskite power generation glass solves the problem of edge warping. The edge cleaning area corresponding to the zigzag contour pattern can effectively relieve the thermal stress concentration of the film layer after the P3 process. The linkage between the fine edge cleaning and the P4 edge cleaning reduces the risk of film layer warping. At the same time, the neatly edged effect ensures that when the perovskite power generation glass is installed on the building curtain wall, the contact between the metal frame and the glass edge is closer, avoiding the hidden danger of electric leakage and improving the safety and reliability of the product. The high light transmittance and good edge cleaning effect of the perovskite power generation glass make it have a broader application prospect in the field of building integrated photovoltaics.

[0120] In summary, the present invention discloses an edge cleaning pattern generation method for power generation glass and power generation glass, which relates to the field of photovoltaic technology. The method first locates the preset positioning lines on the power generation glass, obtains the position information of the preset positioning lines, and calculates the endpoint coordinates of the straight line to be processed based on the position information of the preset positioning lines. Subsequently, based on the endpoint coordinates of the straight line to be processed, a set of processed straight lines is formed on the power generation glass, and the position information of each processed straight line in the set of processed straight lines is recorded. Finally, the intersection coordinates between the processed straight lines are calculated through the position information of the processed straight lines, and a contour pattern for edge cleaning the power generation glass is generated based on the intersection coordinates. The present invention generates an edge cleaning pattern by linking the fine edge cleaning trajectory, making the pattern accurately coincide with the actual coordinates of the power generation glass, avoiding the dimensional deviation caused by manual drawing. Without complex algorithms such as visual positioning, graphic translation, rotation, and scaling, the operation process is greatly simplified. Moreover, the generated zigzag contour pattern ensures a neat edge cleaning boundary, effectively solves the problem of edge warping in P4 edge cleaning, and at the same time improves the edge cleaning accuracy and processing efficiency, adapting to various application scenarios of power generation glass.

[0121] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0122] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for generating edge-cleaning patterns on power-generating glass, characterized in that, The method includes: Position the preset positioning line on the power generation glass and obtain the position information of the preset positioning line; Based on the position information of the preset positioning line, the endpoint coordinates of the straight line to be processed are calculated; Based on the endpoint coordinates of the straight line to be processed, a group of processed straight lines is formed on the power generation glass, and the position information of each processed straight line in the group of processed straight lines is recorded; The coordinates of the intersection points between the machining lines are calculated using the position information of the machining lines. Based on the intersection coordinates, a contour graphic for cleaning the edges of the power generation glass is generated.

2. The method for generating the edge-cleaning pattern of power-generating glass according to claim 1, characterized in that, The preset positioning line on the positioning power generation glass, obtaining the position information of the preset positioning line, includes: The pre-defined positioning lines formed by laser scribing process are used to position the power generation glass. The pre-defined positioning lines include process lines on the upper and lower sides of the power generation glass and insulation lines on the left and right sides. Obtain the endpoint coordinates of the preset positioning line, and the endpoint coordinates of the preset positioning line constitute the position information of the preset positioning line.

3. The method for generating the edge-cleaning pattern of power-generating glass according to claim 2, characterized in that, The step of calculating the endpoint coordinates of the straight line to be processed based on the position information of the preset positioning line includes: Based on the endpoint coordinates of the preset positioning line, the direction vector of the preset positioning line is calculated; The length of the direction vector is calculated using the direction vector. Based on the length of the direction vector, the unit normal vector is calculated; Based on the unit normal vector, the endpoint coordinates of the straight line to be processed are calculated using a preset offset distance.

4. The method for generating the edge-cleaning pattern of power-generating glass according to claim 3, characterized in that, The unit normal vector includes two opposite directions, corresponding to the two sides of the preset positioning line respectively, and the straight line to be processed is parallel to the preset positioning line.

5. The method for generating the edge-cleaning pattern of power-generating glass according to claim 1, characterized in that, The process involves processing a group of processing lines on the power-generating glass based on the endpoint coordinates of the lines to be processed, and recording the position information of each processing line in the group, including: Based on the endpoint coordinates of the straight line to be processed, the straight line to be processed is located, and laser scribing is used to form a group of processed straight lines; Record the endpoint coordinates of each machining line in the machining line group.

6. The method for generating the edge-cleaning pattern of power-generating glass according to claim 5, characterized in that, The recording of the endpoint coordinates of each machining line in the machining line group includes: By recording the motion trajectory during the laser scribing process, the trajectory coordinates of the motion trajectory are extracted; Based on the trajectory coordinates, the endpoint coordinates of each processing line are determined.

7. The method for generating the edge-cleaning pattern of power-generating glass according to claim 6, characterized in that, The step of calculating the coordinates of the intersection points between the machining lines using the position information of the machining lines includes: Select two intersecting machining lines from the machining line group; Based on the endpoint coordinates of two intersecting machining lines, the coordinates of the intersection point of the two machining lines are obtained by calculating the intersection of the lines.

8. The method for generating edge-cleaning patterns for power-generating glass according to claim 1, characterized in that, The step of generating a contour graphic for edge clearing of the power generation glass based on the intersection point coordinates includes: Obtain the coordinates of the intersection points between all the machining lines, and generate the first quadrilateral by connecting the intersection points in sequence; Set a preset edge width, and translate each vertex of the first quadrilateral away from the center of the quadrilateral by the preset edge width to obtain the second quadrilateral; Integrate the first quadrilateral and the second quadrilateral to form a square-shaped outline.

9. A type of power-generating glass, characterized in that, The power-generating glass obtains an edge-cleaning outline pattern using the edge-cleaning pattern generation method described in any one of claims 1-8, and completes the edge-cleaning process based on the edge-cleaning outline pattern.

10. The power-generating glass according to claim 9, characterized in that, The power-generating glass is perovskite power-generating glass.