Method, device and equipment for automatically issuing collapsible gong belt and readable storage medium

By automating the acquisition and conversion of expansion and contraction tape files in PCB manufacturing, the problems of low efficiency and poor consistency in traditional methods have been solved, enabling efficient and accurate expansion and contraction compensation processing, thereby improving production efficiency and product quality.

CN121504342APending Publication Date: 2026-02-10VICTORY GIANT TECH HUIZHOU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511405966.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

In existing PCB manufacturing processes, the production of expansion and contraction compensation ribbons relies on manual operation, resulting in low efficiency, high resource consumption, and poor consistency. Furthermore, the compensation effect depends on the engineer's experience, affecting the product's dimensional uniformity and quality stability.

Method used

By automatically acquiring the original coordinates and expansion/contraction data, calculating the substrate center and offset values, converting them into target coordinates using a preset processing mode, and generating expansion/contraction ribbon files, the automatic generation and distribution of expansion/contraction ribbon files are realized.

Benefits of technology

It improves processing efficiency, reduces computing resource consumption, enhances processing accuracy and consistency, reduces reliance on specialized software, and ensures consistency and quality stability of processing results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121504342A_ABST
    Figure CN121504342A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a method, a device and equipment for automatically issuing an expansion and contraction milling belt and a readable storage medium. The method comprises the following steps: acquiring an original coordinate and expansion and contraction data of a current base plate; obtaining the center of the base plate according to the original coordinate of the current base plate, and obtaining a deviation value according to the center of the base plate and the expansion and contraction data; according to the deviation value and a preset machining mode, the original coordinates are converted into target coordinates; and according to the target coordinates, making and issuing an expansion and contraction gong belt file. By automatically acquiring the original coordinates, calculating the offset value and converting the target coordinates, automatic generation and issuing of the collapsible gong tape file are realized, the problems of low efficiency, high resource consumption and poor consistency caused by dependence on manual operation in a traditional method are solved, the processing efficiency is improved, the calculation resource occupation is reduced, and the production cost is reduced. And meanwhile, the machining precision and consistency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of PCB manufacturing technology, specifically to a method, apparatus, equipment, and readable storage medium for automatically distributing expansion and contraction strips. Background Technology

[0002] In the printed circuit board (PCB) manufacturing industry, outputting expansion and contraction compensation router tape is a crucial step in ensuring the precision of board edge forming. The traditional manufacturing process begins with a request for production line approval, followed by router tape engineers using specialized engineering design software such as Genesis or Incam. Engineers must first import ODB++ or IDB files containing design data, and then manually execute graphic editing functions such as stretching and translation to generate the final router tape machining program for CNC machine tools. This traditional model has revealed significant efficiency bottlenecks and technical limitations in practice. The entire process relies heavily on manual intervention, resulting in a lengthy cycle from application to design completion, making it difficult to meet the demands of rapid production response. Furthermore, this process heavily depends on specific and expensive specialized software for complex data analysis and graphic processing; the ODB++ file parsing stage alone can consume up to 70% of the software's memory resources, placing a heavy burden on the computing system.

[0003] Furthermore, the final compensation effect largely depends on the engineer's personal experience. Subjective judgment differences exist in setting specific compensation values ​​(e.g., +0.05mm or -0.03mm), making it difficult to guarantee the consistency of the output results and potentially affecting the uniformity of product dimensions and quality stability. These issues collectively restrict the improvement of production efficiency and process standardization. Summary of the Invention

[0004] In view of the above problems, embodiments of the present invention provide an automatic method, apparatus, device and readable storage medium for distributing expansion and contraction belts, which solves the problems of efficiency bottlenecks and technical limitations in the prior art.

[0005] According to one aspect of the present invention, an automatic method for distributing tension and reduction belts is provided, the method comprising: Obtain the original coordinates and expansion / contraction data of the current base board; The substrate center is obtained based on the original coordinates of the current base board, and the offset value is obtained based on the substrate center and the expansion / contraction data. Based on the offset value and the preset processing mode, the original coordinates are converted into target coordinates; Based on the target coordinates, create and issue the expansion and contraction gong belt file.

[0006] In some optional implementations, obtaining the original coordinates and scaling data of the current baseboard specifically includes: Obtain and parse the Gerber or ODB++ format scaling request form to obtain the original file of the current base board at a 1:1 scale. The original file includes the original coordinates and scaling data of the current base board.

[0007] In some optional implementations, the center of the substrate is obtained based on the original coordinates of the current base board, specifically including: Sort all the original coordinates of the current base board and obtain the maximum and minimum original coordinates; The center of the substrate is obtained by averaging the maximum and minimum original coordinates.

