Method for detecting the position of the air chuck in a drilling machine and drilling machine
Patent Information
- Application Number
- CN202410223775.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-28
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2044-02-28
AI Technical Summary
[0003]但是,由于机械钻孔机在加工过程中存在比较大的振动,同时在实际操作中存在用胶锤敲击销钉的行为(主要是让销钉不凸出来),都有可能导致气夹发生移位,从而导致加工报废
[0043]This application first determines whether the relative coordinate difference between the first and third clamping surfaces of the pneumatic clamp in the first direction is within a preset range. When the relative coordinate difference between the first and third clamping surfaces in the first direction is within the preset range, the spindle and the worktable are then controlled to move, so that the conductive probe clamped by the spindle contacts at least one of the first and third clamping surfaces to generate a first trigger signal, and the conductive probe clamped by the spindle contacts the second clamping surface to generate a second trigger signal. Then, based on the first trigger signal, the X coordinate of the pneumatic clamp at the same position on the worktable relative to the spindle in the first direction is determined, and based on the second trigger signal, the Y coordinate of the pneumatic clamp at the same position on the worktable relative to the spindle in the second direction is determined. The detection method is simple, time-saving, and efficient. Moreover, since the position detection time of the pneumatic clamp is very short, customers can set a higher frequency of inspection, thereby reducing the risk of product scrap and improving product quality.
Smart Images

