Printed circuit board SET jointed board forming control method, device and equipment and storage medium
By obtaining the standard graphic coordinates of the SET plate and adjusting the milling tape data to match the actual deformation, the problem of unqualified distance from the plate edge in the SET plate is solved, and higher production control accuracy and efficiency are achieved, and scrap rate is reduced.
Patent Information
- Application Number
- CN202510462285.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2025-07-04
AI Technical Summary
When the printed circuit board SET panel is formed, although the shape and size are qualified, the distance from the same position in the SET to the edge of the board is unqualified, resulting in serious scrapping of the panel.
By obtaining the standard coordinates of four targets in the standard graph of the SET plate, taking any target as the coordinate zero point, and using it as the coordinate zero point of the actual SET plate, the milling tape data, including data translation and/or data stretching methods, is adjusted according to the standard coordinates of the four targets of the actual SET plate, to match the actual deformation.
It improves the production control accuracy of multi-SET panel products, improves production efficiency, reduces the scrap rate of boards, and saves production costs.
Smart Images

Figure CN120264603A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of printed circuit boards, and particularly to a method, device, equipment and storage medium for controlling the forming of SET panels of printed circuit boards. Background Art
[0002] In actual production, for some products with multiple SET panels in printed circuit boards, during forming, there will be a phenomenon that the outer dimensions of the SET are qualified, but the distances from the same position inside the SET to the board edge are unqualified. The appearance of this phenomenon is because during forming, the milling tape is generally made using the target hole expansion and contraction coefficient measured during press lamination and drilling. However, after drilling and before forming, processes that affect the expansion and contraction of the board, such as plasma, electroplating, outer layer etching, and solder mask baking, will be experienced. For products with multiple SET panels, they may undergo some irregular deformations. The expansion and contraction are not the central tensile deformation after press lamination. There may be various translational deformations in addition to the central tensile deformation.
[0003] Currently, for this problem, the common solution is: re-measure the target holes or the outer layer pattern to calculate the actual expansion and contraction, then re-center the stretch data to produce the milling tape, and then check whether the milling tape needs to be further adjusted in combination with the first-piece results. However, this method still cannot effectively match all the above deformation situations, resulting in serious scrapping of the panels. Summary of the Invention
[0004] The present invention provides a method, device, equipment and storage medium for controlling the forming of SET panels of printed circuit boards to solve the problem that the outer dimensions of the SET panels are qualified, but the distances from the same position inside the SET to the board edge are unqualified.
[0005] According to one aspect of the present invention, a method for controlling the forming of SET panels of printed circuit boards is provided, including:
[0006] Obtaining the standard coordinates of four target points in the standard pattern of the SET panel;
[0007] Taking any one of the four target points in the standard pattern as the coordinate zero point;
[0008] Taking the coordinate zero point of the standard pattern as the coordinate zero point of the actual SET panel;
[0009] Determining the standard coordinates of the four target points of the actual SET panel according to the coordinate zero point of the actual SET panel;
[0010] Adjusting the milling tape data according to the standard coordinates of the four target points of the actual SET panel.
[0011] Optionally, adjusting the milling tape data according to the standard coordinates of the four target points of the actual SET panel includes:
[0012] Adjust the milling tape data by means of data translation and / or data stretching according to the standard coordinates of the four target points of the actual SET puzzle board.
[0013] Optionally, adjusting the milling tape data by means of data translation according to the standard coordinates of the four target points of the actual SET puzzle board includes:
[0014] The differences in the first direction and the second direction between the actual coordinates and the standard coordinates of the four target points of the actual SET puzzle board are equal. Adjust the milling tape data by means of data translation according to the standard coordinates of the four target points of the actual SET puzzle board.
[0015] Optionally, adjusting the milling tape data by means of data stretching according to the standard coordinates of the four target points of the actual SET puzzle board includes:
[0016] At least one target point of the actual coordinates of the four target points of the actual SET puzzle board coincides with the standard coordinates of the four target points of the actual SET puzzle board. Adjust the milling tape data by means of data stretching.
[0017] Optionally, at least one target point of the actual coordinates of the four target points of the actual SET puzzle board coincides with the standard coordinates of the four target points of the actual SET puzzle board. Adjusting the milling tape data by means of data stretching includes:
[0018] Calculate the vectors of different sides of the standard figure of the SET puzzle board and the four target points of the actual SET puzzle board respectively;
[0019] Calculate the intersection coordinates of the vectors of different sides of the standard figure of the SET puzzle board and the actual SET puzzle board according to the vectors of different sides of the standard figure of the SET puzzle board and the four target points of the actual SET puzzle board;
[0020] Calculate the included angle between the vectors of different sides of the standard figure of the SET puzzle board and the actual SET puzzle board according to the intersection coordinates of the vectors of different sides of the standard figure of the SET puzzle board and the actual SET puzzle board and the cosine formula of the vectors;
[0021] Use the rotation matrix to calculate the coordinates corresponding to the stretching of the standard coordinates of the four target points in the standard figure of the SET puzzle board, and determine them as the stretched milling tape data.
[0022] Optionally, adjusting the milling tape data by means of data translation and data stretching according to the standard coordinates of the four target points of the actual SET puzzle board includes:
[0023] The actual coordinates of the four target points of the actual SET puzzle piece do not coincide with the standard coordinates of the four target points of the actual SET puzzle piece, and the differences in the first direction and the second direction between the actual coordinates of the four target points of the actual SET puzzle piece and the standard coordinates of the four target points of the actual SET puzzle piece are not equal. According to the standard coordinates of the four target points of the actual SET puzzle piece, the milling tape data is adjusted by means of data translation and data stretching.
[0024] Optionally, the actual coordinates of the four target points of the actual SET puzzle piece do not coincide with the standard coordinates of the four target points of the actual SET puzzle piece, and the differences in the first direction and the second direction between the actual coordinates of the four target points of the actual SET puzzle piece and the standard coordinates of the four target points of the actual SET puzzle piece are not equal. According to the standard coordinates of the four target points of the actual SET puzzle piece, adjusting the milling tape data by means of data translation and data stretching includes:
[0025] Select any one of the four target points of the actual SET puzzle piece as the target point to be translated;
[0026] Translate the target point to be translated so that it coincides with any one of the target points in the standard pattern of the SET puzzle piece;
[0027] Calculate the differences in the first direction and the second direction of the target point to be translated of the actual SET puzzle piece before and after translation;
[0028] According to the differences in the first direction and the second direction of the target point to be translated of the actual SET puzzle piece before and after translation, synchronously translate the remaining three target points among the four target points of the actual SET puzzle piece;
[0029] Calculate the vectors of different sides of the standard pattern of the SET puzzle piece and the four target points of the actual SET puzzle piece respectively;
[0030] According to the vectors of different sides of the standard pattern of the SET puzzle piece and the four target points of the actual SET puzzle piece, calculate the intersection coordinates of the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece;
[0031] According to the intersection coordinates of the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece and the cosine formula of the vectors, calculate the included angle between the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece;
[0032] Use the rotation matrix to calculate the coordinates of the four target points in the standard pattern of the SET puzzle piece after stretching, and determine them as the milling tape data after stretching.
[0033] According to another aspect of the present invention, there is provided a printed circuit board SET puzzle piece forming control device, including:
[0034] A standard coordinate acquisition module for acquiring the standard coordinates of four target points in the standard pattern of the SET panel;
[0035] A coordinate zero point selection module for taking any one of the four target points in the standard pattern as the coordinate zero point;
[0036] A coordinate zero point determination module for taking the coordinate zero point of the standard pattern as the coordinate zero point of the actual SET panel;
[0037] A standard coordinate determination module for determining the standard coordinates of the four target points of the actual SET panel according to the coordinate zero point of the actual SET panel;
[0038] A milling tape data adjustment module for adjusting the milling tape data according to the standard coordinates of the four target points of the actual SET panel.
[0039] According to another aspect of the present invention, there is also provided an electronic device, including:
[0040] At least one processor; and
[0041] A memory communicatively connected to the at least one processor; wherein,
[0042] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the printed circuit board SET panel forming control method according to any embodiment of the present invention.
[0043] According to another aspect of the present invention, there is also provided a computer-readable storage medium storing computer instructions for causing a processor to implement the printed circuit board SET panel forming control method according to any embodiment of the present invention when executed.
[0044] The technical solution of the embodiment of the present invention solves the problem that the outer dimensions of the SET panel are qualified but the distances from the same position inside the SET to the board edge are unqualified by acquiring the standard coordinates of the four target points in the standard pattern of the SET panel; taking any one of the four target points in the standard pattern as the coordinate zero point; taking the coordinate zero point of the standard pattern as the coordinate zero point of the actual SET panel; determining the standard coordinates of the four target points of the actual SET panel according to the coordinate zero point of the actual SET panel; and adjusting the milling tape data according to the measurement differences between the standard coordinates of the four target points of the standard pattern and the standard coordinates of the four target points of the actual SET panel. It achieves the effects of improving the production control accuracy of multi-SET panel products, improving production efficiency, saving production costs, and reducing the board rejection rate.
[0045] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. Description of the Drawings
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0047] Figure 1 is a flowchart of a method for controlling the forming of a printed circuit board SET panel
[0048] Figure 2 is a standard coordinate diagram of four target points of a standard graphic provided by an embodiment of the present invention;
[0049] Figure 3 is a standard coordinate diagram of four target points of an actual SET panel of a printed circuit board provided by an embodiment of the present invention;
[0050] Figure 4 is a flowchart of another method for controlling the forming of a printed circuit board SET panel provided by an embodiment of the present invention;
[0051] Figure 5 is a flowchart of another method for controlling the forming of a printed circuit board SET panel provided by an embodiment of the present invention;
[0052] Figure 6 is a flowchart of another method for controlling the forming of a printed circuit board SET panel provided by an embodiment of the present invention;
[0053] Figure 7 is a flowchart of another method for controlling the forming of a printed circuit board SET panel provided by an embodiment of the present invention;
[0054] Figure 8 is a schematic diagram of modules of a device for controlling the forming of a printed circuit board SET panel provided by an embodiment of the present invention;
[0055] Figure 9 is a schematic structural diagram of an electronic device for a method for controlling the forming of a printed circuit board SET panel provided by an embodiment of the present invention. Detailed Embodiments
[0056] To enable those skilled in the art to better understand the solution of the present invention, the following will clearly and completely describe the technical solution in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
[0057] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned accompanying drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0058] Embodiment 1
[0059] Figure 1 is a flowchart of a method for controlling the forming of a printed circuit board SET panel. This embodiment is applicable to the case where the outer dimensions of the SET panel are qualified but the distance from the same position in the SET to the board edge is unqualified. The method for controlling the forming of the printed circuit board SET panel can be executed by a printed circuit board SET panel forming control device, and the printed circuit board SET panel forming control device can be implemented in the form of hardware and / or software. As Figure 1 shown, the method includes:
[0060] S110. Obtain the standard coordinates of four target points in the standard graphic of the SET panel.
[0061] Among them, Figure 2 is a standard coordinate diagram of four target points of the standard graphic provided by the embodiment of the present invention. As Figure 2 shown, exemplarily, the standard coordinates of the four target points of the standard graphic are (x1, y1), (x2, y2), (x3, y3), and (x4, y4) respectively.
[0062] S120. Take any one of the four target points in the standard graphic as the coordinate zero point.
[0063] Specifically, select any one of the four target points in the standard graphic as the coordinate zero point (x0, y0). Exemplarily, select Figure 2The lower left corner (x1, y1) in it is used as the coordinate zero point (x0, y0).
[0064] S130. Use the coordinate zero point of the standard graphic as the coordinate zero point of the actual SET puzzle board.
[0065] Specifically, select the coordinate zero point (x1, y1) in the standard graphic as the coordinate zero point of the actual SET puzzle board.
[0066] S140. Determine the standard coordinates of the four target points of the actual SET puzzle board according to the coordinate zero point of the actual SET puzzle board.
[0067] Among them, Figure 3 is the standard coordinate diagram of the four target points of the actual SET puzzle board provided by the embodiment of the present invention. As Figure 3 shown, exemplarily, the standard coordinates of the four target points of the actual SET puzzle board are respectively (x ′ 1, y ′ 1), (x ′ 2, y ′ 2), (x ′ 3, y ′ 3) and (x ′ 4, y ′ 4).
[0068] S150. Adjust the milling tape data according to the standard coordinates of the four target points of the actual SET puzzle board.
[0069] Among them, the milling tape is the product data read / recognized by the machine production, which can be understood as a data packet.
[0070] Specifically, adjust the milling tape data by comparing the measurement differences between the standard coordinates of the four target points of the standard graphic and the standard coordinates of the four target points of the actual SET puzzle board.
[0071] The technical solution of the embodiment of the present invention obtains the standard coordinates of the four target points in the standard graphic of the SET puzzle board; uses any one of the four target points in the standard graphic as the coordinate zero point; uses the coordinate zero point of the standard graphic as the coordinate zero point of the actual SET puzzle board; determines the standard coordinates of the four target points of the actual SET puzzle board according to the coordinate zero point of the actual SET puzzle board; adjusts the milling tape data according to the measurement differences between the standard coordinates of the four target points of the standard graphic and the standard coordinates of the four target points of the actual SET puzzle board. It solves the problem that the outer dimension of the SET puzzle board is qualified but the distance from the same position in the SET to the board edge is unqualified. It achieves the effects of improving the production control accuracy of multi-SET puzzle board products, improving production efficiency, saving production costs, and reducing the scrap rate of board parts.
[0072] Embodiment 2
[0073] Figure 4It is a flowchart of another method for controlling the forming of a SET panel of a printed circuit board provided by an embodiment of the present invention. As Figure 4 shown, the method includes:
[0074] S210. Obtain the standard coordinates of four target points in the standard graphic of the SET panel.
[0075] S220. Take any one of the four target points in the standard graphic as the coordinate zero point.
[0076] S230. Take the coordinate zero point of the standard graphic as the coordinate zero point of the actual SET panel.
[0077] S240. Determine the standard coordinates of the four target points of the actual SET panel according to the coordinate zero point of the actual SET panel.
[0078] S250. Adjust the milling tape data by means of data translation and / or data stretching according to the standard coordinates of the four target points of the actual SET panel.
[0079] Among them, the data translation judgment criterion: respectively compare whether the differences between the actual coordinates and the standard coordinate positions of the actual SET panel in the X and Y directions of the coordinates of the four target points are equal. If the differences are equal, it is determined that the graphic is a translation. The data stretching judgment criterion: at least one point of the standard coordinates and the actual coordinates of the actual SET panel coincides. Specifically, calculate the vectors of different sides of the four target points of the standard graphic and the actual board piece respectively, calculate the intersection coordinates of the vectors of the standard graphic and the actual board piece, calculate the included angle between the two vectors according to the cosine formula of the vector, and calculate the corresponding stretched coordinates by using the rotation matrix, and finally obtain the stretched milling tape. The data translation and data stretching judgment criterion: compare the coordinates of the four target points of the standard graphic and the actual graphic, and the differences in the X and Y directions are not equal and there are no coincident points of the target. Specifically, first translate one of the points to the target punctuation of the standard graphic, calculate the differences in the X and Y directions, synchronously compensate the remaining three coordinate points, and output the milling tape 1 according to the differences in the X and Y directions. Then perform stretching calculation on the four coordinate points after translation according to stretching, and output the final milling tape 2.
[0080] Specifically, by obtaining the standard coordinates of four target points in the standard graphic of the SET panel; taking any one of the four target points in the standard graphic as the coordinate zero point; taking the coordinate zero point of the standard graphic as the coordinate zero point of the actual SET panel; determining the standard coordinates of the four target points of the actual SET panel according to the coordinate zero point of the actual SET panel; and adjusting the milling tape data by means of data translation, data stretching or data translation and data stretching according to the standard coordinates of the four target points of the actual SET panel. The problem that the shape and size of the SET panel are qualified but the distance from the same position in the SET to the panel edge is unqualified is solved. The effects of improving the production control accuracy of multi-SET panel products, improving production efficiency, saving production costs and reducing the scrap rate of panel parts are achieved.
[0081] Embodiment III
[0082] Figure 5 is a flowchart of another method for controlling the forming of a printed circuit board SET panel provided by an embodiment of the present invention, as Figure 5 shown, the method includes:
[0083] S310. Obtain the standard coordinates of four target points in the standard graphic of the SET panel.
[0084] S320. Take any one of the four target points in the standard graphic as the coordinate zero point.
[0085] S330. Take the coordinate zero point of the standard graphic as the coordinate zero point of the actual SET panel.
[0086] S340. Determine the standard coordinates of the four target points of the actual SET panel according to the coordinate zero point of the actual SET panel.
[0087] S350. If the differences in the first direction and the second direction between the actual coordinates and the standard coordinates of the four target points of the actual SET panel are equal, adjust the milling tape data by means of data translation according to the standard coordinates of the four target points of the actual SET panel.
[0088] Exemplarily, whether (x ′ 1 - x1), (x ′ 2 - x2), (x ′ 3 - x3) and (x ′ 4 - x4) in the X direction are equal, and whether (y ′ 1 - y1), (y ′ 2 - y2), (y ′ 3 - y3) and (y ′Check whether the differences in the X and Y directions between the actual coordinates of the four target points of the actual SET panel and the standard coordinates are equal. If they are all equal, it is determined to be a translation. Synchronously adjust the machining coordinates of the milling belt according to the translation difference. Exemplarily, let the difference in the X direction be a and the difference in the Y direction be b. The coordinate to be adjusted is the coordinate (Xset1, Yset1) of a single SET positioning hole inside the standard graphic. Then the adjusted coordinate on the actual board is (Xset1 + a, Yset1 + b).
[0089] Specifically, obtain the standard coordinates of the four target points in the standard graphic of the SET panel; take any one of the four target points in the standard graphic as the coordinate zero point; take the coordinate zero point of the standard graphic as the coordinate zero point of the actual SET panel; determine the standard coordinates of the four target points of the actual SET panel according to the coordinate zero point of the actual SET panel; compare the actual coordinates with the standard coordinates and calculate the differences in the X and Y directions. Check whether the differences between the actual coordinates and the standard coordinates of the four target points of the actual SET panel are equal. If the differences are equal, it indicates that there is a translation error in the overall panel, and it can be corrected by data translation. Adjust the coordinate data in the milling belt information according to the calculated differences. Translate all the coordinate points in the milling belt information according to the calculated differences to ensure that the dimensional accuracy of the actual SET panel is consistent with the standard graphic. Verify the adjusted milling belt information to ensure that the adjusted coordinate data is accurate. Use the adjusted milling belt information for the production of the SET panel. Solve the problem that the outer dimensions of the SET panel are qualified but the distances from the same position inside the SET to the board edge are unqualified. Achieve the effects of improving the production control accuracy of multi-SET panel products, improving production efficiency, saving production costs, and reducing the scrap rate of boards.
[0090] Embodiment 4
[0091] Figure 6 is a flowchart of another method for controlling the forming of a printed circuit board SET panel provided by an embodiment of the present invention. As Figure 6 shown, the method includes:
[0092] S410. Obtain the standard coordinates of the four target points in the standard graphic of the set panel.
[0093] S420. Take any one of the four target points in the standard graphic as the coordinate zero point.
[0094] S430. Take the coordinate zero point of the standard graphic as the coordinate zero point of the actual SET panel.
[0095] S440. Determine the standard coordinates of the four target points of the actual SET panel according to the coordinate zero point of the actual SET panel.
[0096] S450. At least one of the actual coordinates of the four target points of the actual SET puzzle piece coincides with the standard coordinates of the four target points of the actual SET puzzle piece, and the milling tape data is adjusted by the method of data stretching.
[0097] S451. Calculate the vectors of different sides of the standard figure of the SET puzzle piece and the four target points of the actual SET puzzle piece respectively.
[0098] S452. Calculate the intersection coordinates of the vectors of different sides of the standard figure of the SET puzzle piece and the actual SET puzzle piece according to the vectors of different sides of the standard figure of the SET puzzle piece and the four target points of the actual SET puzzle piece.
[0099] S453. Calculate the included angle between the vectors of different sides of the standard figure of the SET puzzle piece and the actual SET puzzle piece according to the intersection coordinates of the vectors of different sides of the standard figure of the SET puzzle piece and the actual SET puzzle piece and the cosine formula of the vectors.
[0100] Exemplarily, let two non-zero vectors and The cosine value of the included angle θ (0 ≤ θ ≤ π) between the vector and the vector can be calculated by the vector dot product formula:
[0101]
[0102] where
[0103] The included angle of the vectors can be obtained by calculating the inverse cosine function:
[0104] S454. Use the rotation matrix to calculate the coordinates corresponding to the stretching of the standard coordinates of the four target points in the standard figure of the SET puzzle piece, and determine them as the stretched milling tape data.
[0105] Exemplarily, when the vector rotates around any point (x0y0), first translate the point (x1, y1) so that the rotation center (x0y0) becomes the new origin. The translation is achieved by (x1 - x0, y1 - y0). Let the rotation angle be θ1, and the rotated coordinates be (x′1, y′1), where x′1 = (x1 - x0)cosθ1 - (y1 - y0)sinθ1 y′1 = (x1 - x0)sinθ1 + (y1 - y0)cosθ1. Finally, translate the rotated point back to get the final coordinates (x final , y final ).
[0106] where, x final = x1′ + x0 = (x1 - x0)cosθ1 - (y1 - y0)sinθ1 + x0, yfinal = y1'+y0 = (x1 - x0)sinθ1+(y1 - y0)cosθ1 + y0
[0107] Specifically, by obtaining the standard coordinates of the four target points in the standard graph of the SET puzzle board; taking any one of the four target points in the standard graph as the coordinate zero point; taking the coordinate zero point of the standard graph as the coordinate zero point of the actual SET puzzle board; determining the standard coordinates of the four target points of the actual SET puzzle board according to the coordinate zero point of the actual SET puzzle board; comparing the actual coordinates and the standard coordinates of the four target points of the actual SET puzzle board. If all the target points coincide, no adjustment is needed. If at least one target point does not coincide, the method of data stretching is used to adjust the milling tape data so that the target point coordinates of the actual SET puzzle board are aligned with the standard coordinates. Calculate the vectors of different sides formed by the four target points in the standard graph and the actual SET puzzle board of the SET puzzle board respectively. According to the vectors of different sides of the four target points in the standard graph and the actual SET puzzle board, calculate the intersection coordinates of the vectors on the two-dimensional plane. Use the cosine formula of the vector to calculate the included angle between the vectors of different sides of the standard graph and the actual SET puzzle board according to the intersection coordinates. According to the calculated included angle, use the rotation matrix to calculate the new coordinates of the standard coordinates of the four target points in the standard graph of the SET puzzle board after stretching and rotation. Determine the calculated new coordinates as the target point coordinates in the stretched milling tape data. According to the stretched milling tape data, adjust the design requirements in the production process to produce the SET puzzle board until the predetermined accuracy requirements are met. Solve the problem that the external dimensions of the SET puzzle board are qualified but the distance from the same position inside the SET to the board edge is unqualified. Achieve the effects of improving the production control accuracy of multi-SET puzzle board products, improving production efficiency, saving production costs, and reducing the scrap rate of board parts.
[0108] Example Five
[0109] Figure 7 is the flowchart of another method for controlling the forming of the printed circuit board SET puzzle board provided by the embodiment of the present invention. As Figure 7 shown, the method includes:
[0110] S510. Obtain the standard coordinates of the four target points in the standard graph of the set puzzle board.
[0111] S520. Take any one of the four target points in the standard graph as the coordinate zero point.
[0112] S530. Take the coordinate zero point of the standard graph as the coordinate zero point of the actual SET puzzle board.
[0113] S540. Determine the standard coordinates of the four target points of the actual SET puzzle board according to the coordinate zero point of the actual SET puzzle board.
[0114] For S550, the actual coordinates of the four target points of the actual SET puzzle piece do not coincide with the standard coordinates of the four target points of the actual SET puzzle piece, and the differences in the first direction and the second direction between the actual coordinates of the four target points of the actual SET puzzle piece and the standard coordinates of the four target points of the actual SET puzzle piece are not equal. According to the standard coordinates of the four target points of the actual SET puzzle piece, adjust the milling tape data by means of data translation and data stretching.
[0115] For S551, select any one of the four target points of the actual SET puzzle piece as the target point to be translated.
[0116] For S552, translate the target point to be translated so that it coincides with any one of the target points in the standard pattern of the SET puzzle piece.
[0117] For S553, calculate the differences in the first direction and the second direction of the target point to be translated on the actual SET puzzle piece before and after translation.
[0118] For S554, synchronously translate the remaining three target points among the four target points of the actual SET puzzle piece according to the differences in the first direction and the second direction of the target point to be translated on the actual SET puzzle piece before and after translation.
[0119] For S555, calculate the vectors of different sides of the standard pattern of the SET puzzle piece and the four target points of the actual SET puzzle piece respectively.
[0120] For S556, calculate the intersection coordinates of the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece according to the vectors of different sides of the standard pattern of the SET puzzle piece and the four target points of the actual SET puzzle piece.
[0121] For S557, calculate the included angle between the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece according to the intersection coordinates of the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece and the cosine formula of the vectors.
[0122] For S558, use the rotation matrix to calculate the coordinates after stretching corresponding to the standard coordinates of the four target points in the standard pattern of the SET puzzle piece, and determine them as the milling tape data after stretching.
[0123] Specifically, by obtaining the standard coordinates of four target points in the standard graph of the SET puzzle; taking any one of the four target points in the standard graph as the coordinate zero point; taking the coordinate zero point of the standard graph as the coordinate zero point of the actual SET puzzle; determining the standard coordinates of the four target points of the actual SET puzzle according to the coordinate zero point of the actual SET puzzle; comparing the actual coordinates of the four target points of the actual SET puzzle with the standard coordinates. If there is no coincidence and the differences in the first direction and the second direction are not equal, adjustments of data translation and data stretching are required. Select one of the four target points of the actual SET puzzle as the target point to be translated. Translate the target point to be translated so that it coincides with one of the target points in the standard graph of the SET puzzle. Calculate the differences in the first direction and the second direction of the target point to be translated before and after translation. According to the calculated differences, synchronously translate the other three target points of the four target points of the actual SET puzzle and output the milling belt 1 according to the differences in the X and Y directions. After completing the data translation, if adjustment is still required, data stretching is performed. Calculate the vectors of different sides formed by the four target points in the standard graph of the SET puzzle and the actual SET puzzle respectively. According to the vectors of different sides of the four target points in the standard graph and the actual SET puzzle, calculate the intersection coordinates of the vectors in the two-dimensional plane. Use the cosine formula of the vectors to calculate the included angle between the vectors of different sides of the standard graph and the actual SET puzzle according to the intersection coordinates. According to the calculated included angle, use the rotation matrix to calculate the new coordinates of the standard coordinates of the four target points in the standard graph of the SET puzzle after stretching and rotation. Determine the calculated new coordinates as the target point coordinates in the milling belt data 2 after stretching. According to the milling belt data 2 after stretching, adjust the design requirements in the production process to produce the SET puzzle until the predetermined accuracy requirements are met. It solves the problem that the external dimensions of the SET puzzle are qualified but the distances from the same position inside the SET to the board edge are unqualified. It achieves the effects of improving the production control accuracy of multi-SET puzzle products, improving production efficiency, saving production costs, and reducing the scrap rate of board parts.
[0124] Embodiment Six
[0125] Figure 8 is a schematic diagram of the modules of a printed circuit board SET puzzle forming control device provided by an embodiment of the present invention; as Figure 8 shown, the printed circuit board SET puzzle forming control device includes:
[0126] A standard coordinate acquisition module 610, configured to acquire the standard coordinates of four target points in the standard graph of the SET puzzle;
[0127] A coordinate zero point selection module 620, configured to take any one of the four target points in the standard graph as the coordinate zero point;
[0128] The coordinate zero - point determination module 630 is used to take the coordinate zero - point of the standard graphic as the coordinate zero - point of the actual SET panel;
[0129] The standard coordinate determination module 640 is used to determine the standard coordinates of the four target points of the actual SET panel according to the coordinate zero - point of the actual SET panel;
[0130] The milling - tape data adjustment module 650 is used to adjust the milling - tape data according to the standard coordinates of the four target points of the actual SET panel.
[0131] In the technical solution of this embodiment, the standard coordinate acquisition module is used to obtain the standard coordinates of the four target points in the standard graphic of the SET panel; the coordinate zero - point selection module takes any one of the four target points in the standard graphic as the coordinate zero - point; the coordinate zero - point determination module takes the coordinate zero - point of the standard graphic as the coordinate zero - point of the actual SET panel; the standard coordinate determination module determines the standard coordinates of the four target points of the actual SET panel according to the coordinate zero - point of the actual SET panel; the milling - tape data adjustment module adjusts the milling - tape data according to the standard coordinates of the four target points of the actual SET panel. This solves the problem that the outer dimensions of the SET panel are qualified, but the distances from the same position inside the SET to the board edge are unqualified. It achieves the effects of improving the production control accuracy of multi - SET panel products, improving production efficiency, saving production costs, and reducing the scrap rate of board parts.
[0132] Optionally, the milling - tape data adjustment module 650 includes:
[0133] The milling - tape data adjustment unit is used to adjust the milling - tape data according to the standard coordinates of the four target points of the actual SET panel by means of data translation and / or data stretching.
[0134] The printed - circuit - board SET panel forming control device provided by the embodiment of the present invention can execute the printed - circuit - board SET panel forming control method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0135] Embodiment Seven
[0136] Figure 9 It is a schematic structural diagram of an electronic device for the printed - circuit - board SET panel forming control method provided by the embodiment of the present invention. Refer to Figure 9, the electronic device of the printed circuit board SET panel forming control method includes: The electronic device 70 includes at least one processor 71 and a memory communicatively connected to the at least one processor 71, such as a read-only memory (ROM) 72, a random access memory (RAM) 73, etc. Among them, the memory stores a computer program executable by the at least one processor. The processor 71 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 72 or the computer program loaded from the storage unit 78 into the random access memory (RAM) 73. In the RAM 73, various programs and data required for the operation of the electronic device 70 can also be stored. The processor 71, the ROM 72, and the RAM 73 are connected to each other through a bus 74. The input / output (I / O) interface 75 is also connected to the bus 74.
[0137] Multiple components in the electronic device 70 are connected to the I / O interface 75, including: an input unit 76, such as a keyboard, a mouse, etc.; an output unit 77, such as various types of displays, speakers, etc.; a storage unit 78, such as a disk, an optical disc, etc.; and a communication unit 79, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 79 allows the electronic device 70 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0138] The processor 71 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 71 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 71 executes the various methods and processes described above, such as the printed circuit board SET panel forming control method.
[0139] In some embodiments, the printed circuit board SET panel forming control method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 78. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 70 via the ROM 72 and / or the communication unit 79. When the computer program is loaded into the RAM 73 and executed by the processor 71, one or more steps of the printed circuit board SET panel forming control method described above can be executed. Alternatively, in other embodiments, the processor 71 can be configured to execute the printed circuit board SET panel forming control method by any other appropriate means (for example, by means of firmware).
[0140] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.
[0141] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
[0142] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0143] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0144] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0145] The computing system can include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0146] The computer device provided above can be used to execute the printed circuit board SET panel forming control method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0147] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.
[0148] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub - combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for controlling the forming of a printed circuit board SET panel, characterized in that, Including: Obtaining the standard coordinates of four target points in the standard graph of the SET puzzle board; Taking any one of the four target points in the standard graph as the coordinate zero point; Taking the coordinate zero point of the standard graph as the coordinate zero point of the actual SET puzzle board; Determining the standard coordinates of the four target points of the actual SET puzzle board according to the coordinate zero point of the actual SET puzzle board; Adjusting the milling tape data according to the standard coordinates of the four target points of the actual SET puzzle board; 2. The method for controlling the forming of the printed circuit board SET panel according to claim 1, wherein Adjusting the milling tape data according to the standard coordinates of the four target points of the actual SET puzzle board includes: Adjusting the milling tape data by means of data translation and / or data stretching according to the standard coordinates of the four target points of the actual SET puzzle board.
3. The method for controlling the forming of the printed circuit board SET panel according to claim 2, wherein Adjusting the milling tape data by means of data translation according to the standard coordinates of the four target points of the actual SET puzzle board includes: The differences in the first direction and the second direction between the actual coordinates and the standard coordinates of the four target points of the actual SET puzzle board are equal. Adjust the milling tape data by means of data translation according to the standard coordinates of the four target points of the actual SET puzzle board.
4. The printed circuit board SET panel forming control method according to claim 2, characterized in that, Adjusting the milling tape data by means of data stretching according to the standard coordinates of the four target points of the actual SET puzzle board includes: At least one target point of the actual coordinates of the four target points of the actual SET puzzle board coincides with the standard coordinates of the four target points of the actual SET puzzle board. Adjust the milling tape data by means of data stretching.
5. The printed circuit board SET panel forming control method according to claim 4, characterized in that At least one target point of the actual coordinates of the four target points of the actual SET puzzle board coincides with the standard coordinates of the four target points of the actual SET puzzle board. Adjusting the milling tape data by means of data stretching includes: Calculating the vectors of different sides of the four target points of the standard graph of the SET puzzle board and the actual SET puzzle board respectively; Calculating the intersection coordinates of the vectors of different sides of the standard graph of the SET puzzle board and the actual SET puzzle board according to the vectors of different sides of the four target points of the standard graph of the SET puzzle board and the actual SET puzzle board; Calculating the included angle between the vectors of different sides of the standard graph of the SET puzzle board and the actual SET puzzle board according to the intersection coordinates of the vectors of different sides of the standard graph of the SET puzzle board and the actual SET puzzle board and the cosine formula of the vectors; Using the rotation matrix to calculate the coordinates corresponding to the stretching of the standard coordinates of the four target points in the standard graph of the SET puzzle board, and determining them as the stretched milling tape data.
6. The method for controlling the forming of the printed circuit board SET panel according to claim 2, wherein Adjusting the milling tape data by means of data translation and data stretching according to the standard coordinates of the four target points of the actual SET puzzle board includes: There is no coincidence between the actual coordinates and the standard coordinates of the four target points of the actual SET puzzle board, and the differences in the first direction and the second direction between the actual coordinates and the standard coordinates of the four target points of the actual SET puzzle board are not equal. Adjust the milling tape data by means of data translation and data stretching according to the standard coordinates of the four target points of the actual SET puzzle board.
7. The printed circuit board SET panel forming control method according to claim 6, characterized in that The actual coordinates of the four target points of the actual SET puzzle piece do not coincide with the standard coordinates of the four target points of the actual SET puzzle piece, and the differences in the first direction and the second direction between the actual coordinates and the standard coordinates of the four target points of the actual SET puzzle piece are not equal. According to the standard coordinates of the four target points of the actual SET puzzle piece, the method of adjusting the milling tape data by data translation and data stretching includes: Select any one of the four target points of the actual SET puzzle piece as the target point to be translated; Translate the target point to be translated so that it coincides with any one of the target points in the standard pattern of the SET puzzle piece; Calculate the differences in the first direction and the second direction of the target point to be translated of the actual SET puzzle piece before and after translation; According to the differences in the first direction and the second direction of the target point to be translated of the actual SET puzzle piece before and after translation, synchronously translate the remaining three target points of the four target points of the actual SET puzzle piece; Calculate the vectors of different sides of the standard pattern of the SET puzzle piece and the four target points of the actual SET puzzle piece respectively; According to the vectors of different sides of the standard pattern of the SET puzzle piece and the four target points of the actual SET puzzle piece, calculate the intersection coordinates of the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece; According to the intersection coordinates of the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece and the cosine formula of the vector, calculate the included angle between the vectors of different sides of the standard pattern of the SET puzzle piece and the actual SET puzzle piece; Use the rotation matrix to calculate the coordinates after stretching corresponding to the standard coordinates of the four target points in the standard pattern of the SET puzzle piece, and determine them as the milling tape data after stretching.
8. A printed circuit board SET panel forming control device, characterized in that Including: A standard coordinate acquisition module for acquiring the standard coordinates of the four target points in the standard pattern of the SET puzzle piece; A coordinate zero point selection module for taking any one of the four target points in the standard pattern as the coordinate zero point; A coordinate zero point determination module for taking the coordinate zero point of the standard pattern as the coordinate zero point of the actual SET puzzle piece; A standard coordinate determination module for determining the standard coordinates of the four target points of the actual SET puzzle piece according to the coordinate zero point of the actual SET puzzle piece; A milling tape data adjustment module for adjusting the milling tape data according to the standard coordinates of the four target points of the actual SET puzzle piece.
9. An electronic device, characterized in that, Including: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the printed circuit board SET puzzle piece forming control method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a processor to implement the printed circuit board SET puzzle piece forming control method according to any one of claims 1-7 when executed.