A method and device for detecting expansion and contraction of a machine tool table and a PCB drilling machine

By using the tool detector and tool measuring control module in the PCB drilling machine to directly measure the expansion and contraction of the machine tool table, the problem of insufficient indirect detection accuracy in the existing technology is solved, and accurate detection and alarm reminders of the machine tool table are achieved. Improved processing accuracy and product quality.

CN111571707BActive Publication Date: 2024-09-17SUZHOU VEGA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910344496.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-26
Publication Date
2024-09-17
Estimated Expiration
2039-04-26

AI Technical Summary

Technical Problem

Existing PCB drilling machines lack the function of directly detecting the expansion and contraction of the machine tool table, which affects the processing accuracy. At this stage, indirect methods such as detecting water temperature or temperature sensors are mainly used to predict the expansion and contraction of the table, but the accuracy is insufficient.

Method used

The tool detector and tool measuring control module are used to directly measure the expansion and contraction of the machine tool table by transmitting and receiving detection beams. The center coordinates of the detection beam are calculated using changes in the motor position and compared with the reference value. An alarm is issued when the threshold is exceeded to ensure Processing accuracy.

Benefits of technology

It realizes the direct detection of the expansion and contraction of the machine tool table, improves the processing accuracy, reduces the scrap rate, and ensures product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111571707B
    Figure CN111571707B
Patent Text Reader

Abstract

The present invention discloses a method, device and PCB drilling machine for detecting the expansion and contraction of a machine tool table, the method comprising a tool measuring control module controlling the main shaft of the machine tool to grab the tool and put it into a tool detector; the tool detector includes a transmitter and a receiver inside; the tool measuring control module controls the motor to drive the main shaft to move along a first direction; the first direction is parallel to the plane where the machine tool table is located; when the tool starts to touch the detection beam and the tool leaves the detection beam, the receiver instructs the tool measuring control module to obtain the first position and the second position of the motor along the first direction respectively; the center coordinates of the detection beam are determined according to the two positions, and the center coordinates of the detection beam are compared with a reference value, and if the difference is greater than a preset threshold, an alarm prompt is issued. The present invention directly detects the expansion and contraction of the machine tool table with the help of a tool detector, and gives an alarm prompt when the machine tool table expands or contracts too much, thereby ensuring the machining accuracy of the machine tool.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of detection technology, and in particular to a method and device for detecting expansion and contraction of a machine tool table, and a PCB drilling machine. Background Art

[0002] PCB drilling machine is a high-speed, high-precision and high-stability high-end processing equipment, which is used in key processes such as through-hole processing, deep-hole processing and back-drilling processing of printed circuit boards, and has an extremely important impact on the processing quality of printed circuit boards. As the integration of printed circuit boards becomes higher and higher, the processing aperture becomes smaller and smaller, and the requirements for the processing accuracy of PCB drilling machines are also increasing.

[0003] The PCB drilling machine is designed and assembled from various materials such as steel, iron, and aluminum alloy. Different materials have different thermal expansion coefficients. As the internal temperature changes, the expansion and contraction of the machine tool table is inevitable, which will affect the positioning accuracy of the drilling and the processing accuracy of the printed circuit board.

[0004] At present, PCB drilling machines do not have the function of directly detecting the expansion and contraction of the machine tool table. Manufacturers use cooling water to take away the heat generated by the motor, etc., and indirectly judge the internal temperature of the machine tool by detecting the water temperature, thereby predicting the expansion and contraction of the machine tool table. Or they equip the motor with a temperature sensor to detect the internal temperature of the motor, and then indirectly judge the expansion and contraction of the machine tool table. Summary of the invention

[0005] The present invention provides a method and device for detecting the expansion and contraction of a machine tool table, and a PCB drilling machine, which can directly detect the expansion and contraction of the table, thereby ensuring the processing accuracy of the machine tool.

[0006] In a first aspect, the present invention provides a method for detecting the expansion and contraction of a machine tool table, the method comprising:

[0007] The tool measuring control module controls the main shaft of the machine tool to grab the tool and put it into the tool detector; the tool detector includes a transmitter and a receiver;

[0008] The transmitter emits a detection light beam, and the receiver receives the detection light beam emitted by the transmitter;

[0009] The tool measuring control module controls the motor to drive the spindle to move along a first direction; the first direction is parallel to the plane where the machine tool table is located;