[0008] In some optional implementations, the offset value is obtained based on the substrate center and the expansion / contraction data, specifically including: Based on the size data X*Y in the expansion and contraction data, obtain the expansion and contraction origin (origin_x, origin_y), where origin_x=X / 2, origin_y=Y / 2; The offset values ​​(offset_x, offset_y) are calculated using the formulas offset_x=(origin_x-center_x)*kx and offset_y=(origin_y-center_y)*ky, where kx is the expansion / contraction coefficient in the X direction, ky is the expansion / contraction coefficient in the Y direction, and (center_x, center_y) is the center of the substrate.

[0009] In some optional implementations, the processing mode includes any one of the following: standard processing mode, 270° rotation processing mode, 90° rotation processing mode, and 180° rotation processing mode.

[0010] In some optional implementations, the original coordinates are converted into target coordinates based on the offset value and a preset processing mode, specifically including: When the processing mode is the standard translation mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x and y1=y+offset_y. When the processing mode is a 270° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x*(-1) and y1=y+offset_y. When the processing mode is a 90° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x and y1=y+offset_y*(-1); When the processing mode is a 270° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x*(-1) and y1=y+offset_y*(-1). Where (x,y) are the original coordinates.

[0011] In some optional implementations, the step of creating and issuing the expansion and contraction gong tape file based on the target coordinates specifically includes: The target coordinates and preset production information are combined into a preset processing file and used as header information; the production information includes at least one or more of the following: base plate size, shipment size, expansion and contraction coefficient, and precautions.

[0012] According to another aspect of the present invention, an automatic tensioning belt dispensing device is provided, the device comprising: The data acquisition module is used to acquire the original coordinates and expansion / contraction data of the current base board; The offset calculation module is used to obtain the substrate center based on the original coordinates of the current base board, and to obtain the offset value based on the substrate center and the expansion and contraction data. The coordinate transformation module is used to convert the original coordinates into target coordinates based on the offset value and the preset processing mode. And a file distribution module, used to create and distribute the expansion and contraction drum tape file according to the target coordinates.

[0013] According to another aspect of the present invention, an automatic distribution device for expansion and contraction belts is provided, comprising: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; The memory is used to store at least one executable instruction that causes the processor to perform the operation of the automatic distribution of the expansion and contraction belt method described above.

[0014] According to another aspect of the present invention, a readable storage medium is provided, the storage medium storing at least one executable instruction, which, when executed on the automatic tape-distribution device as described above, causes a test code generation device to perform the operation of the automatic tape-distribution method as described above.

[0015] The present invention provides an automatic method, apparatus, device, and readable storage medium for distributing expansion and contraction tapes. Its advantages lie in the following: The method includes: acquiring the original coordinates and expansion / contraction data of the current base board; acquiring the baseboard center based on the original coordinates of the current base board, and acquiring an offset value based on the baseboard center and the expansion / contraction data; converting the original coordinates into target coordinates based on the offset value and a preset processing mode; and creating and distributing expansion and contraction tape files based on the target coordinates. This invention achieves automatic generation and distribution of expansion and contraction tape files by automating the acquisition of original coordinates, calculation of offset values, and conversion of target coordinates. This solves the problems of low efficiency, high resource consumption, and poor consistency caused by traditional methods relying on manual operation. It not only improves processing efficiency and reduces computational resource consumption but also enhances processing accuracy and consistency.

[0016] The above description is merely an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description

[0017] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A flowchart illustrating the automatic distribution method for expansion and contraction gong belts according to Embodiment 1 of the present invention is shown. Figure 2 The diagram illustrates the process of obtaining the center of the substrate based on the original coordinates of the current base board according to Embodiment 1 of the present invention. Figure 3 This diagram illustrates the process of obtaining offset values ​​based on the substrate center and expansion / contraction data in Embodiment 1 provided by the present invention. Figure 4 A flowchart illustrating the automatic distribution device for the expansion and contraction gong belt according to Embodiment 2 of the present invention is shown. Figure 5 A flowchart illustrating the automatic distribution device for the expansion and contraction gong belt provided in Embodiment 3 of the present invention is shown. Detailed Implementation

