Oilfield casing shaping and repair device

By designing a motor-driven casing reshaping and repair device, the simultaneous operation of straightening and reshaping is realized, solving the problem that existing devices are not easy to be centered on the casing, improving the reshaping effect and reducing damage to the inner wall of the casing.

CN116905997BActive Publication Date: 2026-05-26CHINA UNIV OF PETROLEUM (EAST CHINA)
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNIV OF PETROLEUM (EAST CHINA)
Filing Date
2023-08-29
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Existing casing reshaping and repair devices generally lack a centering function, making it difficult for the device to be centered on the casing after insertion, thus reducing the reshaping effect.

Method used

An oilfield casing shaping and repair device was designed, comprising a straightening device and a shaping device. The rotating shaft driven by the motor drives the turntable and worm gear to rotate, realizing the synchronous expansion or contraction of the straightening block and the shaping block. The ball bearings reduce friction and ensure that the device is centered on the casing.

Benefits of technology

It improves the effect of casing shaping, reduces damage to the inner wall of the casing, and enhances the service life and stability of the shaping device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116905997B_ABST
    Figure CN116905997B_ABST
Patent Text Reader

Abstract

This invention relates to the field of petroleum machinery technology, and more particularly to an oilfield casing shaping and repair device. It aims to solve the problem that existing casing shaping and repair devices generally lack a centering function, making it difficult for the device to be centered on the casing after being run into it, thus reducing the shaping effect. This oilfield casing shaping and repair device has a shaping block installed on a first housing and a centering block installed on a second housing. A motor on the second housing drives a rotating shaft to rotate, which in turn drives a turntable and a worm gear to rotate simultaneously. Ultimately, the centering block and the shaping block expand outward or contract inward synchronously to a suitable position. Then, the motor stops working, causing the rotating shaft to stop rotating. The shaping device is then moved up and down by wellhead equipment, allowing the shaping block to shape the inner wall of the casing, completing the shaping operation. During the shaping operation, the centering device centers the entire device, ensuring that the device is centered on the casing after being run into it, thus improving the shaping effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of petroleum machinery technology, and in particular to an oilfield casing reshaping and repair device. Background Technology

[0002] Oil well casing is a steel pipe used to support the wellbore of oil and gas wells, ensuring the smooth operation of the well during drilling and after completion. During downhole operations, the casing's ability to withstand external loads often weakens due to constantly changing production conditions, engineering factors, and geological conditions. When the applied load exceeds its own bearing capacity, the casing will deform.

[0003] In oilfield production operations, casing deformation and failure can lead to incomplete injection-production systems and significant production declines, severely impacting the stability and high yield of the oilfield. Currently, the main methods for addressing this problem are explosive reshaping and mechanical reshaping techniques. In explosive reshaping, the dosage is difficult to control precisely, inevitably causing significant damage to the casing. Mechanical reshaping techniques, such as pear-shaped expansion, casing milling, eccentric roller reshaping, and rotary impact reshaping, generally lack a centering function, making it difficult for the reshaping and repair device to be centered on the casing, thus reducing the reshaping effect. Summary of the Invention

[0004] This invention provides an oilfield casing shaping and repair device to solve the problem that existing casing shaping and repair devices generally lack a straightening function, making it difficult for the device to be centered on the casing after being inserted, thus reducing the shaping effect of the device.

[0005] To achieve the above objectives, the present invention provides an oilfield casing shaping and repair device, comprising a first housing, a shaping device mounted on the first housing, a second housing fixedly mounted on the upper end of the first housing, a shaping head fixedly mounted on the lower end of the first housing, and a straightening device mounted on the second housing. The straightening device includes a fixed plate frame, which is fixedly mounted on the inner wall of the second housing. A turntable is rotatably mounted inside the fixed plate frame, with its center fixedly connected to a rotating shaft. The upper end of the rotating shaft is fixedly connected to a motor. Sliding grooves are evenly distributed around the circumference of the turntable, and rectangular through grooves are evenly distributed around the circumference of the side wall of the second housing. A straightening block is slidably mounted on the rectangular through groove of the second housing, and the straightening block is slidably connected to the sliding groove. The straightening block includes a straightening block body, and a fastening plate is fixedly mounted on the straightening block body by screws. Ball bearings are installed between the straightening block body and the fastening plate.