[0010] When the tool starts to touch the detection light beam, the receiver sends a first electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a first position of the motor along a first direction; when the tool leaves the detection light beam, the receiver sends a second electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a second position of the motor along the first direction;

[0011] The tool measuring control module determines the center coordinate of the detection beam according to the first position of the motor and the second position of the motor, and issues an alarm when the difference between the center coordinate of the detection beam and a reference value is greater than a preset threshold.

[0012] Optionally, when the tool measuring control module determines the center coordinates of the detection light beam according to the first position of the motor and the second position of the motor, it further includes:

[0013] The tool measuring control module determines the diameter of the tool according to the first position of the motor and the second position of the motor.

[0014] Optionally, the tool measuring control module controls the spindle to grab the tool and put it into the tool detector every preset period; wherein the preset period is a tool replacement period.

[0015] Optionally, when the tool measuring control module controls the motor to drive the spindle to move along the first direction, the method further includes:

[0016] The tool measuring control module controls the tool to rotate in the tool detector through the main shaft.

[0017] Optionally, the tool measuring control module determines the center coordinates of the detection light beam according to the first position of the motor and the second position of the motor, including:

[0018] The tool measuring control module determines the center coordinates of the detection beam according to the following formula:

[0019] Wherein, S is the center coordinate of the detection light beam; x1 is the first position of the motor; and x2 is the second position of the motor.

[0020] Optionally, the first direction is the X-axis direction of the machine tool table.

[0021] In a second aspect, the present invention provides a device for detecting expansion and contraction of a machine tool table, the device comprising:

[0022] Tool measuring control module and tool detector;

[0023] The tool measuring control module is connected to the tool detector; the tool detector includes a transmitter and a receiver;

[0024] The tool measuring control module is used to control the spindle of the machine tool to grab the tool and put it into the tool detector, the transmitter is used to emit the detection light beam, and the receiver is used to receive the detection light beam; the tool measuring control module is also used to control the motor to drive the spindle to move along the first direction; the first direction is parallel to the plane where the machine tool table is located;

[0025] When the tool starts to touch the detection light beam, the receiver sends a first electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a first position of the motor along a first direction; when the tool just leaves the detection light beam, the receiver sends a second electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a second position of the motor along the first direction;

[0026] The tool measuring control module determines the center coordinate of the detection beam according to the first position of the motor and the second position of the motor, and issues an alarm when the difference between the center coordinate of the detection beam and a reference value is greater than a preset threshold.

[0027] Optionally, the tool measuring control module is further used to determine the diameter of the tool according to the first position of the motor and the second position of the motor.

[0028] Optionally, the first direction is the X-axis direction of the machine tool table.

[0029] Optionally, the tool detector includes a tool setting hole; the transmitter and the receiver are located on opposite sides of the tool setting hole; the line connecting the transmitter and the receiver is parallel to the emission direction of the detection beam of the transmitter; the emission direction of the detection beam of the transmitter is perpendicular to the X-axis direction.

[0030] In a third aspect, the present invention provides a PCB drilling machine, which includes the machine tool table expansion and contraction detection device described in the second aspect of claim.

[0031] The embodiment of the present invention sets a tool detector at one end of the machine tool table, and the tool measuring control module controls the spindle to grab the tool and put it into the tool detector, and controls the motor to drive the spindle to move along the first direction, so that the tool passes through the tool detector along the first direction. When the tool starts to touch the detection beam, the tool receiver sends a first electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain the first position of the motor along the first direction; when the tool just leaves the detection beam, the receiver sends a second electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain the second position of the motor along the first direction. The tool measuring control module determines the center coordinates of the detection beam of the tool detector according to the first position of the motor and the second position of the motor, and compares the center coordinates of the detection beam with the reference value, thereby obtaining the expansion and contraction of the machine tool table. The embodiment of the present invention realizes the direct detection of the expansion and contraction of the machine tool table, ensuring the machining accuracy of the machine tool. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 is a schematic diagram of the overall structure of a machine tool provided by an embodiment of the present invention;

[0033] Figure 2 yes Figure 1 An enlarged view of the local structure at the middle circle 100;

[0034] Figure 3 It is a flow chart of a method for detecting expansion and contraction of a machine tool table provided by an embodiment of the present invention;

[0035] Figure 4 yes Figure 1 An enlarged view of the local structure at the middle circle 200;

