Method for detecting offset of clamping piece of machining equipment, machining equipment and medium
The offset of the clamping piece is determined by the contact between the detection piece and the side wall of the clamping groove, which solves the problem of pin accuracy dependence in the existing technology and improves the accuracy of detecting the offset of the clamping piece in PCB drilling machine equipment.
Patent Information
- Application Number
- CN202310227229.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-10
AI Technical Summary
In PCB drilling machine equipment, the PIN clamp mechanism causes micro-displacement due to high-frequency and high-acceleration reciprocating motion and human factors. It is necessary to regularly detect the offset of the clamping part. However, the existing method relies on pin measurement, and the accuracy depends on pin accuracy. Moreover, point air clamps and linear air clamps cannot be placed accurately, which affects the measurement accuracy.
By using the detection part to touch the side wall of the clamping groove in the processing equipment, the contact position of the target object is obtained, and the offset of the clamping part is calculated, eliminating the need for pins, eliminating errors caused by pin accuracy, and improving efficiency. Measurement accuracy.
It achieves higher measurement accuracy, reduces errors caused by pin accuracy, and adapts to clamping parts of different sizes, improving the accuracy of the inspection process.
Smart Images

Figure CN118617486A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit board processing, and in particular to a method for detecting the offset of a clamping member of a processing device, a processing device and a computer-readable storage medium. Background Art
[0002] On the PCB drilling machine equipment of the related technology, due to the long-term high-frequency and high-acceleration reciprocating motion of the machine, as well as human factors, the PIN clamp mechanism has micro-displacement, which requires regular inspection. In the previous PIN clamp inspection process, it is necessary to clamp the pin in the PIN clamp. However, the accuracy of the pin will affect the accuracy of the offset obtained in the final measurement. Pins of different sizes cannot be easily switched, and only pins of fixed sizes can be used as measuring pins; in addition, on the PCB drilling machine equipment, point-type air clamps and line-type air clamps cannot be placed in a more accurate position manually, which brings certain difficulties to the measurement. Summary of the invention
[0003] Embodiments of the present invention provide a method for detecting the offset of a clamping member of a processing device, a processing device, and a computer-readable storage medium.
[0004] In an embodiment of the present invention, a method for detecting the offset of a clamping member of a processing device is provided. The processing device comprises a spindle, a detection member, the clamping member and a processing platform. The clamping member is installed on the processing platform. The spindle is located above the processing platform and is used to clamp the detection member. The clamping member is formed with a clamping groove. The detection method comprises:
[0005] Controlling the spindle to move so as to drive the detection member to extend into the clamping groove;
[0006] Controlling the spindle to drive the detection member to move in the clamping groove, and obtaining at least one contact position of a target object when the detection member contacts at least one side wall of the clamping groove, wherein the target object includes the spindle or the detection member;
[0007] The offset of the clamping member is determined according to the correction position of the clamping member and the contact position.
[0008] In the above detection method, the offset of the clamping member is determined by the contact between the detection member and the side wall of the clamping groove. The detection process omits the pin, which can eliminate the error caused by the pin accuracy and has higher measurement accuracy.
[0009] In some embodiments, the clamping member comprises a point-type air clamp, the clamping groove comprises a first side wall perpendicular to a first direction and a second side wall perpendicular to a second direction, the first side wall is connected to the second side wall, and the first direction is different from the second direction;
[0010] Controlling the main shaft to drive the detection member to move in the clamping groove, and obtaining at least one contact position of the target object when the detection member contacts at least one side wall of the clamping groove comprises:
[0011] Controlling the main shaft to drive the detection member to move in the clamping groove along the first direction to obtain a first contact position of the target object when the detection member contacts the first side wall;
[0012] Determining the offset of the clamping member according to the correction position and the contact position includes:
[0013] The offset of the point-type air clamp in the first direction is determined according to the first touching position and the correction position.
[0014] In some embodiments, controlling the main shaft to drive the detection member to move in the clamping groove, and obtaining at least one contact position of the target object when the detection member contacts at least one side wall of the clamping groove includes:
[0015] Controlling the main shaft to drive the detection member to move in the clamping groove along the second direction to obtain a second contact position of the target object when the detection member contacts the second side wall;
[0016] Determining the offset of the clamping member according to the correction position and the contact position includes:
[0017] The offset of the point-type air clamp in the second direction is determined according to the second touching position and the correction position.
[0018] In some embodiments, the first direction is perpendicular to the second direction.
[0019] In some embodiments, the first offset of the point-type air clamp in the first direction is: v -(x d -R2+R1); the second offset of the point-type air clamp in the second direction is: y v -(y d -R2+R1); where x v is the horizontal coordinate of the first touch position, y v is the ordinate of the second touch position, x d ,y d is the correction position coordinate, R1 is the radius of the detection member, and R2 is the radius of the positioning member.
[0020] In certain embodiments, the clamping member comprises a linear air clamp, and the clamping groove comprises a third sidewall perpendicular to the first direction;
[0021] Controlling the main shaft to drive the detection member to move in the clamping groove, and obtaining at least one contact position of the target object when the detection member contacts at least one side wall of the clamping groove comprises:
[0022] Controlling the main shaft to drive the detection member to move in the clamping groove along the first direction to obtain a third contact position of the target object when the detection member contacts the third side wall;
[0023] Determining the offset of the clamping member according to the correction position and the contact position includes:
[0024] The offset of the linear air clamp in the first direction is determined according to the third touching position and the correction position.
[0025] In some embodiments, the offset of the linear air clamp in the first direction is: i -(x d -R2+R1); where x i is the horizontal coordinate of the third touch position, x d is the horizontal coordinate of the correction position, R1 is the radius of the detection member, and R2 is the radius of the positioning member.
[0026] In some embodiments, the target object has multiple touching positions.
[0027] Determining the offset of the clamping member according to the correction position and the contact position includes:
[0028] Acquire a calculated position according to the plurality of touch positions;
[0029] The offset of the clamping member is determined according to the calculated position and the corrected position.
[0030] In some embodiments, the calculated position is an average of a plurality of the touch positions, or;
[0031] The calculated position is the average value of the remaining touch positions after removing the maximum and minimum touch positions.
[0032] A processing equipment in an embodiment of the present invention includes a spindle, a detection piece, a clamping piece, a processing platform, a driving assembly and a control device, wherein the clamping piece is installed on the processing platform, the spindle is located above the processing platform and is used to clamp the detection piece, the clamping piece is formed with a clamping groove, the driving assembly is connected to the spindle, the control device is electrically connected to the clamping piece and the driving assembly, and the control device is used to execute the steps of the detection method in any of the above embodiments.
[0033] A computer-readable storage medium in an embodiment of the present invention stores a computer program thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of the detection method in any of the above embodiments.
[0034] In the above processing equipment and computer-readable storage medium, the offset of the clamping member is determined by the contact between the detection member and the side wall of the clamping groove. The detection process omits the pin, which can eliminate the error caused by the pin accuracy and has higher measurement accuracy.
[0035] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0037] Figures 1 to 5 It is a schematic flow chart of a method for detecting the offset of a clamping member of a processing device according to an embodiment of the present invention;
[0038] Figure 6 It is a structural schematic diagram of a processing device according to an embodiment of the present invention;
[0039] Figure 7 for Figure 6 A magnified schematic diagram of the middle A area;
[0040] Figure 8 It is a schematic structural diagram of a clamping member according to an embodiment of the present invention;
[0041] Fig. 9 It is a schematic diagram of the position of the detection member touching the point-type air clamp according to the embodiment of the present invention;
[0042] Fig.10 It is a schematic diagram of the position where the detection member touches the linear air clamp according to the embodiment of the present invention;
[0043] Fig.11 It is a module schematic diagram of the processing equipment according to the embodiment of the present invention.
[0044] Figure markings: processing equipment-100, clamping part-10, spindle-12, detection part-14, processing platform-16, clamping groove-18, point-type air clamp-20, first side wall-22, second side wall-24, linear air clamp-26, third side wall-28, control device-30, processor-32, memory-34, pin-36, drive assembly-38. DETAILED DESCRIPTION
[0045] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0046] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.
[0047] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection. It can be a mechanical connection or an electrical connection. It can be directly connected or indirectly connected through an intermediate medium. It can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0048] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.
[0049] The disclosure herein provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described herein. Of course, they are merely examples, and the purpose is not to limit the present invention. In addition, the present invention may repeat reference numerals and / or reference letters in different examples, and such repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art may appreciate the application of other processes and / or the use of other materials.
[0050] See also Figure 1-Figure 5 The embodiment of the present invention provides a method for detecting the offset of a clamping member 10 of a processing device 100. The processing device 100 includes a spindle 12, a detection member 14, a clamping member 10 and a processing platform 16. The clamping member 10 is installed on the processing platform 16. The spindle 12 is located above the processing platform 16 and is used to clamp the detection member 14. The clamping member 10 is formed with a clamping groove 18. The detection method includes:
[0051] Step S101: controlling the spindle 12 to move so as to drive the detection member 14 to extend into the clamping groove 18;
[0052] Step S103: controlling the spindle 12 to drive the detection member 14 to move in the clamping groove 18, and obtaining at least one contact position of a target object when the detection member 14 contacts at least one side wall of the clamping groove 18, wherein the target object includes the spindle 12 or the detection member 14;
[0053] Step S105 : determining the offset of the clamping member 10 according to the calibration position and the contact position of the clamping member 10 .
[0054] In the above detection method, the offset of the clamping member 10 is determined by the contact between the detection member 14 and the side wall of the clamping groove 18. The pin 36 can be omitted in the detection process, and the error caused by the accuracy of the pin 36 can be eliminated, resulting in higher measurement accuracy.
[0055] Specifically, during the use of the processing equipment 100, due to the long-term high-frequency and high-acceleration reciprocating motion of the machine, as well as human factors, the clamp 10 has micro-displacement, which requires regular inspection, and the position of the clamp 10 of the processing equipment 100 is detected and adjusted to ensure positioning accuracy. The clamp 10 in the embodiment of the present invention has a precision surface, and the offset of the clamp 10 can be measured by measuring the offset of the precision surface of the clamp 10. This measurement method not only saves the cost of high-precision pins 36, but also saves the time cost of manual placement or manipulator placement of pins 36. Pins 36 of different diameters are adapted to different processing conditions, which can eliminate the error caused by the precision of the pin 36, and the measurement accuracy is higher. In this embodiment, the side wall of the clamp 10 can be used as a precision surface, and the offset of the clamp 10 can be detected by detecting the offset of the side wall of the clamp 10 relative to the correction position.
[0056] See also Figure 6-Figure 8 The processing equipment 100 includes a processing platform 16, a clamping member 10 is installed on the processing platform 16, a spindle 12 is arranged above the processing platform 16, and the spindle 12 is connected to a driving assembly 38, and the driving assembly is used to drive the spindle. The spindle 12 can clamp the detection member 14, and the clamping member 10 is formed with a clamping groove 18. The spindle 12 can clamp the detection member 14 and move in the clamping groove 18 under the drive of the driving assembly 38. The clamping groove 18 includes a side wall, and the detection member 14 can touch the side wall of the clamping groove 18.
[0057] Specifically, when detecting the offset of the clamping member 10, it is necessary to control the movement of the spindle 12 to drive the detection member 14 to extend into the clamping groove 18, and then control the spindle 12 to drive the detection member 14 to move in the clamping groove 18, and obtain at least one touch position of the target object when the detection member 14 touches at least one side wall of the clamping groove 18, and determine the offset of the clamping member 10 according to the correction position and the touch position. It should be noted that the target object may include the detection member 14 or the spindle 12. When the target object is the detection member 14, the touch position is the center position of the detection member 14 at the time of touch; when the target object is the spindle 12, the touch position is the center position of the detection member 14 obtained after conversion based on the acquired spindle 12 position at the time of touch. The correction position should be the center position of the positioning member (such as the pin 36) with a radius of R2 after the clamping member 10 before the offset, that is, Fig. 9 At point A in the figure, the width of the clamping groove 18 is 2*R2, and the positioning member is used to position the workpiece. After the spindle 12 drives the detection member 14 to extend into the clamping groove 18, it can move from any position in the clamping groove 18 so that the detection member 14 touches at least one side wall of the clamping groove 18. In one embodiment, the spindle 12 can drive the detection member 14 to move from point A so that the detection member 14 touches at least one side wall of the clamping groove 18. In this way, the influence caused by the error can be reduced.
[0058] This embodiment can obtain the touch position through electrical signal contact detection. Specifically, the processing equipment 100 may include a detection circuit, which connects the main shaft 12 and the detection member 14. The main shaft 12 drives the detection member 14 to move toward the side wall of the clamping groove 18. When the detection member 14 touches the side wall of the clamping groove 18, an electrical signal is generated. The detection circuit detects the electrical signal, and the processing equipment 100 records the position of the target object at this time as the touch position. In one example, the electrical signal is a capacitive signal, and the detection circuit can be a touch panel detection circuit (CBD). In the illustrated embodiment, the detection member 14 clamped by the main shaft 12 is a drill needle. In other embodiments, the detection member 14 connected to the main shaft 12 can be a processing tool or other detection member 14 that can be used for detection.
[0059] It can be understood that, in one embodiment, the position can be determined by an established coordinate system, and each position can be represented by a horizontal coordinate and a vertical coordinate.
[0060] In some embodiments, the clamping member 10 includes a point-type air clamp 20, the clamping groove 18 includes a first side wall 22 perpendicular to a first direction and a second side wall 24 perpendicular to a second direction, the first side wall 22 connects the second side wall 24, and the first direction is different from the second direction;
[0061] Please refer to Figure 2 , step S103 includes:
[0062] Step 107: Control the main shaft 12 to drive the detection member 14 to move in the clamping groove 18 along the first direction to obtain a first contact position of the target object when the detection member 14 contacts the first side wall 22;
[0063] Step S105 includes:
[0064] Step S109: determining the offset of the point-type air clamp 20 in the first direction according to the first touching position and the correction position.
[0065] In this way, the offset amount of the point-type air clamp 20 in the first direction can be determined according to the first contact position and the calibration position of the target object when contacting the first side wall 22 .
[0066] Specifically, the first direction and the second direction can be predetermined according to the established coordinate system. For example, the first direction and the second direction can be directions parallel or perpendicular to the coordinate axis, or directions inclined relative to the coordinate axis. The first direction and the second direction can be specifically determined according to actual conditions and are not specifically limited here.
[0067] See also Figure 6-Figure 10, the clamping member 10 includes a point-type air clamp 20, the point-type air clamp 20 forms a clamping groove 18, and the first side wall 22 and the second side wall 24 of the clamping groove 18 are connected. The first side wall 22 is used as a precision surface. After the control spindle 12 drives the detection member 14 to extend into the clamping groove 18 of the point-type air clamp 20, the control spindle 12 drives the detection member 14 to move along the first direction in the clamping groove 18 to obtain the first touch position of the target object when the detection member 14 touches the first side wall 22. In the illustrated embodiment, the target object is the detection member 14, and the first touch position is the center position of the detection member 14 when the detection member 14 touches the first side wall 22. The offset of the point-type air clamp 20 in the first direction can be determined based on the obtained first touch position and the correction position. In this embodiment, the first direction is a direction perpendicular to the first side wall 22. In this way, the moving distance is reduced, and the influence caused by the error can be reduced. It can be understood that in other embodiments, the first direction can be any direction that can touch the first side wall 22 after moving toward the first side wall 22 , and is not limited to the direction perpendicular to the first side wall 22 .
[0068] In certain embodiments, see Figure 3 , step S103 includes:
[0069] Step S111: controlling the main shaft 12 to drive the detection member 14 to move along the second direction in the clamping groove 18 to obtain a second contact position of the target object when the detection member 14 contacts the second side wall 24;
[0070] Step S105 includes:
[0071] Step S113: determining the offset of the point-type air clamp 20 in the second direction according to the second touching position and the correction position.
[0072] In this way, the offset amount of the point-type air clamp 20 in the second direction can be determined according to the second contact position and the calibration position of the target object when contacting the second side wall 24 .
[0073] Specifically, see Figure 6-Figure 9, taking the second side wall 24 of the clamping groove 18 of the point-type air clamp 20 as a precision surface, after the control spindle 12 drives the detection member 14 to extend into the clamping groove 18, the control spindle 12 drives the detection member 14 to move along the second direction in the clamping groove 18, and obtains the second touch position of the target object when the detection member 14 touches the second side wall 24. In the illustrated embodiment, the target object is the detection member 14, and the second touch position is the center position of the detection member 14 when the detection member 14 touches the second side wall 22. The offset of the point-type air clamp 20 in the second direction can be determined based on the second touch position and the correction position. In this embodiment, the second direction is a direction perpendicular to the second side wall 24. In this way, the moving distance is reduced, and the influence caused by the error can be reduced. It can be understood that in other embodiments, the second direction can be any direction that can touch the second side wall 24 after moving toward the second side wall 24, and is not limited to the direction perpendicular to the second side wall 24.
[0074] In some embodiments, the first direction is perpendicular to the second direction.
[0075] In this way, it is easy to obtain the first touch position and the second touch position, and the influence caused by the error can be reduced.
[0076] Specifically, in a preferred embodiment, see Figure 6-Figure 10 The clamping member 10 includes a point-type air clamp 20, which forms a clamping groove 18. The first side wall 22 and the second side wall 24 of the clamping groove 18 are connected, the first side wall 22 and the second side wall 24 are perpendicular to each other, and the first side wall 22 and the second side wall 24 are parallel to the coordinate axis respectively. The first side wall 22 and the second side wall 24 in the point-type air clamp 20 are used as precision surfaces. After the control spindle 12 drives the detection member 14 to extend into the clamping groove 18, the control spindle 12 drives the detection member 14 to move in the first direction and the second direction in the clamping groove 18 respectively, and obtains the first touch position and the second touch position of the target object when the detection member 14 touches the first side wall 22 and the second side wall 24. Among them, the spindle 12 drives the detection member 14 to move from point A so that the detection member 14 touches the first side wall 22 and the second side wall 24 of the clamping groove 18. In this way, the influence caused by the error can be reduced. The first direction is a direction perpendicular to the first side wall 22, that is, a direction from point A on the horizontal axis toward the first side wall 22, and the second direction is a direction perpendicular to the second side wall 24, that is, a direction from point A on the vertical axis toward the second side wall 24. In this way, it is easy to obtain the first touch position and the second touch position, and the influence caused by the error can be reduced. Fig. 9 , control the main shaft 12 to drive the detection member 14 to move from point A (xd, yd) in the clamping groove 18 along the first direction, obtain the first contact position of the target object when the detection member 14 contacts the first side wall 22, and record the X-axis coordinate of the first contact position as x v; Control the spindle 12 to drive the detection member 14 to move from point A (xd, yd) in the clamping groove 18 along the second direction, obtain the second touch position of the target object when the detection member 14 touches the second side wall 24, and record the Y-axis coordinate of the second touch position as y v .
[0077] In some embodiments, the first offset of the point-type air clamp 20 in the first direction is: v -(x d -R2+R1); the second offset of the point-type air clamp 20 in the second direction is: y v -(y d -R2+R1); where x v is the horizontal coordinate of the first touch position, y v is the ordinate of the second touch position, x d ,y d To correct the position coordinates, R1 is the radius of the detection member 14, and R2 is the radius of the positioning member (such as the pin 36).
[0078] In this way, the point type air clamp 20 can be adjusted according to the detected deviation.
[0079] Specifically, see Fig. 9 Point A is the calibration position, i.e., the point before the offset. After the air clamp 20 clamps a positioning member (such as the pin 36) with a radius of R2, the center position of the positioning member is known. The coordinates of point A (x d ,y d ). The circle shown by the dotted line in the figure represents a positioning member (such as the pin 36) with a radius of R2 clamped by the point-type air clamp 20 before the offset. There is a detection member 14 at point A, and the detection member 14 can be moved from point A to the side wall, so that the influence caused by the error can be reduced. The first side wall 22 and the second side wall 24 shown by the dotted line in the figure are the positions of the first side wall 22 and the second side wall 24 before the point-type air clamp 20 is offset, and the first side wall 22 and the second side wall 24 shown by the solid line are the positions of the first side wall 22 and the second side wall 24 after the point-type air clamp 20 is offset. The radius of the detection member 14 is R1, and the radius of the pin 36 is R2.
[0080] When determining the offset of the point-type air clamp 20 in the first direction, step S107 needs to be executed, that is, the main shaft 12 is controlled to drive the detection member 14 to move in the clamping groove 18 along the first direction to obtain the first contact position of the target object when the detection member 14 touches the first side wall 22. For the point-type air clamp without offset, after executing step S107, the theoretical contact position of the target object when the detection member 14 touches the first side wall 22 should be the position of the detection member 14 corresponding to point B', which is obtained by Fig. 9 It can be seen that the horizontal coordinate X of point B' should be (x d-R2+R1), the first touch position should be point B, and the horizontal coordinate X of the first touch position point B is x v , then the offset BB' of the point-type air clamp 20 in the first direction can be obtained as x v -(x d -R2+R1).
[0081] When determining the offset of the point-type air clamp 20 in the second direction, step S111 needs to be executed, that is, the main shaft 12 is controlled to drive the detection member 14 to move in the second direction in the clamping groove 18, and the second contact position of the target object when the detection member 14 touches the second side wall 24 is obtained. For the point-type air clamp 20 that has not been offset, after executing step S111, the theoretical contact position of the target object when the detection member 14 touches the second side wall 24 should be the position of the detection member 14 corresponding to point C', which is obtained by Fig. 9 It can be seen that the ordinate Y of point C' should be: (y d -R2+R1), the second touch position should be point C, and the ordinate Y of the second touch position point C is y v , the offset CC' of the point-type air clamp 20 in the second direction can be obtained as: v -(y d -R2+R1).
[0082] In certain embodiments, see Figure 4 , the clamping member 10 includes a linear air clamp 26, and the clamping groove 18 includes a third side wall 28 perpendicular to the first direction;
[0083] Step S103 includes:
[0084] Step S115: controlling the main shaft 12 to drive the detection member 14 to move in the clamping groove 18 along the first direction, and obtaining a third contact position of the target object when the detection member 14 contacts the third side wall 28;
[0085] Step S105 includes:
[0086] Step S117: determining the offset of the linear air clamp 26 in the first direction according to the third touching position and the correction position.
[0087] In this way, the offset amount of the linear air clamp 26 in the first direction can be determined according to the third contact position and the correction position of the target object when contacting the third side wall 28 .
[0088] Specifically, referring to the above, the first direction may be predetermined according to the established coordinate system, and may be specifically determined according to actual conditions, and is not specifically limited here.
[0089] See also Figure 6-Figure 8 and Fig.10, the clamping member 10 includes a linear air clamp 26, the linear air clamp 26 forms a clamping groove 18, and the clamping groove 18 includes a third side wall 28 in the first direction. The third side wall 28 is used as a precision surface. After the control spindle 12 drives the detection member 14 to extend into the clamping groove 18 of the linear air clamp 26, the control spindle 12 drives the detection member 14 to move along the first direction in the clamping groove 18 to obtain the third touch position of the target object when the detection member 14 touches the third side wall 28. In the illustrated embodiment, the target object is the detection member 14, and the third touch position is the center position of the detection member 14 when the detection member 14 touches the third side wall 28. In this embodiment, the first direction is a direction perpendicular to the third side wall 22. In this way, the moving distance is reduced, and the influence caused by the error can be reduced. It can be understood that in other embodiments, the first direction can be any direction that can touch the third side wall 28 after moving toward the third side wall 28, and is not limited to the direction perpendicular to the third side wall 28. The target object includes the detection part 14 or the main shaft 12. When the target object is the detection part 14, the third touch position is the center position of the detection part 14 when the detection part 14 touches the third side wall 28; when the target object is the main shaft 12, the touch position is the center position of the detection part 14 obtained by converting the acquired position of the main shaft 12 when the detection part 14 touches the third side wall 28.
[0090] In some embodiments, the offset of the linear air clamp 26 in the first direction is: i -(x d -R2+R1); where x i is the horizontal coordinate of the third touch position, x d is the horizontal coordinate of the correction position, R1 is the radius of the detection member 14, and R2 is the radius of the positioning member (such as the pin 36).
[0091] In this way, the linear air clamp 26 can be adjusted according to the detected deviation.
[0092] Specifically, see Fig.10 , point A' is the calibration position, that is, the center position of the positioning member (such as the pin 36) after the linear air clamp 26 before the offset clamps a positioning member with a radius of R2. d ,y s). The circle shown by the dotted line in the figure represents a positioning member (such as a pin 36) with a radius of R2 clamped by the linear air clamp 26 before the offset. There is a detection member 14 at point A', and the detection member 14 can be moved from point A' to the side wall. In this way, the impact caused by the error can be reduced. The third side wall 28 shown by the dotted line in the figure is the position of the third side wall 28 before the linear air clamp 26 is offset, and the third side wall 28 shown by the solid line is the position of the third side wall 28 after the linear air clamp 26 is offset. It can be understood that in a normal clamping member 10, that is, a clamping member 10 that has not been offset, the point-type air clamp 20 and the linear air clamp 26 are adapted and parallel. After the linear air clamp 26 also clamps a positioning member (such as a pin 36) with a radius of R2, the horizontal coordinate of the correction position A' of the linear air clamp 26 should be the same as that of point A, that is, x d The radius of the detection member 14 is R1, and the radius of the pin 36 is R2.
[0093] When determining the offset of the linear air clamp 26 in the first direction, step S115 needs to be executed, that is, the main shaft 12 is controlled to drive the detection member 14 to move in the clamping groove 18 along the first direction to obtain the third contact position of the target object when the detection member 14 touches the third side wall 28. For the linear air clamp 26 that has not been offset, after executing step S115, the theoretical contact position of the target object when the detection member 14 touches the third side wall 28 should be the position of the detection member 14 corresponding to point D', which is obtained by Fig.10 It can be seen that the horizontal coordinate X of point D' is also (x d -R2+R1), the third touch position should be point D, and the horizontal coordinate X of the third touch position point D is x i , then it can be obtained that the offset DD' of the linear air clamp 26 in the first direction should be x i -(x d -R2+R1).
[0094] In certain embodiments, see Figure 5 , the target object has multiple touch positions, step S105 includes:
[0095] Step S121: obtaining a calculated position according to multiple touch positions;
[0096] Step S123: Determine the offset of the clamping member 10 according to the calculated position and the corrected position.
[0097] In this way, the impact of errors can be reduced.
[0098] Specifically, in the offset detection of the point-type air clamp 20 and the line-type air clamp 26, step S103 is executed multiple times to obtain multiple first touch positions, multiple second touch positions and multiple third touch positions, and respective calculated positions are obtained according to the multiple first touch positions, multiple second touch positions and multiple third touch positions, and the offset of the point-type air clamp 20 and the line-type air clamp 26 is determined according to the calculated positions and the corrected positions.
[0099] In some embodiments, the calculated position is an average value of multiple touch positions, or the calculated position is an average value of remaining touch positions after removing the maximum and minimum touch positions.
[0100] In this way, the impact of errors can be reduced.
[0101] Specifically, the present invention may include but is not limited to the following embodiments:
[0102] (1) For any side wall (precision surface), touch it twice to obtain two first touch positions, two second touch positions and two third touch positions, and take the average value of the above two first touch positions as the corresponding first calculation position xv; take the average value of the above two second touch positions as the corresponding second calculation position yv; take the average value of the above two third touch positions as the corresponding third calculation position xi.
[0103] (2) For any side wall (precision surface), touch it three times to obtain three first touch positions, three second touch positions and three third touch positions, and take the average value of the above three first touch positions as the corresponding first calculation position xv; take the average value of the above three second touch positions as the corresponding second calculation position yv; take the average value of the above three third touch positions as the corresponding third calculation position xi.
[0104] (3) For any side wall (precision surface), touch it three times to obtain three first touch positions, three second touch positions and three third touch positions. Remove the maximum and minimum values among the above three first touch positions, and take the first touch position with the middle value as the corresponding first calculation position xv; remove the maximum and minimum values among the above three second touch positions, and take the second touch position with the middle value as the corresponding second calculation position yv; remove the maximum and minimum values among the above three third touch positions, and take the third touch position with the middle value as the corresponding third calculation position xi.
[0105] (4) For any side wall (precision surface), touch it four times to obtain four first touch positions, four second touch positions and four third touch positions, and take the average value of the above four first touch positions as the corresponding first calculation position xv; take the average value of the above four second touch positions as the corresponding second calculation position yv; take the average value of the above four third touch positions as the corresponding third calculation position xi.
[0106] (5) For any side wall (precision surface), touch it four times to obtain four first touch positions, four second touch positions and four third touch positions. Remove the maximum and minimum values among the above four first touch positions, and take the average value of the remaining two first touch positions as the corresponding first calculation position xv; remove the maximum and minimum values among the above four second touch positions, and take the average value of the remaining two second touch positions as the corresponding second calculation position yv; remove the maximum and minimum values among the above four third touch positions, and take the average value of the remaining two third touch positions as the corresponding third calculation position xi.
[0107] It can be understood that the embodiments of the present invention are not limited to the above embodiments.
[0108] A processing equipment 100 in an embodiment of the present invention includes a spindle 12, a detection piece 14, a clamping piece 10, a processing platform 16, a drive assembly 38 and a control device 30. The clamping piece 10 is installed on the processing platform 16. The spindle 12 is located above the processing platform 16 and is used to clamp the detection piece 14. The clamping piece 10 is formed with a clamping groove 18. The drive assembly 38 is connected to the spindle 12. The control device 30 electrically connects the clamping piece 10 and the drive assembly 38. The control device 30 is used to execute the steps of the detection method in any of the above embodiments.
[0109] In the above processing equipment 100, the offset of the clamping member 10 is determined by the contact between the detection member 14 and the clamping groove 18. The pin 36 is omitted in the detection process, and the error caused by the accuracy of the pin 36 can be eliminated, and the measurement accuracy is higher.
[0110] Specifically, see Figure 6-Figure 8 and Fig.11 The processing equipment 100 includes a processing platform 16, a clamping member 10 is installed on the processing platform 16, a spindle 12 is arranged above the processing platform 16, the spindle 12 can clamp the detection member 14, the clamping member 10 is formed with a clamping groove 18, the spindle 12 can clamp the detection member 14 and move in the clamping groove 18, the clamping groove 18 includes a side wall surface of the clamping member 10, and the detection member 14 can touch the side wall surface.
[0111] The drive assembly 38 is connected to the main shaft 12, and the control device 30 is electrically connected to the clamping member 10 and the drive assembly 38. In one embodiment, the drive assembly 38 can be composed of a motor and a transmission structure. For example, the transmission structure includes a screw and a nut. The motor output shaft is connected to the screw, and the nut is inserted into the screw. When the position of the main shaft 12 needs to be adjusted, the control device 30 controls the motor to rotate, and the motor output shaft drives the screw to rotate, so that the nut moves on the screw, and the main shaft 12 is fixedly connected to the nut and moves together, so that the control device 30 controls the drive assembly 38 to drive the main shaft 12 to move to enter the clamping groove 18 or to adjust the position of the detection member 14. In other embodiments, the drive assembly 38 can be other mechanisms that can be controlled to drive the main shaft 12 to move.
[0112] See also Fig.11 The control device 30 includes a processor 32 and a memory 34. The memory 34 stores a computer program. When the computer program is executed by the processor 32, the steps of the detection method of any of the above embodiments are implemented. Specifically, the control device 30 includes but is not limited to a personal computer, a mobile phone, a tablet computer, etc.
[0113] In some embodiments, the clamping member 10 includes a point-type air clamp 20 and a line-type air clamp 26 , which are installed on the processing platform 16 along a straight line, and the spindle 12 is movably installed above the point-type air clamp 20 and the line-type air clamp 26 .
[0114] In this way, the workpiece to be processed can be positioned by the point-type air clamp 20 and the line-type air clamp 26 to ensure the subsequent processing accuracy.
[0115] Specifically, see Figure 6-Figure 8 A clamping member 10 is provided on the processing platform 16 of the processing equipment 100, and the clamping member 10 includes a point-type air clamp 20 and a line-type air clamp 26. The main shaft 12 clamps the detection member 14 and is located on the processing platform 16. The point-type air clamp 20 and the line-type air clamp 26 can position the workpiece to be processed. After adjusting the position of the clamping member 10, the main shaft 12 can realize high-precision processing of the workpiece to be processed in the subsequent processing process.
[0116] A computer-readable storage medium in an embodiment of the present invention stores a computer program, and when the computer program is executed by the processor 32, the steps of the detection method in any of the above embodiments are implemented.
[0117] In the above computer-readable storage medium, the offset of the clamping member 10 is determined by the contact between the detection member 14 and the clamping groove 18. The pin 36 is omitted in the detection process, and the error caused by the accuracy of the pin 36 can be eliminated, resulting in higher measurement accuracy.
[0118] It should be noted that the above-mentioned explanation of the implementation method and beneficial effects of the detection method of the clamping member 10 of the processing equipment 100 is also applicable to the computer-readable storage medium used in the implementation method of the present invention. In order to avoid redundancy, it will not be expanded here in detail.
[0119] In one embodiment, when the computer program is executed by the processor 32, the detection method implemented includes:
[0120] Step S101: controlling the spindle 12 to move so as to drive the detection member 14 to extend into the clamping groove 18;
[0121] Step S103: controlling the spindle 12 to drive the detection member 14 to move in the clamping groove 18, and obtaining at least one contact position of a target object when the detection member 14 contacts at least one side wall of the clamping groove 18, wherein the target object includes the spindle 12 or the detection member 14;
[0122] Step S105: determining the offset of the clamping member 10 according to the calibration position and the touch position.
[0123] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0124] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
Claims
1. A method for detecting the offset of a clamping member of a processing equipment, characterized in that: The processing equipment comprises a spindle, a detection member, a clamping member and a processing platform, the clamping member is installed on the processing platform, the spindle is located above the processing platform and is used to clamp the detection member, the clamping member is formed with a clamping groove, and the detection method comprises: Controlling the spindle to move so as to drive the detection member to extend into the clamping groove; Controlling the spindle to drive the detection member to move in the clamping groove, and obtaining at least one contact position of a target object when the detection member contacts at least one side wall of the clamping groove, wherein the target object includes the spindle or the detection member; The offset of the clamping member is determined according to the correction position of the clamping member and the contact position.
2. The method for detecting the offset of the clamping member according to claim 1, characterized in that: The clamping member comprises a point-type air clamp, the clamping groove comprises a first side wall perpendicular to a first direction and a second side wall perpendicular to a second direction, the first side wall is connected to the second side wall, and the first direction is different from the second direction; Controlling the main shaft to drive the detection member to move in the clamping groove, and obtaining at least one contact position of the target object when the detection member contacts at least one side wall of the clamping groove comprises: Controlling the main shaft to drive the detection member to move in the clamping groove along the first direction to obtain a first contact position of the target object when the detection member contacts the first side wall; Determining the offset of the clamping member according to the correction position and the contact position includes: The offset of the point-type air clamp in the first direction is determined according to the first touching position and the correction position.
3. The method for detecting the offset of the clamping member according to claim 2, characterized in that: Controlling the main shaft to drive the detection member to move in the clamping groove, and obtaining at least one contact position of the target object when the detection member contacts at least one side wall of the clamping groove comprises: Controlling the main shaft to drive the detection member to move in the clamping groove along the second direction to obtain a second contact position of the target object when the detection member contacts the second side wall; Determining the offset of the clamping member according to the correction position and the contact position includes: The offset of the point-type air clamp in the second direction is determined according to the second touching position and the correction position.
4. The method for detecting the offset of the clamping member according to claim 3, characterized in that: The first direction is perpendicular to the second direction.
5. The method for detecting the offset of the clamping member according to claim 4, characterized in that: The first offset of the point-type air clamp in the first direction is: v -(x d -R2+R1); the second offset of the point-type air clamp in the second direction is: y v -(y d -R2+R1); where x v is the horizontal coordinate of the first touch position, y v is the ordinate of the second touch position, x d ,y d is the correction position coordinate, R1 is the radius of the detection member, and R2 is the radius of the positioning member.
6. The method for detecting the offset of the clamping member according to claim 1, characterized in that: The clamping member comprises a linear air clamp, and the clamping groove comprises a third side wall perpendicular to the first direction; Controlling the main shaft to drive the detection member to move in the clamping groove, and obtaining at least one contact position of the target object when the detection member contacts at least one side wall of the clamping groove comprises: Controlling the main shaft to drive the detection member to move in the clamping groove along the first direction to obtain a third contact position of the target object when the detection member contacts the third side wall; Determining the offset of the clamping member according to the correction position and the contact position includes: The offset of the linear air clamp in the first direction is determined according to the third touching position and the correction position.
7. The method for detecting the offset of the clamping member according to claim 6, characterized in that: The offset of the linear air clamp in the first direction is: i -(x d -R2+R1); where x i is the horizontal coordinate of the third touch position, x d is the horizontal coordinate of the correction position, R1 is the radius of the detection member, and R2 is the radius of the positioning member.
8. The method for detecting the offset of a clamping member according to any one of claims 1 to 7, characterized in that: There are multiple touch positions of the target object. Determining the offset of the clamping member according to the correction position and the contact position includes: Acquire a calculated position according to the plurality of touch positions; The offset of the clamping member is determined according to the calculated position and the corrected position.
9. The method for detecting the offset of the clamping member according to claim 8, characterized in that: The calculated position is an average value of a plurality of the touch positions, or; The calculated position is the average value of the remaining touch positions after removing the maximum and minimum touch positions.
10. A processing equipment, characterized in that: It includes a main shaft, a detection piece, a clamping piece, a processing platform, a driving assembly and a control device, the clamping piece is installed on the processing platform, the main shaft is located above the processing platform and is used to clamp the detection piece, the clamping piece is formed with a clamping groove, the driving assembly is connected to the main shaft, the control device is electrically connected to the clamping piece and the driving assembly, and the control device is used to execute the steps of the detection method described in any one of claims 1 to 9.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the detection method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Position measuring method and position measuring system for machine tool object
CN112008496A
Positioning fixture detection device and detection method
CN115046509A
Calibration fixture, and offset calculation method of image measuring machine
JP2007078635A
Fixture-coordinate specification method for machining apparatus, and machining apparatus using the method
JP2010064181A
Terminal insertion device and terminal insertion method
WO2020026912A1