[0018] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0019] Example 1: Figure 1An embodiment of the automatic distribution method for expansion and contraction router tape of the present invention is shown, which is used in the PCB router tape manufacturing process. The method specifically includes: 110, Obtain the original coordinates and expansion / contraction data of the current base board; 120. Obtain the substrate center based on the original coordinates of the current base board, and obtain the offset value based on the substrate center and the expansion / contraction data; 130. Based on the offset value and the preset processing mode, convert the original coordinates into target coordinates; 140. Based on the target coordinates, create and issue the expansion and contraction gong belt file.

[0020] In steps 110-140, the original coordinates refer to the geometric position information recorded in the circuit board design file, which can be obtained by parsing Gerber or ODB++ format files, serving as the basic data for coordinate transformation. The substrate center refers to the geometric center point of the circuit board, which can be determined by calculating the average of all coordinate extreme values, used to establish the coordinate system reference. The offset value is the compensation amount derived from the relationship between the expansion / contraction data and the substrate center position, specifically calculated by multiplying the coordinate difference by the expansion / contraction coefficient, used to eliminate positional deviations caused by material deformation. The machining mode refers to the machining direction setting of the CNC machine tool, specifically including a standard mode and various rotation modes, adapted to different machining scenarios through preset conversion formulas. The target coordinates refer to the actual machining position after expansion / contraction compensation, specifically generated by superimposing the offset value on the original coordinates and adjusting the direction according to the machining mode, ensuring that the machining path matches the actual material deformation.

[0021] Specifically, the process begins by extracting the original coordinates and dimensional parameters from the structured file, and then determining the center position of the substrate through extreme value calculations. Subsequently, a mathematical model incorporating orientation compensation is established based on the relative positional relationship between the material's expansion and contraction coefficients and the reference point. Corresponding coordinate transformation algorithms are then applied for different processing modes; for example, in the 270-degree rotation mode, coordinate axis reverse calculations are introduced. Finally, the transformed coordinate data is integrated with production parameters to generate a standardized processing file that can directly drive CNC equipment.

[0022] Compared with existing technologies, this invention replaces manual graphic editing with mathematical modeling, eliminating reliance on specialized software. The ODB++ file parsing process, which consumes significant memory in traditional methods, is replaced by a standardized data extraction workflow, significantly reducing computational resource consumption. The coordinate transformation algorithm enables objective calculation of compensation values, avoiding processing errors caused by differences in human experience. The pre-set processing mode mechanism enables multi-scenario adaptation, offering greater flexibility compared to traditional single-processing modes.

[0023] Through the above technical solutions, this invention achieves automated generation of expansion and contraction drum tape files, reducing the traditional processing cycle of several hours to minutes. The standardized calculation process eliminates human error, ensuring high consistency in processing paths under the same expansion and contraction coefficient. The establishment of the mathematical model reduces reliance on specialized engineering software, allowing ordinary production equipment to directly process processing data. The multi-mode conversion mechanism effectively adapts to the processing direction settings of different machine tools, improving process adaptability.

[0024] In one embodiment of step 110, obtaining the original coordinates and scaling data of the current base board specifically includes: obtaining and parsing a Gerber format or ODB++ format scaling request form to obtain a 1:1 original file of the current base board, wherein the original file includes the original coordinates and scaling data of the current base board.

[0025] In embodiments of this invention, Gerber format refers to the standard file format for printed circuit board design, specifically implemented using the RS-274X extended format, which includes circuit diagrams, drill hole locations, and dimensional annotations. ODB++ format refers to an open database format manufacturing data package, specifically implemented using a layered data structure, which integrates design, process, and bill of materials information. The expansion / contraction request form is an electronic document recording substrate deformation compensation parameters, specifically implemented using XML or JSON structured formats, containing dimensional tolerances, material properties, and compensation coefficient data. The original file refers to the initial processing data before coordinate transformation, specifically implemented using binary or ASCII encoding formats, with storage precision down to the micrometer level to meet CNC machining requirements.

[0026] Specifically, during the printed circuit board manufacturing process, the system automatically reads application files in Gerber or ODB++ format to directly extract the original coordinates and expansion / contraction parameters of the substrate. For example, when an ODB++ file is received, the system calls a standard parsing interface to decompress its hierarchical directory, reads the original coordinate set from the matrix layer, and extracts the X / Y direction expansion / contraction coefficients from the parameter layer. This achieves structured extraction of processing data, replacing the traditional manual workflow of importing data layer by layer using GENESIS software and performing manual measurements. This process does not rely on memory-intensive parsing modules of specific commercial software; it directly completes data conversion through a lightweight parsing algorithm.