[0036] Figure 5 It is a structural schematic diagram of a machine tool table expansion and contraction detection device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0038] Figure 1 The overall structural diagram of the machine tool provided by the embodiment of the present invention is as follows: Figure 2 for Figure 1 The enlarged view of the local structure at the dotted line frame 100 is shown in FIG. Figure 1 and Figure 2, the machine tool is equipped with an X-axis assembly, a Y-axis assembly and a Z-axis assembly. The X-axis assembly includes an X-axis motor 1 and an X-axis grating ruler 2. The Z-axis assembly is mounted on the X-axis motor 1 to realize the X-axis and Z-axis movements as a whole. The Z-axis assembly includes a Z-axis motor 3 and a spindle 4. The Y-axis assembly includes a Y-axis grating ruler (not shown in the figure) and a Y-axis motor (not shown in the figure). The X-axis assembly and the Y-axis assembly move to fixed coordinates under the feedback control of the X-axis motor 1, the Y-axis motor 2 and the independent grating ruler, and then the Z-axis motor 3 works to drive the spindle 4 and the tool 5 to drill holes. The X-axis direction is perpendicular to the Y-axis direction, the X-axis direction and the Y-axis direction are parallel to the plane where the machine tool table is located, and the Z-axis direction is perpendicular to the plane where the machine tool table is located. During the operation of the machine tool, the motors in the X-axis direction and the Y-axis direction will generate heat, and the machine tool table will expand and shrink due to the temperature, and the expansion and contraction of the machine tool table will affect the machining accuracy of the machine tool.

[0039] In view of this, an embodiment of the present invention provides a method for detecting expansion and contraction of a machine tool table. Figure 3 A flow chart of a method for detecting expansion and contraction of a machine tool table provided by an embodiment of the present invention. Figure 3 The expansion and contraction detection method of the machine tool table includes:

[0040] S110, the tool measuring control module controls the spindle of the machine tool to grab the tool and put it into the tool detector.

[0041] S120: The transmitter transmits a detection light beam, and the receiver receives the detection light beam emitted by the transmitter.