[0006] Furthermore, the main body of the straightening block is provided with a ball groove, and the fastening plate is provided with a fastening groove. The ball is located in the circular space enclosed by the ball groove and the fastening groove. The main body of the straightening block is provided with a threaded hole, and the fastening plate is provided with a stepped hole. The screw passes through the stepped hole and the threaded hole.

[0007] Furthermore, two levers are symmetrically fixed on the main body of the straightening block. The distance between the two levers is equal to the height of the fixed plate frame. Slide rods are fixedly installed at the ends of the levers and slide in the slide groove. Turntable through holes are provided on the turntable.

[0008] Furthermore, the shaping device includes a shaping block, which is slidably mounted on a rectangular through slot in the first housing. The shaping block is rotatably connected to a connecting rod, which is rotatably connected to a worm gear. There are four worm gears, with an included angle of 90° between adjacent worm gears. The worm gears cooperate with the worm shaft, and the worm gears are rotatably mounted on a worm gear holder. The worm gear holder is fixedly mounted on a support plate, which is fixedly mounted on the inner wall of the first housing. The lower end of the worm shaft is rotatably connected to the support plate, and the upper end of the worm shaft is fixedly connected to a rotating shaft. The upper end face of the support plate is located below the rectangular through slot in the first housing.

[0009] Furthermore, the worm gear includes an incomplete worm gear, one half of which is provided with meshing teeth, and the other half of which is a cylindrical surface. An annular groove is provided on the cylindrical surface of the incomplete worm gear, and a pin hole is provided on the side wall of the annular groove. The connecting rod is rotatably connected to the worm gear through a pin.

[0010] Furthermore, the support plate has through holes evenly distributed around its circumference.

[0011] Furthermore, the shaping head includes a conical head, which has a hollow structure, with oblique holes on the sidewalls and a bottom hole at the bottom.

[0012] Furthermore, wear-resistant rings are evenly spaced on the outer wall of the conical head.

[0013] Furthermore, a first annular groove, a second annular groove, and a third annular groove are sequentially provided on the outer wall of the conical head, and the distance between the first annular groove and the second annular groove is equal to the distance between the second annular groove and the third annular groove.

[0014] Furthermore, the wear-resistant ring includes a first wear-resistant ring, a second wear-resistant ring, and a third wear-resistant ring. The first wear-resistant ring is rotatably installed in a first annular groove, the second wear-resistant ring is rotatably installed in a second annular groove, and the third wear-resistant ring is rotatably installed in a third annular groove.

[0015] The oilfield casing shaping and repair device provided by this invention includes a shaping block installed on a first housing and a straightening block installed on a second housing. A motor on the second housing drives a rotating shaft to rotate, which in turn drives a turntable and a worm gear to rotate simultaneously. The turntable drives a sliding rod to slide along a sliding groove, and a lever connected to the sliding rod slides along the upper and lower end faces of a fixed plate frame, causing the straightening block body to slide along a rectangular through groove on the second housing. The rotation of the worm gear drives multiple worm wheels that cooperate with it to rotate. The rotating worm wheels drive the shaping block to slide along the rectangular through groove on the first housing through a connecting rod. Ultimately, the straightening block and the shaping block expand outward or contract inward synchronously to a suitable position. Then, the motor stops working, causing the rotating shaft to stop rotating. The shaping device is moved up and down by the wellhead equipment, causing the shaping block to shape the inner wall of the casing, completing the shaping operation. During the shaping operation, the straightening device straightens the entire device, ensuring that the shaping and repair device is centered on the casing, thus improving the shaping effect of the device.