Figure CN117962003B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of PCB CNC drilling machine technology, specifically to a method for detecting the position of the air clamp in a drilling machine and the drilling machine itself. Background Technology
[0002] Air clamps are an important component of PCB mechanical drilling machines. Air clamps have a two-pin function, which means that the relative positional accuracy between the air clamp and the spindle is first adjusted with tools, and then the wrapped PCB board is directly clamped in the air clamp with two pins. By ensuring the relative positional accuracy between the air clamp and the spindle, the drilling accuracy of the PCB board is guaranteed. Currently, more and more PCB board manufacturers are choosing to adopt two-pin operation.
[0003] However, due to the significant vibrations generated during the machining process of mechanical drilling machines, and the practice of striking the pins with a rubber mallet (mainly to prevent the pins from protruding), the pneumatic clamps may shift, leading to machining failure. Currently, PCB manufacturers primarily rely on manual periodic checks of the two-pin accuracy, which is labor-intensive, time-consuming, and cumbersome, often resulting in prolonged downtime for customers. Summary of the Invention
[0004] In order to overcome the problems existing in the prior art, the main purpose of this application is to provide a method for detecting the position of the air clamp of a drilling machine and a drilling machine that is less time-consuming and less labor-intensive.
[0005] To achieve the above objectives, this application specifically adopts the following technical solution:
[0006] This application provides a method for detecting the position of an air chuck in a drilling machine, applied to a drilling machine including a worktable, an air chuck, and a spindle. The air chuck is disposed on the worktable and has a first clamping surface, a second clamping surface, and a third clamping surface. The method for detecting the position of the air chuck includes:
[0007] Determine whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range;
[0008] When the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is determined to be within a preset range, the spindle and the worktable are controlled to move so that the conductive probe clamped by the spindle contacts at least one of the first clamping surface and the third clamping surface to conduct electricity, thereby generating a first trigger signal.
[0009] Based on the first trigger signal, determine the X coordinate of the pneumatic clamp relative to the spindle in the first direction at the same workstation on the workbench.
[0010] Control the spindle and the worktable to move so that the conductive probe held by the spindle comes into contact with the second clamping surface to conduct electricity, thereby generating a second trigger signal;
[0011] Based on the second trigger signal, determine the Y-coordinate of the pneumatic clamp relative to the spindle in the second direction at the same workstation on the worktable.
[0012] In some embodiments, determining whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range includes:
[0013] Control the spindle and the worktable to move so that the conductive probe held by the spindle comes into contact with the first clamping surface to conduct electricity, thereby generating a third trigger signal;
[0014] The first relative coordinate of the first clamping surface with respect to the spindle in the first direction is determined based on the third trigger signal;
[0015] Control the spindle and the worktable to move so that the conductive probe held by the spindle comes into contact with the third clamping surface to conduct electricity, thereby generating a fourth trigger signal;
[0016] The second relative coordinate of the third clamping surface with respect to the spindle in the first direction is determined based on the fourth trigger signal;
[0017] Based on the first relative coordinate and the second relative coordinate, determine whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range.
[0018] In some embodiments, controlling the movement of the spindle and the worktable to bring the conductive probe held by the spindle into contact with at least one of the first clamping surface and the third clamping surface to generate a first trigger signal includes:
[0019] The spindle and the worktable are controlled to move so that the conductive probe held by the spindle comes into contact with the first clamping surface or the third clamping surface to conduct electricity, thereby generating a first trigger signal.
[0020] In some embodiments, determining the X-coordinate of the pneumatic clamp relative to the spindle in a first direction based on the first trigger signal includes:
[0021] When the conductive probe contacts the first clamping surface or the third clamping surface to generate a first trigger signal, the movement distance of the spindle relative to the first clamping surface or the third clamping surface in the first direction is detected by the grating ruler.
[0022] The X-coordinate of the pneumatic clamp relative to the spindle in the first direction is determined based on the distance the spindle moves relative to the first clamping surface or the third clamping surface in the first direction.
[0023] In some embodiments, controlling the movement of the spindle and the worktable to bring the conductive probe held by the spindle into contact with at least one of the first clamping surface and the third clamping surface to generate a first trigger signal includes:
[0024] Control the spindle and the worktable to move, so that the conductive probe held by the spindle makes contact with the first clamping surface and the third clamping surface respectively to generate multiple first trigger signals;
[0025] Determining the X-coordinate of the pneumatic clamp relative to the spindle in the first direction based on the first trigger signal includes:
[0026] When the conductive probe contacts the first clamping surface to generate a first trigger signal, the movement distance of the spindle relative to the first clamping surface in a first direction is detected by a grating ruler.
[0027] The first coordinate of the first clamping surface in the first direction is determined based on the distance the spindle moves relative to the first clamping surface in the first direction;
[0028] When the conductive probe contacts the third clamping surface to generate a first trigger signal, the movement distance of the spindle relative to the third clamping surface in the first direction is detected by the grating ruler.
[0029] The second coordinate of the third clamping surface in the first direction is determined based on the distance the spindle moves relative to the third clamping surface in the first direction;
[0030] The average of the first coordinate and the second coordinate is taken to obtain the X coordinate of the air clamp relative to the spindle in the first direction, corresponding to the same worktable.
[0031] In some embodiments, determining the Y-coordinate of the pneumatic clamp relative to the spindle in the second direction based on the second trigger signal, corresponding to the same station on the worktable, includes:
[0032] When the conductive probe contacts the second clamping surface to generate a second trigger signal, the movement distance of the worktable relative to the spindle in the second direction is detected by the grating ruler.
[0033] The Y-coordinate of the pneumatic clamp relative to the spindle in the second direction is determined based on the distance the worktable moves relative to the spindle in the second direction.
[0034] Accordingly, this application also provides a drilling machine, the drilling machine comprising:
[0035] Workbench;
[0036] An air clamp is disposed on the worktable for positioning the workpiece to be processed, and the air clamp has a first clamping surface, a second clamping surface and a third clamping surface;
[0037] The spindle is used to hold the conductive probe.
[0038] Controller, which is connected to the spindle;
[0039] The controller is configured to determine whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range. When the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within the preset range, the controller is further configured to control the spindle and the worktable to move, so that the conductive probe clamped by the spindle contacts at least one of the first clamping surface and the third clamping surface to conduct electricity, thereby generating a first trigger signal. The controller is further configured to determine the X coordinate of the pneumatic clamp corresponding to the same station on the worktable relative to the spindle in the first direction based on the first trigger signal. The controller is further configured to control the spindle and the worktable to move, so that the conductive probe clamped by the spindle contacts the second clamping surface to conduct electricity, thereby generating a second trigger signal. The controller is further configured to determine the Y coordinate of the pneumatic clamp corresponding to the same station on the worktable relative to the spindle in the second direction based on the second trigger signal.
[0040] In some embodiments, the spindle is configured as an air-bearing spindle.
[0041] In some embodiments, the drilling machine further includes a base, a support, a first connecting seat, and a second connecting seat. The support and the worktable are respectively disposed on the base. The first connecting seat is movably connected to the support and can move along the first direction. The second connecting seat is movably connected to the first connecting seat and can move along a third direction. The spindle is disposed on the second connecting seat. The controller is respectively connected to the first connecting seat and the second connecting seat.
[0042] In some embodiments, the worktable is movably disposed on the base, and the worktable is movable along the second direction.
[0043] This application first determines whether the relative coordinate difference between the first and third clamping surfaces of the pneumatic clamp in the first direction is within a preset range. When the relative coordinate difference between the first and third clamping surfaces in the first direction is within the preset range, the spindle and the worktable are then controlled to move, so that the conductive probe clamped by the spindle contacts at least one of the first and third clamping surfaces to generate a first trigger signal, and the conductive probe clamped by the spindle contacts the second clamping surface to generate a second trigger signal. Then, based on the first trigger signal, the X coordinate of the pneumatic clamp at the same position on the worktable relative to the spindle in the first direction is determined, and based on the second trigger signal, the Y coordinate of the pneumatic clamp at the same position on the worktable relative to the spindle in the second direction is determined. The detection method is simple, time-saving, and efficient. Moreover, since the position detection time of the pneumatic clamp is very short, customers can set a higher frequency of inspection, thereby reducing the risk of product scrap and improving product quality. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a perspective view of a drilling machine provided in an embodiment of this application.
[0046] Figure 2 for Figure 1 A schematic diagram of the structure of the central spindle, conductive probe, and air clamp.
[0047] Figure 3 for Figure 1 Cross-sectional view of the central spindle.
[0048] Figure 4 for Figure 1 A three-dimensional view of the conductive probe.
[0049] Figure 5 for Figure 2 A magnified view of a portion of the gas clamp.
[0050] Figure 6 for Figure 2 Another enlarged view of the middle gas clamp.
[0051] Figure 7 This is a diagram showing the mating of the conductive probe and the air clamp provided in an embodiment of this application.
[0052] Figure 8 A flowchart illustrating the method for detecting the relative position of the drilling machine air clamp and the spindle, as provided in an embodiment of this application.
[0053] Attached image labels:
[0054] 1. Base; 2. Worktable; 3. Pneumatic clamp; 31. First clamping surface; 32. Second clamping surface; 33. Third clamping surface; 4. Bracket; 5. First connecting seat; 6. Second connecting seat; 7. Spindle; 8. Conductive probe; 81. Mounting part; 82. Connecting part; 83. Protrusion. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0056] In the description of this application, unless otherwise expressly specified and limited, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance; unless otherwise specified or explained, the term "multiple" refers to two or more, and the term "various types" refers to two or more; the terms "connection," "fixed," etc., should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, an integral connection, or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0057] In the description of this specification, it should be understood that the directional terms such as "upper" and "lower" used in the embodiments of this application are used to describe the angles shown in the accompanying drawings and should not be construed as limiting the embodiments of this application. Furthermore, in the context, it should also be understood that when it is mentioned that an element is connected "upper" or "lower" to another element, it can be directly connected to the other element "upper" or "lower," or indirectly connected to the other element "upper" or "lower" through an intermediate element.
[0058] In existing technologies, PCB manufacturers primarily rely on manual, periodic checks of Two-pin accuracy. This involves workers adjusting the relative position of the pneumatic clamp and spindle, then clamping the wrapped PCB material directly in the clamp using two pins before processing. This process ensures drilling accuracy by maintaining the correct relative position between the clamp and spindle. However, the inventors argue that manual, periodic checks of Two-pin accuracy during mechanical drilling operations are labor-intensive, time-consuming, and cumbersome. Furthermore, the time-consuming nature of Two-pin checks can lead to downtime losses for customers, thus necessitating a longer inspection cycle. However, a long inspection cycle increases the risk of scrapped PCB materials.
[0059] Reference Figure 1 and Figure 2 As shown, an embodiment of this application discloses a drilling machine, which includes a base 1, a worktable 2, an air clamp 3, a support 4, a first connecting seat 5, a second connecting seat 6, a spindle 7, a grating ruler (not shown), and a controller (not shown). The worktable 2 is movably disposed on the base 1 and is movable in a second direction. The air clamp 3 is disposed on the worktable 2 and is used to position the workpiece to be processed placed on the worktable 2. The support 4 is connected to the base 1, and the support 4 and the worktable 2 are located on the same side of the base 1. The first connecting seat 5 is movably connected to the support 4 and is movable in a first direction. The second connecting seat 6 is movably connected to the first connecting seat 5 and is movable in a third direction. The spindle 7 is used to clamp a cutting tool (e.g., a drilling tool), and the spindle 7 is disposed on the second connecting seat 6 and located above the worktable 2, so that by controlling the movement of the first connecting seat 5, the spindle 7 can be moved in the first direction, and by controlling the movement of the second connecting seat 6, the spindle 7 can be moved in a third direction. The controller is connected to the worktable 2, the first connecting seat 5, the second connecting seat 6, and the spindle 7, respectively. The controller controls the movement of the first connecting seat 5, the second connecting seat 6, and the worktable 2, aligning the position of the spindle 7 with the drilling position on the PCB board. The controller also controls the rotation of the spindle 7, causing the tool held by the spindle 7 to rotate, thereby processing the board material. A linear encoder is used to detect the movement distance of the spindle 7. The first direction refers to the length extension direction of the base 1, i.e. Figure 1 The X direction refers to the direction of the base 1; the second direction refers to the direction of the width extension of the base 1, i.e. Figure 1 The Y direction refers to the direction in which the height of base 1 extends; the third direction refers to the direction in which the height of base 1 extends. Figure 1 The Z direction in the equation.
[0060] When drilling PCBs, the controller controls the spindle 7 to clamp the tool, and then controls the first connecting seat 5 and the second connecting seat 6 to move, so as to drive the spindle 7 to move upward in the first direction and the third direction. At the same time, the controller controls the worktable 2 to move so that the tool clamped by the spindle 7 corresponds to the position of the PCB to be drilled. Then, the controller controls the spindle 7 to rotate while moving upward in the third direction, so as to drive the tool to rotate while moving upward in the third direction, thereby realizing the drilling operation on the PCB.
[0061] The drilling machine in this embodiment is a six-axis PCB mechanical drilling machine. Specifically, the drilling machine has six spindles 7 and six worktables 2. Each worktable 2 is equipped with a pneumatic clamp 3, and each spindle 7 corresponds to one worktable 2. That is, each spindle 7 is used to process the PCB board material located on the corresponding worktable 2. It can be understood that in other embodiments, the drilling machine may also be a drilling machine with a different number of spindles.
[0062] To ensure the accuracy of PCB board processing, the drilling machine also includes a conductive probe 8. The conductive probe 8 is held by the spindle 7 and makes contact with the air clamp 3 to conduct electricity, thereby detecting the relative position accuracy between the air clamp 3 and the spindle 7, so as to ensure the accuracy of PCB board drilling. The detection speed is fast and the detection method is simple.
[0063] Reference Figure 3 As shown, in this embodiment, the main shaft 7 is an air-bearing main shaft, including a stator and a rotor. The stator is mounted on the second connecting seat 6, and the rotor is rotatably mounted on the stator. An air gap A exists between the rotor and the stator. The rotor is used to assemble the conductive probe 8. By setting the main shaft 7 as an air-bearing main shaft in this embodiment, damage to the main shaft 7 can be avoided. When the conductive probe held by the rotor comes into contact with the air clamp, the air gap between the rotor and the stator prevents damage to the stator.
[0064] Reference Figure 4 As shown, the conductive probe 8 includes a mounting portion 81, a connecting portion 82, and a protrusion 83. The two ends of the connecting portion 82 are respectively connected to the mounting portion 81 and the protrusion 83, and the diameter of the connecting portion 82 is smaller than the diameters of the mounting portion 81 and the protrusion 83. The mounting portion 81 can be mounted on the rotor of the spindle 7, and the protrusion 83 is used to contact the air clamp 3 to generate a trigger signal. In other embodiments, the conductive probe can also be a drill bit.
[0065] When checking the relative positional accuracy between the air clamp 3 and the spindle 7 at the same station on worktable 2, the controller controls the spindle 7 to clamp the conductive probe 8. The controller then controls the movement of the first connecting seat 5 and the second connecting seat 6 corresponding to the spindle 7, causing the spindle 7 to move upwards in the first and third directions. Simultaneously, the controller controls the worktable 2 to move, causing the conductive probe 8 clamped by the spindle 7 to make contact with the corresponding air clamp 3, generating a trigger signal. Based on this trigger signal, the relative coordinates between the air clamp 3 and the spindle 7 at the same station on worktable 2 are determined. If the relative coordinates meet the requirements, the spindle 7 can be controlled to perform drilling operations on the sheet metal placed on the corresponding worktable 2. If the relative coordinates do not meet the requirements, the Manufacturing Execution System (MES) system prompts the user to perform a two-pin accuracy adjustment, i.e., adjust the relative coordinates between the air clamp 3 and the spindle 7, and then continue to check whether the relative coordinates between the air clamp 3 and the spindle 7 meet the requirements using the above method.
[0066] The drilling machine in this embodiment can automatically detect the precise position of the air clip 3, greatly reducing the time and labor intensity of manual inspection of the Two-pin accuracy, and also significantly reducing customer downtime, thereby creating higher economic benefits. Furthermore, because the air clip position detection time is very short, customers can set a higher frequency of inspections, thereby reducing the risk of product scrap and improving product quality.
[0067] In this embodiment, the trigger signal can be generated by the trigger circuit. For example, the trigger circuit is connected to the conductive probe 8 and the air clamp 3 respectively. When the conductive probe 8 and the air clamp 3 are electrically connected, the trigger circuit generates a trigger signal. When the conductive probe and the air clamp 3 are not electrically connected, the trigger circuit does not generate a trigger signal.
[0068] Reference Figure 5 and Figure 6 As shown, in this embodiment, the air clamp 3 has multiple clamping surfaces, which can be named the first clamping surface 31, the second clamping surface 32, and the third clamping surface 33, respectively. The conductive probe 8 can make contact with each clamping surface of the air clamp 3 to generate a trigger signal. The controller is used to determine the relative coordinates between the air clamp 3 and the spindle 7 based on the trigger signal generated by the conductive probe 8 clamped by the spindle 7 making contact with the multiple clamping surfaces of the air clamp 3.
[0069] Specifically, when checking whether the relative coordinate accuracy between the pneumatic clamp 3 and the spindle 7 at the same station of the worktable 2 meets the requirements, the spindle 7 is controlled to clamp the conductive probe 8, and then the first connecting seat 5, the second connecting seat 6 and the worktable 2 corresponding to the spindle 7 are controlled to move, so that the conductive probe 8 clamped by the spindle 7 contacts the first clamping surface 31 to conduct electricity, thereby generating a third trigger signal. The conductive probe 8 clamped by the spindle 7 contacts the third clamping surface 33 to conduct electricity, thereby generating a fourth trigger signal. Then, based on the third trigger signal, the first relative coordinate of the first clamping surface 31 relative to the spindle 7 in the first direction is determined, and based on the fourth trigger signal, the second relative coordinate of the third clamping surface 33 relative to the spindle 7 in the first direction is determined. Then, based on the first relative coordinate and the second relative coordinate, it is determined whether the relative coordinate difference between the first clamping surface 31 and the third clamping surface 33 in the first direction is within a preset range. When the relative coordinate difference between the first clamping surface 31 and the third clamping surface 33 in the first direction is determined to be within a preset range, the controller controls the spindle 7 and the worktable 2 to move, so that the conductive probe 8 clamped by the spindle 7 contacts at least one of the first clamping surface 31 and the third clamping surface 33 to generate a first trigger signal. The conductive probe 8 clamped by the spindle 7 contacts the second clamping surface 32 to generate a second trigger signal. Then, based on the first trigger signal, the X coordinate of the air clamp 3 corresponding to the same position of the worktable 2 relative to the spindle 7 in the first direction is determined, and based on the second trigger signal, the Y coordinate of the air clamp 3 corresponding to the same position of the worktable 2 relative to the spindle 7 in the second direction is determined, that is, the relative position of the air clamp 3 corresponding to the same position of the worktable 2 and the spindle 7 is obtained.
[0070] Reference Figure 7As shown, for example, the controller first controls the air clamp 3 to open, then the controller controls the spindle 7 and the worktable 2 to move, so that the conductive probe 8 extends into the air clamp cavity of the air clamp 3. Then the controller controls the spindle 7 to move slowly in the direction of the arrow in the figure, so that the protrusion 83 of the conductive probe 8 held by the spindle 7 contacts the first clamping surface 31 of the air clamp 3, generating a high-speed electrical signal (i.e., the third trigger signal). At this time, the controller controls the spindle 7 to stop immediately and return to the initial position. At the same time, the distance moved by the spindle 7 in the first direction when it moves from the initial position to the position where the third trigger signal is generated can be detected by the grating ruler. It is C1. Assuming that the position coordinate of the spindle 7 in the first direction is A1, the first relative coordinate of the first clamping surface 31 of the air clamp 3 and the spindle 7 in the first direction is D1A1+C1, where D1 is the first relative coordinate of the first clamping surface 31 and the spindle 7 in the first direction, A1 is the position coordinate of the spindle 7 in the first direction, and C1 is the distance moved by the spindle 7 relative to the first clamping surface 31 in the first direction. Similarly, the second relative coordinate between the third clamping surface 33 of the air clamp 3 and the main shaft 7 in the first direction can be detected as D2 = A1 + C2, where D2 is the second relative coordinate between the third clamping surface 33 and the main shaft 7 in the first direction, A1 is the position coordinate of the main shaft 7 in the first direction, and C2 is the movement distance of the main shaft 7 relative to the third clamping surface 33 in the first direction. Then, the relative coordinate difference between the first clamping surface 31 and the third clamping surface 33 in the first direction can be calculated using the formula |D2 - D1|. It is then determined whether this relative coordinate difference is within a preset range. If the relative coordinate difference is not within the preset range, the position of the air clamp 3 is adjusted.
[0071] When the relative coordinate difference between the first clamping surface 31 and the third clamping surface 33 in the first direction is within a preset range, the controller controls the spindle 7 to clamp the conductive probe 8. The controller then controls the first connecting seat 5 and the second connecting seat 6 corresponding to the spindle 7 to move, causing the spindle 7 to move upwards in both the first and third directions. Simultaneously, the controller controls the worktable 2 to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with each clamping surface of the pneumatic clamp 3 to generate corresponding trigger signals. When the conductive probe 8 clamped by the spindle 7 makes contact with each clamping surface of the pneumatic clamp 3 to generate trigger signals, the grating ruler detects the movement distance of the spindle 7 relative to each clamping surface of the pneumatic clamp 3 in the first direction, and the movement distance of the worktable 2 relative to the spindle 7 in the second direction. Based on these distances, the relative coordinates between the pneumatic clamp 3 and the spindle 7 are determined. When the relative coordinates meet the requirements, the spindle 7 is controlled to perform drilling operations on the plate material placed on the corresponding worktable 2. When the relative distance does not meet the requirements, the relative coordinates between the air clamp 3 and the spindle 7 are adjusted.
[0072] In one embodiment, assuming the coordinate value of the spindle 7 in the first direction is A1 and the coordinate value in the second direction is B1, the specific detection process is as follows: control the spindle 7 to clamp the conductive probe 8, and then control the first connecting seat 5, the second connecting seat 6 and the worktable 2 corresponding to the spindle 7 to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with the first clamping surface 31 or the third clamping surface 33 of the air clamp 3 to generate a first trigger signal. Then, the moving distance of the spindle 7 relative to the first clamping surface 31 or the third clamping surface 33 in the first direction is detected by the grating ruler. Let the moving distance of the spindle 7 relative to the first clamping surface 31 or the third clamping surface 33 of the air clamp 3 be M1, then the X coordinate of the air clamp 3 relative to the spindle 7 in the first direction is A1+M1. Simultaneously, the controller also controls the spindle 7 to clamp the conductive probe 8, and then controls the first connecting seat 5, the second connecting seat 6, and the worktable 2 corresponding to the spindle 7 to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with the second clamping surface 32 of the air clamp 3 to generate a second trigger signal. Then, the movement distance of the worktable 2 relative to the spindle 7 in the second direction is detected by the grating ruler. Let the movement distance of the worktable 2 relative to the spindle 7 in the second direction be M2, then the Y coordinate of the air clamp 3 relative to the spindle 7 in the second direction is B1+M2.
[0073] In another embodiment, assuming the coordinate value of the spindle 7 in the first direction is A1 and the coordinate value in the second direction is B1, the specific detection process is as follows: control the spindle 7 to clamp the conductive probe 8, and then control the first connecting seat 5, the second connecting seat 6 and the worktable 2 corresponding to the spindle 7 to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with the first clamping surface 31 and the third clamping surface 33 of the air clamp 3 to generate a first trigger signal. When the conductive probe 8 contacts the first clamping surface 31 and the third clamping surface 33 to generate a first trigger signal, the movement distance of the spindle 7 relative to the first clamping surface 31 and the third clamping surface 33 in the first direction is detected by the grating ruler. Let the movement distance of the spindle 7 relative to the first clamping surface 31 of the air clamp 3 in the first direction be W1, and the movement distance of the spindle 7 relative to the third clamping surface 33 of the air clamp 3 in the first direction be W2. Then the first coordinate of the first clamping surface 31 relative to the spindle 7 in the first direction is A1+W1, the second coordinate of the third clamping surface 33 relative to the spindle 7 in the first direction is A1+W2, and the X coordinate of the air clamp 3 relative to the spindle 7 in the first direction is A1+(W1+W2) / 2. Simultaneously, the controller also controls the spindle 7 to clamp the conductive probe 8, and then controls the first connecting seat 5, the second connecting seat 6, and the worktable 2 corresponding to the spindle 7 to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with the second clamping surface 32 of the air clamp 3 to generate a second trigger signal. Then, the movement distance of the worktable 2 relative to the spindle 7 in the second direction is detected by the grating ruler. Let the movement distance of the worktable 2 relative to the spindle 7 in the second direction be W3, then the Y coordinate of the air clamp 3 relative to the spindle 7 in the second direction is B1+W3.
[0074] The method for detecting the relative position of the air clamp and the spindle in this application is simple, time-saving, and efficient. Furthermore, because the position detection time of the air clamp is very short, customers can set a higher frequency of inspection, thereby reducing the risk of product scrap and improving product quality.
[0075] Reference Figure 8 As shown, based on the above-described drilling machine, embodiments of this application also disclose a method for detecting the position of the air chuck in a drilling machine. This method is applied to the drilling machine described in any of the above embodiments. The method for detecting the position of the air chuck in a drilling machine includes the following steps:
[0076] S11. Determine whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range.
[0077] Specifically, the spindle 7 is controlled to clamp the conductive probe 8, and then the first connecting seat 5, the second connecting seat 6, and the worktable 2 corresponding to the spindle 7 are controlled to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with the first clamping surface 31 to generate a third trigger signal. The conductive probe 8 clamped by the spindle 7 makes contact with the third clamping surface 33 to generate a fourth trigger signal. Then, based on the third trigger signal, the first relative coordinate of the first clamping surface 31 relative to the spindle 7 in the first direction is determined. Based on the fourth trigger signal, the second relative coordinate of the third clamping surface 33 relative to the spindle 7 in the first direction is determined. Then, based on the first relative coordinate and the second relative coordinate, it is determined whether the relative coordinate difference between the first clamping surface 31 and the third clamping surface 33 in the first direction is within a preset range.
[0078] For example, the controller first controls the air clamp 3 to open, and then the controller controls the spindle 7 and the worktable 2 to move, so that the conductive probe 8 held by the spindle 7 comes into contact with the first clamping surface 31 of the air clamp 3, generating a third trigger signal. Then, the optical grating ruler detects that the distance the spindle 7 moves from the initial position to the position where the third trigger signal is generated is C1 in the first direction. Assuming that the position coordinate of the spindle 7 in the first direction is A1, the first relative coordinate between the first clamping surface 31 of the air clamp 3 and the spindle 7 in the first direction is D1 = A1 + C1, where D1 is the first relative coordinate between the first clamping surface 31 and the spindle 7 in the first direction, A1 is the position coordinate of the spindle 7 in the first direction, and C1 is the distance the spindle 7 moves relative to the first clamping surface 31 in the first direction. Similarly, the second relative coordinate between the third clamping surface 33 of the air clamp 3 and the main shaft 7 in the first direction can be detected as D2 = A1 + C2, where D2 is the second relative coordinate between the third clamping surface 33 and the main shaft 7 in the first direction, A1 is the position coordinate of the main shaft 7 in the first direction, and C2 is the distance the main shaft 7 moves relative to the third clamping surface 33 in the first direction. Then, the relative coordinate difference between the first clamping surface 31 and the third clamping surface 33 in the first direction can be calculated using the formula |D2 - D1|. It is then determined whether this relative coordinate difference is within a preset range. If the relative coordinate difference is not within the preset range, the position of the air clamp 3 is adjusted.
[0079] S12. When it is determined that the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range, the spindle and the worktable are controlled to move so that the conductive probe clamped by the spindle contacts at least one of the first clamping surface and the third clamping surface to conduct electricity, thereby generating a first trigger signal.
[0080] S13. Determine the X-coordinate of the pneumatic clamp corresponding to the same workstation on the worktable in the first direction relative to the spindle based on the first trigger signal.
[0081] Specifically, the spindle 7 and the worktable 2 are controlled to move so that the conductive probe 8 held by the spindle 7 comes into contact with the first clamping surface 31 or the third clamping surface 33 to generate a first trigger signal. When the conductive probe 8 comes into contact with the first clamping surface 31 or the third clamping surface 33 to generate the first trigger signal, the movement distance of the spindle 7 relative to the first clamping surface 31 or the third clamping surface 33 in the first direction is detected by a grating ruler. Then, based on the movement distance of the spindle 7 relative to the first clamping surface 31 or the third clamping surface 33 in the first direction, the X coordinate of the pneumatic clamp 3 corresponding to the same position on the worktable relative to the spindle 7 in the first direction is determined.
[0082] For example, assuming the coordinate value of the spindle 7 in the first direction is A1, the specific detection process is as follows: control the spindle 7 to clamp the conductive probe 8, and then control the first connecting seat 5, the second connecting seat 6 and the worktable 2 corresponding to the spindle 7 to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with the first clamping surface 31 or the third clamping surface 33 of the air clamp 3 to generate a first trigger signal. Then, the moving distance of the spindle 7 relative to the first clamping surface 31 or the third clamping surface 33 in the first direction is detected by the grating ruler. Let the moving distance of the spindle 7 relative to the first clamping surface 31 or the third clamping surface 33 of the air clamp 3 be M1, then the X coordinate of the air clamp 3 relative to the spindle 7 in the first direction is A1+M1.
[0083] In another embodiment, the spindle 7 and the worktable 2 can be moved so that the conductive probe 8 held by the spindle 7 makes contact with the first clamping surface 31 and the third clamping surface 33 respectively to generate multiple first trigger signals. When the conductive probe 8 makes contact with the first clamping surface 31 to generate the first trigger signal, the movement distance of the spindle 7 relative to the first clamping surface 31 in the first direction is detected by a grating ruler. When the conductive probe 8 makes contact with the third clamping surface 33 to generate the first trigger signal, the movement distance of the spindle 7 relative to the third clamping surface 33 in the first direction is detected by a grating ruler. Then, based on the movement distance of the spindle 7 relative to the first clamping surface 31 in the first direction, the first coordinate of the first clamping surface 31 relative to the spindle 7 in the first direction is determined. Based on the movement distance of the spindle 7 relative to the third clamping surface 33 in the first direction, the second coordinate of the third clamping surface 33 relative to the spindle 7 in the first direction is determined. Finally, the average value of the first coordinate and the second coordinate is taken to obtain the X coordinate of the pneumatic clamp 3 corresponding to the same station of the worktable relative to the spindle 7 in the first direction.
[0084] For example, assuming the coordinate value of the spindle 7 in the first direction is A1, the specific detection process is as follows: control the spindle 7 to clamp the conductive probe 8, and then control the first connecting seat 5, the second connecting seat 6 and the worktable 2 corresponding to the spindle 7 to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with the first clamping surface 31 and the third clamping surface 33 of the air clamp 3 to generate a first trigger signal. When the conductive probe 8 contacts the first clamping surface 31 and the third clamping surface 33 to generate a first trigger signal, the movement distance of the spindle 7 relative to the first clamping surface 31 and the third clamping surface 33 in the first direction is detected by the grating ruler. Let the movement distance of the spindle 7 relative to the first clamping surface 31 of the air clamp 3 in the first direction be W1, and the movement distance of the spindle 7 relative to the third clamping surface 33 of the air clamp 3 in the first direction be W2. Then the first coordinate of the first clamping surface 31 relative to the spindle 7 in the first direction is A1+W1, the second coordinate of the third clamping surface 33 relative to the spindle 7 in the first direction is A1+W2, and the X coordinate of the air clamp 3 relative to the spindle 7 in the first direction is A1+(W1+W2) / 2.
[0085] S14. Control the spindle and the worktable to move so that the conductive probe held by the spindle comes into contact with the second clamping surface to conduct electricity, thereby generating a second trigger signal.
[0086] S15. Based on the second trigger signal, determine the Y coordinate of the pneumatic clamp corresponding to the same workstation on the worktable in the second direction relative to the spindle.
[0087] Specifically, when the conductive probe 8 contacts the second clamping surface 32 to generate a second trigger signal, the movement distance of the worktable 2 relative to the spindle 7 in the second direction is detected by the grating ruler; then, based on the movement distance of the worktable 2 relative to the spindle 7 in the second direction, the Y coordinate of the air clamp 3 corresponding to the same station of the worktable relative to the spindle 7 in the second direction is determined.
[0088] For example, assuming the coordinate of the spindle 7 in the second direction is B1, the specific detection process is as follows: The controller also controls the spindle 7 to clamp the conductive probe 8, and then controls the first connecting seat 5, the second connecting seat 6 and the worktable 2 corresponding to the spindle 7 to move, so that the conductive probe 8 clamped by the spindle 7 makes contact with the second clamping surface 32 of the air clamp 3 to generate a second trigger signal. Then, the movement distance of the worktable 2 relative to the spindle 7 in the second direction is detected by the grating ruler. Let the movement distance of the worktable 2 relative to the spindle 7 in the second direction be M2, then the Y coordinate of the air clamp 3 relative to the spindle 7 in the second direction is B1+M2.
[0089] When the X and Y coordinates of the air clamp 3 relative to the spindle 7 meet the requirements, the spindle 7 is controlled to perform drilling operations on the plate material placed on the corresponding worktable 2. The detection method is simple, time-saving, and efficient. Moreover, since the position detection time of the air clamp is very short, customers can set a higher frequency of inspection, thereby reducing the risk of product scrap and improving product quality.
[0090] The above description is merely a preferred embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for detecting the position of an air chuck in a drilling machine, applied to a drilling machine, the drilling machine comprising a worktable, an air chuck, and a spindle, the air chuck being disposed on the worktable, and the air chuck having a first clamping surface, a second clamping surface, and a third clamping surface; characterized in that, The air clip position detection method includes: Determine whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range; When the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is determined to be within a preset range, the spindle and the worktable are controlled to move so that the conductive probe clamped by the spindle contacts at least one of the first clamping surface and the third clamping surface to conduct electricity, thereby generating a first trigger signal. Based on the first trigger signal, determine the X coordinate of the pneumatic clamp relative to the spindle in the first direction at the same workstation on the workbench. Control the spindle and the worktable to move so that the conductive probe held by the spindle comes into contact with the second clamping surface to conduct electricity, thereby generating a second trigger signal; The Y-coordinate of the pneumatic clamp relative to the spindle in the second direction is determined based on the second trigger signal at the same workstation on the worktable. When it is determined that the relative coordinate difference is not within the preset range, the position of the air clamp is adjusted.
2. The air clamp position detection method according to claim 1, characterized in that, Determining whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range includes: Control the spindle and the worktable to move so that the conductive probe held by the spindle comes into contact with the first clamping surface to conduct electricity, thereby generating a third trigger signal; The first relative coordinate of the first clamping surface with respect to the spindle in the first direction is determined based on the third trigger signal; Control the spindle and the worktable to move so that the conductive probe held by the spindle comes into contact with the third clamping surface to conduct electricity, thereby generating a fourth trigger signal; The second relative coordinate of the third clamping surface with respect to the spindle in the first direction is determined based on the fourth trigger signal; Based on the first relative coordinate and the second relative coordinate, determine whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range.
3. The air clamp position detection method according to claim 1, characterized in that, The control of the spindle and the worktable to move, causing the conductive probe held by the spindle to make contact with at least one of the first clamping surface and the third clamping surface to generate a first trigger signal, includes: The spindle and the worktable are controlled to move so that the conductive probe held by the spindle comes into contact with the first clamping surface or the third clamping surface to conduct electricity, thereby generating a first trigger signal.
4. The air clamp position detection method according to claim 3, characterized in that, Determining the X-coordinate of the pneumatic clamp relative to the spindle in the first direction based on the first trigger signal includes: When the conductive probe contacts the first clamping surface or the third clamping surface to generate a first trigger signal, the movement distance of the spindle relative to the first clamping surface or the third clamping surface in the first direction is detected by the grating ruler. The X-coordinate of the pneumatic clamp relative to the spindle in the first direction is determined based on the distance the spindle moves relative to the first clamping surface or the third clamping surface in the first direction.
5. The air clamp position detection method according to claim 1, characterized in that, The control of the spindle and the worktable to move, causing the conductive probe held by the spindle to make contact with at least one of the first clamping surface and the third clamping surface to generate a first trigger signal, includes: Control the spindle and the worktable to move, so that the conductive probe held by the spindle makes contact with the first clamping surface and the third clamping surface respectively to generate multiple first trigger signals; Determining the X-coordinate of the pneumatic clamp relative to the spindle in the first direction based on the first trigger signal includes: When the conductive probe contacts the first clamping surface to generate a first trigger signal, the movement distance of the spindle relative to the first clamping surface in a first direction is detected by a grating ruler. The first coordinate of the first clamping surface in the first direction is determined based on the distance the spindle moves relative to the first clamping surface in the first direction; When the conductive probe contacts the third clamping surface to generate a first trigger signal, the movement distance of the spindle relative to the third clamping surface in the first direction is detected by the grating ruler. The second coordinate of the third clamping surface in the first direction is determined based on the distance the spindle moves relative to the third clamping surface in the first direction; The average of the first coordinate and the second coordinate is taken to obtain the X coordinate of the air clamp relative to the spindle in the first direction, corresponding to the same worktable.
6. The air clamp position detection method according to claim 1, characterized in that, Determining the Y-coordinate of the pneumatic clamp relative to the spindle in the second direction based on the second trigger signal, corresponding to the same workstation on the worktable, includes: When the conductive probe contacts the second clamping surface to generate a second trigger signal, the movement distance of the worktable relative to the spindle in the second direction is detected by the grating ruler. The Y-coordinate of the pneumatic clamp relative to the spindle in the second direction is determined based on the distance the worktable moves relative to the spindle in the second direction.
7. A drilling machine, characterized in that, include: Workbench; An air clamp is disposed on the worktable for positioning the workpiece to be processed, and the air clamp has a first clamping surface, a second clamping surface and a third clamping surface; The spindle is used to hold the conductive probe. Controller, which is connected to the spindle; The controller is configured to determine whether the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within a preset range. When the relative coordinate difference between the first clamping surface and the third clamping surface in the first direction is within the preset range, the controller is further configured to control the spindle and the worktable to move, so that the conductive probe clamped by the spindle contacts at least one of the first clamping surface and the third clamping surface to conduct electricity, thereby generating a first trigger signal. The controller is further configured to determine the X coordinate of the pneumatic clamp corresponding to the same station on the worktable relative to the spindle in the first direction based on the first trigger signal. The controller is further configured to control the spindle and the worktable to move, so that the conductive probe clamped by the spindle contacts the second clamping surface to conduct electricity, thereby generating a second trigger signal. The controller is further configured to determine the Y coordinate of the pneumatic clamp corresponding to the same station on the worktable relative to the spindle in the second direction based on the second trigger signal. When it is determined that the relative coordinate difference is not within the preset range, the position of the air clamp is adjusted.
8. The drilling machine according to claim 7, characterized in that, The main shaft is set as an air-bearing main shaft.
9. The drilling machine according to claim 7, characterized in that, The drilling machine further includes a base, a support, a first connecting seat, and a second connecting seat. The support and the worktable are respectively disposed on the base. The first connecting seat is movably connected to the support and can move along the first direction. The second connecting seat is movably connected to the first connecting seat and can move along a third direction. The spindle is disposed on the second connecting seat. The controller is respectively connected to the first connecting seat and the second connecting seat.
10. The drilling machine according to claim 9, characterized in that, The workbench is movably mounted on the base, and the workbench is capable of moving along the second direction.
Citation Information
Patent Citations
Drilling machine and drilling machine pin position detection method
CN111571695A
Automatic board pressing device, drilling machine and method for PCB production board
CN113459202A