[0027] Through the above technical solution, this invention achieves automated acquisition of expansion and contraction compensation data, reducing the original 30-minute manual operation to seconds. Precise parsing of the standardized file format ensures consistency between the original coordinates and the expansion and contraction coefficients, eliminating the risk of human input errors. Simultaneously, it eliminates dependence on specific commercial software, enabling the system to run stably on ordinary industrial computers.

[0028] In one embodiment of step 120, the center of the substrate is obtained based on the original coordinates of the current base board, see [link to relevant documentation]. Figure 2 Specifically, it includes: 210. Sort all the original coordinates of the current base board and obtain the maximum and minimum original coordinates; 220. The center of the substrate is obtained by averaging the maximum and minimum original coordinates.

[0029] In steps 210-220, sorting the original coordinates refers to arranging the position data of all coordinate points on the base plate. This can be achieved by sorting the X-axis and Y-axis coordinates in ascending or descending order, respectively. For example, sorting the X-coordinates from smallest to largest and taking the first and last values ​​as extreme values. The maximum and minimum original coordinates refer to the maximum and minimum position values ​​of the base plate along the X and Y axes in the planar coordinate system. This can be obtained by iterating through the values ​​of all coordinate points and comparing and filtering them. Calculating the average refers to performing an arithmetic mean operation on the two values. This can be achieved by adding the maximum and minimum coordinate values ​​and then dividing by two. For example, adding the maximum and minimum values ​​in the X direction and dividing by two yields the X-coordinate of the center point.

[0030] Specifically, after obtaining all the original coordinates of the base board, the X-axis and Y-axis coordinates are first sorted, and the maximum and minimum values ​​in each direction are selected. For example, for the X-axis coordinate set, the minimum value at the beginning and the maximum value at the end are taken after sorting; the Y-axis coordinate set is processed in the same way. Then, the maximum and minimum values ​​in the X direction are added together and divided by two to obtain the X-coordinate of the base board's center point; the maximum and minimum values ​​in the Y direction are calculated in the same way to obtain the Y-coordinate of the center point. The obtained base board center coordinates accurately reflect the geometric center position of the base board, providing a reference point for subsequent expansion and contraction offset calculations.

[0031] Through the above technical solution, this invention achieves automated and accurate calculation of the substrate center coordinates, solving the technical problems of low efficiency and error-proneness in traditional manual operations. This solution can quickly generate standardized center point data, providing a reliable benchmark for subsequent expansion and contraction compensation, thereby ensuring the accuracy of the milling tape processing documents and the stability of production quality.

[0032] In one embodiment of step 120, an offset value is obtained based on the substrate center and expansion / contraction data, see [link to relevant documentation]. Figure 3 Specifically, it includes: 310. Based on the size data X*Y in the expansion and contraction data, obtain the expansion and contraction origin (origin_x, origin_y), where origin_x=X / 2, origin_y=Y / 2; 320. The offset values ​​(offset_x, offset_y) are calculated using the formulas offset_x=(origin_x-center_x)*kx and offset_y=(origin_y-center_y)*ky, where kx is the expansion coefficient in the X direction, ky is the expansion coefficient in the Y direction, and (center_x, center_y) is the center of the substrate.

[0033] In steps 310-320, the expansion and contraction data refers to a set of parameters containing the actual dimensions of the base plate and the degree of material deformation. This can be achieved by parsing numerical fields in the engineering design file, and is used to determine the calculation benchmark for the compensation amount. The expansion and contraction origin refers to the midpoint coordinates of the dimensional data, specifically achieved by taking half the length and width values ​​of the dimensional data, serving as the reference point for compensation calculation. The base plate center refers to the geometric center of all coordinate points on the base plate, specifically achieved by averaging the maximum and minimum coordinates, used to establish a symmetrical benchmark for compensation calculation. The offset value refers to the component of the compensation amount in the X and Y axis directions, specifically achieved by multiplying the expansion and contraction coefficient by the coordinate difference, used to precisely control the compensation amplitude at each coordinate point.

[0034] Specifically, after obtaining the center coordinates of the substrate, the origin of the expansion and contraction is determined by analyzing the dimensional parameters in the expansion and contraction data. Using the midpoint between the X and Y dimensions as the origin coordinates, and combining this with the difference in the substrate center coordinates, the expansion and contraction coefficients in the X and Y directions are multiplied to generate the compensation offset for each axis. In a specific example, when the base board size is 1000mm × 800mm, the origin of the expansion and contraction is determined to be (500, 400). If the substrate center coordinates are (480, 380), with expansion and contraction coefficients kx = 0.05 and ky = 0.03, the offset value is calculated as ((500-480) × 0.05, (400-380) × 0.03) = (1.0, 0.6). This calculation process automates the generation of coordinate transformation parameters through mathematical formulas, replacing manual judgment based on experience.