[0016] The structure of the present invention, as well as its other inventive objects and beneficial effects, will become more apparent from the description of preferred embodiments taken in conjunction with the accompanying drawings. Attached Figure Description

[0017] Figure 1 This is a first structural schematic diagram of the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0018] Figure 2 This is a schematic diagram of the second structure of the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0019] Figure 3 This is a side view of the oilfield casing shaping and repair device provided in an embodiment of the present invention.

[0020] Figure 4 This is a bottom view of the oilfield casing shaping and repair device provided in an embodiment of the present invention.

[0021] Figure 5 This is a top view of the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0022] Figure 6 This is a schematic diagram of the internal structure of the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0023] Figure 7 This is a schematic diagram of the structure of the straightening block in the oilfield casing reshaping and repair device provided in an embodiment of the present invention;

[0024] Figure 8 This is a schematic diagram of the structure of the straightening block of the oilfield casing reshaping and repair device provided in an embodiment of the present invention;

[0025] Figure 9This is a schematic diagram of the structure of the fastening plate of the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0026] Figure 10 This is a schematic diagram of the structure of the shaping block in the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0027] Figure 11 This is a schematic diagram of the worm gear structure of the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0028] Figure 12 This is a schematic diagram of the structure of the shaping head of the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0029] Figure 13 This is a schematic diagram of the structure of the fixing plate frame of the oilfield casing shaping and repair device provided in an embodiment of the present invention;

[0030] Explanation of reference numerals in the attached figures:

[0031] 1-Shaping head; 101-Conical head; 102-Slanted hole; 103-Bottom hole; 104-First annular groove; 105-Second annular groove; 106-Third annular groove; 2-Wear-resistant ring; 201-First wear-resistant ring; 202-Second wear-resistant ring; 203-Third wear-resistant ring; 3-First housing; 4-Shaping block; 5-Second housing; 6-Straightening block; 601-Straightening block body; 602-Toggle lever; 603-Snap-fit ​​plate; 604-Ball bearing; 605 - Screw; 606 - Slide rod; 607 - Ball groove; 608 - Threaded hole; 609 - Snap-fit ​​groove; 610 - Stepped hole; 7 - Motor; 8 - Support frame; 9 - Fixed plate frame; 10 - Turntable; 11 - Support plate; 12 - Worm gear frame; 13 - Worm gear; 1301 - Incomplete worm gear; 1302 - Worm gear annular groove; 1303 - Pin hole; 14 - Connecting rod; 15 - Turntable through hole; 16 - Slide groove; 17 - Worm; 18 - Rotating shaft; 19 - Support plate through hole. Detailed Implementation

[0032] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0033] like Figures 1-7As shown, the present invention provides an oilfield casing shaping and repair device, including a first housing 3, a shaping device installed on the first housing 3, a second housing 5 fixedly installed at the upper end of the first housing 3, a shaping head 1 fixedly installed at the lower end of the first housing 3, a straightening device installed on the second housing 5, the straightening device including a fixed plate frame 9, the fixed plate frame 9 fixedly installed on the inner wall of the second housing 5, a turntable 10 rotatably installed inside the fixed plate frame 9, the middle part of the turntable 10 is fixedly connected to a rotating shaft 18, the upper end of the rotating shaft 18 is fixedly connected to a motor 7, the turntable 10 has evenly distributed circumferential grooves 16, the side wall of the second housing 5 has evenly distributed rectangular through grooves, a straightening block 6 is slidably installed on the rectangular through grooves of the second housing 5, the straightening block 6 is slidably connected to the grooves 16, the straightening block 6 includes a straightening block body 601, a fastening plate 603 is fixedly installed on the straightening block body 601 by screws 605, and a ball bearing 604 is installed between the straightening block body 601 and the fastening plate 603.