[0042] Figure 4 for Figure 1 The enlarged view of the local structure at the dotted line frame 200 is as follows: Figure 4 As shown, the tool detector 6 can be placed on the end of the machine table away from the X-axis motor of the machine tool, that is, at Figure 4 The front end of the machine table is the front end of the machine table, and the rear end of the machine table is the processing table. The tool detector includes a transmitter ( Figure 4 ) and a receiver ( Figure 4 The transmitter is used to emit a detection beam, which is perpendicular to a first direction. The first direction is parallel to the plane where the machine tool table is located. The receiver is arranged at the receiving end of the detection beam, and can be, for example, a photosensitive element.

[0043] Optionally, when the tool measuring process starts, the tool measuring control module controls the tool detector to start working, the transmitter emits a detection beam, and the receiver starts to receive the detection beam. When each tool measuring process is completed, the tool measuring control module controls the tool detector to stop working and restart it for the next tool measuring.

[0044] S130: The tool measuring control module controls the motor to drive the main shaft to move along the first direction.

[0045] In the present invention, the plane where the X-axis direction and the Y-axis direction are located is set as the plane where the machine tool table is located.

[0046] Since multiple spindles are arranged along the X-axis direction, and the components moving in the X-axis direction include the X-axis motor, Z-axis motor and spindle, the load in the X-axis direction is relatively large, and the expansion and contraction of the machine tool table along the X-axis direction is relatively large. Detecting the expansion and contraction in the arrangement direction parallel to the spindle (i.e., the X-axis direction) has a greater reference value and significance.

[0047] Therefore, in the embodiment of the present invention, the first direction is preferably set to be parallel to the X-axis direction of the machine tool table, that is, the tool measuring control module controls the motor to drive the spindle to move along the X-axis direction.

[0048] It should be noted that the tool measuring control module controls the motor to drive the spindle to move along the X-axis direction, which is an optional embodiment of the present invention. In other embodiments, the tool measuring control module can be set to control the motor to drive the spindle to move along the X-axis direction and / or the Y-axis direction according to actual conditions.

[0049] The tool detector in the embodiment of the present invention includes a tool setting hole; the transmitter and the receiver are located on opposite sides of the tool setting hole; the line connecting the transmitter and the receiver is parallel to the emission direction of the detection beam of the transmitter, so the receiver can receive the detection beam emitted by the transmitter. If the first direction is the X-axis direction, then the tool measuring control module controls the X-axis motor to drive the spindle to move along the X-axis direction, so the emission direction of the detection beam of the transmitter is set to be perpendicular to the X-axis direction (i.e., parallel to the Y-axis direction).

[0050] S140. When the tool starts to touch the detection light beam, the receiver sends a first electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a first position of the motor along the first direction. When the tool leaves the detection light beam, the receiver sends a second electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a second position of the motor along the first direction.

[0051] The machine tool is provided with a grating ruler, which is used to read the position of the motor and send it to the motor driver in real time. The motor driver adjusts the movement and operating parameters of the motor according to the motor position sent by the grating ruler to perform full closed-loop control. When the tool measuring control module receives the first signal and the second signal, it obtains the motor position at two moments from the motor driver respectively, namely the first position and the second position of the motor along the first direction.

[0052] For example, the tool measuring control module controls the X-axis motor to drive the spindle to move along the X-axis direction, and gradually pushes the tool toward the detection beam. When the tool touches the detection beam, the light beam is blocked, and the receiver in the tool detector senses that the light beam has become weaker and cannot meet the conduction condition. Therefore, the output signal jumps from a high level to a low level (that is, the first signal is a low level). The tool measuring control module records the X-axis motor position at the moment of the level jump, and the X-axis electrode continues to push the tool in the positive direction of the X-axis until it leaves the detection beam. When the tool leaves the detection beam, the receiver outputs a signal from a high level to a low level (that is, the second signal is a high level), and the tool measuring control module again records the X-axis motor position at the moment of the level jump.

[0053] It should be noted that if the first direction is the X-axis direction, the X-axis grating ruler reads the position of the X-axis motor and sends it to the X-axis motor driver in real time, and the tool measuring control module obtains the first position and the second position of the X-axis motor. If the first direction is the Y-axis direction, the Y-axis grating ruler reads the position of the Y-axis motor and sends it to the Y-axis motor driver in real time, and the tool measuring control module obtains the first position and the second position of the Y-axis motor.

[0054] S150, the tool measuring control module determines the center coordinates of the detection beam according to the first position of the motor and the second position of the motor, and issues an alarm when the difference between the center coordinates of the detection beam and the reference value is greater than a preset threshold.

[0055] If the difference between the center coordinate of the detection beam and the reference value is greater than the preset threshold, it means that the machine tool table has expanded or contracted too much. At this time, the tool measuring control module will issue an alarm to remind the staff to promptly troubleshoot the problem and take relevant measures to adjust the machine tool temperature to ensure the machine tool processing accuracy and reduce the scrap rate.

[0056] The reference value and preset threshold can be set according to the actual processing requirements. In addition, the tool measuring control module can also record and store the expansion and contraction data of the machine tool (the center coordinates of the detection beam and the difference with the reference value), so that when defective products are found later, they can be traced and the cause can be checked.

[0057] The method for detecting the expansion and contraction of a machine tool table provided by an embodiment of the present invention sets a tool detector at one end of the machine tool table, and the tool detection control module records the first position and the second position of the motor when the tool just contacts the detection beam and leaves the detection beam respectively, and calculates the center coordinate of the detection beam according to the first position and the second position of the motor, and compares the center coordinate of the detection beam with the reference value, and issues an alarm when the difference between the two exceeds a preset threshold value, so as to remind the staff to take timely measures to reduce the expansion and contraction of the machine tool table. The embodiment of the present invention realizes direct detection of the expansion and contraction of the machine tool table, ensures the processing accuracy of the machine tool, reduces the scrap rate, and improves the quality of the product.

[0058] Optionally, when the tool measuring control module determines the center coordinates of the detection beam according to the first position of the motor and the second position of the motor, it also includes:

[0059] The tool measuring control module determines the diameter of the tool according to the first position of the motor and the second position of the motor.

[0060] The diameter of the tool can be calculated according to the formula d=|x2-x1|, where d is the diameter of the tool; x1 is the first position of the motor; and x2 is the second position of the motor.

[0061] The embodiment of the present invention can intersperse the expansion and contraction detection of the machine tool table into the process of measuring the tool diameter, and complete it synchronously with the tool measuring process, without requiring additional processes and without affecting the machining efficiency of the machine tool.

[0062] Optionally, the tool measuring control module controls the spindle to grab the tool and put it into the tool detector every preset period; wherein the preset period is a tool replacement period.

[0063] During the operation of a machine tool (such as a PCB drilling machine), the diameter of each tool must be measured, and each tool works for an average of 3 to 10 minutes before it cannot be used normally due to tool wear. Therefore, a tool change is required every certain period of time. In the embodiment of the present invention, when the tool diameter is detected each time the tool is changed, the expansion and contraction of the machine tool table is detected at the same time. The expansion and contraction detection cycle of the machine tool table is set to be the same as the tool replacement cycle, so that the expansion and contraction of the machine tool table can be continuously detected. If the machine tool table is found to have expanded or contracted too much, the processing is stopped in time and corresponding treatment is performed, thereby effectively ensuring the processing accuracy.

[0064] Optionally, when the tool measuring control module controls the motor to drive the spindle to move along the first direction, the method further includes:

[0065] The tool measuring control module controls the tool to rotate in the tool detector through the spindle.

[0066] If the tool of the machine tool is provided with threads, the adjacent threads are recessed parts, and the position of the motor obtained by the tool measuring control module is inaccurate due to the existence of the threads. Therefore, the present invention adopts a rotating tool method. Even if the tool is provided with threads, since the tool is always rotating, the rotating tool can be regarded as a cylindrical posture, so the accurate tool diameter and motor position can be obtained.

[0067] Optionally, the tool measuring control module determines the center coordinates of the detection beam according to the first position of the motor and the second position of the motor, including:

[0068] The tool measuring control module determines the center coordinates of the detection beam according to the following formula:

[0069] Wherein, S is the center coordinate of the detection light beam; x1 is the first position of the motor; and x2 is the second position of the motor.

[0070] When the temperature inside the machine tool changes, causing the machine tool table to expand or contract, the coordinate origin of the machine tool table will shift to a certain extent. At this time, the measured first position of the motor and the second position of the motor will both have a certain offset, so the calculated center coordinates of the detection beam will also have a certain offset. Therefore, the expansion and contraction changes of the bed table can be obtained by calculating the center coordinates of the detection beam.

[0071] According to the same concept of the present invention, an embodiment of the present invention further provides a machine tool table expansion and contraction detection device, Figure 5 The structural diagram of the machine tool table expansion and contraction detection device provided by the embodiment of the present invention is shown in FIG. Figure 5 , the device comprises:

[0072] Tool measuring control module 7 and tool detector 6; tool measuring control module 7 is connected to tool detector 6.

[0073] The tool detector 6 includes a transmitter and a receiver ( Figure 5 The transmitter is used to send out a detection light beam, and the receiver is used to receive the detection light beam.

[0074] The tool measuring control module 7 is used to control the main shaft of the machine tool to grab the tool and put it into the tool detector. The tool measuring control module 7 is also used to control the motor to drive the main shaft to move along the first direction; the first direction is parallel to the plane where the machine tool table is located.

[0075] When the tool starts to touch the detection light beam, the receiver sends a first electrical signal to the tool measuring control module 7 to instruct the tool measuring control module 7 to obtain the first position of the motor along the first direction; when the tool leaves the detection light beam, the receiver sends a second electrical signal to the tool measuring control module 7 to instruct the tool measuring control module 7 to obtain the second position of the motor along the first direction.

[0076] When the tool starts to touch the detection beam, since the detection beam is blocked, the receiver in the tool detector senses that the detection beam has become weaker and cannot meet the conduction condition, so the output signal jumps from a high level to a low level (that is, the first signal is a low level), and the tool measuring control module records the position of the motor along the first direction at this time, and the tool continues to move in the first direction until it leaves the detection beam. After the tool leaves the detection beam, the receiver outputs a signal that jumps from a high level to a low level (that is, the second signal is a high level), and the tool measuring control module records the current position of the motor along the first direction again.

[0077] The tool measuring control module 7 determines the center coordinate of the detection beam according to the first position of the motor and the second position of the motor, and issues an alarm when the difference between the center coordinate of the detection beam and the reference value is greater than a preset threshold.

[0078] If the difference between the center coordinate of the detection beam and the reference value is greater than the preset threshold, it means that the machine tool table has expanded or contracted too much. At this time, the tool measuring control module will issue an alarm to remind the staff to promptly troubleshoot the problem and take relevant measures to adjust the machine tool temperature to ensure the machine tool processing accuracy and reduce the scrap rate.

[0079] The machine tool table detection device provided in the embodiment of the present invention sets a tool detector at one end of the machine tool table, adopts a tool measuring control module to control the spindle to grab the tool and put it into the tool detector, controls the motor to drive the spindle to move along the first direction, so as to obtain the center point coordinates of the detection light beam, and compares them with the reference value. If the difference between the two is too large, an alarm prompts to remind the staff that the current machine tool table expands or contracts too much, and timely measures need to be taken to ensure the processing accuracy, avoid the production of unqualified products, and improve the product qualification rate.

[0080] Optionally, the tool measuring control module 7 is further used to determine the diameter of the tool according to the first position of the motor and the second position of the motor.

[0081] Optionally, the tool measuring control module 7 controls the spindle to grab the tool and put it into the tool detector every preset period; wherein the preset period is a tool replacement period.

[0082] The embodiment of the present invention sets the expansion and contraction detection cycle of the machine tool table to be the same as the tool replacement cycle. Each time the tool is changed to detect the tool diameter, the expansion and contraction of the machine tool table can be detected at the same time, thereby achieving uninterrupted detection of the expansion and contraction of the machine tool table. If it is found that the machine tool table has expanded or contracted too much, processing is stopped in time and corresponding treatment is carried out, thereby effectively ensuring processing accuracy.

[0083] Optionally, when the tool measuring control module 7 controls the motor to drive the spindle to move in the first direction, it can also control the tool to rotate in the tool detector through the spindle. This arrangement can avoid inaccurate measurement of the tool diameter and motor position due to the thread on the tool.

[0084] Optionally, the tool measuring control module 7 may determine the center coordinates of the detection beam according to the following formula:

[0085]

[0086] Wherein, S is the center coordinate of the detection light beam; x1 is the first position of the motor; and x2 is the second position of the motor.

[0087] Since the expansion and contraction of the machine tool table along the X-axis direction varies greatly, the first direction is optionally the X-axis direction of the machine tool table. Figure 5 The tool detector 6 includes a tool setting hole 60; a transmitter ( Figure 5 The dotted line frame 72 is located) and the receiver ( Figure 5 The dotted line frame 71 is located on two opposite sides of the tool setting hole 60. The line connecting the transmitter and the receiver is parallel to the emission direction of the detection beam of the transmitter; the emission direction of the detection beam of the transmitter is perpendicular to the X-axis direction of the machine tool table. The tool detector 6 can be placed at one end of the machine tool table away from the X-axis motor of the machine tool, that is, at the front end of the machine tool table, and the rear end of the machine tool table is the processing table.

[0088] Optionally, the machine tool is provided with a grating ruler, which is used to read the position of the motor and send it to the motor driver in real time. The motor driver adjusts the movement and operating parameters of the motor according to the motor position sent by the grating ruler. When the tool measuring control module sends the first electrical signal and the second electrical signal to the receiver, the motor position at these two moments is obtained from the motor driver, that is, the first position and the second position of the motor along the first direction. The tool measuring control module can be connected to the tool detector through the motor driver to realize signal transmission. Figure 5 , the tool measuring control module 7 and the tool detector 6 are electrically connected through the detection level input terminal 9, the motor driver 8 is connected to the tool measuring control module 7, and the receiver of the tool detector 6 sends the generated first level signal and the second level signal to the tool measuring control module 7 to instruct the tool measuring control module 7 to send an instruction to the motor driver 8 to obtain the grating ruler reading at the current moment through the communication data transmission channel 10. After receiving the above instruction from the tool measuring control module 7, the motor driver 8 sends the grating ruler reading to the tool measuring control module 7 through the data transmission channel 12. It should be noted that the grating ruler sends the measured data to the motor driver 8 through the grating ruler reading receiving port 11, and the motor driver 8 supplies power to the motor through the motor power supply output port 13. It should be noted that if the first direction is selected as the X-axis direction, then the above motor driver 8 is an X-axis motor driver, and the above motor is an X-axis motor.

[0089] The machine tool table expansion and contraction detection device provided in the embodiment of the present invention can be applied to the table expansion and contraction detection of any machine tool, such as a PCB board drilling machine, and can also be applied to other types of machine tools for processing mechanical parts in mechanical manufacturing, such as milling machines, planers, and slotting machines.

[0090] The embodiment of the present invention further provides a PCB drilling machine, which includes the machine tool table expansion and contraction detection device in the above embodiment. It should be noted that the PCB drilling machine provided by the embodiment of the present invention may also include other parts for supporting the normal operation of the PCB drilling machine, such as an X-axis motor, a Y-axis motor, a Z-axis motor, a spindle, and a grating ruler.

[0091] Since the embodiment of the present invention adopts the machine tool table expansion and contraction detection device described in the above embodiments, it can also realize direct detection of the expansion and contraction of the machine tool table. When the expansion and contraction of the machine tool table exceeds a certain threshold, it reminds the staff and takes timely measures to ensure the processing accuracy of the product and avoid the production of unqualified products.

[0092] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for detecting expansion and contraction of a machine tool table. It is characterized in that include: The tool measuring control module controls the main shaft of the machine tool to grab the tool and put it into the tool detector; the tool detector includes a transmitter and a receiver; The transmitter emits a detection light beam, and the receiver receives the detection light beam emitted by the transmitter; The tool measuring control module controls the motor to drive the spindle to move along a first direction; the first direction is parallel to the plane where the machine tool table is located; When the tool starts to touch the detection light beam, the receiver sends a first electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a first position of the motor along a first direction; when the tool leaves the detection light beam, the receiver sends a second electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a second position of the motor along the first direction; The tool measuring control module determines the center coordinate of the detection beam according to the first position of the motor and the second position of the motor, and issues an alarm when the difference between the center coordinate of the detection beam and a reference value is greater than a preset threshold.

2. The method for detecting expansion and contraction of a machine tool table according to claim 1, It is characterized in that When the tool measuring control module determines the center coordinates of the detection beam according to the first position of the motor and the second position of the motor, it also includes: The tool measuring control module determines the diameter of the tool according to the first position of the motor and the second position of the motor.

3. The method for detecting expansion and contraction of a machine tool table according to claim 1, It is characterized in that When the tool measuring control module controls the motor to drive the spindle to move along the first direction, the method further includes: The tool measuring control module controls the tool to rotate in the tool detector through the main shaft.

4. The method for detecting expansion and contraction of a machine tool table according to claim 1, It is characterized in that The first direction is the X-axis direction of the machine tool table.

5. A machine tool table expansion and contraction detection device, It is characterized in that include: Tool measuring control module and tool detector; The tool measuring control module is connected to the tool detector; the tool detector includes a transmitter and a receiver; The tool measuring control module is used to control the spindle of the machine tool to grab the tool and put it into the tool detector, the transmitter is used to emit the detection light beam, and the receiver is used to receive the detection light beam; the tool measuring control module is also used to control the motor to drive the spindle to move along the first direction; the first direction is parallel to the plane where the machine tool table is located; The tool measuring control module controls the motor to drive the spindle to move along the first direction, and also controls the tool to rotate in the tool detector through the spindle; When the tool starts to touch the detection light beam, the receiver sends a first electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a first position of the motor along a first direction; when the tool just leaves the detection light beam, the receiver sends a second electrical signal to the tool measuring control module to instruct the tool measuring control module to obtain a second position of the motor along the first direction; The tool measuring control module determines the center coordinate of the detection beam according to the first position of the motor and the second position of the motor, and issues an alarm when the difference between the center coordinate of the detection beam and a reference value is greater than a preset threshold.

6. The machine tool table expansion and contraction detection device according to claim 5, It is characterized in that The tool measuring control module is further used to determine the diameter of the tool according to the first position of the motor and the second position of the motor.

7. The machine tool table expansion and contraction detection device according to claim 5, It is characterized in that The first direction is the X-axis direction of the machine tool table.

8. The machine tool table expansion and contraction detection device according to claim 7, It is characterized in that The tool detector includes a tool setting hole; the transmitter and the receiver are located on opposite sides of the tool setting hole; the line connecting the transmitter and the receiver is parallel to the emission direction of the detection beam of the transmitter; the emission direction of the detection beam of the transmitter is perpendicular to the X-axis direction.

9. A PCB drilling machine, It is characterized in that It comprises the machine tool table expansion and contraction detection device as described in any one of claims 5-8.