Method for numerically controlling lathe repairing of internal threads with different leads at specific spindle rotating speed
阅读说明:本技术 一种在特定主轴转速下数控车修不同导程内螺纹的方法 (Method for numerically controlling lathe repairing of internal threads with different leads at specific spindle rotating speed ) 是由 刘建群 孙凤芝 刘珈利 张小军 何永玲 李红星 于 2019-10-18 设计创作,主要内容包括:一种在特定主轴转速下数控车修不同导程内螺纹的方法,包括:在预设的主轴转速下,以刀具起点S在参照工件上车制导程P<Sub>0</Sub>的参照螺旋线;将刀尖定位于参照螺旋线中部;转动主轴到一角度位使刀尖指向参照螺旋线;卸下参照工件并安装导程P的待修内螺纹工件,转动主轴至该角度位;提供对刀尺,将对刀尺游标的定位触头与待修内螺纹的齿槽嵌合;将刀尖指向游标的对刀槽中心,移除对刀尺;计算车修所需刀具起点E’与车修程序设定的刀具起点E的轴向偏移距离或周向偏差,消除该偏差;运行调整后的车修程序。该方法能够解决在特定主轴转速下数控车修不同导程内螺纹时的对刀问题,并方便内螺纹维修对刀。(A method for numerically controlling lathe repairing of internal threads with different leads at a specific spindle speed, comprising: turning a lead P on the reference workpiece at a preset spindle speed at a tool start S 0 The reference helix of (a); positioning the tool tip in the middle of the reference spiral line; rotating the main shaft to an angle position to enable the tool nose to point to the reference spiral line; unloading the reference workpiece, installing the internal thread workpiece to be repaired with the lead P, and rotating the main shaft to the angle position; providing a tool setting ruler, and embedding a positioning contact of a vernier of the tool setting ruler with a tooth socket of the internal thread to be repaired; the tool tip points to the center of the tool setting groove of the vernier, and the tool setting ruler is removed; calculating the axial offset distance or circumference between the tool starting point E' required for the lathe repair and the tool starting point E set by the lathe repair programEliminating the deviation; and running the adjusted vehicle repairing program. The method can solve the tool setting problem when numerically controlled lathe repairing internal threads with different leads at a specific spindle rotating speed, and facilitates maintenance and tool setting of the internal threads.)
1. A method for numerically controlling and repairing internal threads with different leads at a specific spindle rotating speed is characterized by comprising the following steps:
s1, at the preset spindle speed, using the starting point S [ X ] of the cutterS,ZS]Machining a reference workpiece at a lead P on its outer surface0The reference helix of (a);
s2, positioning the tool tip of the turning tool at the point A [ X ]A,ZA]Wherein X isAIs the radial coordinate of point A, ZAIs the axial coordinate of point A, ZAThe tool tip is positioned at any position in the middle of the reference spiral line;
s3, rotating the main shaft to an angle position which makes the knife tip point to the reference spiral line to mark or memorize the angle position;
s4, detaching the reference workpiece from the chuck of the numerical control lathe;
s5, mounting the workpiece with the internal thread to be repaired on the chuck, and rotating the main shaft to the angle position, wherein the starting point of the cutter set by the internal thread to be repaired turning program is E [ X ]E,ZE]Wherein X isEAs radial coordinate of point E, ZEThe axial coordinate of the point E is taken as the lead of the internal thread to be repaired is P;
s6, providing a pair of cutting rulers, including a vernier, wherein the vernier is provided with a positioning contact, the vernier is also provided with a tool aligning groove, the tool aligning groove is positioned outside the workpiece with the internal thread to be repaired, the positioning contact is positioned in the workpiece with the internal thread to be repaired, the positioning contact of the vernier is embedded with one of the tooth grooves of the internal thread to be repaired, and the tool aligning groove and the positioning contact have a fixed interval L in the axial direction of the internal thread to be repaired0;
S7, moving the turning tool to position the tool tip of the turning tool at the point B [ X ]B,ZB]And is directed to the center of the tool counter groove, wherein XBIs the radial coordinate of point B, ZBRemoving the tool setting rule as the axial coordinate of the point B;
s8, calculating the axial actual distance L between the tool starting point E' required by the turning and the tool starting point E set by the turning program as ZB-ZE-L0-P*[ZA-ZS]/P0And converting the actual interval L into an axial offset distance L ' in a pitch range relative to the internal thread to be repaired, wherein the L ' is L-FIX (L/P) P, and a function FIX (L/P) represents an integer part of an L/P value or a circumferential deviation r between a tool starting point E ' required for vehicle repair and a tool starting point E set by the vehicle repair program is calculated0C,r0C=360*L'/P;
S9, moving the cutter starting point E set by the turning program to the cutter starting point E 'required by the turning in the working space of the numerical control lathe to eliminate the axial offset distance L' or adjusting the angular displacement of the cutter starting point E set by the turning program to eliminate the circumferential deviation r0C;
And S10, running the adjusted turning program, and turning the internal thread to be turned according to the turning tool starting point E', the lead P and the preset spindle rotating speed.
2. The method of numerically controlling the turning of different-lead internal threads at a specific spindle speed as claimed in claim 1, wherein: the pair of cutting rules further comprises a rule body and a fixed rule, the fixed rule is vertically connected with the rule body, and the vernier is connected with the rule body in a sliding mode; the step of enabling the positioning contact of the vernier to be embedded with one tooth groove of the internal thread to be repaired comprises the following steps of: and (3) enabling the ruler body to be vertical to the axis of a main shaft of the numerical control lathe, moving the vernier, enabling a positioning contact of the vernier to be embedded with one tooth groove of the internal thread to be repaired, and clamping the inner surface and the outer surface of the internal thread respectively by utilizing the positioning contact and the fixed ruler.
3. A method for numerically controlling the turning of internal threads of different leads at a specific spindle speed as claimed in claim 2, wherein: the vernier comprises a sleeve and a fixing plate connected with the sleeve, the ruler body penetrates through the sleeve and the fixing plate, and the positioning contact and the tool aligning groove are arranged on the fixing plate and are respectively positioned on two opposite sides of the ruler body.
4. A method of numerically controlling the turning of different lead internal threads at a given spindle speed as claimed in claim 3, wherein: the positioning contact is convexly arranged on one side, facing the fixed length, of the fixing plate, and the tool setting groove is concavely arranged on one side, back to the fixed length, of the fixing plate.
5. The method of numerically controlling the turning of different-lead internal threads at a specific spindle speed as claimed in claim 4, wherein: the positioning contact forms a V-shaped section with an included angle of 60 degrees on a plane where the positioning contact passes through the ruler body and the fixed ruler, and one end, close to the fixed ruler, of the V-shaped section of the positioning contact is an arc end; the tool aligning groove forms a V-shaped section with an included angle of 60 degrees on a plane where the tool aligning groove passes through the tool body and the fixed length, and a symmetry axis of the V-shaped section of the tool aligning groove is parallel to a symmetry axis of the V-shaped section of the positioning contact and is perpendicular to the fixed length.
6. The method of numerically controlling the turning of different-lead internal threads at a specific spindle speed as claimed in claim 1, wherein: the pair of cutting rules further comprises a locking piece for locking the vernier on the rule body.
7. A method for numerically controlling the turning of internal threads of different leads at a specific spindle speed as claimed in claim 2, wherein: a positioning groove is further concavely arranged on one side of the fixed ruler, which faces the positioning contact, and one end of the positioning groove penetrates through the end part of the fixed ruler, which is far away from the ruler body; the cross section of the positioning groove is in an inverted equilateral trapezoid shape, and the center of the positioning contact points to the central axis of the positioning groove.
8. The method for numerically controlling lathe repairing internal threads with different lead according to claim 1, wherein in step S9, for the numerically controlled lathe without macro-programming function, the axial offset distance L' is eliminated by translating the coordinate system or adding a tool compensation; in a numerical control lathe with a macro program function, an axial offset distance L' or a circumferential offset r is eliminated by adopting a translation coordinate system, adding a tool compensation, adjusting the position or the angular offset of a tool starting point set by a turning program in the turning program, and setting and calling any one of local coordinate systems G54-G590C。
9. The method for numerically controlling lathe repairing of internal threads with different lead according to claim 1, wherein if the number of the workpieces to be repaired is more than two, the steps S5-S10 are repeated until the lathe repairing of internal threads is completed for all the workpieces.
10. The method of numerically controlling lathe repair of different lead internal threads at a specific spindle speed as claimed in claim 1, wherein in step S3, after rotating the spindle to said angular position, marks are made on the headstock and chuck of the machine tool to mark the angular position or to identify the relative position characteristics of the headstock and chuck of the machine tool.
Technical Field
The invention relates to the technical field of thread maintenance, in particular to a method for numerically controlling and repairing internal threads with different leads at a specific spindle rotating speed.
Background
A large number of threads are processed and maintained by petroleum drilling technical service enterprises every year, petroleum pipe thread maintenance service is necessary for controlling equipment cost in the drilling industry, the service life of petroleum pipes can be prolonged through maintenance, and equipment investment is saved. The technical key point of the petroleum pipe thread maintenance lies in that the original spiral line of the thread is turned, but not completely removed and reprocessed.
The special pipe lathe for machining threads is widely used in the industry, and has the advantages of simple structure, strong applicability, obvious defects, high labor intensity of operators, poor working environment condition, and occupational risks of accidental injury, disability and the like. Adopt numerical control lathe to carry out the vehicle repair to the screw thread and can reduce intensity of labour, however, there is the tool setting problem all the time in numerical control lathe work, the maintenance process of screw thread, and the outstanding performance is: the installation of each thread to be repaired on the numerically controlled lathe is random, namely the difference between the position and the angle of the currently installed thread compared with the position and the angle of the currently installed thread is large, most of machining position data set in the previous program have no significance to the current machining, the data are completely updated, the labor efficiency of an operator can be greatly reduced, the error probability of the program is increased, and the damage risk of the workpiece thread and the maintenance equipment is increased. Meanwhile, in the process of maintaining the threads of the petroleum pipe, the petroleum pipe which is subjected to vehicle repair in each batch usually has different tooth forms and leads, so that the difficulty of tool setting is undoubtedly increased, and the thread vehicle repair efficiency is reduced.
Disclosure of Invention
The invention aims to solve at least one of the technical problems, and provides a method for numerically controlling and repairing internal threads with different leads at a specific spindle rotating speed, which can solve the problem of tool setting when numerically controlling and repairing the internal threads with different leads at the specific spindle rotating speed, can accurately mark axial coordinates of a tooth socket of the internal thread, and is convenient for tool setting operation of internal thread maintenance.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a method for numerically controlling and repairing internal threads with different leads at a specific spindle rotating speed comprises the following steps:
s1, at the preset spindle speed, using the starting point S [ X ] of the cutterS,ZS]Machining a reference workpiece at a lead P on its outer surface0The reference helix of (a);
s2, positioning the tool tip of the turning tool at the point A [ X ]A,ZA]Wherein X isAIs the radial coordinate of point A, ZAIs the axial coordinate of point A, ZAThe tool tip is positioned at any position in the middle of the reference spiral line;
s3, rotating the main shaft to an angle position which makes the knife tip point to the reference spiral line to mark or memorize the angle position;
s4, detaching the reference workpiece from the chuck of the numerical control lathe;
s5, mounting the workpiece with the internal thread to be repaired on the chuck, and rotating the main shaft to the angle position, wherein the starting point of the cutter set by the internal thread to be repaired turning program is E [ X ]E,ZE]Wherein X isEAs radial coordinate of point E, ZEThe axial coordinate of the point E is taken as the lead of the internal thread to be repaired is P;
s6, providing a pair of cutting rulers, including a vernier, wherein the vernier is provided with a positioning contact, the vernier is also provided with a tool aligning groove, the tool aligning groove is positioned outside the workpiece with the internal thread to be repaired, the positioning contact is positioned in the workpiece with the internal thread to be repaired, the positioning contact of the vernier is embedded with one of the tooth grooves of the internal thread to be repaired, and the tool aligning groove and the positioning contact have a fixed distance L in the direction parallel to the fixed ruler0;
S7, moving the turning tool to position the tool tip of the turning tool at the point B [ X ]B,ZB]And is directed to the center of the tool counter groove, wherein XBIs the radial coordinate of point B, ZBRemoving the tool setting rule as the axial coordinate of the point B;
s8, calculating the axial actual distance L between the tool starting point E' required by the turning and the tool starting point E set by the turning program as ZB-ZE-L0-P*[ZA-ZS]/P0And converting the actual distance L into the relative internal thread to be repairedAn axial offset distance L ', L ═ L-FIX (L/P) × P within a pitch range, wherein the function FIX (L/P) represents an integer part of the L/P value or a circumferential offset r of the tool starting point E' required for the calculation of the turning and the tool starting point E set by the turning program0C,r0C=360*L'/P;
S9, moving the cutter starting point E set by the turning program to the cutter starting point E 'required by the turning in the working space of the numerical control lathe to eliminate the axial offset distance L' or adjusting the angular displacement of the cutter starting point E set by the turning program to eliminate the circumferential deviation r0C;
And S10, running the adjusted turning program, and turning the internal thread to be turned according to the turning tool starting point E', the lead P and the preset spindle rotating speed.
Furthermore, the pair of cutting rules further comprises a rule body and a fixed rule, the fixed rule is vertically connected with the rule body, and the vernier is in sliding connection with the rule body; the step of enabling the positioning contact of the vernier to be embedded with one tooth groove of the internal thread to be repaired comprises the following steps of: and (3) enabling the ruler body to be vertical to the axis of a main shaft of the numerical control lathe, moving the vernier, enabling a positioning contact of the vernier to be embedded with one tooth groove of the internal thread to be repaired, and clamping the inner surface and the outer surface of the internal thread respectively by utilizing the positioning contact and the fixed ruler.
Furthermore, the vernier comprises a sleeve and a fixing plate connected with the sleeve, the ruler body penetrates through the sleeve and the fixing plate, and the positioning contact and the tool aligning groove are both arranged on the fixing plate and are respectively positioned on two opposite sides of the ruler body.
Furthermore, the positioning contact is convexly arranged on one side of the fixed plate facing the fixed length, and the tool setting groove is concavely arranged on one side of the fixed plate back to the fixed length.
Furthermore, a V-shaped section with an included angle of 60 degrees is formed on a plane where the positioning contact passes through the ruler body and the fixed ruler, and one end, close to the fixed ruler, of the V-shaped section of the positioning contact is an arc end; the tool aligning groove forms a V-shaped section with an included angle of 60 degrees on a plane where the tool aligning groove passes through the tool body and the fixed length, and a symmetry axis of the V-shaped section of the tool aligning groove is parallel to a symmetry axis of the V-shaped section of the positioning contact and is perpendicular to the fixed length.
Further, the pair of cutting rules also comprises a locking piece for locking the vernier on the rule body.
Furthermore, a positioning groove is concavely arranged on one side of the fixed scale facing the positioning contact, and one end of the positioning groove penetrates through the end part of the fixed scale far away from the scale body; the cross section of the positioning groove is in an inverted equilateral trapezoid shape, and the center of the positioning contact points to the central axis of the positioning groove.
Further, in step S9, for the numerically controlled lathe without the macro program function, the axial offset distance L' is eliminated by translating the coordinate system or adding a tool compensation; in a numerical control lathe with a macro program function, an axial offset distance L' or a circumferential offset r is eliminated by adopting a translation coordinate system, adding a tool compensation, adjusting the position or the angular offset of a tool starting point set by a turning program in the turning program, and setting and calling any one of local coordinate systems G54-G590C。
Further, if the number of the workpieces with the internal threads to be repaired is more than two, the steps S5-S10 are only required to be executed repeatedly until the internal threads are repaired on all the workpieces.
Further, in step S3, after the spindle is rotated to the angular position, marks are made on the headstock and the chuck to mark the angular position, or the relative position characteristics of the headstock and the chuck are recognized.
Due to the adoption of the technical scheme, the invention has the following beneficial effects:
1. by adopting the method, the turning and repairing of the internal threads with different lead lengths can be switched randomly, the turning and repairing of the internal threads with different lead lengths share the same reference thread characteristic, the zero position of a main shaft encoder does not need to be searched or marked, the tool can be accurately adjusted at one time, and the maintenance of the internal threads is more convenient; when the tool setting ruler adopted by the method is used, the positioning contact of the vernier is embedded with the tooth grooves of the internal thread, the tool tip of the moving turning tool is aligned with the tool setting groove, and the axial coordinate value of the turning tool can be read from the numerical control lathe. The tool aligning groove is positioned outside the workpiece, so that an operator can observe the vehicle convenientlyThe position of the knife; and the distance L between the tool aligning groove and the positioning contact in the axial direction of the internal thread is fixed0Therefore, the distance L is obtained according to the axial coordinate of the turning tool read from the numerical control lathe0The axial coordinate value of the tooth socket embedded with the positioning contact can be calculated, so that the tooth socket of the internal thread is externally presented, accurate tool setting is realized, and tool setting operation for maintaining the internal thread is facilitated.
2. According to the method for numerically controlling the turning and repairing of the internal threads with different leads under the rotating speed of the specific spindle, the actual axial offset distance L is converted into the axial offset distance L 'within a thread pitch range relative to the internal threads to be repaired, the positions of the points E and E' can be adjusted by the minimum and most saved offset distance, and the turning and repairing efficiency of the threads is further improved.
3. The method for numerically controlling and lathing the internal threads with different leads at the rotating speed of the specific main shaft does not need any external detecting instrument, does not need to modify or refit the numerical control machine tool, has lower cost, is generally applicable to the numerical control machine tool with the thread machining function, is suitable for various numerical control systems, is suitable for straight threads and tapered threads, and has general applicability.
Drawings
Fig. 1 is a schematic front view of a cutting rule according to a preferred embodiment of the present invention.
Fig. 2 is a front view of a pair of rulers according to another embodiment of the present invention.
Fig. 3 is a left side view of the pair of blades shown in fig. 2.
Fig. 4 is a bottom view of the pair of cutting rules shown in fig. 2.
Fig. 5 is a perspective view of the pair of cutting rules shown in fig. 2.
Fig. 6 is a perspective view of the pair of cutting rules shown in fig. 5 from another perspective.
FIG. 7 is a flowchart of a method for numerically repairing internal threads with different lead at a specific spindle rotation speed according to a preferred embodiment of the present invention.
Fig. 8 is a schematic diagram of a method for numerically controlling lathe cutting of internal threads with different leads at a specific spindle rotation speed according to an embodiment of the present invention, wherein a view angle of the method is a horizontal plane where a spindle of a numerically controlled lathe is observed from top to bottom.
Fig. 9 is an enlarged view of a portion of the structure of fig. 8.
Fig. 10 is a schematic structural view of a lathe tool tip portion in an embodiment of the present invention.
Fig. 11 is a schematic structural diagram of a maximum internal thread suitable for designing a cutting rule in the embodiment of the present invention.
Fig. 12 is a schematic structural view of a positioning contact of a cutting rule according to an embodiment of the present invention engaged with the female screw shown in fig. 11.
Fig. 13 is a schematic structural view of the positioning contact of the pair of blades in the embodiment of the present invention, which is engaged with the minimum internal thread designed and applied to the pair of blades.
In the attached drawings, 100-pair of cutting rule, 2-rule body, 4-fixed rule, 42-positioning groove, 6-vernier, 62-sleeve, 64-fixing plate, 65-mounting hole, 7-positioning contact, 8-pair of tool groove, 9-locking piece, 10-knob, 200-workpiece with internal thread to be repaired, and 300-machine tool spindle box; 400-chuck; 500-reference object; 600-turning tool.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Referring to fig. 7 to 10, a preferred embodiment of the present invention provides a method for numerically trimming internal threads with different lead lengths at a specific spindle rotation speed, comprising the following steps:
s1, at the preset spindle speed, using the starting point S [ X ] of the cutterS,ZS]Machining a lead P on the outer surface of a
In step S1, the center of the end of the
S2, positioning the tool tip of the
Point A [ X ]A,ZA]The coordinate values of (2) can be directly obtained from the numerically controlled lathe. Preferably, the radial coordinate X of said point AAThe radial position of the tool nose is made larger than the major diameter of the reference spiral line at the point A, so that the
And S3, rotating the main shaft to an angle position, wherein the angle position enables the tool tip to point to the reference spiral line, and marking or recognizing the angle position.
In step S3, the spindle may be manually rotated to the angular position; after the spindle is rotated to the angular position, the
S4, the
S5, installing the
In step S5, when the
Preferably, after the
S6, referring to fig. 1 together, providing a pair of cutting
In step S6, the cutting
In the present embodiment, the
The
The
The pair of cutting
When the pair of the
arc end chord length of the positioning contact 7: L-R1 cos [30 ° ]2-1.732 mm; for a national standard straight thread, the crest pitch is 7/8 lead, so the lower limit for the
In the present embodiment, the normal usage range of the
After the
S7, moving the
Since the
In step S7, the step of removing the
S8, calculating the axial actual distance L between the tool starting point E' required by the turning and the tool starting point E set by the turning program as ZB-ZE-L0-LP=ZB-ZE-L0-P*[ZA-ZS]/P0And converting the actual interval L into an axial offset distance L ' in a pitch range relative to the internal thread to be repaired, wherein the L ' is L-FIX (L/P) P, and a function FIX (L/P) represents an integer part of an L/P value or a circumferential deviation r between a tool starting point E ' required for vehicle repair and a tool starting point E set by the vehicle repair program is calculated0C,r0C=360*L'/P。
In step S8, the formula "L ═ ZB-ZE-L0-P*[ZA-ZS]/P0"in" P x [ ZA-ZS]/P0The processing mode is the core content realized by the method, is the key for solving the problem that the threads to be repaired in different leads share the same reference and the threads to be repaired are turned and repaired by randomly switching different leads, and means that the lead is P0The axial distance between the point a on the reference helix and the tool starting point S is converted in advance to an equivalent angular displacement between the points AS ([ Z ]A-ZS]/P0) For example, suppose [ ZA-ZS]/P011.253, the practical meaning is that the turning tool turns the helix from the point SWhen the spindle has rotated 11.253 turns at point a, and after removing the full turn 11, the actual spindle angle between point S and point a is 0.253 x 360-91.08 degrees, which the numerical control system of the lathe is usually unable to display, so to mark the spindle angle position F-G specifically, the angle must correspond to the actual position of point a. In addition, the turning of any lead thread by the numerical control system of the lathe starts from a so-called zero signal time point inside the lathe, which is a fixed spindle angle position, so that a known point B for obtaining the thread to be repaired is measured on the angle, and the required tool starting point E' for correctly repairing the internal thread can be obtained by calculation no matter what the lead is. Because the cutter starting point E set by the thread trimming program to be trimmed is not at the position, the cutter starting point E set by the thread trimming program needs to be adjusted to E' by various methods before the thread trimming, and the thread trimming can be realized by randomly switching different leads.
The thread turning becomes a more difficult problem in the application of the numerical control lathe, mainly because the actual starting point of the thread (relative to the angle of a 'spindle zero position signal') of each internal thread to be turned is different and random after being installed on the numerical control lathe, and the actual starting point is not easy to obtain conveniently and economically, which angular position in 360 degrees of the circumference of the spindle is possible, and the turning cannot be carried out if the starting point cannot be found and is not found accurately, so that technicians apply various advanced technologies and various methods to find the position of the internal thread, for example, the methods of using a CCD camera, magnetic induction, laser ranging, infrared rays, self-made measuring tools, numerical control machine tool reconstruction and the like cause high thread turning cost and complex method. The method has the remarkable difference from other prior art in the thought that: taking a shortcut, bypassing unknown measurement by using comparison with known methods, specifically, determining an angle position (namely an angle position marked by F-G) of a main shaft, comparing the angle position with a point B on each internal thread to be trimmed to obtain a deviation, and then eliminating the deviation to realize turning of a turning tool according to the track of the internal thread to be trimmed.
S9, moving the cutter starting point E set by the vehicle repairing program to the vehicle in the working space of the numerical control latheTrimming the required tool starting point E 'to eliminate the axial offset distance L', or adjusting the angular displacement of the tool starting point E set by the vehicle trimming program to eliminate the circumferential deviation r0C。
In step S9, the numerical control lathe that does not have the function of the macro program is shifted by the coordinate system or by a method of adding a tool complement to eliminate the axial offset distance L'. For the machine tool having the macro program function, various methods may be employed, for example, a translation coordinate system, an additional tool compensation, an adjustment of the position or angular displacement of the tool start point set by the machining program in the machining program, a setting and calling of any one of the local coordinate systems G54 to G59, and the like, to move the tool start point set by the machining program or adjust the angular displacement of the tool start point set by the machining program. By eliminating axial offset distance L' or circumferential deviation r0CIn any mode, the tool tip track of the
And S10, running the adjusted turning program, and turning the internal thread to be turned according to the turning tool starting point E', the lead P and the preset spindle rotating speed.
If the number of the workpieces to be repaired with the internal threads is more than two, the steps S5-S10 are repeated until the internal threads are repaired on all the workpieces.
The technical principle of the method for numerically controlling the lathe repair of the internal threads with different leads at the rotating speed of the specific spindle is as follows:
within the machine space, a specific lead is P0The spiral track is determined by a tool starting point S and the rotating speed of the main shaft, under a certain rotating speed of the main shaft, any point A on the spiral track has a fixed axial position relation and a fixed circumferential position relation with the point S, a point B with the same phase angle as the point A is found on the internal thread to be repaired with the lead P according to the position relation as reference, the tool starting point E 'required for repairing is calculated according to the position relation, the deviation between E' and E is converted according to the lead P, and the turning tool can be machined according to the internal thread to be repaired with the lead P by eliminating the deviation.
Based on the above principle, the axial position or angular displacement of the starting point of the tool set by the tool trimming program can be adjusted by any method in the machine tool space by means of the
The method is suitable for turning and lathing the internal threads with different leads, and does not limit the taper and the tooth form half angle of the internal threads to be machined.
To facilitate understanding, the following is a specific example provided by an embodiment of the present invention:
preparation work:
1. take Fanuc numerical control system as an example
2. The thread turning tool is No. 3, the accurate tool setting is carried out by using the No. 15 tool compensation, and the machining program calls the tool compensation
3. Preparing a tool capable of externally displaying the position of the tooth socket of the internal thread, wherein the tool is used for positioning the center distance L between the center of the
4. The
5. Taking the center of the right end (the end far away from the chuck) of the
6. Stopping the main shaft, moving the tool tip to A (141, -50.8), rotating the main shaft until the tool tip points to the reference spiral line, marking the current chuck angular position (marking F-G by a marking pen or identifying the chuck angular position characteristics), and detaching the
7. Before all instructions of the original program, the following instructions are written (taking the vehicle lead correction as an example of 5.08):
#501 equals 5.08; (thread lead)
#505 is 10.16; (axial coordinate Z of tool starting point set by the lathing programE)
M98P 6350; (Call subroutine 6350)
8. The following code is written in the new program 6350
O6350;
#502 ═ 6.35; (refer to thread lead)
#503 is 12.7; (refer to screw tool bitPoint axial coordinate ZS)
#504 ═ 50.8; (refer to the axial coordinate Z of the thread A pointA)
127; (positioning rule L0=127mm)
#1 ═ 5042; (reading the axial coordinate Z of the current tool setting positionBThe value of system parameter #5042 is passed to parameter #1)
#1- #505- #510- #501 [ #504- #503]/# 502; (calculating the actual offset distance L of the internal thread to be repaired)
#2 #1- #501 FIX [ #1/#501 ]; (conversion of axial offset distance L' within the Single Pitch of the thread to be repaired)
#2115 ═ 2115+ # 2; (removal of the deviation L' of the internal thread to be repaired from the reference thread with a 15 th patch, #2115 is rewritten to #21XX if the other patch numbers XX are used)
G0U-20; (cutter X moves 10mm in the negative direction and is far away from the position for tool setting)
W300; (cutter Z moves 300mm forward, far from the thread to be repaired)
M99; (returning to original program, start threading by 5.08 lead)
And (3) vehicle repairing:
1. installing and aligning the workpiece to be repaired, thread lead 5.08, rotating the chuck to mark F-G
2. A
3. Moving the
4. Removing the
5. Running thread-cutting programs
By adopting the method, the turning and repairing of the internal threads with different lead lengths can be switched randomly, the turning and repairing of the internal threads with different lead lengths share the same reference thread characteristic, the zero position of a main shaft encoder does not need to be searched or marked, the tool can be accurately adjusted at one time, and the maintenance of the internal threads is more convenient; when the
According to the method for numerically controlling the turning and repairing of the internal threads with different leads under the rotating speed of the specific spindle, the actual axial offset distance L is converted into the axial offset distance L 'within a thread pitch range relative to the internal threads to be repaired, the positions of the points E and E' can be adjusted by the minimum and most saved offset distance, and the turning and repairing efficiency of the threads is further improved.
The method for numerically controlling and lathing the internal threads with different leads at the rotating speed of the specific main shaft does not need any external detecting instrument, does not need to modify or refit the numerical control machine tool, has lower cost, is generally applicable to the numerical control machine tool with the thread machining function, is suitable for various numerical control systems, is suitable for straight threads and tapered threads, and has general applicability.
When the pair of
In the above-mentioned
Above-mentioned to cutting
It is understood that the shapes of the
It can be understood that the shape of the
It will be appreciated that the locking member 9 is not limited to the locking screw of this embodiment, for example, in other embodiments, after the
It can be understood that, in other embodiments, a rubber pad may be laid on the side wall enclosing the
It is understood that the structure and shape of the fixed
It is to be understood that the
The above description is intended to describe in detail the preferred embodiments of the present invention, but the embodiments are not intended to limit the scope of the claims of the present invention, and all equivalent changes and modifications made within the technical spirit of the present invention should fall within the scope of the claims of the present invention.