Sawtooth wave line pattern generation method, system, and media in a laser engraving path
Patent Information
- Application Number
- CN202211706658.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-09-11
- Estimated Expiration
- 2042-12-29
AI Technical Summary
[0004]有鉴于此,本发明提供了一种激光镭射路径中的锯齿波浪线图形生成方法、系统和介质,以解决现有印刷网板激光镭射工艺中无法自动生成多要求的锯齿波浪线,且锯齿波浪线的作业时效较长,产能较低的问题
[0062] The beneficial effects of this invention are as follows: Since the original straight line pattern in the laser path is an opening pattern that meets the design requirements of the grid pattern on the printing screen, based on the original straight line pattern in the laser path, parameters (including the direction of the lines and the total length) that meet the design requirements of the grid pattern (including specific angles, specific wavelengths, specific directions, and other parameters) and improve the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh can be obtained in the zigzag wavy line to be generated. Combined with the given parameters of the zigzag wavy line to be generated in advance, the position coordinate sequence of the zigzag wavy line to be generated can be obtained. Since the zigzag wavy line to be generated consists of a series of peaks and troughs arranged according to the direction of the lines, the zigzag wavy line to be generated that meets multiple requirements can be automatically generated according to the position coordinate sequence, thereby improving the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh in an automated manner.
Smart Images

