Circuit board cutting control method and device
By determining the basic data of the circuit board to calculate the cutting parameters and tool movement trajectory, and using a CNC machine to perform precise cutting, it solves the problems of cumbersome and unsuitable circuit board cutting in the existing technology and achieves flexibility and efficiency.
Patent Information
- Application Number
- CN202411103211.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-13
AI Technical Summary
The existing circuit board cutting method is cumbersome and cannot adapt to circuit boards of different lengths, lacking flexibility.
By determining the basic data of the circuit board, calculating the cutting parameters and tool movement trajectory, and using the CNC gong machine to perform precise cutting, the cutting steps are simplified and applicable to circuit boards of different lengths and shapes.
The circuit board cutting steps are simplified and adaptable, and cutting efficiency and accuracy are improved.
Smart Images

Figure CN118617484B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit boards, and also to a circuit board cutting control method and device. Background Art
[0002] In the production and processing of circuit boards, a gong machine is needed to cut the circuit boards from the raw materials. Due to the safety, high efficiency and precise gong cutting characteristics of CNC gong machines, CNC gong machines are usually used to achieve precise gong cutting of circuit boards. The gong cutting method in the prior art requires positioning of the circuit board and requires multiple break positions to be reserved on the gong cutting line. After completing the gong cutting operation on most of the edge of the circuit board, each break position needs to be cut one by one. This cutting method is relatively cumbersome and cannot adapt to circuit boards of different lengths. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a circuit board cutting control method and device to simplify the circuit board cutting steps and improve adaptability.
[0004] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0005] A first aspect of the present invention provides a circuit board cutting control method, comprising:
[0006] Provide circuit boards to be cut;
[0007] Determine basic data of the circuit board according to the circuit board to be cut;
[0008] Determine cutting parameters and tool motion trajectory according to the basic data of the circuit board;
[0009] According to the cutting parameters and the tool motion trajectory, the circuit board to be cut is cut to obtain a circuit board.
[0010] Optionally, determining basic data of the circuit board according to the circuit board to be cut includes:
[0011] Determining material data of the circuit board according to the circuit board to be cut;
[0012] Measuring the circuit board to be cut to obtain thickness data of the circuit board;
[0013] Determining geometric data of the circuit board according to the circuit board to be cut;
[0014] The basic data of the circuit board is determined according to the material data of the circuit board, the thickness data of the circuit board and the geometric data of the circuit board.
[0015] Optionally, determining cutting parameters according to the circuit board basic data includes:
[0016] According to the thickness data of the circuit board, the material data of the circuit board, the preset coefficient and , the cutting speed is calculated;
[0017] According to the thickness data of the circuit board and , determine the cutting depth;
[0018] Determining cutting parameters according to the cutting speed and the cutting depth;
[0019] Among them, V is the cutting speed, C is a constant, and T is the thickness data of the circuit board. is the first preset coefficient, is the second preset coefficient, and L is the cutting depth.
[0020] Optionally, determining a tool motion trajectory according to the circuit board basic data includes:
[0021] Determine a starting point and an end point according to the geometric data of the circuit board and the thickness data of the circuit board;
[0022] Obtaining trajectory data according to the starting point, the end point and the geometric data of the circuit board;
[0023] Segmenting the trajectory data to obtain a plurality of straight line segments;
[0024] The tool motion trajectory is determined according to the plurality of straight line segments.
[0025] Optionally, determining the starting point and the end point according to the geometric data of the circuit board and the thickness data of the circuit board includes:
[0026] Determining a cutting initial position and a cutting end position according to the geometric data of the circuit board;
[0027] Determine the initial cutting height and the final cutting height according to the thickness data of the circuit board;
[0028] Determine a starting point according to the initial cutting position and the initial cutting height;
[0029] An end point is determined according to the cutting end position and the cutting end height.
[0030] Optionally, obtaining trajectory data according to the geometric data of the starting point, the end point and the circuit board includes:
[0031] Determine the number of intermediate points according to the starting point, the end point, the geometric data of the circuit board and a preset accuracy condition;
[0032] According to the number of intermediate points, interpolation processing is performed between the starting point and the end point to obtain trajectory data.
[0033] Optionally, the trajectory data is segmented to obtain a plurality of straight line segments, including:
[0034] According to the trajectory data, a parameter equation is obtained;
[0035] The step length is calculated according to the preset period and the preset speed;
[0036] Determining sampling parameters according to the preset period, the preset speed and the step size;
[0037] According to the parameter equation and the sampling parameters, a plurality of data points are obtained;
[0038] The trajectory data is segmented according to the multiple data points to obtain multiple straight line segments.
[0039] Optionally, determining the tool motion trajectory according to the plurality of straight line segments includes:
[0040] Connecting the plurality of straight line segments to obtain a straight line segment sequence;
[0041] According to the straight line segment sequence, the movement distance is calculated;
[0042] The tool movement trajectory is determined according to the movement distance.
[0043] Optionally, according to the cutting parameters and the tool motion trajectory, the circuit board to be cut is cut to obtain a circuit board, including:
[0044] Debugging the gong machine to obtain the debugged gong machine;
[0045] Input the cutting parameters and the tool motion trajectory into the debugged gong machine to obtain a gong machine with control parameters;
[0046] The circuit board to be cut is fixed on a cutting machine with control parameters for cutting to obtain a circuit board.
[0047] A second aspect of the present invention provides a circuit board cutting control device, comprising:
[0048] Providing a module for providing a circuit board to be cut;
[0049] A first processing module, used for determining basic data of the circuit board according to the circuit board to be cut;
[0050] A second processing module, used for determining cutting parameters and tool motion trajectory according to the basic data of the circuit board;
[0051] The third processing module is used to cut the circuit board to be cut according to the cutting parameters and the tool motion trajectory to obtain a circuit board.
[0052] The above solution of the present invention includes at least the following beneficial effects:
[0053] The above scheme of the present invention determines the basic data of the circuit board based on providing the circuit board to be cut, and then determines the cutting parameters and the tool motion trajectory, and then cuts the circuit board to be cut according to the cutting parameters and the tool motion trajectory, which simplifies the steps of cutting the circuit board, is suitable for cutting circuit boards of different lengths and shapes, and is conducive to improving the adaptability of the method. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 is a flow chart of a circuit board cutting control method in an embodiment of the present invention;
[0055] Figure 2 It is a structural schematic diagram of a circuit board cutting control device in an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0057] like Figure 1 As shown, an embodiment of the present invention provides a circuit board cutting control method, comprising the following steps:
[0058] Step 101, providing a circuit board to be cut;
[0059] Step 102, determining basic data of the circuit board according to the circuit board to be cut;
[0060] Step 103, determining cutting parameters and tool motion trajectory according to the circuit board basic data;
[0061] Step 104 , cutting the circuit board to be cut according to the cutting parameters and the tool motion trajectory to obtain a circuit board.
[0062] The circuit board cutting control method proposed in the embodiment of the present invention determines the basic data of the circuit board based on the circuit board to be cut, and then determines the cutting parameters and the tool motion trajectory, and then cuts the circuit board to be cut according to the cutting parameters and the tool motion trajectory, which simplifies the steps of circuit board cutting, is suitable for cutting circuit boards of different lengths and shapes, and is conducive to improving the adaptability of the method.
[0063] In an optional embodiment of the present invention, the circuit board to be cut provided in step 101 can be provided by a user. The circuit board to be cut provided includes not only providing a circuit board, but also providing some basic data of the circuit board to be cut, such as material data (such as metal, ceramic, etc.), thickness data and geometric data (such as shape, length, width, thickness, etc.) of the circuit board, which are used to subsequently determine the cutting parameters and the motion trajectory of the tool based on these data to improve cutting efficiency and adaptability.
[0064] In an optional embodiment of the present invention, step 102 includes:
[0065] Step 1021, determining material data of the circuit board according to the circuit board to be cut;
[0066] Step 1022, measuring the circuit board to be cut to obtain thickness data of the circuit board;
[0067] Step 1023, determining geometric data of the circuit board according to the circuit board to be cut;
[0068] Step 1024, determining basic data of the circuit board according to the material data of the circuit board, the thickness data of the circuit board and the geometric data of the circuit board.
[0069] Specifically, material data, thickness data, and geometric data of the circuit board are extracted from the provided circuit board to be cut, and these data are determined as basic data of the circuit board for calculation of subsequent cutting parameters and motion trajectory of the tool. Among them, the material data of the circuit board may include the material of the circuit board, such as glass fiber cloth, ceramic, steel plate, etc., which is determined according to the actual material used for the circuit board, the thickness data of the circuit board is the thickness of the circuit board, and the geometric data of the circuit board may include the length, width, and shape of the circuit board.
[0070] In an optional embodiment of the present invention, determining the cutting parameters according to the basic data of the circuit board in step 103 includes:
[0071] Step 1031, according to the thickness data of the circuit board, the material data of the circuit board, the preset coefficient and , the cutting speed is calculated;
[0072] Step 1032, based on the thickness data of the circuit board and , determine the cutting depth;
[0073] Step 1033, determining cutting parameters according to the cutting speed and the cutting depth;
[0074] Where V is the cutting speed (m / min), C is a constant (usually set to 5 to 10), T is the thickness of the circuit board (mm), is the first preset coefficient, is the second preset coefficient. The first preset coefficient and the second preset coefficient are determined according to the cutting equipment and process conditions. L is the cutting depth.
[0075] Specifically, the cutting depth needs to be determined based on the thickness of the circuit board and the type of cutter of the cutting equipment. For example, for a circuit board made of steel plate, the cutting depth should be slightly less than or equal to the thickness of the steel plate circuit board to ensure that the circuit board can be completely cut off; for a thinner (smaller) circuit board, the cutting depth is usually set to half the thickness of the circuit board or slightly larger. It should be noted that for circuit boards made of harder materials (such as steel plates) and thicker (such as more than 1mm thick) materials, slower cutting speeds and greater cutting depths are required. After determining the cutting parameters, the cutting effect can also be checked during the actual cutting process, and the cutting speed and cutting depth can be adjusted in real time according to the cutting effect to achieve efficient and accurate cutting and improve the pass rate.
[0076] In an optional embodiment of the present invention, determining the tool motion trajectory according to the circuit board basic data in step 103 includes:
[0077] Step 1034, determining a starting point and an end point according to the geometric data of the circuit board and the thickness data of the circuit board;
[0078] In an optional embodiment of the present invention, step 1034 includes:
[0079] Step 10341, determining the initial cutting position and the final cutting position according to the geometric data of the circuit board;
[0080] Specifically, according to the shape of the circuit board, the initial position of the cutting tool of the cutting device is determined to start cutting. For example, for a circuit board with a rectangular shape, the horizontal and vertical coordinates (X coordinate, Y coordinate) of the initial cutting position can be selected as the lower left corner (0,0) or the upper right corner (width, 0). The cutting end position is usually the boundary of the circuit board or the edge of a specific processing area. For example, if the length of a rectangular circuit board is 120 and the width is 55, the horizontal and vertical coordinates (X coordinate, Y coordinate) of the cutting end position can be selected as the upper right corner (100,50).
[0081] Step 10342, determining the initial cutting height and the final cutting height according to the thickness data of the circuit board;
[0082] Specifically, the axial coordinates (Z coordinates) of the initial cutting height and the final cutting height are slightly higher than the thickness of the circuit board to avoid collision. For example, the coordinates of the initial cutting position of a rectangular circuit board with a thickness of 1 mm are (0, 0, 2), and the coordinates of the final cutting position are (100, 50, 2), where 2 represents the axial coordinates of the initial cutting height and the final cutting height, which are higher than the thickness of the rectangular circuit board (1 mm).
[0083] Step 10343, determining a starting point according to the initial cutting position and the initial cutting height;
[0084] Specifically, the horizontal and vertical coordinates of the initial cutting position are used, and the initial cutting height is used as the axial coordinate. The horizontal and vertical coordinates and the axial coordinate constitute the three-dimensional coordinates of the starting point. The starting point can be determined based on the three-dimensional coordinates.
[0085] Step 10344, determining the end point according to the cutting end position and the cutting end height.
[0086] Specifically, the horizontal and vertical coordinates of the cutting end position, and the cutting end height as the axial coordinate, the horizontal and vertical coordinates and the axial coordinates constitute the three-dimensional coordinates of the end point, and the end point can be determined based on the three-dimensional coordinates.
[0087] Step 1035, obtaining trajectory data according to the starting point, the end point and the geometric data of the circuit board;
[0088] In an optional embodiment of the present invention, step 1035 includes:
[0089] Step 10351, determining the number of intermediate points according to the starting point, the end point, the geometric data of the circuit board and a preset accuracy condition;
[0090] Step 10352: perform interpolation processing between the starting point and the end point according to the number of intermediate points to obtain trajectory data.
[0091] Specifically, the preset accuracy conditions may include a preset speed and a preset period. The intermediate points and their number may be calculated based on the coordinates of the starting point, the coordinates of the end point, the preset speed and the preset period. Then, according to actual needs, all the intermediate points may be inserted between the starting point and the end point in an equidistant or unequal manner. The starting point and the intermediate points, the intermediate points and the intermediate points, and the intermediate points and the end point may be connected by straight line segments, which is the contour trajectory, i.e., trajectory data.
[0092] Specifically, first according to the starting point coordinates ( ) and the end point coordinates ( ) Calculate the slope of a straight line : .
[0093] Slope Angle with the x-axis The relationship is: ,but .
[0094] , ;
[0095] d is the distance between the start and end points: ;
[0096] is the velocity component in the x-axis direction, is the component velocity in the y-axis direction, which can be calculated by the following formula:
[0097] , .
[0098] According to the preset speed F and the preset cycle Z, the displacement increment along the x-axis and y-axis in each interpolation cycle is calculated and , , .
[0099] From the starting point ( ) starts, each interpolation is based on the displacement increment and Update the coordinate value to get the new coordinate point X ( ),in, , ,until and . All new coordinate points X ( ) as the midpoint, i is the number of midpoints.
[0100] Step 1036, segmenting the trajectory data to obtain a plurality of straight line segments;
[0101] In an optional embodiment of the present invention, step 1036 includes:
[0102] Step 10361, obtaining a parameter equation according to the trajectory data;
[0103] Here, the parametric equation of the trajectory data can be expressed in parameter form, such as x=x(u), y=y(u), where u is a parameter variable and u∈[0,1] .
[0104] Step 10362, calculating the step length according to the preset period and the preset speed;
[0105] Here, the step length B is the distance the tool moves in each preset cycle, and the step length B can be obtained by multiplying the preset cycle Z and the preset speed F, that is, B=F×Z.
[0106] Step 10363, determining sampling parameters according to the preset period, preset speed and step length;
[0107] Specifically, the sampling parameters include a preset period, a preset speed and a step length.
[0108] Step 10364, obtaining a plurality of data points according to the parameter equation and the sampling parameters;
[0109] Specifically, first determine the starting point of the trajectory according to the parametric equation of the trajectory data and the end point of the trajectory , calculate the slope of the line : ;
[0110] Slope Angle with the x-axis The relationship is: ,but .
[0111] ,
[0112] is the distance between the start and end of the trajectory:
[0113] is the component velocity in the horizontal direction, is the component velocity in the longitudinal direction, which can be calculated according to the following formula:
[0114] , .
[0115] Then, calculate the displacement increment along the horizontal and vertical axes within the preset period and , , .
[0116] Afterwards, from the starting point of the trajectory At the beginning, each interpolation is based on the displacement increment and Update the coordinate value and get the new coordinate point P ( ),in, , , until and .
[0117] Finally, all the new coordinate points P ( ) as the data points, j is the number of data points.
[0118] Step 10365: segment the trajectory data according to the multiple data points to obtain multiple straight line segments.
[0119] Specifically, the trajectory data (contour curve) is segmented into a plurality of small straight line segments using the calculated multiple data points, and each straight line segment is determined by two adjacent data points.
[0120] Step 1037, determining the tool motion trajectory according to the multiple straight line segments.
[0121] In an optional embodiment of the present invention, step 1037 includes:
[0122] Step 10371, connecting the plurality of straight line segments to obtain a straight line segment sequence;
[0123] Specifically, all straight line segments are connected in order to form a straight line segment sequence close to the original contour curve. For example, a straight line segment sequence includes , , and .
[0124] Step 10372, calculating the movement distance according to the straight line segment sequence;
[0125] Specifically, for each straight line segment in the straight line segment sequence, its length (i.e., the moving distance of the tool on the straight line segment) can be calculated by the following formula:
[0126]
[0127] in, is the length of the jth straight line segment, ( )and( ) are the starting point and end point coordinates of the jth straight line segment.
[0128] Add up the lengths of all straight line segments to get the total movement distance of the tool:
[0129]
[0130] Where D is the total movement distance of the tool and n is the total number of straight line segments.
[0131] Step 10373, determine the tool movement trajectory based on the movement distance.
[0132] Here, the tool motion trajectory is the connection of all the straight line segments in the straight line segment sequence calculated above, which can be realized by G code. For example, in G code, G01 can be used. , The command specifies the tool speed Move along a straight line to the coordinates , the code is input into the control system of the cutting equipment (such as CNC gong machine) for execution.
[0133] In an optional embodiment of the present invention, step 104 includes:
[0134] Step 1041, debugging the gong machine to obtain a debugged gong machine;
[0135] Specifically, the cutting device in this embodiment is a gong machine. Before using the gong machine, it is necessary to calibrate and debug the gong machine. Here, a sample circuit board can be cut by the gong machine first to check whether the cut circuit board meets the preset requirements. If it meets the preset requirements, the gong machine is used for subsequent cutting work. This ensures the smooth progress of the subsequent production process and improves production efficiency.
[0136] Step 1042, inputting the cutting parameters and the tool motion trajectory into the debugged gong machine to obtain a gong machine with control parameters;
[0137] Specifically, the cutting parameters and the tool motion trajectory are input into the control system of the debugged gong machine, and the control system converts the cutting parameters and the tool motion trajectory into commands (control parameters) that can be executed by the gong machine.
[0138] Step 1043, fix the circuit board to be cut on a cutting machine with control parameters to perform cutting processing to obtain a circuit board.
[0139] Here, a positioning device is used to fix the circuit board to be cut on the workbench of the gong machine, and the tool of the gong machine cuts the circuit board to be cut into the required shape and size according to the tool movement trajectory and cutting parameters.
[0140] A specific embodiment of the circuit board cutting control method of the embodiment of the present invention is:
[0141] Step 111, providing circuit boards to be cut. The circuit boards to be cut may be provided directly by a user, or provided by a providing device, and a preset number of circuit boards to be cut may be stored in the providing device.
[0142] In step 112, the circuit board to be cut includes not only the circuit board to be cut, but also some basic data of the circuit board, such as material data (such as metal, ceramic, etc.), thickness data and geometric data (such as shape, length, width, thickness, etc.) of the circuit board, and may also include the design drawing of the circuit board, etc. These basic data are extracted from the circuit board to be cut for subsequent calculation of cutting parameters and motion trajectory of the tool.
[0143] Step 113, the cutting parameters in this embodiment include cutting speed and cutting depth.
[0144] according to , calculate the cutting speed V, such as C=7, set , 0.85, for steel circuit boards of different thicknesses:
[0145] The cutting speed for 2mm circuit board is: m / min.
[0146] The cutting speed for 4mm circuit board is: m / min.
[0147] The cutting depth is determined by the type of cutting tool and the material of the circuit board. Generally, the cutting depth The range is , T is the thickness of the circuit board.
[0148] Determine the tool motion trajectory according to the following steps:
[0149] (1) Determine the starting point and end point. For a circuit board with dimensions (length, width, and height) of 120 mm × 55 mm × 1 mm and a rectangular shape, set the coordinates of the cutting start point to (0, 0, 2) and the coordinates of the end point to (100, 50, 2).
[0150] (2) Determine the contour trajectory. According to the preset cycle and preset speed, the coordinates of the starting point and the coordinates of the end point, calculate the intermediate point X ( ), and insert these coordinate points between the starting point and the end point in an equidistant manner, and connect the starting point and the middle point, the middle point and the middle point, and the middle point and the end point with straight line segments to form a contour trajectory.
[0151] (3) Segment the straight line segment. Insert multiple data points P into the contour trajectory according to step (2). ), which divides the contour trajectory into multiple straight line segments.
[0152] (4) Determine the tool motion trajectory. The multiple straight line segments in step (3) form a straight line segment sequence. The total motion distance of the tool is calculated based on the length of each straight line segment, and the distance connecting the straight line segments (the total motion distance of the tool) and the route are determined as the tool motion trajectory. The tool of the cutting device moves according to the route and total motion distance.
[0153] Step 114, cutting the circuit board to be cut.
[0154] In this embodiment, a CNC machine tool is used to cut the circuit board to be cut. Before cutting, the cutting parameters and tool motion trajectory can be input into the controller of the CNC machine tool. The cutting parameters and tool motion trajectory can be written in advance as commands that can be executed by the CNC machine tool using G code, or the controller of the CNC machine tool can convert the cutting parameters and tool motion trajectory into commands that can be executed by the CNC machine tool.
[0155] Before using the gong machine, it needs to be calibrated and debugged. Here, you can first use the gong machine to cut a sample circuit board to check whether the cut circuit board meets the preset requirements. If it meets the preset requirements, use the gong machine for subsequent cutting work.
[0156] Here, the circuit board to be cut can be fixed on the cutting machine using an air clamp or the presser foot device of the cutting machine to prevent deviation, thereby improving the cutting accuracy.
[0157] The circuit board cutting control method of the embodiment of the present invention calculates the cutting parameters and the tool motion trajectory through the circuit board to be cut and its basic data, so that the gong machine controls the tool to cut the circuit board to be cut according to the cutting parameters and the tool motion trajectory, which not only simplifies the cutting steps but also has higher cutting accuracy.
[0158] like Figure 2 As shown, the embodiment of the present invention provides a circuit board cutting control device 200, comprising:
[0159] Providing module 201, for providing a circuit board to be cut;
[0160] The first processing module 202 is used to determine the basic data of the circuit board according to the circuit board to be cut;
[0161] The second processing module 203 is used to determine the cutting parameters and the tool motion trajectory according to the basic data of the circuit board;
[0162] The third processing module 204 is used to perform cutting processing on the circuit board to be cut according to the cutting parameters and the tool motion trajectory to obtain a circuit board.
[0163] Optionally, determining basic data of the circuit board according to the circuit board to be cut includes:
[0164] Determining material data of the circuit board according to the circuit board to be cut;
[0165] Measuring the circuit board to be cut to obtain thickness data of the circuit board;
[0166] Determining geometric data of the circuit board according to the circuit board to be cut;
[0167] The basic data of the circuit board is determined according to the material data of the circuit board, the thickness data of the circuit board and the geometric data of the circuit board.
[0168] Optionally, determining cutting parameters according to the circuit board basic data includes:
[0169] According to the thickness data of the circuit board, the material data of the circuit board, the preset coefficient and , the cutting speed is calculated;
[0170] According to the thickness data of the circuit board and , determine the cutting depth;
[0171] Determining cutting parameters according to the cutting speed and the cutting depth;
[0172] Among them, V is the cutting speed, C is a constant, and T is the thickness data of the circuit board. is the first preset coefficient, is the second preset coefficient, and L is the cutting depth.
[0173] Optionally, determining a tool motion trajectory according to the circuit board basic data includes:
[0174] Determine a starting point and an end point according to the geometric data of the circuit board and the thickness data of the circuit board;
[0175] Obtaining trajectory data according to the starting point, the end point and the geometric data of the circuit board;
[0176] Segmenting the trajectory data to obtain a plurality of straight line segments;
[0177] The tool motion trajectory is determined according to the plurality of straight line segments.
[0178] Optionally, determining the starting point and the end point according to the geometric data of the circuit board and the thickness data of the circuit board includes:
[0179] Determining a cutting initial position and a cutting end position according to the geometric data of the circuit board;
[0180] Determine the initial cutting height and the final cutting height according to the thickness data of the circuit board;
[0181] Determine a starting point according to the initial cutting position and the initial cutting height;
[0182] An end point is determined according to the cutting end position and the cutting end height.
[0183] Optionally, obtaining trajectory data according to the geometric data of the starting point, the end point and the circuit board includes:
[0184] Determine the number of intermediate points according to the starting point, the end point, the geometric data of the circuit board and a preset accuracy condition;
[0185] According to the number of intermediate points, interpolation processing is performed between the starting point and the end point to obtain trajectory data.
[0186] Optionally, the trajectory data is segmented to obtain a plurality of straight line segments, including:
[0187] According to the trajectory data, a parameter equation is obtained;
[0188] The step length is calculated according to the preset period and the preset speed;
[0189] Determining sampling parameters according to the preset period, the preset speed and the step size;
[0190] According to the parameter equation and the sampling parameters, a plurality of data points are obtained;
[0191] The trajectory data is segmented according to the multiple data points to obtain multiple straight line segments.
[0192] Optionally, determining the tool motion trajectory according to the plurality of straight line segments includes:
[0193] Connecting the plurality of straight line segments to obtain a straight line segment sequence;
[0194] According to the straight line segment sequence, the movement distance is calculated;
[0195] The tool movement trajectory is determined according to the movement distance.
[0196] Optionally, according to the cutting parameters and the tool motion trajectory, the circuit board to be cut is cut to obtain a circuit board, including:
[0197] Debugging the gong machine to obtain the debugged gong machine;
[0198] Input the cutting parameters and the tool motion trajectory into the debugged gong machine to obtain a gong machine with control parameters;
[0199] The circuit board to be cut is fixed on a cutting machine with control parameters for cutting to obtain a circuit board.
[0200] The circuit board cutting control device proposed in the embodiment of the present invention determines the basic data of the circuit board based on the circuit board to be cut, and then determines the cutting parameters and the tool motion trajectory, and then cuts the circuit board to be cut according to the cutting parameters and the tool motion trajectory. It is suitable for cutting circuit boards of different lengths and shapes, which is conducive to improving the adaptability of the method.
[0201] It should be noted that the device is a device corresponding to the above method, and all implementations in the above method embodiment are applicable to the embodiment of the device and can achieve the same technical effect. This embodiment will not be repeated.
[0202] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A circuit board cutting control method, It is characterized in that include: Provide circuit boards to be cut; Determining basic data of the circuit board according to the circuit board to be cut; Determine cutting parameters and tool motion trajectory according to the basic data of the circuit board; According to the cutting parameters and the tool motion trajectory, the circuit board to be cut is cut to obtain a circuit board; Wherein, according to the circuit board to be cut, determining the basic data of the circuit board includes: Determining material data of the circuit board according to the circuit board to be cut; Measuring the circuit board to be cut to obtain thickness data of the circuit board; Determining geometric data of the circuit board according to the circuit board to be cut; Determine basic data of the circuit board according to material data of the circuit board, thickness data of the circuit board and geometric data of the circuit board; Wherein, determining the cutting parameters according to the basic data of the circuit board includes: According to the thickness data of the circuit board, the material data of the circuit board, the preset coefficient and , the cutting speed is calculated; According to the thickness data of the circuit board and , determine the cutting depth; Determining cutting parameters according to the cutting speed and the cutting depth; Among them, V is the cutting speed, C is a constant, and T is the thickness data of the circuit board. is the first preset coefficient, is the second preset coefficient, and L is the cutting depth.
2. The circuit board cutting control method according to claim 1, It is characterized in that According to the basic data of the circuit board, the tool motion trajectory is determined, including: Determine a starting point and an end point according to the geometric data of the circuit board and the thickness data of the circuit board; Obtaining trajectory data according to the starting point, the end point and the geometric data of the circuit board; Segmenting the trajectory data to obtain a plurality of straight line segments; The tool motion trajectory is determined according to the plurality of straight line segments.
3. The circuit board cutting control method according to claim 2, It is characterized in that Determining a starting point and an end point according to the geometric data of the circuit board and the thickness data of the circuit board includes: Determining a cutting initial position and a cutting end position according to the geometric data of the circuit board; Determine the initial cutting height and the final cutting height according to the thickness data of the circuit board; Determine a starting point according to the initial cutting position and the initial cutting height; An end point is determined according to the cutting end position and the cutting end height.
4. The circuit board cutting control method according to claim 2, It is characterized in that According to the geometric data of the starting point, the end point and the circuit board, trajectory data is obtained, including: Determine the number of intermediate points according to the starting point, the end point, the geometric data of the circuit board and a preset accuracy condition; According to the number of intermediate points, interpolation processing is performed between the starting point and the end point to obtain trajectory data.
5. The circuit board cutting control method according to claim 2, It is characterized in that The trajectory data is segmented to obtain a plurality of straight line segments, including: According to the trajectory data, a parameter equation is obtained; The step length is calculated according to the preset period and the preset speed; Determining sampling parameters according to the preset period, the preset speed and the step size; According to the parameter equation and the sampling parameters, a plurality of data points are obtained; The trajectory data is segmented according to the multiple data points to obtain multiple straight line segments.
6. The circuit board cutting control method according to claim 2, It is characterized in that Determining a tool motion trajectory according to the plurality of straight line segments includes: Connecting the plurality of straight line segments to obtain a straight line segment sequence; According to the straight line segment sequence, the movement distance is calculated; The tool movement trajectory is determined according to the movement distance.
7. The circuit board cutting control method according to claim 1, It is characterized in that According to the cutting parameters and the tool motion trajectory, the circuit board to be cut is cut to obtain a circuit board, including: Debugging the gong machine to obtain the debugged gong machine; Input the cutting parameters and the tool motion trajectory into the debugged gong machine to obtain a gong machine with control parameters; The circuit board to be cut is fixed on a cutting machine with control parameters for cutting to obtain a circuit board.
8. A circuit board cutting control device, It is characterized in that include: Providing a module for providing a circuit board to be cut; A first processing module, used for determining basic data of the circuit board according to the circuit board to be cut; A second processing module, used for determining cutting parameters and tool motion trajectory according to the basic data of the circuit board; A third processing module is used to cut the circuit board to be cut according to the cutting parameters and the tool motion trajectory to obtain a circuit board; Wherein, according to the circuit board to be cut, determining the basic data of the circuit board includes: Determining material data of the circuit board according to the circuit board to be cut; Measuring the circuit board to be cut to obtain thickness data of the circuit board; Determining geometric data of the circuit board according to the circuit board to be cut; Determine basic data of the circuit board according to material data of the circuit board, thickness data of the circuit board and geometric data of the circuit board; Wherein, determining the cutting parameters according to the basic data of the circuit board includes: According to the thickness data of the circuit board, the material data of the circuit board, the preset coefficient and , the cutting speed is calculated; According to the thickness data of the circuit board and , determine the cutting depth; Determining cutting parameters according to the cutting speed and the cutting depth; Among them, V is the cutting speed, C is a constant, and T is the thickness data of the circuit board. is the first preset coefficient, is the second preset coefficient, and L is the cutting depth.
