Slice positioning method of slice sampler of circuit board and slice sampler thereof
By obtaining the coordinate parameters of the target hole and positioning hole on the circuit board, establishing the positioning coordinate system and converting it to the workbench coordinate system, the automatic positioning of the circuit board and multiple slice sampling are realized, solving the traditional low slice sampling efficiency and poor positioning accuracy The problem of stability improves production efficiency.
Patent Information
- Application Number
- CN202411346562.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-12-24
AI Technical Summary
The traditional circuit board slice sampling process relies on manual positioning, with low efficiency and unstable positioning accuracy. Especially on high-integration and precision circuit boards, the target holes are small and many, resulting in time-consuming and labor-intensive operation and extremely low efficiency.
By obtaining the coordinate parameters of the target hole and the positioning hole, establishing a positioning coordinate system, and converting it to the workbench coordinate system, automatic positioning and multiple slice sampling are achieved, and manual operations are reduced.
It realizes automatic positioning and efficient sampling of circuit board slices, improves production efficiency, and reduces manual operation errors and time consumption.
Smart Images

Figure CN119178634A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of slicing positioning of circuit boards, and in particular to a slicing positioning method of a slicing sampling machine of circuit boards and the slicing sampling machine. Background Art
[0002] PCB (Printed Circuit Board) refers to a printed circuit board with point connections and printed components formed on a universal substrate according to a predetermined design. It is a support for interconnecting electronic components. Its appearance characteristics, especially its intrinsic quality characteristics, are extremely important to users. In the manufacturing process of PCB circuit boards, in order to confirm whether the produced PCB circuit boards meet the quality standards, it is often necessary to slice and sample the entire PCB circuit board, and then grind and polish the slices to analyze the key indicators of the bottom copper thickness, plating thickness, solder mask thickness, whether the resin plug hole is full, and PP layer structure of each structural part. Therefore, a PCB slicing sampler is indispensable.
[0003] The traditional slicing sampling process requires first searching for information to find the target holes that the customer needs to dissect and analyze, and then manually marking the target hole positions on the circuit board. With the development of science and technology, as the integration of circuit boards becomes higher and higher, and circuits become more and more sophisticated, more and more performance data indicators of circuit boards are required, which leads to smaller and smaller target holes, as well as buried holes, blind holes, and covered holes. The number of slices that need to be sampled on a circuit board is also increasing. In the slicing process, the fixed positioning of the circuit board is purely manual and depends on the operator's experience and skills. It is not only time-consuming and labor-intensive, but also has unstable positioning accuracy. When there are many slices that need to be sampled on the circuit board, the operator needs to repeatedly move the circuit board for positioning and take the slices one by one, which is extremely inefficient.
[0004] In summary, the existing technology obviously has inconveniences and defects in practical use, so it is necessary to improve it. Summary of the invention
[0005] In view of the above-mentioned defects, the object of the present invention is to provide a method for positioning and slicing of a circuit board slicing sampler and a slicing sampler thereof, which can automatically locate the slicing position on the circuit board and sample it, and can sample multiple slices on the circuit board after fixing the circuit board once, which is convenient and fast and improves efficiency.
[0006] In order to achieve the above object, the present invention provides a method for positioning and slicing of a circuit board slicing sampling machine, comprising:
[0007] Acquire coordinate parameters of a target hole in an original coordinate system and acquire shape data parameters of a slice, wherein the target hole is located in the slice;
[0008] Quick, improve efficiency.
[0009] In order to achieve the above object, the present invention provides a method for positioning and slicing of a circuit board slicing sampling machine, comprising:
[0010] Acquire coordinate parameters of a target hole in an original coordinate system and acquire shape data parameters of a slice, wherein the target hole is located in the slice;
[0011] Obtain coordinate parameters of at least three positioning holes on the circuit board in the original coordinate system, wherein the positioning holes are distributed on two adjacent sides of the circuit board, and straight lines are formed through the positioning holes on the same side, and the two straight lines formed on two adjacent sides are perpendicular to each other and intersect at the foot of a perpendicular, and the foot of the perpendicular is used as the zero point of the positioning coordinate system, and the original coordinate system is converted into the positioning coordinate system; or obtain coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board in the original coordinate system, and one of the vertices is used as the zero point of the positioning coordinate system, and the original coordinate system is converted into the positioning coordinate system;
[0012] Fix the circuit board on the workbench of the slicing sampler, and make the zero point of the positioning coordinate system coincide with the positioning point on the workbench, and use the coordinate parameters of the positioning point in the workbench coordinate system of the workbench as the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench;
[0013] Converting the positioning coordinate system into a workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system;
[0014] According to the coordinate parameters of the target hole in the original coordinate system and the shape data parameters of the slice, based on the workbench coordinate system, the coordinate parameters of the shape of the slice in the workbench coordinate system are generated.
[0015] According to the method for positioning and slicing of the circuit board slicing sampler, the shape of the slice can be selected as a rectangle, and the coordinate parameters of the shape of the slice in the workbench coordinate system include the coordinate parameters of the four vertices of the rectangle in the workbench coordinate system.
[0016] According to the positioning slicing method of the circuit board slicing sampling machine, the shape data parameters of the slices include a slice height and a slice width.
[0017] According to the method for positioning and slicing of the circuit board slicing sampler, the shape data parameters also include at least one of the following: grinding height, connection point height, and knife diameter of the sampling knife of the slicing sampler. The connection point height is the distance between the knife closing point of the sampling knife and the edge of the slice, and according to the connection point height, the coordinate parameters of the obtained slice shape in the workbench coordinate system include the coordinate parameters of the knife closing point.
[0018] According to the positioning and slicing method of the circuit board slicing sampler, the coordinate parameters of at least three positioning holes on the circuit board in the original coordinate system are obtained, the positioning holes are distributed on two adjacent sides of the circuit board, and straight lines are formed through the positioning holes on the same side. The two straight lines formed on the two adjacent sides are perpendicular to each other and intersect at the foot of the perpendicular. The foot of the perpendicular is used as the zero point of the positioning coordinate system, and the original coordinate system is converted into the positioning coordinate system, including:
[0019] Obtain the coordinate parameters of the four positioning holes on the circuit board in the original coordinate system, wherein the coordinate parameters of the two positioning holes located on the same side in the original coordinate system are K1 (X1, Y1) and K2 (X2, Y2), and the coordinate parameters of the two positioning holes located on adjacent sides in the original coordinate system are K3 (X3, Y3) and K4 (X4, Y4), then the coordinate parameter of the foot of the perpendicular in the original coordinate system is K0 (X0, Y0), and satisfies the first relationship X1 = X2 = X0 and the second relationship Y3 = Y4 = Y0; take the foot of the perpendicular as the zero point of the positioning coordinate system, through the third relationship Q x0 =C x0 -X0, and the fourth relation Q y0 =C y0 -Y0, the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ).
[0020] According to the positioning and slicing method of the circuit board slicing sampler, the step of obtaining the coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board in the original coordinate system, taking one of the vertices as the zero point of the positioning coordinate system, and converting the original coordinate system into the positioning coordinate system comprises:
[0021] Obtain four tangent points formed by the four sides of the circumscribed rectangle of the circuit board being tangent to the circuit board, and obtain coordinate parameters A1(A2) of the four tangent points in the original coordinate system. x1 , A y1 )、A2(A x2 , A y2)、A3(A x3 , A y3 ) and A4(A x4 , A y4 ), where A x1 is the minimum value of the coordinate point of the circuit board on the X-axis in the original coordinate system, A x3 is the maximum value of the coordinate point of the circuit board on the X-axis in the original coordinate system, A y2 is the minimum value of the coordinate point of the circuit board on the Y axis in the original coordinate system and A y4 is the maximum value of the coordinate point of the circuit board on the Y axis in the original coordinate system;
[0022] The coordinate parameters of the four vertices of the circumscribed rectangle of the circuit board in the original coordinate system are D1(D x1 , D y1 )、D2(D x2 , D y2 )、D3(D x3 , D y3 ) and D4(D x4 , D y4 ), which satisfies the fifth relation D x1 =D x4 =A x1 、The sixth relation D y1 =D y2 =A y2 、The seventh relation D x2 =D x3 =A x3 And the eighth relation D y3 =D y4 =A y4 ;
[0023] If D1(D x1 , D y1 ) as the zero point of the positioning coordinate system, through the ninth relational formula Q x0 =C x0 -D x1 , and the tenth relation Q y0 =C y0 -D y1 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 );
[0024] If D2(D x2 , D y2) as the zero point of the positioning coordinate system, through the eleventh relational expression Q x0 =C x0 -D2, and the twelfth relation Q y0 =C y0 -D y2 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 );
[0025] If D3(D x3 , D y3 ) as the zero point of the positioning coordinate system, through the thirteenth relationship Q x0 =C x0 -D x3 , and the fourteenth relation Q y0 =C y0 -D y3 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 );
[0026] If D4(D x4 , D y4 ) as the zero point of the positioning coordinate system, through the fifteenth relational formula Q x0 =C x0 -D x4 , and the sixteenth relation Q y0 =C y0 -D y4 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ).
[0027] According to the positioning and slicing method of the circuit board slicing sampler, the conversion of the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system includes:
[0028] The coordinate parameter of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench is P0(P x0 , P y0), the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is θ, and the second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is θ, and the first angle is equal to the second angle, then through the seventeenth relationship G x0 =Q x0 ×cos(θ)+Q y0 ×sin(θ)+P x0 , and the eighteenth relation G y0 =Q y0 ×cos(θ)-Q x0 ×sin(θ)+P y0 , the coordinate point Q(Q x0 , Q y0 ) is converted into the workbench coordinate system, and its corresponding coordinate point in the workbench coordinate system is obtained as G(G x0 , G y0 ).
[0029] According to the positioning and slicing method of the circuit board slicing sampler, the conversion of the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system includes:
[0030] The coordinate parameter of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench is M0(M x0 , M y0 ), the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is θ, and the second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is θ, and the first angle is equal to the second angle, then through the nineteenth relationship G x0 =Q x0 ×cos(θ)+Q y0 ×sin(θ)+M x0 , and the twentieth relation G y0 =Q y0 ×cos(θ)-Q x0 ×sin(θ)+M y0 , the coordinate point Q(Q x0 , Q y0 ) is converted into the workbench coordinate system, and its corresponding coordinate point in the workbench coordinate system is obtained as G(G x0 , G y0 ).
[0031] According to the positioning and slicing method of the circuit board slicing sampler, the sampling knife of the slicing sampler works in the workbench coordinate system, and cuts the circuit board and obtains the slice according to the coordinate parameters of the slice's shape in the workbench coordinate system.
[0032] In order to achieve the above object, the present invention also provides a slicing sampler for realizing the positioning slicing method of the slicing sampler of the circuit board described in any one of the above items, comprising a workbench, a first fixing device and / or a second fixing device, a parameter input device and a sampling knife;
[0033] The first fixing device is used to fix the circuit board on the workbench, and the first fixing device includes a first guide rail and a second guide rail respectively installed on two adjacent sides of the workbench, and the first guide rail and the second guide rail are perpendicular to each other; a first slider is provided on the first guide rail, and each of the first sliders is provided with a first positioning pin for penetrating into the positioning hole of the circuit board; a second slider is provided on the second guide rail, and each of the second sliders is provided with a second positioning pin for penetrating into the positioning hole of the circuit board; the total number of the first slider and the second slider is at least three; a first connecting line is formed through the center of each first positioning pin, and a second connecting line is formed through the center of each second positioning pin, the first connecting line and the second connecting line are perpendicular to each other, and the intersection of the first connecting line and the second connecting line is the positioning point on the workbench;
[0034] The second fixing device is used to fix the circuit board on the workbench, and the second fixing device includes a first straight baffle, a second straight baffle, a lower pressure plate and a lower pressure cylinder; the first straight baffle and the second straight baffle are installed on two adjacent sides of the workbench; the inner edge line of the first straight baffle and the inner edge line of the second straight baffle are perpendicular to each other, and the intersection of the inner edge line of the first straight baffle and the inner edge line of the second straight baffle is the positioning point on the workbench; the lower pressure plate is provided on the first straight baffle and / or the second straight baffle, and the lower pressure plate is drivingly connected to the lower pressure cylinder, and the lower pressure cylinder drives the lower pressure plate to move closer to or away from the workbench;
[0035] The parameter input device is used to input the coordinate parameters of the target hole of the circuit board in the original coordinate system and the shape data parameters of the slice, and is also used to input the coordinate parameters of at least three positioning holes on the circuit board in the original coordinate system or the coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board in the original coordinate system; each positioning hole is distributed on two adjacent sides of the circuit board, and a straight line is formed by passing through the positioning holes on the same side. The two straight lines formed on the two adjacent sides are perpendicular to each other and intersect at the foot of the perpendicular. The parameter input device can obtain the coordinate parameters of the foot of the perpendicular in the original coordinate system according to the coordinate parameters of each positioning hole in the original coordinate system, and use the foot of the perpendicular as the zero point of the positioning coordinate system to convert the original coordinate system into the positioning coordinate system; Or the parameter input device is used to convert the original coordinate system into the positioning coordinate system according to the coordinate parameters of the vertex of the circumscribed rectangle of the circuit board as the zero point of the positioning coordinate system in the original coordinate system; the parameter input device is also used to convert the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system; the parameter input device is also used to generate the coordinate parameters of the shape of the slice in the workbench coordinate system based on the workbench coordinate system according to the coordinate parameters of the target hole in the original coordinate system and the shape data parameters of the slice, and locate the slice in the workbench coordinate system; or
[0036] The parameter input device is used to input the coordinate parameters of the slice shape in the workbench coordinate system to position the slice in the workbench coordinate system;
[0037] The sampling knife works in the workbench coordinate system, and is used to cut the circuit board and obtain the slices after the slices on the circuit board are positioned in the workbench coordinate system.
[0038] The present invention obtains the coordinate parameters of the target hole and at least three positioning holes in the original coordinate system, and each positioning hole meets the preset conditions. After the zero point of the positioning coordinate system is determined by each positioning hole, the original coordinate system can be converted to the positioning coordinate system. It is also possible to obtain the coordinate parameters of the vertices of the circumscribed rectangle of the circuit board in the original coordinate system, and after the vertex is used as the zero point of the positioning coordinate system, the original coordinate system can be converted to the positioning coordinate system. Since the zero point of the positioning coordinate system is located at the positioning point of the workbench (and the coordinate parameters of the workbench coordinate system of the positioning point of the workbench can be measured), the positioning coordinate system is converted to the workbench coordinate system, so that the points in the original coordinate system (including the target hole) can be converted to the workbench coordinate system, and then the coordinates of the slice shape in the workbench coordinate system are obtained through the slice shape data. Specifically, the coordinate parameters of the target hole in the original coordinate system (multiple ones can be obtained) and the coordinate parameters of at least three positioning holes in the original coordinate system or the coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board in the original coordinate system are obtained. If the foot of the perpendicular determined by each positioning hole that meets the preset conditions is used as the zero point of the positioning coordinate system, the coordinate parameters of the foot of the perpendicular in the original coordinate system can be obtained according to the coordinate parameters of each positioning hole in the original coordinate system, and the original coordinate system only needs to be translated to be converted to the positioning coordinate system, so that the original coordinate system can be converted to the positioning coordinate system through the above conditions. Alternatively, if one of the vertices of the circumscribed rectangle of the circuit board is used as the zero point of the positioning coordinate system, and the coordinate parameters of the vertex in the original coordinate system are known, and the original coordinate system only needs to be translated to be converted to the positioning coordinate system, so that the original coordinate system can be converted to the positioning coordinate system through the above conditions. When the zero point of the positioning coordinate system is obtained by the positioning hole that meets the preset conditions or by taking the vertex of the circumscribed rectangle of the circuit board as the zero point of the positioning coordinate system, and when the circuit board is fixed to the workbench by the fixing device of the slice sampling machine, the zero point of the positioning coordinate system can be coincident with the positioning point on the workbench, and the coordinate parameters of the positioning point in the workbench coordinate system can be physically measured, thereby obtaining the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system, and then converting the positioning coordinate system into the workbench coordinate system, and then calculating the coordinate parameters of the target hole in the workbench coordinate system. In addition, since the target hole is located in the slice, the shape data parameters of the slice determine the position information between the target hole and the slice, so that the coordinate parameters of the shape of the slice can be determined according to the coordinate parameters of the target hole, which can determine the coordinate parameters of the shape of the slice in any coordinate system, for example, according to the coordinate parameters of the target hole in the original coordinate system and the shape data parameters of the slice, the coordinate parameters of the shape of the slice in the original coordinate system can be determined in the original coordinate system, and then finally converted into the coordinate parameters of the shape of the slice in the workbench coordinate system through the conversion of the coordinate system.The coordinate parameters of the target hole in the workbench coordinate system can also be obtained based on the coordinate parameters of the target hole in the original coordinate system, and then the coordinate parameters of the slice shape in the workbench coordinate system are generated based on the slice shape data parameters. The slice shape can be selected as a rectangle, so it is only necessary to obtain the coordinate parameters of the four vertices of the rectangle in the workbench coordinate system as the coordinate parameters of the slice shape in the workbench coordinate system, so that the sampling knife of the slice sampler working in the workbench coordinate system can locate and cut the slice. In this way, the present invention can automatically locate the slice position on the circuit board and sample it, and after fixing the circuit board once, multiple slices on the circuit board can be sampled, which is convenient and fast, and improves efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of a method for positioning and slicing of a circuit board slicing sampling machine according to an embodiment of the present invention;
[0040] Figure 2 is a schematic structural diagram of a slice according to an embodiment of the present invention;
[0041] Figure 3 is a schematic structural diagram of a circuit board with positioning holes according to an embodiment of the present invention;
[0042] Figure 4 is a schematic structural diagram of a rectangular circuit board according to an embodiment of the present invention;
[0043] Figure 5 is a schematic structural diagram of a non-rectangular circuit board according to an embodiment of the present invention;
[0044] Figure 6 is a schematic diagram of the angle between the positioning coordinate system and the workbench coordinate system according to an embodiment of the present invention, wherein the solid line represents the positioning coordinate system and the dotted line represents the workbench coordinate system;
[0045] Figure 7 It is a structural schematic diagram of a slice sampling machine according to an embodiment of the present invention;
[0046] Figure 8 is a schematic structural diagram of a first fixing device according to an embodiment of the present invention being arranged on a workbench;
[0047] Fig. 9A It is a schematic structural diagram of a first fixing device according to an embodiment of the present invention fixing a circuit board on a workbench;
[0048] Fig. 9B The present invention Fig. 9A A partial enlarged schematic diagram of
[0049] Fig.10It is a schematic structural diagram of a first straight baffle and a second straight baffle in a second fixing device according to an embodiment of the present invention being arranged on a workbench;
[0050] Fig.11 yes Fig.10 A partial enlarged schematic diagram of
[0051] Fig. 12A It is a structural schematic diagram of a second fixing device according to an embodiment of the present invention fixing a rectangular circuit board on a workbench;
[0052] Fig. 12B The present invention Fig. 12A A partial enlarged schematic diagram of
[0053] Fig.13 It is a structural schematic diagram of a second fixing device according to an embodiment of the present invention fixing a non-rectangular circuit board on a workbench;
[0054] Fig.14 It is a partially enlarged schematic diagram of a second fixing device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0056] It should be noted that references to "one embodiment", "embodiment", "example embodiment", etc. in this specification refer to the embodiment described, which may include specific features, structures or characteristics, but not every embodiment must include these specific features, structures or characteristics. In addition, such expressions do not refer to the same embodiment. Furthermore, when describing specific features, structures or characteristics in conjunction with an embodiment, whether or not there is an explicit description, it has been shown that it is within the knowledge of those skilled in the art to combine such features, structures or characteristics into other embodiments.
[0057] In addition, certain words are used in the specification and subsequent claims to refer to specific components or parts. Those with ordinary knowledge in the relevant field should understand that manufacturers can use different nouns or terms to refer to the same component or part. This specification and subsequent claims do not use differences in names as a way to distinguish components or parts, but use differences in the functions of components or parts as the criteria for distinction. "Including" and "including" mentioned throughout the specification and subsequent claims are open-ended terms and should be interpreted as "including but not limited to". In addition, the word "connected" here includes any direct and indirect electrical connection means. Indirect electrical connection means include connection through other devices.
[0058] See also Figure 1 In one embodiment of the present invention, a method for positioning and slicing of a circuit board slicing sampling machine is provided, comprising:
[0059] Step S101, obtaining coordinate parameters of a target hole in an original coordinate system and obtaining shape data parameters of a slice 10, wherein the target hole is located in the slice 10;
[0060] Step S102, obtaining coordinate parameters of at least three positioning holes on the circuit board 100 in the original coordinate system, the positioning holes are distributed on two adjacent sides of the circuit board 100, and a straight line is formed through the positioning holes on the same side. The two straight lines formed on the two adjacent sides are perpendicular to each other and intersect at the foot of the perpendicular. The foot of the perpendicular is used as the zero point of the positioning coordinate system, and the original coordinate system is converted into the positioning coordinate system; or obtaining coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board 100 in the original coordinate system, and one of the vertices is used as the zero point of the positioning coordinate system, and the original coordinate system is converted into the positioning coordinate system;
[0061] Step S103, fixing the circuit board 100 on the workbench of the slicing sampler, and making the zero point of the positioning coordinate system coincide with the positioning point on the workbench, and taking the coordinate parameters of the positioning point in the workbench coordinate system of the workbench as the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench;
[0062] Step S104, converting the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system and the angle between the positioning coordinate system and the workbench coordinate system;
[0063] Step S105 , generating coordinate parameters of the shape of the slice 10 in the workbench coordinate system based on the workbench coordinate system according to the coordinate parameters of the target hole in the original coordinate system and the shape data parameters of the slice 10 .
[0064] In this embodiment, the circuit board 100 is a PCB circuit board, and the target hole is a position on the circuit board 100 that needs to be analyzed for its internal structure after grinding and polishing. Before this, the circuit board 100 needs to be sampled to obtain a slice 10 containing the target hole. The circuit board 100 is sampled by a slice sampler, and the circuit board 100 is fixed on the workbench of the slice sampler, and the sampling knife of the slice sampler runs in the workbench coordinate system, so that after obtaining the coordinate parameters of the shape of the slice 10 in the workbench coordinate system, the sampling knife of the slice sampler can be positioned on the slice 10 containing the target hole of the circuit board 100. There can be multiple target holes. After the circuit board 100 is fixed to the workbench, multiple slices 10 can be obtained in sequence, reducing manual workload, reducing manual errors, and improving productivity. Specifically, the original coordinate system can be a custom coordinate system. By obtaining the coordinate parameters of the target hole and at least three positioning holes in the original coordinate system, each positioning hole meets the preset conditions. After determining the zero point of the positioning coordinate system through each positioning hole, the original coordinate system can be converted to the positioning coordinate system. The original coordinate system can also be converted to the positioning coordinate system by obtaining the coordinate parameters of the vertex of the circumscribed rectangle of the circuit board 100 in the original coordinate system and using the vertex as the zero point of the positioning coordinate system. Since the zero point of the positioning coordinate system is located at the positioning point of the workbench (and the coordinate parameters of the positioning point of the workbench in the workbench coordinate system can be measured), the positioning coordinate system is converted to the workbench coordinate system, so that the points in the original coordinate system (including the target hole) can be converted to the workbench coordinate system, and then the coordinates of the shape of the slice 10 in the workbench coordinate system are obtained through the shape data of the slice 10. Specifically, by obtaining the coordinate parameters of the target hole in the original coordinate system and the coordinate parameters of at least three positioning holes in the original coordinate system or the coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board 100 in the original coordinate system, if the foot of the perpendicular determined by each positioning hole that meets the preset conditions is used as the zero point of the positioning coordinate system, the coordinate parameters of the foot of the perpendicular in the original coordinate system can be obtained according to the coordinate parameters of each positioning hole in the original coordinate system, and the original coordinate system only needs to be translated to be converted to the positioning coordinate system, so that the original coordinate system can be converted to the positioning coordinate system through the above conditions. Alternatively, if one of the vertices of the circumscribed rectangle of the circuit board 100 is used as the zero point of the positioning coordinate system, and the coordinate parameters of the vertex in the original coordinate system are known, and the original coordinate system only needs to be translated to be converted to the positioning coordinate system, so that the original coordinate system can be converted to the positioning coordinate system through the above conditions, thereby converting the coordinate parameters of the target hole in the original coordinate system into the coordinate parameters of the positioning coordinate system.When the zero point of the positioning coordinate system is obtained by a positioning hole that meets the preset conditions or by taking the vertex of the circumscribed rectangle of the circuit board 100 as the zero point of the positioning coordinate system, and when the circuit board 100 is fixed to the workbench by the fixing device of the slice sampler, the zero point of the positioning coordinate system determined by the above method can be coincident with the positioning point on the workbench, and the coordinate parameters of the positioning point in the workbench coordinate system can be physically measured, so that the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system can be determined, and then the positioning coordinate system is converted into the workbench coordinate system, and then the coordinate parameters of the target hole in the workbench coordinate system are calculated. In addition, since the target hole is located in the slice 10, the shape data parameters of the slice 10 determine the position information between the target hole and the slice 10, so that the coordinate parameters of the shape of the slice 10 can be determined according to the coordinate parameters of the target hole. The coordinate parameters of the shape of the slice 10 can be determined in any coordinate system. For example, the coordinate parameters of the shape of the slice 10 in the original coordinate system can be determined in the original coordinate system according to the coordinate parameters of the target hole in the original coordinate system and the shape data parameters of the slice 10, and then finally converted into the coordinate parameters of the shape of the slice 10 in the workbench coordinate system through the conversion of the coordinate system. It is also possible to obtain the coordinate parameters of the target hole in the workbench coordinate system according to the coordinate parameters of the target hole in the original coordinate system, and then generate the coordinate parameters of the shape of the slice 10 in the workbench coordinate system based on the shape data parameters of the slice 10. The shape of the slice 10 can be selected as a rectangle, so that only the coordinate parameters of the four vertices of the rectangle in the workbench coordinate system need to be obtained as the coordinate parameters of the shape of the slice 10 in the workbench coordinate system, so that the sampling knife of the slice sampling machine running in the workbench coordinate system can locate the slice 10 and cut and sample it. If there is a process edge on the circuit board 100, and there is a positioning hole on the process edge, the positioning hole can be used to implement a method for determining the zero point of the positioning coordinate system through the positioning hole, or at least three positioning holes that meet the conditions are drilled manually on the edges of the two adjacent sides of the circuit board 100. Alternatively, regardless of whether the circuit board 100 has a positioning hole, regardless of whether the circuit board 100 is rectangular or non-rectangular, the zero point of the positioning coordinate system can be determined by obtaining the vertices of the circumscribed rectangle of the circuit board 100. There may be an angle between the positioning coordinate system and the workbench coordinate system, and the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system, the X-axis of the positioning coordinate system rotates counterclockwise to an angle that coincides with the X-axis of the workbench coordinate system. The second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system, the Y-axis of the positioning coordinate system rotates counterclockwise to an angle that coincides with the Y-axis of the workbench coordinate system. When the positioning coordinate system is rotated and translated to coincide with the workbench coordinate system, the first angle is equal to the second angle.When the positioning coordinate system is flipped symmetrically about the X-axis and translated to coincide with the workbench coordinate system, the second angle is the degree of the first angle plus 180°. When flipped symmetrically about the Y-axis, the first angle is similarly the degree of the second angle plus 180°. The first angle and the second angle can be obtained by physical measurement. In actual operation, the circuit board can be first fixed on the slice sampler. The fixing device designed by the slice sampler can make the foot of the perpendicular or the vertex of the circumscribed rectangle determined by the positioning hole of the circuit board 100 coincide with the positioning point of the workbench, and then the original coordinate system is constructed. If the constructed original coordinate system also uses the positioning point as the zero point, the original coordinate system coincides with the positioning coordinate system, which simplifies the process of converting the original coordinate system to the positioning coordinate system. If the original coordinate system is constructed by establishing the X-axis and Y-axis in parallel with the two mutually perpendicular straight lines formed by the fixture designed for the slice sampler, the first angle can be obtained by the angle between the X-axis of the workbench coordinate system where the sampling knife of the slice sampler runs and the corresponding straight line formed by the fixture, and the second angle can be obtained by the angle between the Y-axis of the workbench coordinate system and the corresponding straight line formed by the fixture. The first angle and the second angle thus obtained are fixed and known, and there is no need to re-measure the first angle and the second angle every time a new circuit board is replaced for sampling. In order to facilitate measurement and calculation, when customizing the original coordinate system, it can be defined according to the workbench coordinate system, so that the positioning coordinate system can be rotated and translated to coincide with the workbench coordinate system without flipping, so as to facilitate the measurement and calculation of the first angle and the second angle, and also to simplify the coordinate system transformation process. See. Figure 6 , Figure 6 It shows that the positioning coordinate system can be rotated and translated to coincide with the workbench coordinate system, and the first angle is equal to the second angle, both of which are θ.
[0065] As an optional embodiment, the shape of the slice 10 can be a rectangle, and the coordinate parameters of the shape of the slice 10 in the workbench coordinate system include the coordinate parameters of the four vertices of the rectangle in the workbench coordinate system. Of course, the shape of the slice 10 can also be other polygons. If it is other polygons, the coordinate parameters of each vertex of the polygon in the workbench coordinate system are obtained.
[0066] As an alternative embodiment, see Figure 2, the shape data parameters of the slice 10 include the height H1 of the slice 10 and the width W of the slice 10. Optionally, the shape data parameters also include at least one of the following: grinding height H2, connection point height H3 and knife diameter R of the sampling knife of the slice sampler. In order to meet the grinding requirements in the grinding process, the grinding height H2 can also be set, and the grinding height refers to the distance between the grinding line of the target hole and the edge of the slice 10. The knife diameter R can also be set. If the sampling knife of the slice sampler is replaced, the knife diameter of the sampling knife needs to be reset, that is, the diameter or radius of the sampling knife needs to be set. The sampling knife is positioned with the coordinate parameters of its center point position, and is positioned in combination with the diameter or radius of the sampling knife and other shape data parameters of the slice 10, so that the knife diameter of the sampling knife can be prevented from affecting the height and width of the slice 10 during sampling. The connection point height refers to the distance between the edge of the slice 10 and the knife collection point, which can be set according to demand. If the connection point height is set, the coordinate parameters of the shape of the generated slice 10 include the coordinate parameters of the knife collection point.
[0067] As an optional embodiment, the coordinate parameters of at least three positioning holes on the circuit board 100 in the original coordinate system are obtained, the positioning holes are distributed on two adjacent sides of the circuit board 100, and a straight line is formed by passing through the positioning holes on the same side. The two straight lines formed on the two adjacent sides are perpendicular to each other and intersect at the foot of the perpendicular. The foot of the perpendicular is used as the zero point of the positioning coordinate system. Converting the original coordinate system into the positioning coordinate system includes:
[0068] Obtain the coordinate parameters of the four positioning holes on the circuit board 100 in the original coordinate system, wherein the coordinate parameters of the two positioning holes located on the same side in the original coordinate system are K1 (X1, Y1) and K2 (X2, Y2), and the coordinate parameters of the two positioning holes located on the adjacent sides in the original coordinate system are K3 (X3, Y3) and K4 (X4, Y4), then the coordinate parameter of the foot of the perpendicular in the original coordinate system is K0 (X0, Y0), and satisfies the first relationship X1 = X2 = X0 and the second relationship Y3 = Y4 = Y0; take the foot of the perpendicular K0 (X0, Y0) as the zero point of the positioning coordinate system, through the third relationship Q x0 =C x0 -X0, and the fourth relation Q y0 =C y0 -Y0, the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and its corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ).
[0069] In this embodiment, for a circuit board 100 with positioning holes, that is, the edges of the four sides of the circuit board 100 have process edges, and the positioning holes are distributed on the process edges, the coordinate parameters of three or more positioning holes on two adjacent sides in the original coordinate system are obtained. The selected positioning holes must be distributed on two adjacent sides, and cannot be distributed on the same side or on two opposite sides. The selected positioning holes meet the condition that the straight line through the center of the positioning hole and the straight line through the center of the positioning hole on the adjacent side form a right angle. The vertical point of these two straight lines can be used as the zero point of the positioning coordinate system. See Figure 3 In the original coordinate system, K1 (X1, Y1), K2 (X2, Y2), K3 (X3, Y3) and K4 (X4, Y4) are the coordinate parameters of the center of each positioning hole. x0 , C y0 ) is any point on the circuit board 100, for example, it can be the coordinate parameter of the center of the target hole. K1 (X1, Y1) and K2 (X2, Y2) can be two positioning holes located on the left side of the circuit board 100; K3 (X3, Y3) and K4 (X4, Y4) can be positioning holes located on the lower side of the circuit board 100. The straight line L11 passing through K1 (X1, Y1) and K2 (X2, Y2) intersects with the straight line L21 passing through K3 (X3, Y3) and K4 (X4, Y4) at the foot of the perpendicular. The coordinate parameter of the foot of the perpendicular in the original coordinate system is K0 (X0, Y0). The foot of the perpendicular is used as the zero point of the positioning coordinate system. Since the original coordinate system is converted to the positioning coordinate system by only translation, the coordinate parameters in the original coordinate system can be converted to the corresponding coordinate parameters in the positioning coordinate system through the third and fourth relationship equations.
[0070] As an optional embodiment, obtaining coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board 100 in the original coordinate system, taking one of the vertices as the zero point of the positioning coordinate system, and converting the original coordinate system into the positioning coordinate system includes:
[0071] Obtain four tangent points formed by the four sides of the circumscribed rectangle of the circuit board 100 being tangent to the circuit board 100, and obtain the coordinate parameters A1 (A2) of the four tangent points in the original coordinate system. x1 , A y1 )、A2(A x2 , A y2 )、A3(A x3 , A y3 ) and A4(A x4 , A y4 ), where A x1 A is the minimum value of the coordinate point of the circuit board 100 on the X-axis in the original coordinate system, x3 A is the maximum value of the coordinate point of the circuit board 100 on the X-axis in the original coordinate system, y2is the minimum value of the coordinate point of the circuit board 100 on the Y axis in the original coordinate system and A y4 is the maximum value of the coordinate point of the circuit board 100 on the Y axis in the original coordinate system;
[0072] The coordinate parameters of the four vertices of the circumscribed rectangle of the circuit board 100 in the original coordinate system are D1(D x1 , D y1 )、D2(D x2 , D y2 )、D3(D x3 , D y3 ) and D4(D x4 , D y4 ), which satisfies the fifth relation D x1 =D x4 =A x1 、The sixth relation D y1 =D y2 =A y2 、The seventh relation D x2 =D x3 =A x3 And the eighth relation D y3 =D y4 =A y4 ;
[0073] If D1(D x1 , D y1 ) as the zero point of the positioning coordinate system. Since the conversion of the original coordinate system to the positioning coordinate system is a translation relationship, through the ninth relationship Q x0 =C x0 -D x1 , and the tenth relation Q y0 =C y0 -D y1 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and its corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 );
[0074] If D2(D x2 , D y2 ) is used as the zero point of the positioning coordinate system. Since the conversion of the original coordinate system to the positioning coordinate system is a translation relationship, through the eleventh relation Q x0 =C x0 -D x2 , and the twelfth relation Q y0 =C y0 -D y2 , the coordinate point C(C x0 , Cy0 ) is converted into the positioning coordinate system, and its corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 );
[0075] If D3(D x3 , D y3 ) is used as the zero point of the positioning coordinate system. Since the conversion of the original coordinate system to the positioning coordinate system is a translation relationship, through the thirteenth relationship Q x0 =C x0 -D x3 , and the fourteenth relation Q y0 =C y0 -D y3 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and its corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 );
[0076] If D4(D x4 , D y4 ) is used as the zero point of the positioning coordinate system. Since the conversion of the original coordinate system to the positioning coordinate system is a translation relationship, through the fifteenth relationship Q x0 =C x0 -D x4 , and the sixteenth relation Q y0 =C y0 -D y4 , the coordinate point C(C x0 , C y0 )) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ).
[0077] In this embodiment, for a circuit board 100 without positioning holes, the coordinate parameters of the top, bottom, leftmost and rightmost coordinate points of the circuit board 100 in the original coordinate system are obtained, that is, the coordinate parameters of the four tangent points where the four sides of the circumscribed rectangle of the circuit board 100 are tangent to the circuit board 100 respectively. The top, bottom, leftmost and rightmost coordinate points of the circuit board 100 refer to the coordinate points with the maximum Y-axis coordinate value, the minimum Y-axis coordinate value, the minimum X-axis coordinate value and the maximum X-axis coordinate value in the coordinate parameters of all the coordinate points on the circuit board 100 respectively. The coordinate parameters of the four vertices of the circumscribed rectangle of the circuit board 100 can be obtained through the coordinate parameters of the four tangent points. For example, the coordinate parameters of the vertex of the lower left corner are (the coordinate parameters of all the coordinate points on the circuit board 100 The coordinate parameters of the vertex at the lower right corner are (the maximum value of the coordinate values of the X axis in the coordinate parameters of all the coordinate points on the circuit board 100, the minimum value of the coordinate values of the Y axis in the coordinate parameters of all the coordinate points on the circuit board 100), the coordinate parameters of the vertex at the upper right corner are (the maximum value of the coordinate values of the X axis in the coordinate parameters of all the coordinate points on the circuit board 100, the maximum value of the coordinate values of the Y axis in the coordinate parameters of all the coordinate points on the circuit board 100), and the coordinate parameters of the vertex at the upper left corner are (the minimum value of the coordinate values of the X axis in the coordinates of all the coordinate points on the circuit board 100, the maximum value of the coordinate values of the Y axis in the coordinates of all the coordinate points on the circuit board 100). Of course, in the actual process of obtaining the coordinate parameters of the four tangent points, it is not necessary to calculate all the coordinate values of the circuit board. It is only necessary to measure the height and width of the circuit board 100 in the original coordinate system, and then calculate the coordinate parameters of each tangent point based on the original coordinate system.
[0078] For a rectangular circuit board 100, its circumscribed rectangle coincides with the outer shape of the circuit board 100, any point on the upper side is the uppermost coordinate point, any point on the lower side is the lowermost coordinate point, any point on the left side is the leftmost coordinate point, and any point on the right side is the rightmost coordinate point. The four vertices of its circumscribed rectangle are the four vertices of the rectangular circuit board 100. By selecting one of the vertices as the zero point of the positioning coordinate system, the coordinate parameters of the original coordinate system can be converted into the coordinate parameters of the corresponding positioning coordinate system.
[0079] like Figure 4 As shown, A1(A x1 , A y1 )、A2(A x2 , A y2 )、A3(A x3 , A y3 ) and A4(A x4 , Ay4 ) are points on the four sides of the rectangular circuit board 100, and are also the points of tangency between the circumscribed rectangle and the circuit board 100. D1(D x1 , D y1 )、D2(D x2 , D y2 )、D3(D x3 , D y3 ) and D4(D x4 , D y4 ) is the vertex of the circuit board 100 and also the vertex of its circumscribed rectangle. x1 A is the minimum value of the coordinate values of the X axis among the coordinate parameters of all coordinate points on the circuit board 100. y2 A is the minimum value of the Y-axis coordinate values of the coordinate parameters of all coordinate points on the circuit board 100. x3 A is the maximum value of the X-axis coordinate value among the coordinate parameters of all coordinate points on the circuit board 100. y4 is the maximum value of the Y-axis coordinate value among the coordinate parameters of all coordinate points on the circuit board 100, A1(A x1 , A y1 ) is the leftmost coordinate point, A2(A x2 , A y2 ) is the lowest coordinate point, A3(A x3 , A y3 ) is the rightmost coordinate point, A4(A x4 , A y4 ) is the top coordinate point, then D1(D x1 , D y1 )、D2(D x2 , D y2 )、D3(D x3 , D y3 ) and D4(D x4 , D y4 ) can be obtained according to A1(A x1 , A y1 )、A2(A x2 , A y2 )、A3(A x3 , A y3 ) and A4(A x4 , A y4 )get.
[0080] For a non-rectangular shaped circuit board 100, the method used is the same as that for a rectangular circuit board 100. The coordinate parameters of the top, bottom, leftmost and rightmost coordinate points of the circuit board 100 in the original coordinate system need to be obtained, that is, the four tangent points where the circumscribed rectangle is tangent to the circuit board 100. The coordinate parameters of the four vertices of the circumscribed rectangle of the circuit board 100 can be obtained through the coordinate parameters of the four tangent points. Figure 5 As shown, A1(A x1 , A y1 )、A2(A x2 , A y2 )、A3(A x3 , A y3 ) and A4(A x4 , A y4 ) is a point on the edge of the shape, D1(D x1 , D y1 )、D2(D x2 , D y2 )、D3(D x3 , D y3 ) and D4(D x4 , D y4 ) are the four vertices of the circumscribed rectangle. x1 A is the minimum value of the coordinate values of the X axis among the coordinate parameters of all coordinate points on the circuit board 100. y2 A is the minimum value of the Y-axis coordinate values of the coordinate parameters of all coordinate points on the circuit board 100. x3 A is the maximum value of the X-axis coordinate value among the coordinate parameters of all coordinate points on the circuit board 100. y4 is the maximum value of the Y-axis coordinate value among the coordinate parameters of all coordinate points on the circuit board 100, A1(A x1 , A y1 ) is the leftmost coordinate point, A2(A x2 , A y2 ) is the lowest coordinate point, A3(A x3 , A y3 ) is the rightmost coordinate point, A4(A x4 , A y4 ) is the top coordinate point, then D1(D x1 , D y1 )、D2(D x2 , D y2 )、D3(D x3 , D y3 ) and D4(D x4 , D y4 ) can be obtained according to A1(A x1 , A y1 )、A2(A x2 , Ay2 )、A3(A x3 , A y3 ) and A4(A x4 , A y4 )get.
[0081] As an optional embodiment, converting the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system and the angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system includes:
[0082] The coordinate parameter of the zero point of the positioning coordinate system in the workbench coordinate system is P0 (P x0 , P y0 ) (i.e., the coordinate parameters of the positioning point of the workbench in the workbench coordinate system, which can be obtained by physical measurement), the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is θ, and the second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is θ, the first angle is equal to the second angle (which can be obtained by physical measurement), then through the seventeenth relationship G x0 =Q x0 ×cos(θ)+Q y0 ×sin(θ)+P x0 , and the eighteenth relation G y0 =Q y0 ×cos(θ)-Q x0 ×sin(θ)+P y0 , the coordinate point Q(Q x0 , Q y0 ) is converted into the workbench coordinate system, and its corresponding coordinate point in the workbench coordinate system is obtained as G(G x0 , G y0 ). The first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is the angle at which the X-axis of the positioning coordinate system rotates counterclockwise to coincide with the X-axis of the workbench coordinate system when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system. The second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is the angle at which the Y-axis of the positioning coordinate system rotates counterclockwise to coincide with the Y-axis of the workbench coordinate system when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system.
[0083] Of course, if the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is θ, and the angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is θ+180°, then through the relationship G x0 =Q x0 ×cos(θ)-Q y0 ×sin(θ)+P x0And the relation G y0 =-Q y0 ×cos(θ)-Q x0 ×sin(θ)+P y0 , the coordinate point Q(Q x0 , Q y0 ) is converted into the workbench coordinate system, and its corresponding coordinate point in the workbench coordinate system is obtained as G(G x0 , G y0 ).
[0084] As an optional embodiment, converting the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system and the angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system includes:
[0085] The coordinate parameter of the zero point of the positioning coordinate system in the workbench coordinate system is M0 (M x0 , M y0 ) (i.e., the coordinate parameters of the positioning point of the workbench in the workbench coordinate system, which can be obtained by physical measurement), the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is θ, and the second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is θ, and the first angle is equal to the second angle (which can be obtained by physical measurement), then through the nineteenth relationship G x0 =Q x0 ×cos(θ)+Q y0 ×sin(θ)+M x0 , and the twentieth relation G y0 =Q y0 ×cos(θ)-Q x0 ×sin(θ)+M y0 , the coordinate point Q(Q x0 , Q y0 ) is converted into the workbench coordinate system, and its corresponding coordinate point in the workbench coordinate system is obtained as G(G x0 , G y0 ). The first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is the angle at which the X-axis of the positioning coordinate system rotates counterclockwise to coincide with the X-axis of the workbench coordinate system when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system. The second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is the angle at which the Y-axis of the positioning coordinate system rotates counterclockwise to coincide with the Y-axis of the workbench coordinate system when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system.
[0086] Of course, if the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is θ, and the angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is θ+180°, then through the relationship G x0 =Q x0 ×cos(θ)-Q y0 ×sin(θ)+M x0 And the relation G y0 =-Q y0 ×cos(θ)-Q x0 ×sin(θ)+M y0 , the coordinate point Q(Q x0 , Q y0 ) is converted into the workbench coordinate system, and its corresponding coordinate point in the workbench coordinate system is obtained as G(G x0 , G y0 ).
[0087] As an optional embodiment, the sampling knife of the slice sampling machine works in the workbench coordinate system, and cuts the circuit board 100 and obtains the slice 10 according to the coordinate parameters of the shape of the slice 10 in the workbench coordinate system.
[0088] See also Figure 7 In one embodiment of the present invention, a slicing sampler 1 is provided for implementing any of the above-mentioned methods for positioning and slicing of a slicing sampler of a circuit board 100, comprising a workbench 2, a first fixture 3 and / or a second fixture 4, a parameter input device and a sampling knife;
[0089] The first fixing device 3 is used to fix the circuit board 100 on the workbench 2. The first fixing device 3 includes a first guide rail 31 and a second guide rail 34 respectively installed on two adjacent sides of the workbench 2, and the first guide rail 31 and the second guide rail 34 are perpendicular to each other; a first slider 32 is provided on the first guide rail 31, and each first slider 32 is provided with a first positioning pin 33 for penetrating into the positioning hole of the circuit board 100; a second slider 35 is provided on the second guide rail 34, and each second slider 35 is provided with a second positioning pin 36 for penetrating into the positioning hole of the circuit board 100; the total number of the first sliders 32 and the second sliders 35 is at least three; a first connecting line L12 is formed through the center of each first positioning pin 33, and a second connecting line L34 is formed through the center of each second positioning pin 36, the first connecting line L12 and the second connecting line L34 are perpendicular to each other, and the intersection of the first connecting line L12 and the second connecting line L34 is the positioning point on the workbench 2;
[0090] The second fixing device 4 is used to fix the circuit board 100 on the workbench 2, and the second fixing device 4 includes a first straight baffle 41, a second straight baffle 42, a lower pressing plate 43 and a lower pressing cylinder 44; the first straight baffle 41 and the second straight baffle 42 are installed on two adjacent sides of the workbench 2; the inner edge line of the first straight baffle 41 and the inner edge line of the second straight baffle 42 are perpendicular to each other, and the intersection of the inner edge line of the first straight baffle 41 and the inner edge line of the second straight baffle 42 is the positioning point on the workbench 2; the first straight baffle 41 and / or the second straight baffle 42 are provided with a lower pressing plate 43, and the lower pressing plate 43 is drivingly connected to the lower pressing cylinder 44, and the lower pressing cylinder 44 drives the lower pressing plate 43 to move closer to or away from the workbench 2;
[0091] The parameter input device is used to input the coordinate parameters of the target hole of the circuit board 100 in the original coordinate system and the shape data parameters of the slice, and is also used to input the coordinate parameters of at least three positioning holes on the circuit board 100 in the original coordinate system or the coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board 100 in the original coordinate system; each positioning hole is distributed on two adjacent sides of the circuit board 100, and a straight line is formed through the positioning holes on the same side. The two straight lines formed on the two adjacent sides are perpendicular to each other and intersect at the foot of the perpendicular. The parameter input device can obtain the coordinate parameters of the foot of the perpendicular in the original coordinate system according to the coordinate parameters of each positioning hole in the original coordinate system, and use the foot of the perpendicular as the zero point of the positioning coordinate system to convert the original coordinate system into the positioning coordinate system. Coordinate system; or the parameter input device is used to convert the original coordinate system into the positioning coordinate system according to the coordinate parameters of the vertex of the circumscribed rectangle of the circuit board as the zero point of the positioning coordinate system in the original coordinate system; the parameter input device is also used to convert the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system; the parameter input device is also used to generate the coordinate parameters of the slice's shape in the workbench coordinate system based on the workbench coordinate system according to the coordinate parameters of the target hole in the original coordinate system and the shape data parameters of the slice, and locate the slice in the workbench coordinate system. Or
[0092] The parameter input device is used to input the coordinate parameters of the slice's shape in the workbench coordinate system to position the slice in the workbench coordinate system. That is, the coordinate parameters of the slice's shape in the workbench coordinate system can be obtained by manual calculation.
[0093] The sampling knife works in the workbench coordinate system. When the slices on the circuit board 100 are positioned in the workbench coordinate system, the sampling knife is used to cut the circuit board 100 and obtain slices.
[0094] In this embodiment, see Figure 8 , Fig. 9A as well as Fig. 9B The first fixing device 3 is used to fix the circuit board 100 with the positioning hole, and includes a first guide rail 31 and a second guide rail 34. The first guide rail 31 is slidably provided with a first slider 32, and the first slider 32 is provided with a first positioning pin 33. The second guide rail 34 is slidably provided with a second slider 35, and the second slider 35 is provided with a second positioning pin 36. The first guide rail 31 and the second guide rail 34 are respectively installed on two adjacent sides of the workbench 2 to Figure 8Taking the left and bottom of the workbench 2 in the figure as an example, the first guide rail 31 at the bottom and the second guide rail 34 on the left are installed perpendicular to each other, and the positioning pins are installed on the sliders of the guide rails. The installation of the positioning pins can ensure that the straight line passing through the center of the positioning pins is parallel to the corresponding guide rails. Assume that P1 (Px1, Py1) and P2 (Px2, Py2) are the coordinate parameters of the center points of the two first positioning pins 33 in the workbench coordinate system (which can be obtained by physical measurement), P3 (Px3, Py3) and P4 (Px4, Py4) are the coordinate parameters of the center points of the two second positioning pins 36 in the workbench coordinate system (which can be obtained by physical measurement), the line L12 is the first line passing through P1 and P2, and the line L34 is The second line passing through P3 and P4, the first line L12 is parallel to the first guide rail 31, the second line L34 is parallel to the second guide rail 34, the first line L12 and the second line L34 are perpendicular to each other and intersect at P0 (Px0, Py0), then P0 (Px0, Py0) is the foot of the perpendicular, P0 (Px0, Py0) is the positioning point on the workbench 2, when the circuit board 100 is fixed to the workbench 2 by the first fixing device 3, the zero point of the positioning coordinate system can be made to coincide with the positioning point, and the coordinate relationship in the workbench coordinate system is Px0 = Px1 = Px2 and Py0 = Py3 = Py4, thus, the point P0 (Px0, Py0) is the coordinate parameter in the workbench coordinate system, which can be obtained by measurement. The circuit board 100 with the positioning hole is positioned by the first fixing device 3, and each positioning pin can be conveniently and quickly hung into the corresponding positioning hole to fix and position the circuit board 100. After the fixation is completed, the zero point of the positioning coordinate system of the circuit board 100 coincides with the positioning point of the workbench 2, and the circuit board 100 is accurately positioned on the workbench 2. This positioning method is convenient and fast, saves time, and can quickly load and unload materials. When the positioning pin is hung in the positioning hole, the positioning hole and the positioning pin coincide with each other. Thus, the zero point of the positioning coordinate system determined by each positioning hole coincides with the positioning point determined by each positioning pin. Thus, the first fixing device 3 not only fixes the circuit board 100 on the workbench 2, but also realizes accurate positioning. By coinciding the zero point of the positioning coordinate system with the positioning point, the coordinate parameters of the positioning coordinate system can be converted into the coordinate parameters of the workbench coordinate system. There can be an angle between the positioning coordinate system and the working coordinate system. The first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system, and the X-axis of the positioning coordinate system rotates counterclockwise to an angle that coincides with the X-axis of the workbench coordinate system. The second angle between the Y axis of the positioning coordinate system and the Y axis of the table coordinate system is the angle at which the Y axis of the positioning coordinate system rotates counterclockwise to coincide with the Y axis of the table coordinate system when the zero point of the positioning coordinate system coincides with the zero point of the table coordinate system. When the positioning coordinate system is rotated and translated to coincide with the table coordinate system, the first angle is equal to the second angle.When the positioning coordinate system is flipped symmetrically about the X-axis and translated to coincide with the workbench coordinate system, the second angle is the degree of the first angle plus 180°. When flipped symmetrically about the Y-axis, the first angle is similarly the degree of the second angle plus 180°. The first angle and the second angle can be obtained by physical measurement. In actual operation, the circuit board 100 can be first fixed on the slice sampler 1, and the vertical foot of the circuit board 100 determined by the positioning hole can be coincided with the positioning point of the workbench through the first fixing device 3, and then the original coordinate system is constructed. If the constructed original coordinate system also uses the positioning point as the zero point, the original coordinate system coincides with the positioning coordinate system, which simplifies the process of converting the original coordinate system to the positioning coordinate system. If the original coordinate system is constructed with its X-axis and Y-axis respectively parallel to the first line L12 and the second line L34, the first angle can be obtained by measuring the angle between the first line L12 and the X-axis of the workbench coordinate system, and the second angle can be obtained by measuring the angle between the second line L34 and the Y-axis of the workbench coordinate system.
[0095] See also Fig.10 , Fig.11 , Fig. 12A , Fig. 12B , Fig.13 as well as Fig.14 , the second fixing device 4 is used to fix the circuit board 100 without positioning holes, and includes a first straight baffle 41, a second straight baffle 42, a lower pressure plate 43 and a lower pressure cylinder 44. When installing the circuit board 100, the corresponding two adjacent sides of the circuit board 100 are respectively pressed against the inner edge lines of the first straight baffle 41 and the second straight baffle 42, and then the lower pressure plate 43 is driven by the lower pressure cylinder 44 to approach the workbench 2, that is, approach the circuit board 100, until the lower pressure plate 43 fixes the circuit board 100. The first straight baffle 41 and the second straight baffle 42 are installed on two adjacent sides of the workbench 2 and are perpendicular to each other. The inner edge line of the first straight baffle 41 is L1, and the inner edge line of the second straight baffle 42 is L2. Since the adjacent first straight baffle 41 and the second straight baffle 42 are installed perpendicular to each other, L1 and L2 are perpendicular to each other and intersect at M0 (M2). x0 , M y0 ) point, M0(M x0 , M y0 ) is the coordinate parameter of the foot of L1 and L2 in the workbench coordinate system, that is, the coordinate parameter of the positioning point of workbench 2 in the workbench coordinate system. The two adjacent edges of the circuit board 100 are respectively pressed against L1 and L2, so that one side of the circumscribed rectangle of the circuit board 100 coincides with L1, and the other adjacent side coincides with L2. Therefore, the vertex corresponding to the circumscribed rectangle (the zero point of the positioning coordinate system) is aligned with the positioning point M0 (M x0 , M y0) overlap, so the coordinate parameters of the positioning coordinate system can be converted into the coordinate parameters of the workbench coordinate system. There may be an angle between the positioning coordinate system and the working coordinate system, and the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system, and the X-axis of the positioning coordinate system rotates counterclockwise to the angle that coincides with the X-axis of the workbench coordinate system. The second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is when the zero point of the positioning coordinate system coincides with the zero point of the workbench coordinate system, and the Y-axis of the positioning coordinate system rotates counterclockwise to the angle that coincides with the Y-axis of the workbench coordinate system. When the positioning coordinate system is rotated and translated to coincide with the workbench coordinate system, the first angle is equal to the second angle. When the positioning coordinate system is symmetrically flipped and translated about the X-axis to coincide with the workbench coordinate system, the second angle is the degree of the first angle plus 180°. When the circuit board 100 is flipped symmetrically about the Y axis, the first angle is the degree of the second angle plus 180°. The first angle and the second angle can be obtained by physical measurement. In the actual operation process, the circuit board 100 can be fixed on the slice sampler 1 first, and the vertex of the circumscribed rectangle of the circuit board 100 can be overlapped with the positioning point of the workbench through the second fixing device 4, and then the original coordinate system is constructed. If the constructed original coordinate system also takes the positioning point as the zero point, the original coordinate system coincides with the positioning coordinate system, which simplifies the process of converting the original coordinate system to the positioning coordinate system. If the original coordinate system is constructed, its X-axis and Y-axis are respectively parallel to the inner edge line L1 of the first straight baffle 41 and the inner edge line L2 of the second straight baffle 42, then the first angle can be obtained by measuring the angle between the inner edge line L1 of the first straight baffle 41 and the X-axis of the workbench coordinate system, and the second angle can be obtained by measuring the angle between the inner edge line L2 of the second straight baffle 42 and the Y-axis of the workbench coordinate system.
[0096] It should be noted that the specific implementation and technical effects of the slice sampler 1 provided in the embodiment of the present invention are the same as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the embodiment of the slice sampler 1, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0097] In summary, the present invention obtains the coordinate parameters of the target hole, the coordinate parameters of the positioning hole or the coordinate parameters of the vertices of the circumscribed rectangle of the circuit board and the shape data parameters of the slice in the original coordinate system. By determining the zero point of the positioning coordinate system, the original coordinate system can be converted into the positioning coordinate system, and when the circuit board is fixed on the workbench, the zero point of the positioning coordinate system coincides with the positioning point on the workbench, and the positioning point on the workbench can obtain its coordinate parameters in the workbench coordinate system by measuring, thereby obtaining the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system, and then converting the positioning coordinate system into the workbench coordinate system, thereby obtaining the coordinate parameters of the workbench coordinate system of the slice shape, so that the sampling knife working in the workbench coordinate system can automatically locate to the position of the slice and perform sampling. Therefore, after the circuit board is fixed to the workbench, no subsequent manual operation is required, thereby improving efficiency.
[0098] Of course, the present invention may have many other embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art may make various corresponding changes and modifications based on the present invention, but these corresponding changes and modifications should all fall within the scope of protection of the claims attached to the present invention.
Claims
1. A method for positioning and slicing a circuit board slicing sampler, characterized in that: include: Acquire coordinate parameters of a target hole in an original coordinate system and acquire shape data parameters of a slice, wherein the target hole is located in the slice; Obtain coordinate parameters of at least three positioning holes on the circuit board in the original coordinate system, wherein the positioning holes are distributed on two adjacent sides of the circuit board, and straight lines are formed through the positioning holes on the same side, and the two straight lines formed on two adjacent sides are perpendicular to each other and intersect at the foot of a perpendicular, and the foot of the perpendicular is used as the zero point of the positioning coordinate system, and the original coordinate system is converted into the positioning coordinate system; or obtain coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board in the original coordinate system, and one of the vertices is used as the zero point of the positioning coordinate system, and the original coordinate system is converted into the positioning coordinate system; Fix the circuit board on the workbench of the slicing sampler, and make the zero point of the positioning coordinate system coincide with the positioning point on the workbench, and use the coordinate parameters of the positioning point in the workbench coordinate system of the workbench as the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench; Converting the positioning coordinate system into a workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system; According to the coordinate parameters of the target hole in the original coordinate system and the shape data parameters of the slice, based on the workbench coordinate system, the coordinate parameters of the shape of the slice in the workbench coordinate system are generated.
2. The method for positioning and slicing of a circuit board slicing sampling machine according to claim 1, characterized in that: The shape of the slice may be optionally a rectangle, and the coordinate parameters of the shape of the slice in the workbench coordinate system include the coordinate parameters of the four vertices of the rectangle in the workbench coordinate system.
3. The method for positioning and slicing of a circuit board slicing sampling machine according to claim 1, characterized in that: The shape data parameters of the slice include slice height and slice width.
4. The method for positioning and slicing of a circuit board slicing sampling machine according to claim 3, characterized in that: The shape data parameters also include at least one of the following: grinding height, connection point height, and the blade diameter of the sampling knife of the slice sampling machine.
5. The method for positioning and slicing of a circuit board slicing sampling machine according to claim 1, characterized in that: The step of obtaining coordinate parameters of at least three positioning holes on the circuit board in the original coordinate system, wherein the positioning holes are distributed on two adjacent sides of the circuit board, and straight lines are formed through the positioning holes on the same side, and two straight lines formed on two adjacent sides are perpendicular to each other and intersect at the foot of a perpendicular, and the foot of the perpendicular is used as the zero point of the positioning coordinate system, and converting the original coordinate system into the positioning coordinate system comprises: Obtain the coordinate parameters of the four positioning holes on the circuit board in the original coordinate system, wherein the coordinate parameters of the two positioning holes located on the same side in the original coordinate system are K1 (X1, Y1) and K2 (X2, Y2), and the coordinate parameters of the two positioning holes located on adjacent sides in the original coordinate system are K3 (X3, Y3) and K4 (X4, Y4), then the coordinate parameter of the foot of the perpendicular in the original coordinate system is K0 (X0, Y0), and satisfies the first relationship X1 = X2 = X0 and the second relationship Y3 = Y4 = Y0; take the foot of the perpendicular as the zero point of the positioning coordinate system, through the third relationship Q x0 =C x0 -X0, and the fourth relation Q y0 =C y0 -Y0, the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ).
6. The method for positioning and slicing of a circuit board slicing sampling machine according to claim 1, characterized in that: The step of obtaining coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board in the original coordinate system, taking one of the vertices as the zero point of the positioning coordinate system, and converting the original coordinate system into the positioning coordinate system comprises: Obtain four tangent points formed by the four sides of the circumscribed rectangle of the circuit board being tangent to the circuit board, and obtain coordinate parameters A1(A2) of the four tangent points in the original coordinate system. x1 , A y1 )、A2(A x2 , A y2 )、A3(A x3 , A y3 ) and A4(A x4 , A y4 ), where A x1 is the minimum value of the coordinate point of the circuit board on the X-axis in the original coordinate system, A x3 is the maximum value of the coordinate point of the circuit board on the X-axis in the original coordinate system, A y2 is the minimum value of the coordinate point of the circuit board on the Y axis in the original coordinate system and A y4 is the maximum value of the coordinate point of the circuit board on the Y axis in the original coordinate system; The coordinate parameters of the four vertices of the circumscribed rectangle of the circuit board in the original coordinate system are D1(D x1 , D y1 )、D2(D x2 , D y2 )、D3(D x3 , D y3 ) and D4(D x4 , D y4 ), which satisfies the fifth relation D x1 =D x4 =A x1 、The sixth relation D y1 =D y2 =A y2 、The seventh relation D x2 =D x3 =A x3 And the eighth relation D y3 =D y4 =A y4 ; If D1(D x1 , D y1 ) as the zero point of the positioning coordinate system, through the ninth relational formula Q x0 =C x0 -D x1 , and the tenth relation Q y0 =C y0 -D y1 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ); If D2(D x2 , D y2 ) as the zero point of the positioning coordinate system, through the eleventh relational expression Q x0 =C x0 -D x2 , and the twelfth relation Q y0 =C y0 -D y2 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ); If D3(D x3 , D y3 ) as the zero point of the positioning coordinate system, through the thirteenth relationship Q x0 =C x0 -D x3 , and the fourteenth relation Q y0 =C y0 -D y3 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ); If D4(D x4 , D y4 ) as the zero point of the positioning coordinate system, through the fifteenth relational formula Q x0 =C x0 -D x4 , and the sixteenth relation Q y0 =C y0 -D y4 , the coordinate point C(C x0 , C y0 ) is converted into the positioning coordinate system, and the corresponding coordinate point in the positioning coordinate system is obtained as Q(Q x0 , Q y0 ).
7. The method for positioning and slicing of a circuit board slicing sampling machine according to claim 5, characterized in that: The converting the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system comprises: The coordinate parameter of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench is P0(P x0 , P y0 ), the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is θ, and the second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is θ, and the first angle is equal to the second angle, then through the seventeenth relationship G x0 =Q x0 ×cos(θ)+Q y0 ×sin(θ)+P x0 , and the eighteenth relation G y0 =Q y0 ×cos(θ)-Q x0 ×sin(θ)+P y0 , the coordinate point Q(Q x0 , Q y0 ) is converted into the workbench coordinate system, and its corresponding coordinate point in the workbench coordinate system is obtained as G(G x0 , G y0 ).
8. The method for positioning and slicing of a circuit board slicing sampling machine according to claim 6, characterized in that: The converting the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system comprises: The coordinate parameter of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench is M0(M x0 , M y0 ), the first angle between the X-axis of the positioning coordinate system and the X-axis of the workbench coordinate system is θ, and the second angle between the Y-axis of the positioning coordinate system and the Y-axis of the workbench coordinate system is θ, and the first angle is equal to the second angle, then through the nineteenth relationship G x0 =Q x0 ×cos(θ)+Q y0 ×sin(θ)+M x0 , and the twentieth relation G y0 =Q y0 ×cos(θ)-Q x0 ×sin(θ)+M y0 , the coordinate point Q(Q x0 , Q y0 ) is converted into the workbench coordinate system, and its corresponding coordinate point in the workbench coordinate system is obtained as G(G x0 , G y0 ).
9. The method for positioning and slicing of a circuit board slicing sampling machine according to claim 1, characterized in that: The sampling knife of the slice sampling machine works in the workbench coordinate system, and cuts the circuit board according to the coordinate parameters of the shape of the slice in the workbench coordinate system to obtain the slice.
10. A slicing sampling machine for implementing the method for positioning and slicing of a slicing sampling machine for a circuit board as claimed in any one of claims 1 to 9, characterized in that: It includes a workbench, a first fixing device and / or a second fixing device, a parameter input device and a sampling knife; The first fixing device is used to fix the circuit board on the workbench, and the first fixing device includes a first guide rail and a second guide rail respectively installed on two adjacent sides of the workbench, and the first guide rail and the second guide rail are perpendicular to each other; a first slider is provided on the first guide rail, and each of the first sliders is provided with a first positioning pin for penetrating into the positioning hole of the circuit board; a second slider is provided on the second guide rail, and each of the second sliders is provided with a second positioning pin for penetrating into the positioning hole of the circuit board; the total number of the first sliders and the second sliders is at least three; a first connecting line is formed through the center of each first positioning pin, and a second connecting line is formed through the center of each second positioning pin, the first connecting line and the second connecting line are perpendicular to each other, and the intersection of the first connecting line and the second connecting line is the positioning point on the workbench; The second fixing device is used to fix the circuit board on the workbench, and the second fixing device includes a first straight baffle, a second straight baffle, a lower pressure plate and a lower pressure cylinder; the first straight baffle and the second straight baffle are installed on two adjacent sides of the workbench; The inner edge line of the first straight baffle and the inner edge line of the second straight baffle are perpendicular to each other, and the intersection of the inner edge line of the first straight baffle and the inner edge line of the second straight baffle is a positioning point on the workbench; the first straight baffle and / or the second straight baffle is provided with the lower pressing plate, the lower pressing plate is drivingly connected to the lower pressing cylinder, and the lower pressing cylinder drives the lower pressing plate to approach or move away from the workbench; The parameter input device is used to input the coordinate parameters of the target hole of the circuit board in the original coordinate system and the shape data parameters of the slice, and is also used to input the coordinate parameters of at least three positioning holes on the circuit board in the original coordinate system or the coordinate parameters of at least one vertex of the circumscribed rectangle of the circuit board in the original coordinate system; each of the positioning holes is distributed on two adjacent sides of the circuit board, and a straight line is formed through the positioning holes on the same side. The two straight lines formed on the two adjacent sides are perpendicular to each other and intersect at the foot of the perpendicular. The parameter input device can obtain the coordinate parameters of the foot of the perpendicular in the original coordinate system according to the coordinate parameters of each of the positioning holes in the original coordinate system, and use the foot of the perpendicular as the zero point of the positioning coordinate system to convert the original coordinate system into the positioning coordinate system; Alternatively, the parameter input device is used to convert the original coordinate system into the positioning coordinate system according to the coordinate parameters of the vertex of the circumscribed rectangle of the circuit board as the zero point of the positioning coordinate system in the original coordinate system; the parameter input device is also used to convert the positioning coordinate system into the workbench coordinate system according to the coordinate parameters of the zero point of the positioning coordinate system in the workbench coordinate system of the workbench and the angle between the positioning coordinate system and the workbench coordinate system; the parameter input device is also used to generate the coordinate parameters of the shape of the slice in the workbench coordinate system based on the workbench coordinate system according to the coordinate parameters of the target hole in the original coordinate system and the shape data parameters of the slice, and locate the slice in the workbench coordinate system; or The parameter input device is used to input the coordinate parameters of the slice's shape in the workbench coordinate system, and locate the slice in the workbench coordinate system; The sampling knife works in the workbench coordinate system, and is used to cut the circuit board and obtain the slices after the slices on the circuit board are positioned in the workbench coordinate system.