Figure CN115984412B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of laser printing process technology, specifically to a method, system, and medium for generating serrated wavy line patterns in a laser lithography path. Background Technology
[0002] Solar panels are widely used in the semiconductor industry due to their advantages such as being clean and pollution-free, renewable, and having stable performance. To connect the solar panel to electrical equipment, grid electrodes need to be installed on the surface of the solar panel to facilitate current conduction. In current production processes, stencils are typically used to print the grid electrodes, and the grid pattern on the stencil is created using a laser engraving process. During the actual production of the stencil, the laser engraving path needs to be pre-set to ensure that the grid pattern on the final stencil meets the actual requirements, thereby ensuring that the grid electrodes on the solar panel also meet the actual requirements.
[0003] Currently, with the increasingly widespread application of solar panels, the requirements for the manufacturing precision of printing screens are also becoming higher. When using laser engraving technology to produce high-precision printing screens, to improve the uniform ink distribution between the openings in the grid pattern and the warp and weft threads of the mesh, the graphic design in the laser path typically changes straight openings at the same angle as the mesh to zigzag wavy lines intersecting the mesh, such as... Figure 1 As shown, in Figure 1 In the diagram, 1 represents the original straight line at the opening, and 2 represents the serrated wavy line to be generated based on the original straight line 1. However, since the original straight line itself has various angles, and the distances between the solar panel grid lines are different, it is difficult to manually adjust and produce a serrated wavy line with a specific angle, specific wavelength, and specific direction. Furthermore, the production time for producing serrated wavy lines is relatively long, resulting in low production capacity. Summary of the Invention
[0004] In view of this, the present invention provides a method, system and medium for generating serrated wavy lines in a laser lithography path, to solve the problems that existing laser lithography processes for printed screens cannot automatically generate serrated wavy lines with multiple requirements, and that the processing time for serrated wavy lines is long and the production capacity is low.
[0005] This invention provides a method for generating jagged wavy lines in a laser engraving path, used for printing stencils, comprising:
[0006] Obtain the original straight line pattern in the laser path and obtain the given parameters for generating the jagged wavy line;
[0007] Based on the original straight line graph, the routing direction and total length of the zigzag wavy line to be generated are obtained;
[0008] Based on the routing direction, the total length, and the given parameters, the position coordinate sequence of the sawtooth wavy line to be generated is obtained;
[0009] The zigzag wavy line to be generated is generated based on the position coordinate sequence.
[0010] Optionally, obtaining the routing direction and total length of the zigzag wavy line to be generated based on the original straight-line graph includes:
[0011] Take any point in the laser lithography path as the origin, take the direction parallel to the grid lines in the laser lithography path as the x-axis, and take the direction perpendicular to the grid lines in the laser lithography path as the y-axis, and establish a planar coordinate system for the laser lithography path.
[0012] Based on the plane coordinate system, the angle between the original straight line and the x-axis is extracted to obtain the routing direction of the sawtooth wavy line to be generated;
[0013] Based on the planar coordinate system, the original starting point coordinates and the original ending point coordinates of the original straight line are extracted respectively; and based on the original starting point coordinates and the original ending point coordinates, the total length of the zigzag wavy line to be generated in the y-axis direction is obtained.
[0014] Optionally, the wave height of each sawtooth wave in the sawtooth wave line to be generated is the same, and the trough of each sawtooth wave falls on the original straight line graph;
[0015] The given parameters include a given crest angle for each sawtooth wave, a given wave length in the y-axis direction for the troughs of every two adjacent sawtooth waves, and a given horizontal spacing between the crest of each sawtooth wave and the original straight-line graph.
[0016] Optionally, before obtaining the position coordinate sequence of the zigzag wavy line to be generated based on the routing direction, the total length, and the given parameters, the method further includes:
[0017] Obtain the grid line pattern located near the original straight line pattern in the laser lithography path, and extract the grid line spacing between every two parallel grid lines in the grid line pattern; wherein, the grid line pattern includes multiple parallel grid lines with equal spacing, and all grid lines intersect with the original straight line pattern;
[0018] Using all the grid lines in the grid pattern, the original straight line pattern is divided into multiple unit straight lines.
[0019] Optionally, obtaining the position coordinate sequence of the zigzag wavy line to be generated based on the routing direction, the total length, and the given parameters includes:
[0020] Based on the total length, the grid line spacing, and the given wave length, the number of unit waves that each unit line needs to generate is calculated; wherein, the number of unit waves that all unit lines need to generate is equal.
[0021] Based on the number of unit waves and the grid line spacing, the given wave length of each sawtooth wave is adjusted to obtain the actual length corresponding to each given wave length, so that the point where the sawtooth wave line to be generated falls on the grid line pattern is the wave peak in the sawtooth wave line to be generated.
[0022] The formula for calculating the actual length is:
[0023]
[0024] Among them, h real Let d be the actual length of the two troughs of each sawtooth wave in the y-axis direction, and n be the grid line spacing. unit The number of waves in the unit;
[0025] Based on the original starting point coordinates of the original straight line graph and the given horizontal spacing, the target starting point coordinates corresponding to the starting point of the zigzag wavy line to be generated are obtained.
[0026] Based on the routing direction, the actual length, and the given peak angle, the first abscissa change in the x-axis direction and the first ordinate change in the y-axis direction between each two adjacent troughs and peaks in the zigzag wavy line to be generated are calculated, as well as the second abscissa change in the x-axis direction and the second ordinate change in the y-axis direction between each two adjacent peaks in the zigzag wavy line to be generated.
[0027] Starting from the starting point of the sawtooth wave line to be generated, and following the direction of the line, based on the target starting point position coordinates, the first horizontal coordinate change, the first vertical coordinate change, the second horizontal coordinate change, and the second vertical coordinate change, the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak on the sawtooth wave line to be generated are obtained sequentially.
[0028] According to the stated route direction, the position coordinate sequence is obtained based on the target starting point position coordinates, all first position coordinates, and all second position coordinates.
[0029] Optionally, calculating the number of unit waves required for each unit line based on the total length, the grid line spacing, and the given wave length includes:
[0030] The number of unit lines is calculated based on the total length and the grid line spacing;
[0031] The formula for calculating the number of unit lines is:
[0032]
[0033] Wherein, n1 is the number of unit lines, and L is the total length;
[0034] The total number of waves in the zigzag line to be generated is calculated based on the total length and the given wave length.
[0035] The formula for calculating the total number of waves in the zigzag wavy line to be generated is:
[0036]
[0037] Where n2 is the total number of waves, and h is the given wave length;
[0038] The formula for calculating the number of wave elements in a given unit is:
[0039]
[0040] Where, n unit The number of waves in the unit is INT(·), which is the floor function.
[0041] Optionally, the starting point of the sawtooth wavy line to be generated is the first peak on the grid line, and the target starting point position coordinates corresponding to the starting point of the sawtooth wavy line to be generated are (x1, y1).
[0042] Then, according to the described line direction, based on the target starting point coordinates, the first abscissa change, the first ordinate change, the second abscissa change, and the second ordinate change, the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak on the zigzag wave line to be generated are obtained sequentially, including:
[0043] Based on the described routing direction, the coordinates of the first position corresponding to the first trough adjacent to the first peak are calculated as follows:
[0044]
[0045] Where x2 and y2 are the abscissa and ordinate of the first position coordinates corresponding to the first trough adjacent to the first wave peak, respectively, and △x1 and △y1 are the changes in the first abscissa and the first ordinate, respectively.
[0046] Based on the described routing direction, the coordinates of the second position corresponding to the second peak adjacent to the first peak are calculated as follows:
[0047]
[0048] Where x3 and y3 are the abscissa and ordinate of the second position coordinates corresponding to the second peak adjacent to the first peak, respectively, and △x2 and △y2 are the changes in the second abscissa and the second ordinate, respectively.
[0049] Using the second peak as a reference, and following the described routing direction, the coordinates of the first position corresponding to the second trough adjacent to the second peak are calculated as follows:
[0050]
[0051] Where x4 and y4 are the x and y coordinates of the first position corresponding to the second trough adjacent to the second peak, respectively;
[0052] Based on the described routing direction, the coordinates of the second position corresponding to the third peak adjacent to the second peak are calculated as follows:
[0053]
[0054] Where x5 and y5 are the x and y coordinates of the second position corresponding to the third peak adjacent to the second peak, respectively;
[0055] Similarly, by using the same method, we can obtain the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak.
[0056] Furthermore, the present invention also provides a system for generating jagged wavy lines in a laser path, applied to the aforementioned method for generating jagged wavy lines in a laser path, comprising:
[0057] The parameter acquisition module is used to acquire the original straight line pattern in the laser path and acquire the given parameters of the zigzag wavy line to be generated; it is also used to obtain the routing direction and total length of the zigzag wavy line to be generated based on the original straight line pattern.
[0058] The coordinate calculation module is used to obtain the position coordinate sequence of the sawtooth wavy line to be generated based on the routing direction, the total length, and the given parameters.
[0059] The graphic generation module is used to generate the zigzag wavy line to be generated based on the position coordinate sequence.
[0060] Furthermore, the present invention also provides a system for generating jagged wavy lines in a laser path, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed, it implements the method steps in the aforementioned method for generating jagged wavy lines in a laser path.
[0061] Furthermore, the present invention also provides a computer storage medium comprising: at least one instruction that, when executed, implements the method steps in the aforementioned method for generating a zigzag wavy line pattern in a laser path.
[0062] The beneficial effects of this invention are as follows: Since the original straight line pattern in the laser path is an opening pattern that meets the design requirements of the grid pattern on the printing screen, based on the original straight line pattern in the laser path, parameters (including the direction of the lines and the total length) that meet the design requirements of the grid pattern (including specific angles, specific wavelengths, specific directions, and other parameters) and improve the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh can be obtained in the zigzag wavy line to be generated. Combined with the given parameters of the zigzag wavy line to be generated in advance, the position coordinate sequence of the zigzag wavy line to be generated can be obtained. Since the zigzag wavy line to be generated consists of a series of peaks and troughs arranged according to the direction of the lines, the zigzag wavy line to be generated that meets multiple requirements can be automatically generated according to the position coordinate sequence, thereby improving the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh in an automated manner.
[0063] The method, system, and medium for generating serrated wavy lines in the laser path of this invention can automatically generate serrated wavy lines with multiple requirements. It improves the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh through automated operation. It can meet the high precision requirements of the printing screen in solar panels, and the serrated wavy line operation is fast, which can effectively improve the production capacity of solar panel production lines. Attached Figure Description
[0064] The features and advantages of the invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the invention in any way. In the drawings:
[0065] Figure 1 The diagram shows a model of the original straight line pattern, the serrated wavy line to be generated, and the grid line on the printing screen in Embodiment 1 of the present invention.
[0066] Figure 2 A flowchart of a method for generating a sawtooth wavy line pattern in a laser lithography path according to Embodiment 1 of the present invention is shown;
[0067] Figure 3A schematic diagram of the planar coordinate system established in Embodiment 1 of the present invention, as well as the obtained routing direction and total length, is shown.
[0068] Figure 4 This diagram shows an enlarged view of one of the sawtooth waves in the sawtooth wave line to be generated in Embodiment 1 of the present invention.
[0069] Figure 5 This document shows a flowchart illustrating the sequence of position coordinates for obtaining the serrated wavy line to be generated in Embodiment 1 of the present invention.
[0070] Figure 6 This diagram illustrates a model for calculating the first position coordinates of adjacent troughs and the second position coordinates of adjacent peaks based on a starting point, according to Embodiment 1 of the present invention.
[0071] Figure 7 The diagram shows a structural diagram of a laser path sawtooth wave pattern generation system according to Embodiment 2 of the present invention.
[0072] Explanation of reference numerals in the attached figures:
[0073] 1. Original straight line graphic; 2. Sawtooth wavy line to be generated; 3. Grid line. Detailed Implementation
[0074] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0075] Example 1
[0076] like Figure 2 As shown, a method for generating jagged wavy lines in a laser path includes:
[0077] S1: Obtain the original straight line pattern in the laser path and obtain the given parameters for generating the zigzag wavy line;
[0078] S2: Based on the original straight line graph, obtain the routing direction and total length of the sawtooth wavy line to be generated;
[0079] S3: Based on the routing direction, the total length, and the given parameters, obtain the position coordinate sequence of the sawtooth wavy line to be generated;
[0080] S4: Generate the zigzag wavy line to be generated based on the position coordinate sequence.
[0081] Since the original straight line pattern in the laser path is an opening pattern that meets the design requirements of the grid pattern on the printing screen, the parameters (including the direction of the lines and the total length) of the sawtooth wavy line to be generated can be obtained based on the original straight line pattern in the laser path. These parameters not only meet the design requirements of the grid pattern (including various parameters such as specific angle, specific wavelength width, and specific direction) but also improve the ink uniformity between the opening in the grid pattern and the warp and weft threads of the mesh. Combined with the given parameters of the sawtooth wavy line to be generated in advance, the position coordinate sequence of the sawtooth wavy line to be generated can be obtained. Since the sawtooth wavy line to be generated consists of a series of peaks and troughs arranged according to the direction of the lines, the sawtooth wavy line to be generated that meets multiple requirements can be automatically generated based on this position coordinate sequence, thereby improving the ink uniformity between the opening in the grid pattern and the warp and weft threads of the mesh in an automated manner.
[0082] The method for generating serrated wavy lines in the laser path of this embodiment can automatically generate serrated wavy lines with multiple requirements. It improves the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh through automated operation. It can meet the high precision requirements of the printing screen in solar panels, and the serrated wavy line operation is fast, which can effectively improve the production capacity of solar panel production lines.
[0083] Preferably, S2 includes:
[0084] S21: Take any point in the laser lithography path as the origin, take the direction parallel to the grid lines in the laser lithography path as the x-axis, and take the direction perpendicular to the grid lines in the laser lithography path as the y-axis, and establish a planar coordinate system for the laser lithography path.
[0085] S22: Based on the plane coordinate system, extract the angle between the original straight line and the x-axis to obtain the routing direction of the sawtooth wavy line to be generated;
[0086] S23: Based on the plane coordinate system, extract the original starting point coordinates and the original ending point coordinates of the original straight line figure respectively; and according to the original starting point coordinates and the original ending point coordinates, obtain the total length of the zigzag wavy line to be generated in the y-axis direction.
[0087] The planar coordinate system established above facilitates the extraction of relevant information from the original straight line graphic. This information is then used to transform the original straight line graphic into a zigzag wavy line graphic. The resulting zigzag wavy line graphic has high accuracy in terms of total length and direction of line movement. This process is convenient and quick, ensuring that the final generated zigzag wavy line graphic meets the design requirements of the printing screen and effectively improves the ink distribution between the opening and the warp and weft threads of the mesh, thereby enhancing the production quality of the printing screen.
[0088] Specifically, the planar coordinate system established on the laser path in this embodiment is as follows: Figure 3 As shown, the routing direction of the resulting sawtooth wavy line is... Figure 3 In the α, the total length is Figure 3 L in the middle.
[0089] Specifically, the wave height of each sawtooth wave in the sawtooth wave line to be generated is the same, and the trough of each sawtooth wave falls on the original straight line pattern.
[0090] The given parameters include a given crest angle for each sawtooth wave, a given wave length in the y-axis direction for the troughs of every two adjacent sawtooth waves, and a given horizontal spacing between the crest of each sawtooth wave and the original straight-line graph.
[0091] The zigzag wave line to be generated is a wave line composed of a series of zigzags (each zigzag is called a zigzag wave). Each zigzag wave contains a crest and a trough, and both the crest and trough have a sharp angle of the same angle (collectively referred to as the crest angle). The vertical height between the crest and trough of each zigzag wave is called the wave height. The distance between the crests or troughs of any two adjacent zigzag waves is called the wave length. In this embodiment, the length of the wave is measured by its component in the y-axis direction. Therefore, the distance between the crests of any two adjacent zigzag waves in the y-axis direction is considered the wave length. The distance between the crests and the original straight line pattern (called the horizontal spacing) is equal. In this embodiment, the wave height of each sawtooth wave is the same and the troughs all fall on the original straight line pattern, which ensures that the entire sawtooth wave line to be generated is generated close to the original straight line pattern, ensuring that the sawtooth wave line to be generated is modified for the original straight line pattern and meets the design requirements of the printing screen. By giving the crest height, wave length and horizontal spacing, it is easy to combine the total length and line direction obtained from the original straight line pattern to calculate the sawtooth wave line to be generated that meets the design requirements of the printing screen, with high accuracy.
[0092] Specifically, such as Figure 1 As shown, according to the design requirements of the printing screen, such as Figure 1 The number 2 in the diagram represents the final sawtooth wave line to be generated, since each sawtooth wave has the same given parameters. For ease of explanation, this embodiment uses an enlarged view of any one of the sawtooth waves for illustration, such as... Figure 4 As shown, the corresponding wave crest is P, the wave trough is Q, the given wave crest angle is β, the given wave length is h, and the given horizontal spacing is l.
[0093] In one specific embodiment of this example, a human-computer interaction interface is designed. In S1, the given parameters (given crest angle, given wave length, and given horizontal spacing) are set through the human-computer interaction interface, and a modifiable function is set to facilitate modification or adjustment by the operator. In S2, after obtaining the routing direction and total length based on the original straight line graphic, the routing direction and total length are stored in the background database of the human-computer interaction interface for direct access and application of the data.
[0094] Preferably, before S3, the method further includes:
[0095] Obtain the grid line pattern located near the original straight line pattern in the laser lithography path, and extract the grid line spacing between every two parallel grid lines in the grid line pattern; wherein, the grid line pattern includes multiple parallel grid lines with equal spacing, and all grid lines intersect with the original straight line pattern;
[0096] Using all the grid lines in the grid pattern, the original straight line pattern is divided into multiple unit straight lines.
[0097] The grid pattern obtained from the laser path is divided into small units by the original straight lines that intersect with it (these original straight lines are used to create the openings of the grid pattern). This further enables the small unit division of the zigzag wavy line to be generated. On the one hand, the position coordinate sequence required for the subsequent generation of the zigzag wavy line can be calculated using small units, which helps to improve the calculation accuracy. On the other hand, it can better ensure that the point on the grid line where the zigzag wavy line to be generated falls is the peak of the zigzag wavy line, thereby ensuring that the final generated zigzag wavy line can effectively improve the ink application between the openings in the grid pattern and the warp and weft threads of the mesh.
[0098] In one specific implementation, when the gate line spacing (e.g.) is extracted Figure 3 After step d), the grid spacing is also stored in the background database of the human-computer interaction interface for easy retrieval and use.
[0099] Preferably, such as Figure 5 As shown, S3 includes:
[0100] S31: Based on the total length, the grid line spacing, and the given wave length, calculate the number of unit waves that each unit line needs to generate; wherein, the number of unit waves that all unit lines need to generate is equal;
[0101] S32: Based on the number of unit waves and the grid line spacing, adjust the given wave length of each sawtooth wave to obtain the actual length corresponding to each given wave length, so that the point where the sawtooth wave line to be generated falls on the grid line pattern is the wave peak in the sawtooth wave line to be generated.
[0102] The formula for calculating the actual length is:
[0103]
[0104] Among them, h real Let d be the actual length of the two troughs of each sawtooth wave in the y-axis direction, and n be the grid line spacing. unit The number of waves in the unit;
[0105] S33: Based on the original starting point coordinates of the original straight line graph and the given horizontal spacing, obtain the target starting point coordinates corresponding to the starting point of the zigzag wavy line to be generated;
[0106] S34: Based on the routing direction, the actual length, and the given peak angle, calculate the first abscissa change in the x-axis direction and the first ordinate change in the y-axis direction between each two adjacent troughs and peaks in the zigzag wavy line to be generated, and the second abscissa change in the x-axis direction and the second ordinate change in the y-axis direction between each two adjacent peaks in the zigzag wavy line to be generated;
[0107] S35: Starting from the starting point of the sawtooth wave line to be generated, according to the direction of the line, based on the target starting point position coordinates, the first horizontal coordinate change, the first vertical coordinate change, the second horizontal coordinate change, and the second vertical coordinate change, the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak on the sawtooth wave line to be generated are obtained in sequence.
[0108] S36: According to the routing direction, the position coordinate sequence is obtained based on the target starting point position coordinates, all the first position coordinates, and all the second position coordinates.
[0109] In S31, using the total length, the given wave length, and the grid spacing, the number of wave units corresponding to each straight line after the small unit division can be obtained. By using the number of wave units, the straight line within each small unit can be precisely transformed into the corresponding number of sawtooth waves, thus improving the accuracy of the entire generated sawtooth wave line and better meeting design requirements. In S32, the point where the generated sawtooth wave line falls on the grid pattern is used as the wave crest as the design standard to adjust the given wave length. This effectively reduces the error between the actual operation and the given parameters, ensuring that the final generated sawtooth wave line truly meets the actual requirements. In S33, using the given horizontal spacing in the given parameters and the known information in the original straight line pattern (i.e., the original starting point coordinates), the target starting point coordinates are calculated as the first set of data in the position coordinate sequence. This process involves determining the starting point for generating the entire sawtooth wave line. In S34, based on the line direction, real-time length, and given peak angle, mathematical geometry is used to calculate the coordinate changes of peaks and troughs in every two adjacent sawtooth waves. This facilitates the subsequent calculation of each set of data in the position coordinate sequence based on the target starting point's position coordinates. In S35, based on the first horizontal coordinate change, first vertical coordinate change, second horizontal coordinate change, and second vertical coordinate change calculated in S34, the position coordinates of each peak and trough arranged sequentially according to the line direction are obtained, starting from the starting point. Finally, in S36, based on the target starting point's position coordinates obtained in S33, and all the first and second position coordinates arranged according to the line direction, the final position coordinate sequence is obtained.
[0110] Based on the inherent characteristics of the sawtooth wave line, once the position coordinates of all the peaks and troughs arranged according to the direction of the line are determined, the corresponding sawtooth wave line to be generated can be obtained. The position coordinate sequence calculated by the above steps in this embodiment can facilitate the final generation of the sawtooth wave line that meets the design requirements with high accuracy. At the same time, it can also facilitate the automatic generation of graphics based on the position coordinate sequence, which is efficient, fast and can effectively improve the production capacity of solar panels.
[0111] Specifically, S31 includes:
[0112] S311: Calculate the number of unit lines based on the total length and the grid line spacing;
[0113] The formula for calculating the number of unit lines is:
[0114]
[0115] Wherein, n1 is the number of unit lines, and L is the total length;
[0116] S312: Calculate the total number of waves of the zigzag wavy line to be generated based on the total length and the given wave length;
[0117] The formula for calculating the total number of waves in the zigzag wavy line to be generated is:
[0118]
[0119] Where n2 is the total number of waves, and h is the given wave length;
[0120] The formula for calculating the number of wave elements in a given unit is:
[0121]
[0122] Where, n unit The number of waves in the unit is INT(·), which is the floor function.
[0123] By using the above calculation formulas, mathematical principles can be fully utilized to accurately calculate the number of unit waves in each small unit of the final zigzag wavy line to be generated.
[0124] Specifically, regarding the starting point of the zigzag wavy line to be generated, such as Figure 6 As shown, Figure 6 In this context, point A is the starting point, and its corresponding target starting point coordinates are (x1, y1). Point A is a wave crest located on the grid line. Figure 6 Point B in the diagram represents the trough of the zigzag wave where the starting point is located, and point C represents the crest of the next zigzag wave. In this diagram, lines AB and AC are the two line segments of the final zigzag wave line to be generated. The distance between point C and point B in the y-axis direction is equal to the distance between point B and point A in the y-axis direction. Since the position coordinates of point A (i.e., the position coordinates of the target starting point), the angle between line CA and the x-axis (i.e., the angle value corresponding to the direction of the line), ∠CBA (i.e., the given crest angle), and the distance between point C and point A in the y-axis direction (i.e., the actual length) are all known, the distance between point C and point A in the x-axis direction (i.e., the change in the second horizontal coordinate), the distance between point B and point A in the x-axis direction (i.e., the change in the first horizontal coordinate), the distance between point C and point A in the y-axis direction (i.e., the change in the second vertical coordinate), and the distance between point B and point A in the y-axis direction (i.e., the change in the first vertical coordinate) can be calculated using mathematical principles such as trigonometric functions. The mathematical principles, such as trigonometric functions, are all existing technologies, and specific details will not be elaborated here.
[0125] Specifically, such as Figure 6 and Figure 1As shown, the starting point of the sawtooth wavy line to be generated is the first peak on the grid line. Let the target starting point position coordinates corresponding to the starting point of the sawtooth wavy line to be generated be (x1, y1).
[0126] S35 includes:
[0127] S351: According to the described routing direction, the coordinates of the first position corresponding to the first trough adjacent to the first peak are calculated as follows:
[0128]
[0129] Where x2 and y2 are the abscissa and ordinate of the first position coordinates corresponding to the first trough adjacent to the first wave peak, respectively, and △x1 and △y1 are the changes in the first abscissa and the first ordinate, respectively.
[0130] S352: According to the described routing direction, the coordinates of the second position corresponding to the second peak adjacent to the first peak are calculated as follows:
[0131]
[0132] Where x3 and y3 are the abscissa and ordinate of the second position coordinates corresponding to the second peak adjacent to the first peak, respectively, and △x2 and △y2 are the changes in the second abscissa and the second ordinate, respectively.
[0133] S353: Using the second peak as a reference, and following the described routing direction, the coordinates of the first position corresponding to the second trough adjacent to the second peak are calculated as follows:
[0134]
[0135] Where x4 and y4 are the x and y coordinates of the first position corresponding to the second trough adjacent to the second peak, respectively;
[0136] S354: According to the described routing direction, the second position coordinates corresponding to the third peak adjacent to the second peak are calculated as follows:
[0137]
[0138] Where x5 and y5 are the x and y coordinates of the second position corresponding to the third peak adjacent to the second peak, respectively;
[0139] S355: Similarly, using the same method, we obtain the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak in turn.
[0140] Since the starting point of the zigzag wavy line to be generated is the first peak on the grid line, the first position coordinates corresponding to the next trough can be automatically calculated sequentially based on the position coordinates of each peak and the changes in the first horizontal and vertical coordinates between the peak and the trough. At the same time, the second position coordinates corresponding to the next peak can be automatically calculated sequentially based on the position coordinates of each peak and the changes in the second horizontal and vertical coordinates between every two connected peaks.
[0141] In a specific implementation, the starting point (the peak) can be set as the first odd-numbered point, and the second, third, and so on peaks can also be set as odd-numbered points. The second position coordinates of these peaks form an odd-numbered array. After obtaining the second position coordinates of each peak according to S35, they are all stored in this odd-numbered array. The first trough, the second trough, and so on after the first odd-numbered point can be set as even-numbered points, and the first position coordinates of these troughs form an even-numbered array. After obtaining the second position coordinates of each peak according to S35, they are all stored in this even-numbered array. The odd-numbered array and the even-numbered array form the final position coordinate sequence.
[0142] In a specific implementation of S4, the background processor of the human-computer interaction interface can generate the two endpoints of each segment of the zigzag wavy line to be generated in sequence according to the obtained position coordinate sequence, and then generate the corresponding line between the two endpoints; when the corresponding endpoint is generated according to the last set of position coordinates in the position coordinate sequence and the corresponding line is generated, the graphic generation of the zigzag wavy line to be generated is completed.
[0143] Preferably, the original straight line pattern in the laser path is one or more lines, and the zigzag wavy line to be generated is also one or more lines;
[0144] The number of original straight line patterns is the same as the number of zigzag wavy lines to be generated, and all the original straight line patterns correspond one-to-one with all the zigzag wavy lines to be generated.
[0145] Since the grid pattern in the laser path may contain multiple openings, it contains multiple original straight line patterns. The zigzag wavy line to be generated corresponding to each original straight line pattern can be obtained according to the methods of S1 to S4.
[0146] In a specific implementation, if the original straight line graphic has other original straight line graphics that are parallel or mirror-symmetrical to it, a copy command or mirror command can be set on the human-computer interaction interface to copy or mirror the corresponding generated jagged wavy line graphic. This can further improve the generation efficiency of jagged wavy line graphics in the laser path, thereby further improving the overall efficiency of the solar panel printing screen operation. The specific implementation method of setting the copy command or mirror command on the human-computer interaction interface is existing technology, and the details will not be elaborated here.
[0147] Example 2
[0148] like Figure 7 As shown, a system for generating jagged wavy lines in a laser path is applied to the method for generating jagged wavy lines in a laser path in Embodiment 1, comprising:
[0149] The parameter acquisition module is used to acquire the original straight line pattern in the laser path and acquire the given parameters of the zigzag wavy line to be generated; it is also used to obtain the routing direction and total length of the zigzag wavy line to be generated based on the original straight line pattern.
[0150] The coordinate calculation module is used to obtain the position coordinate sequence of the sawtooth wavy line to be generated based on the routing direction, the total length, and the given parameters.
[0151] The graphic generation module is used to generate the zigzag wavy line to be generated based on the position coordinate sequence.
[0152] The serrated wavy line pattern generation system in the laser path of this embodiment can automatically generate serrated wavy lines with multiple requirements. It improves the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh in an automated operation mode. It can meet the high precision requirements of the printing screen in solar panels, and the serrated wavy line operation is fast, which can effectively improve the production capacity of solar panel production lines.
[0153] The functions of each module in the laser path sawtooth wavy line graphic generation system described in this embodiment correspond one-to-one with the steps of the laser path sawtooth wavy line graphic generation method in Embodiment 1. Therefore, for details not covered in this embodiment, please refer to Embodiment 1 and... Figures 1 to 6 The specific details will not be elaborated here.
[0154] Example 3
[0155] A device for generating serrated wavy line patterns in a laser path includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed, it implements the method steps of the method for generating serrated wavy line patterns in a laser path according to Embodiment 1.
[0156] By using a computer program stored in memory and running on a processor, it can automatically generate sawtooth wavy lines with various requirements. This automated operation improves the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh, meeting the high precision requirements of printing screens in solar panels. Furthermore, the sawtooth wavy line operation is fast, effectively increasing the production capacity of solar panel production lines.
[0157] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the computer device, connecting all parts of the computer device through various interfaces and lines.
[0158] Memory can be used to store computer programs and / or models. The processor performs various functions of the computer device by running or executing the computer programs and / or models stored in the memory, and by accessing data stored in the memory. Memory can primarily include a program storage area and a data storage area. The program storage area can store the operating system and at least one application program required for a function (e.g., sound playback, image playback, etc.); the data storage area can store data created based on the use of the mobile phone (e.g., audio data, video data, etc.). Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, smart media cards (SMC), secure digital cards (SD cards), flash cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0159] It should be understood that each block of a flowchart and / or block diagram, and combinations of blocks in a flowchart and / or block diagram, can be implemented by a computer program. These computer programs can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that instructions executable by the processor of the computer or other programmable data processing device generate instructions for implementing the flowchart... Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0160] These computer programs may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0161] These computer programs may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0162] This embodiment also provides a computer storage medium, which includes at least one instruction that, when executed, implements the method steps in the method for generating a sawtooth wavy line pattern in a laser path according to Embodiment 1.
[0163] By executing a computer storage medium containing at least one instruction, it can automatically generate serrated wavy lines with multiple requirements. This automated operation improves the uniformity of ink application between the openings in the grid pattern and the warp and weft threads of the mesh, adapting to the high precision requirements of the printing screen in solar panels. Furthermore, the serrated wavy line operation is fast, effectively increasing the production capacity of solar panel production lines.
[0164] Similarly, for details not covered in Embodiment 3, please refer to Embodiments 1 and 2. Figures 1 to 6 The specific details will not be elaborated here.
[0165] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for generating jagged wavy line patterns in a laser engraving path, used for printing screens, characterized in that, include: Obtain the original straight line pattern in the laser path and obtain the given parameters for generating the jagged wavy line; Based on the original straight line graph, the routing direction and total length of the zigzag wavy line to be generated are obtained; Based on the routing direction, the total length, and the given parameters, the position coordinate sequence of the sawtooth wavy line to be generated is obtained; The zigzag wavy line to be generated is generated based on the position coordinate sequence; In this process, the wave height of each sawtooth wave in the sawtooth wave line to be generated is the same, and the trough of each sawtooth wave falls on the original straight line graphic. The given parameters include a given crest angle for each sawtooth wave, a given wave length in the y-axis direction for the troughs of every two adjacent sawtooth waves, and a given horizontal spacing between the crest of each sawtooth wave and the original straight-line graph. Before obtaining the position coordinate sequence of the zigzag wavy line to be generated based on the routing direction, the total length, and the given parameters, the method further includes: Obtain the grid line pattern located near the original straight line pattern in the laser lithography path, and extract the grid line spacing between every two parallel grid lines in the grid line pattern; wherein, the grid line pattern includes multiple parallel grid lines with equal spacing, and all grid lines intersect with the original straight line pattern; Using all the grid lines in the grid pattern, the original straight line pattern is divided into multiple unit straight lines; The step of obtaining the position coordinate sequence of the zigzag wavy line to be generated based on the routing direction, the total length, and the given parameters includes: Based on the total length, the grid line spacing, and the given wave length, the number of unit waves that each unit line needs to generate is calculated; wherein, the number of unit waves that all unit lines need to generate is equal. Based on the number of unit waves and the grid line spacing, the given wave length of each sawtooth wave is adjusted to obtain the actual length corresponding to each given wave length, so that the point where the sawtooth wave line to be generated falls on the grid line pattern is the wave peak in the sawtooth wave line to be generated. The formula for calculating the actual length is: ; wherein h real is the actual length of the two wave troughs of each sawtooth wave in the y-axis direction, d is the gate line pitch, n unit is the number of unit waves; Based on the original starting point coordinates of the original straight line graph and the given horizontal spacing, the target starting point coordinates corresponding to the starting point of the zigzag wavy line to be generated are obtained. Based on the routing direction, the actual length, and the given peak angle, the first abscissa change in the x-axis direction and the first ordinate change in the y-axis direction between each two adjacent troughs and peaks in the zigzag wavy line to be generated are calculated, as well as the second abscissa change in the x-axis direction and the second ordinate change in the y-axis direction between each two adjacent peaks in the zigzag wavy line to be generated. Starting from the starting point of the sawtooth wave line to be generated, and following the direction of the line, based on the target starting point position coordinates, the first horizontal coordinate change, the first vertical coordinate change, the second horizontal coordinate change, and the second vertical coordinate change, the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak on the sawtooth wave line to be generated are obtained sequentially. According to the stated route direction, the position coordinate sequence is obtained based on the target starting point position coordinates, all first position coordinates, and all second position coordinates.
2. The method for generating jagged wavy lines in a laser path according to claim 1, characterized in that, The step of obtaining the routing direction and total length of the zigzag wavy line to be generated based on the original straight line graph includes: Take any point in the laser lithography path as the origin, take the direction parallel to the grid lines in the laser lithography path as the x-axis, and take the direction perpendicular to the grid lines in the laser lithography path as the y-axis, and establish a planar coordinate system for the laser lithography path. Based on the plane coordinate system, the angle between the original straight line and the x-axis is extracted to obtain the routing direction of the sawtooth wavy line to be generated; Based on the planar coordinate system, the original starting point coordinates and the original ending point coordinates of the original straight line are extracted respectively; and based on the original starting point coordinates and the original ending point coordinates, the total length of the zigzag wavy line to be generated in the y-axis direction is obtained.
3. The method for generating jagged wavy lines in a laser path according to claim 1, characterized in that, The step of calculating the number of unit waves required for each unit line based on the total length, the grid line spacing, and the given wave length includes: The number of unit lines is calculated based on the total length and the grid line spacing; The formula for calculating the number of unit lines is: ; Wherein, n1 is the number of unit lines, and L is the total length; The total number of waves in the zigzag line to be generated is calculated based on the total length and the given wave length. The formula for calculating the total number of waves in the zigzag wavy line to be generated is: ; Where n2 is the total number of waves, and h is the given wave length; The formula for calculating the number of wave elements in a given unit is: ; Where, n unit The number of waves in the unit. This is the floor function.
4. The method for generating jagged wavy lines in a laser path according to claim 1, characterized in that, The starting point of the sawtooth wavy line to be generated is the first peak on the grid line. Let the target starting point position coordinates corresponding to the starting point of the sawtooth wavy line to be generated be (x1, y1). Then, according to the described line direction, based on the target starting point coordinates, the first abscissa change, the first ordinate change, the second abscissa change, and the second ordinate change, the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak on the zigzag wave line to be generated are obtained sequentially, including: Based on the described routing direction, the coordinates of the first position corresponding to the first trough adjacent to the first peak are calculated as follows: ; Where x2 and y2 are the abscissa and ordinate of the first position coordinates corresponding to the first trough adjacent to the first wave peak, respectively, and △x1 and △y1 are the changes in the first abscissa and the first ordinate, respectively. Based on the described routing direction, the coordinates of the second position corresponding to the second peak adjacent to the first peak are calculated as follows: ; Where x3 and y3 are the abscissa and ordinate of the second position coordinates corresponding to the second peak adjacent to the first peak, respectively, and △x2 and △y2 are the changes in the second abscissa and the second ordinate, respectively. Using the second peak as a reference, and following the described routing direction, the coordinates of the first position corresponding to the second trough adjacent to the second peak are calculated as follows: ; Where x4 and y4 are the x and y coordinates of the first position corresponding to the second trough adjacent to the second peak, respectively; Based on the described routing direction, the coordinates of the second position corresponding to the third peak adjacent to the second peak are calculated as follows: ; Where x5 and y5 are the x and y coordinates of the second position corresponding to the third peak adjacent to the second peak, respectively; Similarly, by using the same method, we can obtain the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak.
5. A system for generating jagged wavy lines in a laser path, characterized in that, The method for generating jagged wavy lines in a laser path as described in any one of claims 1 to 4 includes: The parameter acquisition module is used to acquire the original straight line pattern in the laser path and acquire the given parameters of the zigzag wavy line to be generated; it is also used to obtain the routing direction and total length of the zigzag wavy line to be generated based on the original straight line pattern. In this process, the wave height of each sawtooth wave in the sawtooth wave line to be generated is the same, and the trough of each sawtooth wave falls on the original straight line graphic. The given parameters include a given crest angle for each sawtooth wave, a given wave length in the y-axis direction for the troughs of every two adjacent sawtooth waves, and a given horizontal spacing between the crest of each sawtooth wave and the original straight-line graph. The coordinate calculation module is used to obtain the position coordinate sequence of the sawtooth wavy line to be generated based on the routing direction, the total length, and the given parameters. Before the coordinate calculation module obtains the position coordinate sequence of the zigzag wavy line to be generated based on the routing direction, the total length, and the given parameters, it is also used for: Obtain the grid line pattern located near the original straight line pattern in the laser lithography path, and extract the grid line spacing between every two parallel grid lines in the grid line pattern; wherein, the grid line pattern includes multiple parallel grid lines with equal spacing, and all grid lines intersect with the original straight line pattern; Using all the grid lines in the grid pattern, the original straight line pattern is divided into multiple unit straight lines; The coordinate calculation module obtains the position coordinate sequence of the zigzag wavy line to be generated based on the routing direction, the total length, and the given parameters, specifically including: Based on the total length, the grid line spacing, and the given wave length, the number of unit waves that each unit line needs to generate is calculated; wherein, the number of unit waves that all unit lines need to generate is equal. Based on the number of unit waves and the grid line spacing, the given wave length of each sawtooth wave is adjusted to obtain the actual length corresponding to each given wave length, so that the point where the sawtooth wave line to be generated falls on the grid line pattern is the wave peak in the sawtooth wave line to be generated. The formula for calculating the actual length is: ; Among them, h real Let d be the actual length of the two troughs of each sawtooth wave in the y-axis direction, and n be the grid line spacing. unit The number of waves in the unit; Based on the original starting point coordinates of the original straight line graph and the given horizontal spacing, the target starting point coordinates corresponding to the starting point of the zigzag wavy line to be generated are obtained. Based on the routing direction, the actual length, and the given peak angle, the first abscissa change in the x-axis direction and the first ordinate change in the y-axis direction between each two adjacent troughs and peaks in the zigzag wavy line to be generated are calculated, as well as the second abscissa change in the x-axis direction and the second ordinate change in the y-axis direction between each two adjacent peaks in the zigzag wavy line to be generated. Starting from the starting point of the sawtooth wave line to be generated, and following the direction of the line, based on the target starting point position coordinates, the first horizontal coordinate change, the first vertical coordinate change, the second horizontal coordinate change, and the second vertical coordinate change, the first position coordinates corresponding to each trough and the second position coordinates corresponding to each peak on the sawtooth wave line to be generated are obtained sequentially. According to the described route direction, the position coordinate sequence is obtained based on the target starting point position coordinates, all first position coordinates, and all second position coordinates; The graphic generation module is used to generate the zigzag wavy line to be generated based on the position coordinate sequence.
6. A system for generating jagged wavy lines in a laser path, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed, implements the steps of the method as claimed in any one of claims 1 to 4.
7. A computer storage medium, characterized in that, The computer storage medium includes at least one instruction that, when executed, implements the steps of the method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Grid line extraction method and system of photovoltaic printing screen
CN114972233A