[0034] Both the first housing 3 and the second housing 5 are hollow shell structures. The fixed plate frame 9 is also a hollow structure. The turntable 10 is rotatably mounted inside the hollow structure of the plate frame 9, ensuring that the turntable 10 does not detach from the fixed plate frame 9. A circular hole is provided in the center of the turntable 10. The turntable 10 is connected to the rotating shaft 18 via a key. The upper end of the rotating shaft 18 is connected to the motor 7 via a coupling. The motor 7 is fixed to the second housing 5 via a support frame 8. The motor 7 is fixed in the center of the support frame 8, and the four sides of the support frame 8 are fixed to the inner wall of the second housing 5. The motor 7 drives the rotating shaft 18 to rotate, which in turn drives the turntable 10 to rotate. The rotation of the turntable 10 pushes the straightening block 6 to slide along the rectangular through groove of the second housing 5, changing the straightening diameter of the straightening block 6 to accommodate sleeves of different diameters. The straightening block 6 never detaches from the rectangular through groove of the second housing 5 while sliding along it. After the sleeve is inserted into the shaping and repair device, the ball bearing 604 on the straightening block 6 contacts the inner wall of the sleeve, reducing the friction between the straightening block 6 and the inner wall of the sleeve and reducing damage to the inner wall of the sleeve. The ball bearing 604 is limited between the straightening block body 601 and the fastening plate 603 by the screw 605, which facilitates the installation and removal of the ball bearing 604.

[0035] like Figures 7-9 As shown, the main body 601 of the straightening block is provided with a ball groove 607, the fastening plate 603 is provided with a fastening groove 609, the ball 604 is located in the circular space enclosed by the ball groove 607 and the fastening groove 609, the main body 601 of the straightening block is provided with a threaded hole 608, the fastening plate 603 is provided with a stepped hole 610, and the screw 605 passes through the stepped hole 610 and the threaded hole 608.

[0036] Screw 605 passes through stepped hole 610 and screws into threaded hole 608, connecting the main body 601 of the straightening block 601 to the fastening plate 603, and confining the ball 604 within the circular space formed by ball groove 607 and fastening groove 609. The head of screw 605 is recessed into stepped hole 610, and screw 605 will not protrude from fastening plate 603 to avoid affecting the movement of ball 604.

[0037] like Figures 6-8 As shown, two levers 602 are symmetrically fixed on the main body 601 of the straightening block. The distance between the two levers 602 is equal to the height of the fixed plate frame 9. A slide rod 606 is fixedly installed at the end of the lever 602. The slide rod 606 is slidably installed in the slide groove 16. A turntable through hole 15 is provided on the turntable 10.

[0038] The distance between the two levers 602 is equal to the height of the fixed plate frame 9. When the motor 7 drives the rotating shaft 18 to rotate, which in turn drives the turntable 10 to rotate, the slide rod 606 slides along the slide groove 16. During the sliding of the slide rod 606 along the slide groove 16, the lever 602 slides along the upper and lower end faces of the fixed plate frame 9 and drives the straightening block body 601 to slide along the rectangular through groove on the second housing 5, thereby adjusting the straightening diameter to accommodate sleeves of different diameters. The turntable through holes 15 are circumferentially distributed around the turntable 10. When high-pressure fluid flows through the second housing 5, the turntable through holes 15 on the turntable 10 allow the fluid to pass through.

[0039] like Figure 6 , Figure 10 , Figure 13 As shown, the shaping device includes a shaping block 4, which is slidably mounted on a rectangular through slot in the first housing 3. The shaping block 4 is rotatably connected to a connecting rod 14, which is rotatably connected to a worm gear 13. There are four worm gears 13, and the included angle between adjacent worm gears 13 is 90°. The worm gear 13 cooperates with a worm 17. The worm gear 13 is rotatably mounted on a worm gear frame 12, which is fixedly mounted on a support plate 11. The support plate 11 is fixedly mounted on the inner wall of the first housing 3. The lower end of the worm 17 is rotatably connected to the support plate 11, and the upper end of the worm 17 is fixedly connected to a rotating shaft 18. The upper end face of the support plate 11 is located below the rectangular through slot in the first housing 3.