[0035] Through the above technical solution, this invention achieves precise calculation of the compensation offset, ensuring that the compensation amount of each coordinate point forms a strict proportional relationship with its relative position on the substrate. This technique effectively solves the problem of product size fluctuation caused by the reliance on experience in setting compensation values ​​in traditional methods, making the expansion and contraction compensation process repeatable and verifiable, and providing an accurate basis for compensation parameters for subsequent coordinate transformation.

[0036] In one embodiment of step 130, the processing mode includes any one of the following: standard processing mode, 270-degree rotation processing mode, 90-degree rotation processing mode, and 180-degree rotation processing mode.

[0037] In this embodiment, the standard machining mode refers to a machining method that performs translation compensation without rotation, specifically using coordinate axis translation, and is used to handle base plate machining requirements that do not require rotation. The 270-degree rotation machining mode refers to a machining method that rotates the base plate 270 degrees counterclockwise around the origin, specifically using coordinate axis transformation, and is used to handle machining scenarios requiring a specific angle of rotation. The 90-degree rotation machining mode refers to a machining method that rotates the base plate 90 degrees counterclockwise around the origin, specifically using coordinate axis transformation, and is used to adapt to the limitations of different equipment on the machining direction. The 180-degree rotation machining mode refers to a machining method that rotates the base plate 180 degrees around the origin, specifically using coordinate axis symmetry transformation, and is used to meet mirror machining or double-sided machining requirements.

[0038] Specifically, during coordinate transformation, the system selects the corresponding coordinate transformation rule based on the preset machining mode. For example, when the standard machining mode is selected, the original coordinates are directly corrected by translation offset values; when the rotation machining mode is selected, the original coordinates and offset values ​​are combined using coordinate transformation formulas to generate target coordinates that conform to the machining direction after rotation. Thus, the system can automatically adapt to different equipment configurations or process requirements without manual intervention in coordinate rotation calculations.

[0039] Through the above technical solution, the present invention achieves standardized configuration of processing mode, enabling the expansion and contraction compensation process to automatically adapt to processing requirements of different rotation angles, effectively reducing reliance on operator experience, and improving the accuracy of coordinate transformation and the efficiency of processing file generation.

[0040] In step 130, the original coordinates are converted into target coordinates according to the offset value and the preset processing mode, specifically including: When the processing mode is the standard translation mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x and y1=y+offset_y. When the processing mode is a 270° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x*(-1) and y1=y+offset_y. When the processing mode is a 90° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x and y1=y+offset_y*(-1); When the processing mode is a 270° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x*(-1) and y1=y+offset_y*(-1). Where (x,y) are the original coordinates.

[0041] In this embodiment of the invention, the standard translation mode refers to a coordinate transformation method that directly superimposes offset values ​​without rotation processing. Specifically, it can be implemented using a linear superposition algorithm, used for basic compensation scenarios that maintain the original coordinate direction unchanged. The 270° rotation machining mode refers to a coordinate transformation method that rotates 270 degrees counterclockwise around the origin. Specifically, it can be achieved by inverting the x-axis offset value, used to adapt to machining path adjustment requirements at specific angles. The 90° rotation machining mode refers to a coordinate transformation method that rotates 90 degrees clockwise around the origin. Specifically, it can be achieved by inverting the y-axis offset value, solving the problem of matching the expansion and contraction compensation direction under different rotation angles. The 180° rotation machining mode refers to a coordinate transformation method that rotates 180 degrees around the origin. Specifically, it can be achieved by simultaneously inverting the x-axis and y-axis offset values, meeting the coordinate transformation requirements of fully mirrored machining scenarios.

[0042] Specifically, in standard translation mode, the original coordinates are directly superimposed with the calculated x-axis and y-axis offset values, maintaining the original machining direction. When the 270° rotation machining mode is selected, the x-axis offset value is multiplied by -1, causing the compensation direction to be adjusted in the opposite direction along the x-axis, while keeping the y-axis compensation direction unchanged to adapt to the machining path after counterclockwise rotation. For the 90° rotation machining mode, the y-axis offset value is multiplied by -1, achieving coordinate compensation direction correction after clockwise rotation. In the 180° rotation machining mode, both the x-axis and y-axis offset values ​​are reversed to ensure the correct expansion and contraction compensation direction during mirror symmetry machining. Through the four preset machining modes and their corresponding mathematical formulas, coordinate transformation calculations at different rotation angles can be automatically completed without manual intervention in graphic editing operations.

