A method, apparatus, and PCB drilling machine for detecting the axis spacing of a machine tool.
Patent Information
- Application Number
- CN202311664334.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2043-12-04
AI Technical Summary
[0004]基于此,有必要针对上述技术问题,提供一种机床轴间距的检测方法、装置及PCB钻孔机,以解决现有技术无法准确地检验轴间距差异度的问题
[0022]综上所述,本发明公开了一种机床轴间距的检测方法、装置及PCB钻孔机,当两主轴刀具按照预设间距值沿目标轴方向同时运动时,利用机床中的刀检光纤获取两主轴刀具在目标轴方向的中心坐标,其中,预设间距值为两主轴刀具之间的理论间距,根据两主轴刀具在目标轴方向的中心坐标,确定两主轴刀具在目标轴方向的实际偏差,基于两主轴刀具在目标轴方向的实际偏差,校正机床在目标轴方向的轴间距。可见,本发明中通过利用刀检光纤来判断两主轴之间的间距,不需用其它辅助工具进行检测,可实时准确地获取轴间距差异度,进而根据轴间距差异度,实现对PCB钻孔机轴间距的校准,可以达到提高PCB板加工的良品率的目的。
Smart Images

Figure CN117798739B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of shaft spacing detection technology, and in particular to a method, apparatus and PCB drilling machine for detecting machine tool shaft spacing. Background Technology
[0002] PCB drilling machines are high-speed, high-precision, and highly stable high-end machine tools. They are used in key processes such as through-hole drilling, deep-hole drilling, and back-drilling of printed circuit boards (PCBs), and have a significant impact on the processing quality of PCBs. As the integration of PCBs increases, the diameter of the holes becomes smaller, and the number of holes increases, the spacing requirements between the two axes of the PCB drilling machine become increasingly stringent when processing a single board simultaneously. It is essential to ensure that the two axes maintain the same alignment.
[0003] Due to the influence of assembly process precision and machined parts, or the differences in the thermal expansion coefficients of various materials such as steel, iron, and aluminum alloys, the expansion and contraction of the spindle tool assembly components are inevitable with changes in internal and external temperature. This results in the A-axis and B-axis not being kept on the same horizontal line in the X and Y directions, and there is an error in the distance between the two spindles. Currently, PCB drilling machines use dial indicators to draw circles on the spindle or use AOI or 2D third-party instruments to measure the hole distance. This method is not only inefficient with an accuracy of only 0.02mm or higher, but is also affected by drilling deviations, leading to inaccurate measurement of the axis distance. Therefore, how to accurately determine the distance between the two spindles and obtain the axis distance difference in real time is a technical challenge that urgently needs to be solved in the industry. Summary of the Invention
[0004] Therefore, it is necessary to provide a method, device, and PCB drilling machine for detecting the machine tool axis spacing, in order to solve the problem that the existing technology cannot accurately detect the difference in axis spacing.
[0005] A first aspect of this application provides a method for detecting the machine tool axis spacing, the method comprising:
[0006] Two spindle tools move simultaneously along the target axis according to a preset spacing value. The center coordinates of the two spindle tools in the target axis direction are obtained by the tool detection fiber in the machine tool. The preset spacing value is the theoretical spacing between the two spindle tools.
[0007] Based on the center coordinates of the two spindle tools in the target axis direction, determine the actual deviation of the two spindle tools in the target axis direction;
[0008] Based on the actual deviation of the two spindle tools in the target axis direction, the axial spacing of the machine tool in the target axis direction is corrected.
[0009] A second aspect of this application provides a machine tool axis spacing detection device, the machine tool axis spacing detection device comprising:
[0010] The acquisition module is used to acquire the center coordinates of the two spindle tools in the target axis direction using the tool detection fiber in the machine tool, wherein the preset spacing value is the theoretical spacing between the two spindle tools;
[0011] The determination module is used to determine the actual deviation of the two spindle tools in the target axis direction based on the center coordinates of the two spindle tools in the target axis direction;
[0012] The calibration module is used to correct the axial spacing of the machine tool in the target axis direction based on the actual deviation of the two spindle tools in the target axis direction.
[0013] Thirdly, embodiments of the present invention provide a PCB drilling machine, 8. The PCB drilling machine includes a spindle tool, a tool detection fiber, and a control unit. The spindle tool is two or more, the tool detection fiber is used to determine the distance between two spindle tools, and the control unit is used to perform the following steps:
[0014] When the two spindle tools move simultaneously along the target axis direction according to a preset spacing value, the center coordinates of the two spindle tools in the target axis direction are obtained by using the tool detection fiber in the machine tool, wherein the preset spacing value is the theoretical spacing between the two spindle tools.
[0015] Based on the center coordinates of the two spindle tools in the target axis direction, determine the actual deviation of the two spindle tools in the target axis direction;
[0016] Based on the actual deviation of the two spindle tools in the target axis direction, the axial spacing of the machine tool in the target axis direction is corrected.
[0017] Optionally, the blade inspection fiber includes an optical fiber path, a transmitting tube, and a receiving tube. The optical fiber path is located between the transmitting tube and the receiving tube. The transmitting tube emits the detection optical path, and the receiving tube receives the detection optical path emitted by the transmitter.
[0018] Optionally, the control unit is also configured to perform the following steps:
[0019] When the two spindle tools move toward the target axis and trigger the optical fiber path in the tool detection fiber, the first position coordinates of the two spindle tools in the target axis direction are obtained.
[0020] When the two spindle tools continue to move toward the target axis and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the target axis direction are obtained.
[0021] Based on the first and second position coordinates of the two spindle tools, the center coordinates of the two spindle tools in the target axis direction are determined.
[0022] In summary, this invention discloses a method, apparatus, and PCB drilling machine for detecting the axis spacing of a machine tool. When two spindle tools move simultaneously along the target axis direction according to a preset spacing value, the center coordinates of the two spindle tools in the target axis direction are obtained using a tool detection fiber optic cable in the machine tool. The preset spacing value is the theoretical spacing between the two spindle tools. Based on the center coordinates of the two spindle tools in the target axis direction, the actual deviation of the two spindle tools in the target axis direction is determined. Based on the actual deviation of the two spindle tools in the target axis direction, the axis spacing of the machine tool in the target axis direction is corrected. Therefore, this invention uses a tool detection fiber optic cable to determine the spacing between the two spindles, eliminating the need for other auxiliary tools. It can accurately obtain the axis spacing difference in real time, and then calibrate the axis spacing of the PCB drilling machine based on the axis spacing difference, thereby improving the yield rate of PCB board processing. Attached Figure Description
[0023] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a schematic flowchart of a method for detecting the machine tool axis spacing provided in one embodiment of the present invention;
[0025] Figures 2-7 This is a schematic diagram of the target center coordinates of spindle tool A and spindle tool B in the X-axis direction of the optical fiber path in a method for detecting the machine tool axis spacing provided in an embodiment of the present invention.
[0026] Figures 8-13 This is a schematic diagram of the target center coordinates of spindle tool A and spindle tool B in the Y-axis direction of the optical fiber path in a method for detecting the machine tool axis spacing provided in an embodiment of the present invention.
[0027] Figure 14 This is a schematic diagram of the structure of a machine tool axis spacing detection device provided in one embodiment of the present invention.
[0028] Figure 15 This is a schematic diagram of the structure of the fiber optic inspection tool in a PCB drilling machine provided in one embodiment of the present invention. Detailed Implementation
[0029] To make the technical problems solved by the present invention, the technical solutions and the beneficial effects of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0030] It should be understood that the embodiments described below represent essential information to enable those skilled in the art to implement the embodiments and to illustrate the best mode of implementation. Upon reading the following description in conjunction with the accompanying drawings, those skilled in the art will understand the concepts of this disclosure and recognize the applications of these concepts not specifically mentioned herein. It should be understood that these concepts and applications fall within the scope of this disclosure and the appended claims.
[0031] It should also be understood that although the terms first, second, etc., may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used only to distinguish one element from another. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element, without departing from the scope of this disclosure. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0032] It should also be understood that when a component is referred to as "connected" or "coupled" to another component, it can be directly connected or coupled to the other component, or there may be intermediate components. Conversely, when an element is referred to as "directly connected" or "directly coupled" to another element, there are no intermediate components.
[0033] It should also be understood that the terms “upper,” “lower,” “left,” “right,” “front,” “back,” “bottom,” “middle,” “center,” “top,” etc., may be used herein to describe various elements, indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings. They are used only for the convenience of describing the invention and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, these elements should not be limited by these terms.
[0034] These terms are used only to distinguish one element from another. For example, a first element may be referred to as the “upper” element, and similarly, a second element may be referred to as the “upper” element depending on the relative orientation of these elements, without departing from the scope of this disclosure.
[0035] To be further understood, the terms “comprising,” “including,” “including,” and / or “include” as used herein specify the presence of the said feature, integer, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0036] Unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains. It will be further understood that the terms used herein should be interpreted as having the same meaning as they mean in the context of this specification and related art, and will not be interpreted in an idealized or overly formal sense unless expressly defined herein.
[0037] The first aspect of this application provides a method for detecting the axis spacing of a machine tool, such as... Figure 1 As shown, it includes the following steps:
[0038] S101: The two spindle tools move simultaneously along the target axis direction according to a preset spacing value. The center coordinates of the two spindle tools in the target axis direction are obtained by the tool detection fiber in the machine tool. The preset spacing value is the theoretical spacing between the two spindle tools.
[0039] In practical implementation, during the operation of the machine tool, the motors in the X-axis and Y-axis directions generate heat, and the machine tool table expands and contracts due to temperature. This expansion and contraction of the machine tool table affects the machining accuracy of the machine tool. Therefore, it is necessary to pre-determine the axial distance between the two spindle tools. When determining the axial distance between the two spindle tools, the tool detection fiber is set inside the machine tool so that the range of the tool detection fiber is sufficient to cover the movement of the two spindle tools A and B of the machine tool being measured, so as to record the coordinates of the machine tool movement, without the need for other auxiliary tools for detection. Then, when the two spindle tools move simultaneously along the X-axis or Y-axis according to the preset distance value, the center coordinates of the two spindle tools in the X-axis or Y-axis direction are obtained. The two spindle tools include spindle tool A and spindle tool B.
[0040] This embodiment uses two spindles as an example. The machine tool has spindle A and spindle B. A tool is installed on spindle A and a tool is installed on spindle B. The machine tool's drive mechanism can drive spindle tool A and spindle tool B to move along the X-axis and Y-axis directions under the control of the control signal. The axial distance between spindle tool A and spindle tool B can be increased or decreased until it is adjusted to a set value.
[0041] As an optional embodiment, obtaining the center coordinates of the two spindle tools in the target axis direction includes:
[0042] When the two spindle tools move in the X-axis direction and trigger the optical fiber path in the tool detection fiber, the first position coordinates of the two spindle tools in the X-axis direction are obtained.
[0043] When the two spindle tools continue to move in the positive X-axis direction and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the X-axis direction are obtained.
[0044] Based on the first and second position coordinates of the two spindle tools, the center coordinates of the two spindle tools in the X-axis direction are determined.
[0045] As an optional embodiment, the first position coordinates of the two spindle tools in the target axis direction include the first position coordinates A of spindle tool A in the target axis direction and the first position coordinates B of spindle tool B in the target axis direction. Before obtaining the first position coordinates B of spindle tool B in the target axis direction, the following steps are included:
[0046] After returning the two spindle tools to their initial positions, the two spindle tools are moved in the negative X-axis direction according to a preset spacing value.
[0047] Specifically, such as Figure 2-7 As shown in the diagram, the two solid circles represent the actual coordinates of the two spindle tools, namely spindle tool A and spindle tool B. The arrows on the coordinate axes represent the tool detection fiber. The dashed circles represent the theoretical coordinates of spindle tool B. The theoretical coordinates are the coordinates of the spindle tool assembly components when they are unaffected by assembly process precision and machining parts, or by differences in the thermal expansion coefficients of various materials such as steel, iron, and aluminum alloys, such as high temperature and high pressure, or immersion in chemicals. Therefore, the theoretical coordinates are the coordinates when the spindle tool assembly components have not undergone expansion or contraction. Furthermore, by moving the two spindle tools, the tool detection fiber performs measurements, and the control unit in the machine tool acquires the position coordinates of the two spindle tools in the target axis direction. Based on these position coordinates, the center coordinates of the two spindle tools in the target axis direction are determined. The first position coordinates include the first A position coordinates and the first B position coordinates, and the second position coordinates include the second A position coordinates and the second B position coordinates. The tool detection fiber is positioned perpendicular to spindle tool A and spindle tool B. When the two spindle tools move in the X-axis direction and trigger the fiber optic path in the tool detection fiber, the control unit in the machine tool acquires the current first A position coordinates of spindle tool A along the X-axis direction. When the two spindle tools continue to move in the positive X-axis direction and leave the fiber optic path in the tool detection fiber, the control unit in the machine tool acquires the current second A position coordinates of spindle tool A along the X-axis direction. Based on the current first A position coordinates and the current second A position coordinates of spindle tool A, the center coordinates of spindle tool A in the X-axis direction are calculated, which is (X... a2 -X a1 ) / 2, where X a2 The current second position A coordinate of the spindle tool A, X a1The first A position coordinate of the spindle tool A is then used. The two spindle tools are then returned to their original positions, and after returning to their original positions, they are moved in the negative X-axis direction according to a preset spacing value D, where the preset spacing value D is equal to the theoretical distance between the two spindle tools. When the two spindle tools move in the X-axis direction and trigger the fiber optic path in the tool detection fiber, the control unit in the machine tool acquires the current first B position coordinate of the spindle tool B along the X-axis direction. When the two spindle tools continue to move in the positive X-axis direction and leave the fiber optic path in the tool detection fiber, the control unit in the machine tool acquires the current second B position coordinate of the spindle tool B along the X-axis direction. Based on the current first B position coordinate and the current second B position coordinate of the spindle tool B, the center coordinate of the spindle tool B in the X-axis direction is calculated, which is (X... b2 -X b1 ) / 2, where X b2 The current second position coordinate of the spindle tool B, X b1 The coordinates of the first position of the spindle tool B.
[0048] As an optional embodiment, obtaining the center coordinates of the two spindle tools in the target axis direction further includes:
[0049] When the two spindle tools move in the Y-axis direction and trigger the optical fiber path in the tool detection fiber, the first position coordinates of the two spindle tools in the Y-axis direction are obtained.
[0050] When the two spindle tools continue to move in the positive Y-axis direction and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the Y-axis direction are obtained.
[0051] Based on the first and second position coordinates of the two spindle tools, the center coordinates of the two spindle tools in the Y-axis direction are determined.
[0052] As an optional embodiment, the first position coordinates of the two spindle tools in the target axis direction include the first position coordinates A of spindle tool A in the target axis direction and the first position coordinates B of spindle tool B in the target axis direction. Before obtaining the first position coordinates B of spindle tool B in the target axis direction, the following steps are included:
[0053] After returning the two spindle tools to their initial positions, the two spindle tools are moved in the negative X-axis direction according to a preset spacing value.
[0054] Specifically, such as Figure 8-13As shown in the diagram, the two solid circles represent the actual coordinates of the two spindle tools, namely spindle tool A and spindle tool B. The arrows on the coordinate axes represent the tool detection fiber. The dashed circles represent the theoretical coordinates of spindle tool B. The theoretical coordinates are the coordinates of the spindle tool assembly components when they are unaffected by assembly process precision and machining parts, or by differences in the thermal expansion coefficients of various materials such as steel, iron, and aluminum alloys, such as high temperature and high pressure, or immersion in chemicals. Therefore, the theoretical coordinates are the coordinates when the spindle tool assembly components have not undergone expansion or contraction. Furthermore, by moving the two spindle tools, the tool detection fiber performs measurements, and the control unit in the machine tool acquires the position coordinates of the two spindle tools in the target axis direction. Based on these position coordinates, the center coordinates of the two spindle tools in the target axis direction are determined. The first position coordinates include the first A position coordinates and the first B position coordinates, and the second position coordinates include the second A position coordinates and the second B position coordinates. The tool detection fiber is parallel to spindle tool A and spindle tool B. When the two spindle tools move towards the Y-axis and trigger the fiber optic path in the tool detection fiber, the control unit in the machine tool acquires the current first A position coordinate of spindle tool A along the Y-axis. When the two spindle tools continue to move in the positive Y-axis direction and leave the fiber optic path in the tool detection fiber, the control unit in the machine tool acquires the current second A position coordinate of spindle tool A along the Y-axis. Based on the current first A position coordinates and the current second A position coordinates of spindle tool A, the center coordinates of spindle tool A in the Y-axis direction are calculated, which is (Y... a2 -Y a1 ) / 2, where Y a2 The current second position A coordinate of the spindle tool A, Y a1 The first A position coordinate of the spindle tool A is then used. The two spindle tools are then returned to their original positions, and after returning to their original positions, they are moved in the negative X-axis direction according to a preset spacing value D, where the preset spacing value D is equal to the theoretical distance between the two spindle tools. When the two spindle tools move in the Y-axis direction and trigger the fiber optic path in the tool detection fiber, the control unit in the machine tool acquires the current first B position coordinate of the spindle tool B along the Y-axis direction. When the two spindle tools continue to move in the positive Y-axis direction and leave the fiber optic path in the tool detection fiber, the control unit in the machine tool acquires the current second B position coordinate of the spindle tool B along the Y-axis direction. Based on the current first B position coordinate and the current second B position coordinate of the spindle tool B, the center coordinate of the spindle tool B in the Y-axis direction is calculated, which is (Y... b2 -Y b1 ) / 2, where Y b2 The current second position coordinate of the spindle tool B, Y b1 The coordinates of the first position of the spindle tool B.
[0055] In this embodiment, when measuring the center coordinates of the two spindle tools in the target direction, the two spindle tools are moved towards the target direction and the optical fiber path in the tool detection fiber is triggered, thereby obtaining the first position coordinates of the two spindle tools in the target direction. Then, when the two spindle tools are moved further towards the target positive direction and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the target direction are obtained. Based on the first and second position coordinates of the two spindle tools in the target direction, the center coordinates of the two spindle tools in the target direction are determined, so as to subsequently determine the actual deviation of the two spindle tools in the target axis direction. The detection can be performed directly using the optical fiber path in the tool detection fiber without the need for other auxiliary tools, which improves the accuracy and efficiency of obtaining the axis spacing difference.
[0056] S102: Determine the actual deviation of the two spindle tools in the target axis direction based on the center coordinates of the two spindle tools in the target axis direction.
[0057] In a specific implementation, after obtaining the center coordinates of the two spindle tools in the X-axis and / or Y-axis directions, the control unit in the machine tool will calculate the actual deviation of the two spindle tools based on the center coordinates of the two spindle tools in the X-axis and / or Y-axis directions. The two spindle tools include spindle tool A and spindle tool B, and the target axis direction includes the X-axis and / or Y-axis directions.
[0058] As an optional embodiment, the actual deviation of the two spindle tools in the target axis direction is calculated using the following formula:
[0059] X 实际 =|((X) b2 -X b1 ) / 2)+D-((X a2 -X a1 ) / 2)|
[0060] Y 实际 =|((Y) b2 -Y b1 ) / 2)-((Y a2 -Y a1 ) / 2)|
[0061] Among them, (X) b2 -X b1 ) / 2 represents the center coordinate of the spindle tool B in the X-axis direction, (X a2 -X a1 ) / 2 represents the center coordinate of the spindle tool A in the X-axis direction, (Y ... b2 -Y b1 ) / 2 represents the center coordinate of the spindle tool B in the Y-axis direction, (Y a2 -Y a1) / 2 represents the center coordinate of the spindle tool A in the Y-axis direction, D represents the preset spacing value, and X 实际 The deviation of the two spindle tools in the X-axis direction is expressed as Y. 实际 This represents the actual deviation of the two spindle tools in the Y-axis direction.
[0062] In specific implementation, the target axis direction includes the X-axis direction and / or the Y-axis direction. In this embodiment, the actual X-axis coordinates and actual Y-axis coordinates of spindle tool A and spindle tool B are determined based on their center coordinates in the X-axis and Y-axis directions. Then, based on the actual deviation between spindle tool A and spindle tool B in the target axis direction, the subsequent step S103 is executed to correct the axis spacing of the machine tool in the target axis direction.
[0063] It should be noted that the distance between the spindle tool A and spindle tool B in the Y-axis direction is at the same coordinate and on the same horizontal line, so there is no need to combine it with the preset distance value. However, the distance between the spindle tool A and spindle tool B in the X-axis direction is at different coordinates, so it is necessary to combine it with the preset distance value.
[0064] S103: Based on the actual deviation of the two spindle tools in the target axis direction, correct the axial spacing of the machine tool in the target axis direction.
[0065] In the specific implementation, the actual deviation in this embodiment includes, but is not limited to, the offset value of the actual coordinates compared with the theoretical coordinates, the center value, the rotation angle of the expansion and contraction value, and the rotation radius. After calculating the actual deviation of the two spindle tools in the target axis direction, the machine tool is controlled to reprocess the circuit board that has undergone expansion and contraction changes, and the axial spacing of the machine tool in the target axis direction is corrected. It should be noted that the machine tool can be a drilling machine or other equipment, which is not limited in this embodiment.
[0066] As an optional embodiment, correcting the axial spacing of the machine tool in the target axial direction includes:
[0067] Determine whether the actual deviation of the two spindle tools in the target axis direction exceeds the preset maximum deviation;
[0068] If the actual deviation of the two spindle tools in the target axis direction exceeds the preset maximum deviation, it is determined that the machine tool axis spacing is abnormal, and the axis spacing of the machine tool in the target axis direction is corrected.
[0069] If the actual deviation of the two spindle tools in the target axis direction does not exceed the preset maximum deviation, then it is determined that the machine tool axis spacing is not abnormal.
[0070] In this embodiment, the preset maximum deviation can be set in groups according to the actual processing conditions. The processing conditions include machine tool type, tool type, cutting method, spindle speed and workpiece material, etc. It should be noted that this application does not limit the preset maximum deviation. When the machine tool software system obtains the actual deviation of the two spindle tools in the target axis direction, it will determine whether the actual deviation of the two spindle tools in the target axis direction exceeds the preset maximum deviation. If the actual deviation of the two spindle tools in the target axis direction exceeds the preset maximum deviation, it indicates that the expansion and contraction of the machine tool table is too large. Then it is determined that there is an abnormality in the machine tool axis spacing, and the axis spacing of the machine tool in the target axis direction is corrected to ensure the machining accuracy of the machine tool and reduce the scrap rate. If the actual deviation of the two spindle tools in the target axis direction does not exceed the preset maximum deviation, it is determined that there is no abnormality in the machine tool axis spacing, and it is not necessary to correct the axis spacing of the machine tool in the target axis direction.
[0071] In this embodiment of the invention, by employing a machine tool axis spacing detection method, the spacing difference of the spindle tool in the machine tool can be directly detected. When the axis spacing difference of the spindle tool exceeds a certain threshold, the operator is alerted to take timely measures to ensure the machining accuracy of the product and avoid the production of unqualified products.
[0072] In summary, this invention discloses a method, apparatus, and PCB drilling machine for detecting the axis spacing of a machine tool. When two spindle tools move simultaneously along the target axis direction according to a preset spacing value, the center coordinates of the two spindle tools in the target axis direction are obtained using a tool detection fiber optic cable in the machine tool. The preset spacing value is the theoretical spacing between the two spindle tools. Based on the center coordinates of the two spindle tools in the target axis direction, the actual deviation of the two spindle tools in the target axis direction is determined. Based on the actual deviation of the two spindle tools in the target axis direction, the axis spacing of the machine tool in the target axis direction is corrected. Therefore, this invention uses a tool detection fiber optic cable to determine the spacing between the two spindles, eliminating the need for other auxiliary tools. It can accurately obtain the axis spacing difference in real time, and then calibrate the axis spacing of the PCB drilling machine based on the axis spacing difference, thereby improving the yield rate of PCB board processing.
[0073] like Figure 14 The diagram shown is a structural schematic of a machine tool axis spacing detection device provided in this embodiment of the application. The units included in this embodiment are used for performing... Figure 1 The steps in the corresponding embodiments. Please refer to the details. Figure 1 as well as Figure 1 The relevant descriptions in the corresponding embodiments are shown below. For ease of explanation, only the parts relevant to this embodiment are shown. See also... Figure 14 The machine tool axis spacing detection device 140 includes: an acquisition module 141, a determination module 142, and a correction module 143.
[0074] The acquisition module 141 is used to acquire the center coordinates of the two spindle tools in the target axis direction using the tool detection fiber in the machine tool, wherein the preset spacing value is the theoretical spacing between the two spindle tools;
[0075] The determining module 142 is used to determine the actual deviation of the two spindle tools in the target axis direction based on the center coordinates of the two spindle tools in the target axis direction;
[0076] The correction module 143 is used to correct the axial spacing of the machine tool in the target axis direction based on the actual deviation of the two spindle tools in the target axis direction.
[0077] Optionally, the acquisition module 141 described above is specifically used for:
[0078] When the two spindle tools move in the X-axis direction and trigger the optical fiber path in the tool detection fiber, the first position coordinates of the two spindle tools in the X-axis direction are obtained.
[0079] When the two spindle tools continue to move in the positive X-axis direction and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the X-axis direction are obtained.
[0080] Based on the first and second position coordinates of the two spindle tools, the center coordinates of the two spindle tools in the X-axis direction are determined.
[0081] Optionally, the acquisition module 141 described above is further configured to:
[0082] When the two spindle tools move in the Y-axis direction and trigger the optical fiber path in the tool detection fiber, the first position coordinates of the two spindle tools in the Y-axis direction are obtained.
[0083] When the two spindle tools continue to move in the positive Y-axis direction and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the Y-axis direction are obtained.
[0084] Based on the first and second position coordinates of the two spindle tools, the center coordinates of the two spindle tools in the Y-axis direction are determined.
[0085] Optionally, the acquisition module 141 described above is further configured to:
[0086] The first position coordinates of the two spindle tools in the target axis direction include the first position coordinate A of spindle tool A in the target axis direction and the first position coordinate B of spindle tool B in the target axis direction. Before obtaining the first position coordinate B of spindle tool B in the target axis direction, the process includes:
[0087] After returning the two spindle tools to their initial positions, the two spindle tools are moved in the negative X-axis direction according to a preset spacing value.
[0088] Optionally, the aforementioned determining module 142 is specifically used for:
[0089] The two spindle tools include spindle tool A and spindle tool B, and the target axis direction includes the X-axis direction and / or the Y-axis direction. The actual deviation of the two spindle tools in the target axis direction is calculated using the following formula:
[0090] X 实际 =|((X) b2 -X b1 ) / 2)+D-((X a2 -X a1 ) / 2)|
[0091] Y 实际 =|((Y) b2 -Y b1 ) / 2)-((Y a2 -Y a1 ) / 2)|
[0092] Among them, (X) b2 -X b1 ) / 2 represents the center coordinate of the spindle tool B in the X-axis direction, (X a2 -X a1 ) / 2 represents the center coordinate of the spindle tool A in the X-axis direction, (Y ... b2 -Y b1 ) / 2 represents the center coordinate of the spindle tool B in the Y-axis direction, (Y a2 -Y a1 ) / 2 represents the center coordinate of the spindle tool A in the Y-axis direction, D represents the preset spacing value, and X 实际 The deviation of the two spindle tools in the X-axis direction is expressed as Y. 实际 This represents the actual deviation of the two spindle tools in the Y-axis direction.
[0093] Optionally, the above-mentioned correction module 143 is specifically used for:
[0094] Determine whether the actual deviation of the two spindle tools in the target axis direction exceeds the preset maximum deviation;
[0095] If the actual deviation of the two spindle tools in the target axis direction exceeds the preset maximum deviation, it is determined that the machine tool axis spacing is abnormal, and the axis spacing of the machine tool in the target axis direction is corrected.
[0096] If the actual deviation of the two spindle tools in the target axis direction does not exceed the preset maximum deviation, then it is determined that the machine tool axis spacing is not abnormal.
[0097] It should be noted that the information interaction and execution process between the above modules are based on the same concept as the method embodiments of the present invention. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.
[0098] This application also discloses a PCB drilling machine, which includes a spindle tool, a tool detection fiber, and a control unit. The spindle tool is two or more in number. The tool detection fiber is used to determine the distance between two spindle tools. The control unit is used to perform the following steps:
[0099] When the two spindle tools move simultaneously along the target axis direction according to a preset spacing value, the center coordinates of the two spindle tools in the target axis direction are obtained by using the tool detection fiber in the machine tool, wherein the preset spacing value is the theoretical spacing between the two spindle tools.
[0100] Based on the center coordinates of the two spindle tools in the target axis direction, determine the actual deviation of the two spindle tools in the target axis direction;
[0101] Based on the actual deviation of the two spindle tools in the target axis direction, the axial spacing of the machine tool in the target axis direction is corrected.
[0102] Specifically, the PCB drilling machine has multiple spindle tools. This embodiment uses two spindle tools as an example for illustration. Those skilled in the art will recognize that the technical solution of the present invention is not limited to the number of spindle tools and can also be used in machine tools with more than two spindle tools. In this embodiment, the tool detection fiber can move along the X-axis and Y-axis directions. By applying the tool detection fiber in the PCB drilling machine of the present invention, the distance between the two spindles is determined without the need for other auxiliary tools. The difference in axis spacing can be obtained in real time and accurately, thereby achieving the calibration of the axis spacing of the PCB drilling machine. This can improve the yield rate of PCB board processing, thereby ensuring accurate matching between each spindle tool and each processing position, which is conducive to executing parallel processing operations and can significantly improve the automation level and work efficiency of the machine tool.
[0103] As an optional embodiment, the blade inspection fiber includes an optical fiber path 151, a transmitting tube 152, and a receiving tube 153. The optical fiber path 151 is located between the transmitting tube 152 and the receiving tube 153. The transmitting tube 152 emits the detection optical path, and the receiving tube 153 receives the detection optical path emitted by the transmitting tube 152.
[0104] In this embodiment, as Figure 15As shown, the tool detection fiber includes an optical fiber path 151, a transmitting tube 152, and a receiving tube 153. The optical fiber path 151 is located between the transmitting tube 152 and the receiving tube 153. The transmitting tube 152 emits the detection optical path, and the receiving tube 153 receives the detection optical path emitted by the transmitting tube 152. The optical fiber path 151 can be a photosensitive element. That is, when the machine tool operation begins, the spindle tool starts working under the control of a control signal. Simultaneously with the spindle tool's operation, the tool detection fiber also starts working. The transmitting tube 152 in the tool detection fiber pre-emits the detection optical path, and the receiving tube 153 begins receiving the detection optical path. The optical path reads the first position signal of the spindle tool and sends it to the control unit in real time, instructing the control unit to acquire the first position coordinates of the spindle tool along the X-axis or Y-axis. When the spindle tool leaves the detection beam, the receiving tube 153 reads the second position signal of the spindle tool and sends it to the control unit in real time, instructing the control unit to acquire the second position coordinates of the spindle tool along the X-axis or Y-axis. The control unit then determines the center coordinates of the spindle tool in the X-axis or Y-axis direction based on the first and second position coordinates. Therefore, when each measurement operation on the optical fiber path is completed, the control unit sends a control signal to the spindle tool to stop its operation, which will be restarted for the next measurement on the optical fiber path.
[0105] As an optional embodiment, the control unit is further configured to perform the following steps:
[0106] When the two spindle tools move toward the target axis and trigger the optical fiber path in the tool detection fiber, the first position coordinates of the two spindle tools in the target axis direction are obtained.
[0107] When the two spindle tools continue to move toward the target axis and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the target axis direction are obtained.
[0108] Based on the first and second position coordinates of the two spindle tools, the center coordinates of the two spindle tools in the target axis direction are determined.
[0109] In this embodiment, when the two spindle tools move toward the target axis and trigger the fiber optic path 151 in the tool detection fiber, the first position coordinates of the two spindle tools in the target axis direction are obtained. When the two spindle tools continue to move toward the target axis and leave the fiber optic path 151 in the tool detection fiber, the second position coordinates of the two spindle tools in the target axis direction are obtained. Then, based on the first and second position coordinates of the two spindle tools in the target axis direction, the center coordinates of the two spindle tools in the target axis direction are determined. This allows the actual deviation of the two spindle tools in the target axis direction to be determined based on the center coordinates of the two spindle tools in the target axis direction. The actual deviation is then used to correct the axial spacing of the machine tool in the target axis direction, thereby improving the yield rate of PCB board processing.
[0110] In this embodiment, the PCB drilling machine can be a rotary drilling machine, a spiral drilling machine, or other drilling machines; this application does not limit the type of drilling machine. It is worth noting that the PCB drilling machine with fiber optic tool inspection provided in this embodiment can quickly verify the error between the two spindle tools in the target axis direction, thereby accurately obtaining the axis spacing difference in real time and correcting the machine tool's axis spacing in the target axis direction, ensuring the machine tool's processing accuracy and reducing product scrap losses.
[0111] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for detecting the axis spacing of a machine tool, characterized in that, include: Two spindle tools move simultaneously along the target axis according to a preset spacing value. The center coordinates of the two spindle tools in the target axis direction are obtained by the tool detection fiber in the machine tool. The preset spacing value is the theoretical spacing between the two spindle tools. Based on the center coordinates of the two spindle tools in the target axis direction, determine the actual deviation of the two spindle tools in the target axis direction; Based on the actual deviation of the two spindle tools in the target axis direction, the axial spacing of the machine tool in the target axis direction is corrected; The two spindle tools include spindle tool A and spindle tool B, the target axis direction includes the X-axis direction and / or the Y-axis direction, and the step of obtaining the center coordinates of the two spindle tools in the target axis direction using the tool detection fiber in the machine tool includes: When the two spindle tools move in the X-axis direction and trigger the optical fiber path in the tool detection fiber, the first position coordinates of the two spindle tools in the X-axis direction are obtained. When the two spindle tools continue to move in the positive X-axis direction and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the X-axis direction are obtained. Based on the first and second position coordinates of the two spindle tools, determine the center coordinates of the two spindle tools in the X-axis direction; When the two spindle tools move in the Y-axis direction and trigger the optical fiber path in the tool detection fiber, the first position coordinates of the two spindle tools in the Y-axis direction are obtained. When the two spindle tools continue to move in the positive Y-axis direction and leave the optical fiber path in the tool detection fiber, the second position coordinates of the two spindle tools in the Y-axis direction are obtained. Based on the first and second position coordinates of the two spindle tools, determine the center coordinates of the two spindle tools in the Y-axis direction; The actual deviation of the two spindle tools in the target axis direction is calculated using the following formula: in, The coordinates of the center of the spindle tool B in the X-axis direction are represented as follows. The coordinates of the center of the spindle tool A in the X-axis direction are represented as follows. The coordinates of the center of the spindle tool B in the Y-axis direction are represented as follows. The coordinates of the center of the spindle tool A in the Y-axis direction are represented as follows. This is represented by the preset spacing value. This is expressed as the actual deviation of the two spindle tools in the X-axis direction. This is expressed as the actual deviation of the two spindle tools in the Y-axis direction. This is represented by the coordinates of the first position A of the spindle tool A along the X-axis. This is represented as the second position A coordinate of the spindle tool A in the X-axis direction. This is represented by the coordinates of the first position B of the spindle tool B along the X-axis. This is represented as the second position coordinate of the spindle tool B in the X-axis direction. This represents the first position A coordinate of the spindle tool A along the Y-axis. This represents the second position A coordinate of the spindle tool A along the Y-axis. This represents the first position coordinate of the spindle tool B along the Y-axis. This represents the second position coordinate of the spindle tool B along the Y-axis.
2. The method for detecting the machine tool axis spacing according to claim 1, characterized in that, The first position coordinates of the two spindle tools in the target axis direction include the first position coordinate A of spindle tool A in the target axis direction and the first position coordinate B of spindle tool B in the target axis direction. Before obtaining the first position coordinate B of spindle tool B in the target axis direction, the following steps are included: After returning the two spindle tools to their initial positions, the two spindle tools are moved in the negative X-axis direction according to a preset spacing value.
3. The method for detecting the machine tool axis spacing according to claim 1, characterized in that, The step of correcting the axial spacing of the machine tool in the target axis direction based on the actual deviation of the two spindle tools in the target axis direction includes: Determine whether the actual deviation of the two spindle tools in the target axis direction exceeds the preset maximum deviation; If the actual deviation of the two spindle tools in the target axis direction exceeds the preset maximum deviation, it is determined that the machine tool axis spacing is abnormal, and the axis spacing of the machine tool in the target axis direction is corrected. If the actual deviation of the two spindle tools in the target axis direction does not exceed the preset maximum deviation, then it is determined that the machine tool axis spacing is not abnormal.
4. A device for detecting the axis spacing of a machine tool, characterized in that, The machine tool axis spacing detection device is used to implement the machine tool axis spacing detection method as described in any one of claims 1 to 3.
5. A PCB drilling machine, characterized in that, The PCB drilling machine includes a spindle tool, a tool detection fiber, and a control unit. There are two or more spindle tools. The tool detection fiber is used to determine the distance between two spindle tools. The control unit is used to implement the machine tool axis spacing detection method as described in any one of claims 1 to 3.
6. The PCB drilling machine according to claim 5, characterized in that, The fiber optic inspection device includes a fiber optic path, a transmitter, and a receiver. The fiber optic path is located between the transmitter and the receiver. The transmitter emits the detection optical path, and the receiver receives the detection optical path emitted by the transmitter.
Citation Information
Patent Citations
Machine tool table board expansion and shrinkage detection method and device, and PCB drilling machine
CN111571707A
Main shaft detection device and circuit board processing equipment
CN219829810U