[0040] The sidewall of the first housing 3 is circumferentially distributed with rectangular through slots. The number of rectangular through slots on the first housing 3 is equal to the number of shaping blocks 4. Rollers are installed on the shaping blocks 4. During the shaping and repair process, the rollers on the shaping blocks 4 contact the inner wall of the sleeve, reducing damage to the inner wall of the sleeve. Worm gear frames 12 are arranged in pairs, with one pair of worm gear frames 12 supporting one worm gear 13. The worm gear 13 and the worm 17 need to be protected. The motor 7 drives the rotating shaft 18 to rotate. The rotating shaft 18 drives the turntable 10 to rotate, and at the same time drives the worm 17 to rotate. The worm 17 drives the multiple worm gears 13 that cooperate with it to rotate. The rotating worm gears 13 drive the shaping blocks 4 to slide along the rectangular through slots of the first housing 3 through the connecting rod 14, thereby adjusting the shaping diameter of the shaping device to accommodate sleeves of different diameters. The lower wall of the rectangular through groove of the first housing 3 is higher than the upper end surface of the support plate 11, so that the support plate 11 does not affect the sliding of the shaping block 4, and avoids the dimensional interference between the shaping block 4 and the support plate 11 during the sliding process. The shaping block 4 never leaves the rectangular through groove of the first housing 3 when it slides along the rectangular through groove of the first housing 3.

[0041] like Figures 10-11 As shown, the worm gear 13 includes an incomplete worm gear 1301. One half of the incomplete worm gear 1301 is provided with meshing teeth, and the other half of the incomplete worm gear 1301 is a cylindrical surface. A worm gear annular groove 1302 is provided on the cylindrical surface of the incomplete worm gear 1301. A pin hole 1303 is provided on the side wall of the worm gear annular groove 1302. The connecting rod 14 is rotatably connected to the worm gear 13 through a pin.

[0042] The incomplete worm gear 1301 has meshing teeth on 180° of its circumference and a cylindrical surface on the other 180°. Having meshing teeth on half of it is sufficient to meet the usage requirements and saves costs. One end of the connecting rod 14 extends into the annular groove 1302 of the worm gear. The connecting rod 14 is rotatably connected to the worm gear 13 via a pin. During the rotation of the incomplete worm gear 1301, it drives the connecting rod 14 to move. When the connecting rod 14 moves within the annular groove 1302, it does not interfere with the bottom of the groove.

[0043] like Figure 10 As shown, support disk through holes 19 are evenly distributed around the circumference of the support disk 11.

[0044] The number of support disk through holes 19 is preferably four. The support disk through holes 19 are distributed around the support disk 11. When high-pressure fluid flows through the first housing 3, the support disk through holes 19 on the support disk 11 allow the fluid to pass through.

[0045] like Figure 12 As shown, the shaping head 1 includes a conical head 101, which is a hollow structure. An oblique hole 102 is provided on the side wall of the conical head 101, and a bottom hole 103 is provided at the bottom of the conical head 101.

[0046] When high-pressure fluid flows through the shaping head 1, the high-pressure fluid is ejected from the inclined hole 102 and the bottom hole 103 to flush the corresponding parts of the shaping head 1 and remove dirt from the outside of the shaping head 1.

[0047] like Figures 2-3 As shown, wear-resistant rings 2 are evenly spaced on the outer wall of the conical head 101.

[0048] During the process of inserting the casing into the casing using the casing shaping and repair device, the shaping head 1 performs preliminary shaping on the casing. The wear-resistant ring 2 on the shaping head 1 comes into contact with the casing. Only after the wear-resistant ring 2 wears down does the shaping head 1 come into contact with the casing, in order to increase the service life of the shaping head 1.

[0049] like Figure 12 As shown, a first annular groove 104, a second annular groove 105 and a third annular groove 106 are sequentially arranged on the outer wall of the conical head 101. The distance between the first annular groove 104 and the second annular groove 105 is equal to the distance between the second annular groove 105 and the third annular groove 106.