[0043] Compared to existing technologies, traditional methods require engineers to manually operate specialized software for graphic rotation and translation, resulting in low efficiency and a high risk of errors. This invention automates coordinate transformation by establishing a mapping relationship between mathematical formulas and processing modes, eliminating subjective judgment errors caused by manual operation. Existing technologies require repeated adjustments to graphic elements to compensate for different rotation angles; this solution directly generates target coordinates through formulaic processing, significantly improving processing speed.

[0044] Through the above technical solution, this invention can automatically adapt to the coordinate transformation requirements of various processing modes, ensuring precise matching between the expansion / contraction compensation direction and the processing path. Pre-set mathematical formulas eliminate direction judgment errors from manual operation, improving the accuracy of the generated milling tape files. The transformation rules for different rotation modes are fixed in the algorithm, avoiding fluctuations in compensation results due to differences in engineer experience and enhancing the consistency of the processing process.

[0045] In one embodiment of step 140, the specific steps of creating and issuing the expansion and contraction sprue document based on the target coordinates include merging the target coordinates and preset production information into a preset processing document and using it as header information. The production information includes at least one or more of the following: the size of the base plate, the shipment size, the expansion and contraction coefficient, and precautions.

[0046] In this embodiment, the target coordinates refer to the machining position data obtained after coordinate transformation. Specifically, this can be achieved by using a numerical calculation module to combine the original coordinates with the offset value and the machining mode for calculation. Its function is to ensure that the machining path accurately matches the actual expansion and contraction compensation requirements. The production information refers to the set of necessary parameters related to the machining of the base plate. Specifically, this can be achieved by extracting base plate attribute data from a preset database or input interface. Its function is to provide the CNC machine tool with complete machining parameter configurations, avoiding errors caused by repeated manual input. The preset machining file refers to a template file containing standard machining instructions. Specifically, this can be achieved by using XML or a dedicated format file for structured storage. Its function is to ensure the compatibility and parsability of the machining instructions through a fixed format.

[0047] Specifically, when generating the expansion and contraction tape file, the target coordinate data is automatically embedded into the specified location in the machining file, while production information such as dimensions and expansion / contraction coefficients are written into the file header area. The machining equipment can directly obtain all machining parameters and path information by parsing this file, without manual intervention in the data integration process. For example, when the base plate's shipping dimensions are 600mm × 800mm and the X-direction expansion / contraction coefficient is 0.05%, the system will automatically calculate the offset and generate a complete machining instruction file containing these parameters.

[0048] Through the above technical solution, the present invention realizes the standardized output of processing documents, solves the problem of inconsistent parameters caused by manual operation in the traditional process, and reduces the system resource consumption through structured data integration, so that the expansion and contraction screw tape documents can be directly parsed and executed by CNC equipment, which greatly shortens the cycle from design to production.

[0049] Example 2: Figure 4 An embodiment of the automatic expansion and contraction strip delivery device of the present invention is shown. The automatic expansion and contraction strip delivery device 400 includes a data acquisition module 410, an offset calculation module 420, a coordinate transformation module 430, and a file delivery module 440. The data acquisition module is used to acquire the original coordinates and expansion and contraction data of the current base board; the offset calculation module is used to obtain the center of the base board based on the original coordinates and calculate the offset value in combination with the expansion and contraction data; the coordinate transformation module is used to convert the original coordinates into target coordinates based on the offset value and a preset processing mode; the file delivery module is used to create and deliver the expansion and contraction strip file according to the target coordinates.

[0050] In this embodiment, the data acquisition module refers to the component used to receive and process the raw data of the base board. Specifically, it can be implemented using a file parser, extracting the raw coordinate and dimension data by parsing the expansion / contraction request form in Gerber or ODB++ format. The offset calculation module refers to the unit that performs geometric calculations, specifically implemented using a coordinate processing algorithm. It determines the center of the base board by sorting the raw coordinates and calculates the coordinate offset by combining the expansion / contraction coefficient. The coordinate transformation module refers to the logical unit that implements coordinate transformation, specifically implemented using a matrix operation module, adjusting the direction of the offset value according to the rotation angle. The file distribution module refers to the output interface for generating machining files, specifically implemented using a file generator, integrating the transformed coordinates with preset parameters into a milling tape file that can be recognized by the CNC machine tool.