[0050] After dirt adheres to the outer wall of the shaping head 1 and the wear ring 2, high-pressure fluid is introduced from the second housing 5 to flush the dirt on the shaping head 1 and the wear ring 2. The high-pressure fluid flows through the second housing 5, the first housing 3 and the shaping head 1 and finally sprays out from the inclined hole 102 to flush the dirt on the shaping head 1 and the wear ring 2.

[0051] like Figure 3 , Figure 12 As shown, the wear-resistant ring 2 includes a first wear-resistant ring 201, a second wear-resistant ring 202 and a third wear-resistant ring 203. The first wear-resistant ring 201 is rotatably installed in the first annular groove 104, the second wear-resistant ring 202 is rotatably installed in the second annular groove 105, and the third wear-resistant ring 203 is rotatably installed in the third annular groove 106.

[0052] The first wear-resistant ring 201 is located in the first annular groove 104 and can rotate around the central axis of the shaping head 1 as well as around its own axis; the second wear-resistant ring 202 is located in the second annular groove 105 and can rotate around the central axis of the shaping head 1 as well as around its own axis; the third wear-resistant ring 203 is located in the third annular groove 106 and can rotate around the central axis of the shaping head 1 as well as around its own axis. The rolling friction method reduces the friction with the sleeve wall.

[0053] Motor 7 drives shaft 18 to rotate, which in turn drives turntable 10 and worm gear 17 to rotate simultaneously. This causes the straightening block 6 and shaping block 4 to expand outward or contract inward synchronously. Once the straightening block 6 and shaping block 4 reach the appropriate position, motor 7 stops working, causing shaft 18 to stop rotating. The shaping device is then moved up and down by the wellhead equipment, allowing the shaping block 4 to shape the inner wall of the casing, thus completing the shaping operation. During the shaping operation, the straightening device straightens the entire device, ensuring that the shaping and repair device is centered on the casing, thereby improving the shaping effect of the device. As the turntable 10 rotates within the fixed plate frame 9, it drives the slide rod 606 to slide along the slide groove 16. During the sliding of the slide rod 606 along the slide groove 16, the lever 602 connected to the slide rod 606 slides along the upper and lower end faces of the fixed plate frame 9 and drives the straightening block body 601 to slide along the rectangular through groove on the second housing 5, thereby adjusting the straightening diameter of the straightening block 6 to accommodate sleeves of different diameters. The rotation of the worm gear 17 drives the multiple worm wheels 13 that cooperate with it to rotate. The rotating worm wheels 13 drive the shaping block 4 to slide along the rectangular through groove of the first housing 3 through the connecting rod 14, thereby adjusting the shaping diameter of the shaping device to accommodate sleeves of different diameters.

[0054] The oilfield casing shaping and repair device provided by this invention has a shaping block 4 installed on a first housing 3 and a straightening block 6 installed on a second housing 5. A motor 7 on the second housing 5 drives a rotating shaft 18 to rotate, which in turn drives a turntable 10 and a worm gear 17 to rotate simultaneously. The turntable 10 drives a sliding rod 606 to slide along a sliding groove 16, and a lever 602 connected to the sliding rod 606 slides along the upper and lower end faces of a fixed plate frame 9 and drives the straightening block body 601 to slide along a rectangular through groove on the second housing 5. The rotation of the worm gear 17 drives the rotation of multiple worm wheels 13 that cooperate with it. The rotating worm gear 13 drives the shaping block 4 to slide along the rectangular through groove of the first housing 3 via the connecting rod 14, so that the straightening block 6 and the shaping block 4 expand outward or contract inward to the appropriate position in sync. Then the motor 7 stops working, so that the rotating shaft 18 stops rotating. The wellhead equipment drives the shaping device to move up and down, so that the shaping block 4 shapes the inner wall of the casing, completing the shaping operation. During the shaping operation, the straightening device straightens the entire device, so that the shaping and repair device that is lowered into the casing is located in the center of the casing, improving the shaping effect of the shaping device.

[0055] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An oilfield casing reshaping and repair device, characterized in that, The device includes a first housing, on which a shaping device is mounted. A second housing is fixedly mounted on the upper end of the first housing, and a shaping head is fixedly mounted on the lower end of the first housing. A straightening device is mounted on the second housing. The straightening device includes a fixed plate frame, which is fixedly mounted on the inner wall of the second housing. A turntable is rotatably mounted inside the fixed plate frame. The middle part of the turntable is fixedly connected to a rotating shaft, and the upper end of the rotating shaft is fixedly connected to a motor. Sliding grooves are evenly distributed around the circumference of the turntable. Rectangular through grooves are evenly distributed around the circumference of the side wall of the second housing. A straightening block is slidably mounted on the rectangular through groove of the second housing. The straightening block is slidably connected to the sliding groove. The straightening block includes a straightening block body, on which a fastening plate is fixedly mounted by screws. Ball bearings are installed between the straightening block body and the fastening plate. Two levers are symmetrically fixed on the main body of the straightening block. The distance between the two levers is equal to the height of the fixed plate frame. A sliding rod is fixedly installed at the end of the lever and the sliding rod is slidably installed in the sliding groove. As the sliding rod slides along the sliding groove, the lever slides along the upper and lower end faces of the fixed plate frame and drives the main body of the straightening block to slide along the rectangular through groove on the second housing. The shaping device includes a shaping block, which is slidably mounted on a rectangular through slot in the first housing. The shaping block is rotatably connected to a connecting rod, which is rotatably connected to a worm gear. There are four worm gears, and the included angle between adjacent worm gears is 90°. The worm gears cooperate with the worm. The worm gears are rotatably mounted on a worm gear holder, which is fixedly mounted on a support plate. The support plate is fixedly mounted on the inner wall of the first housing. The lower end of the worm is rotatably connected to the support plate, and the upper end of the worm is fixedly connected to the rotating shaft. The worm gear includes an incomplete worm gear, one half of which is provided with meshing teeth, and the other half of which is a cylindrical surface. The cylindrical surface of the incomplete worm gear is provided with a worm gear annular groove, and the side wall of the worm gear annular groove is provided with a pin hole. The connecting rod is rotatably connected to the worm gear through a pin.

2. The oilfield casing reshaping and repair device according to claim 1, characterized in that, The main body of the straightening block is provided with a ball groove, the fastening plate is provided with a fastening groove, the ball is located in the circular space enclosed by the ball groove and the fastening groove, the main body of the straightening block is provided with a threaded hole, the fastening plate is provided with a stepped hole, and the screw passes through the stepped hole and the threaded hole.

3. The oilfield casing reshaping and repair device according to claim 2, characterized in that, The turntable is provided with a turntable through hole.

4. The oilfield casing reshaping and repair device according to claim 1, characterized in that, The upper surface of the support plate is located below the rectangular through groove of the first housing.

5. The oilfield casing reshaping and repair device according to claim 4, characterized in that, The support plate has through holes evenly distributed around its circumference.

6. The oilfield casing reshaping and repair device according to claim 1, characterized in that, The shaping head includes a conical head, which has a hollow structure, with oblique holes on the sidewalls and a bottom hole at the bottom.

7. The oilfield casing reshaping and repair device according to claim 6, characterized in that, Wear-resistant rings are evenly spaced on the outer wall of the conical head.

8. The oilfield casing reshaping and repair device according to claim 7, characterized in that, The outer wall of the conical head is provided with a first annular groove, a second annular groove and a third annular groove in sequence, and the distance between the first annular groove and the second annular groove is equal to the distance between the second annular groove and the third annular groove.

9. The oilfield casing reshaping and repair device according to claim 8, characterized in that, The wear-resistant ring includes a first wear-resistant ring, a second wear-resistant ring, and a third wear-resistant ring. The first wear-resistant ring is rotatably installed in the first annular groove, the second wear-resistant ring is rotatably installed in the second annular groove, and the third wear-resistant ring is rotatably installed in the third annular groove.