[0051] Specifically, the data acquisition module first parses the format file containing the base board design information, extracting the unprocessed raw coordinates and expansion / contraction parameters. The offset calculation module determines the geometric center of the substrate by sorting the extreme coordinates, and calculates the offset to be adjusted for each coordinate point by combining the dimensional parameters and orientation coefficients in the expansion / contraction data. The coordinate transformation module corrects the orientation of the offset according to the processing mode parameters; for example, it applies a sign transformation to the offset in rotary processing mode, ultimately generating target coordinates that conform to the processing direction. The file distribution module integrates the target coordinates and production parameters into a standardized processing file, which is then directly transmitted to the CNC equipment for forming operations.

[0052] Compared to existing technologies, which rely on manual operation of engineering software for graphic editing, requiring significant time for file parsing and coordinate adjustment, and consuming substantial memory resources, this invention achieves fully automated data processing through a modular architecture, eliminating manual intervention and avoiding the memory bottleneck issues of specialized software. In existing technologies, compensation value settings depend on engineer experience; this solution uses a standardized algorithm to calculate offsets, ensuring consistency of compensation parameters across different operational scenarios.

[0053] Through the above technical solution, this invention achieves automated generation and distribution of expansion and contraction drum tape files, significantly shortening the production preparation cycle and reducing reliance on specialized engineering software. By standardizing the coordinate transformation process through algorithms, individual differences caused by manual operation are eliminated, ensuring the accuracy of the forming dimensions and batch stability. CNC machine tools can directly read standardized machining files, avoiding the data distortion risks caused by file format conversion in traditional processes.

[0054] Example 3: Figure 5 The diagram shows a structural schematic of one embodiment of the automatic expansion and contraction belt dispensing device of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the automatic expansion and contraction belt dispensing device.

[0055] like Figure 5 As shown, the test code generation device may include: a processor, a communications interface, memory, and a communication bus.

[0056] The processor 510, communication interface 540, and memory 520 communicate with each other via communication bus 530. The communication interface is used to communicate with other devices, such as clients or other servers. The processor executes program 550, specifically performing the relevant steps described in the embodiment of the method for automatically distributing expansion and contraction gongs.

[0057] Specifically, a program may include program code, which includes computer-executable instructions.

[0058] The processor may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The test code generation device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0059] Memory is used to store programs. Memory may include high-speed RAM, and may also include non-volatile memory, such as at least one disk drive.

[0060] The program can be called by the processor to enable the automatic distribution of the expansion and contraction belt device. Figure 1 Steps 110-140.

[0061] Example 4: Based on any one of Embodiments 1, 2 and 3, the present invention proposes a readable storage medium storing at least one executable instruction. When the executable instruction is run on the automatic expansion and contraction ribbon device, it enables the test code generation device to perform an operation process of obtaining the original coordinates and expansion and contraction data of the current base board, calculating the center and offset value of the substrate based on the original coordinates, converting the coordinates based on the processing mode and generating the ribbon file.

[0062] Among these, readable storage media refers to physical carriers capable of persistently storing data information, such as USB flash drives, solid-state drives, or optical discs, used to store executable program code containing coordinate transformation algorithms and processing logic. Automatic distribution equipment for expanding and contracting conveyors refers to a computer system with data processing capabilities, specifically an industrial control computer configured with multi-core processors and large-capacity memory. Its communication bus architecture supports high-speed data transmission to meet real-time processing requirements. Executable instructions refer to machine code that can be directly executed by a processor, specifically by compiling control programs written in Python or C++ into binary files. This instruction set includes coordinate transformation algorithms, rotation compensation calculation modules, and file generation interfaces.

[0063] Specifically, when the storage medium is loaded into the device, the processor reads the instruction set through the communication interface and loads it into memory. The system first parses the original file in Gerber or ODB++ format to extract the base board size data and coordinate point set. The center coordinates of the substrate are calculated by averaging the extreme coordinates, and then the X / Y offsets are calculated according to the preset expansion / contraction coefficients. During the coordinate transformation stage, the system selects the corresponding rotation matrix according to the machining mode; for example, in a 270-degree rotation mode, reverse compensation is applied to the X-axis offset. The final generated router file integrates production parameters through a standardized template, forming machining code that can directly drive CNC machine tools.

[0064] Through the above technical solution, this invention achieves automated generation of expansion and contraction compensation tape files, solving the problems of low efficiency and excessive resource consumption of professional software in traditional processes. The processing logic embedded in the storage medium ensures the consistency of compensation value calculations across different batches of products, avoiding dimensional deviations caused by differences in human experience. The standardized instruction execution process reduces manual operations that originally required hours to automated processing in minutes, while also reducing reliance on expensive professional software.

[0065] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. Similarly, for the sake of brevity and to aid in understanding one or more aspects of the invention, in the description of exemplary embodiments of the invention above, various features of the embodiments are sometimes grouped together in a single embodiment, figure, or description thereof. The claims, which follow the detailed description, are hereby expressly incorporated into that detailed description, wherein each claim itself is a separate embodiment of the invention.

[0066] Those skilled in the art will understand that the modules in the device of the embodiment can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiment can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components, except that at least some of such features and / or processes or units are mutually exclusive.

[0067] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several systems, several of these systems may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.

Claims

1. A method for automatically distributing expansion and contraction gong belts, characterized in that, The method includes: Obtain the original coordinates and expansion / contraction data of the current base board; The substrate center is obtained based on the original coordinates of the current base board, and the offset value is obtained based on the substrate center and the expansion / contraction data. Based on the offset value and the preset processing mode, the original coordinates are converted into target coordinates; Based on the target coordinates, create and issue the expansion and contraction gong belt file.

2. The method for automatically distributing expansion and contraction gong belts according to claim 1, characterized in that, The acquisition of the original coordinates and expansion / contraction data of the current base board specifically includes: Obtain and parse the Gerber or ODB++ format scaling request form to obtain the original file of the current base board at a 1:1 scale. The original file includes the original coordinates and scaling data of the current base board.

3. The method for automatically distributing expansion and contraction gong belts according to claim 2, characterized in that, The center of the substrate is obtained based on the original coordinates of the current base board, specifically including: Sort all the original coordinates of the current base board and obtain the maximum and minimum original coordinates; The center of the substrate is obtained by averaging the maximum and minimum original coordinates.

4. The method for automatically distributing expansion and contraction gong belts according to claim 3, characterized in that, The offset value is obtained based on the substrate center and the expansion / contraction data, specifically including: Based on the size data X*Y in the expansion and contraction data, obtain the expansion and contraction origin (origin_x, origin_y), where origin_x=X / 2, origin_y=Y / 2; The offset values ​​(offset_x, offset_y) are calculated using the formulas offset_x=(origin_x-center_x)*kx and offset_y=(origin_y-center_y)*ky, where kx is the expansion / contraction coefficient in the X direction, ky is the expansion / contraction coefficient in the Y direction, and (center_x, center_y) is the center of the substrate.

5. The method for automatically distributing expansion and contraction gong belts according to claim 4, characterized in that, The processing mode includes any one of the following: standard processing mode, 270° rotation processing mode, 90° rotation processing mode, and 180° rotation processing mode.

6. The method for automatically distributing expansion and contraction gong belts according to claim 5, characterized in that, Based on the offset value and the preset processing mode, the original coordinates are converted into target coordinates, specifically including: When the processing mode is the standard translation mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x and y1=y+offset_y. When the processing mode is a 270° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x*(-1) and y1=y+offset_y. When the processing mode is a 90° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x and y1=y+offset_y*(-1); When the processing mode is a 270° rotation processing mode, the target coordinates (x1, y1) are calculated using the formulas x1=x+offset_x*(-1) and y1=y+offset_y*(-1). Where (x,y) are the original coordinates.

7. The method for automatically distributing expansion and contraction gong belts according to claim 1, characterized in that, The step of creating and issuing the expansion and contraction gong tape file based on the target coordinates specifically includes: The target coordinates and preset production information are combined into a preset processing file and used as header information; the production information includes at least one or more of the following: base plate size, shipment size, expansion and contraction coefficient, and precautions.

8. An automatic device for distributing expanding and contracting gong belts, characterized in that, The device includes: The data acquisition module is used to acquire the original coordinates and expansion / contraction data of the current base board; The offset calculation module is used to obtain the substrate center based on the original coordinates of the current base board, and to obtain the offset value based on the substrate center and the expansion and contraction data. The coordinate transformation module is used to convert the original coordinates into target coordinates based on the offset value and the preset processing mode. And a file distribution module, used to create and distribute the expansion and contraction drum tape file according to the target coordinates.

9. An automatic device for distributing tension and retraction belts, characterized in that, include: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction that causes the processor to perform the operation of the automatic distribution method for the expansion and contraction gong as described in any one of claims 1-7.

10. A readable storage medium, characterized in that, The storage medium stores at least one executable instruction, which, when executed on the automatic expansion and contraction belt distribution device as described in claim 9, causes the test code generation device to perform the operation of the automatic expansion and contraction belt distribution method as described in any one of claims 1-7.