Gantry long-stroke walking deviation correcting device based on visual identification and deviation eliminating method

By using the visual recognition system and servo motor in the gantry mechanism, the deviation of the gantry body is corrected in real time, which solves the problem of deviation and error in the operation of the gantry mechanism, improves synchronization and safety, and reduces accidents and maintenance costs.

CN118833729APending Publication Date: 2024-10-25CCCC SECOND HARBOR ENGINEERING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411145469.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

During operation, the gantry mechanism is prone to problems such as deviation, long-distance cumulative running error, and asynchronous operation at both ends, leading to an increased risk of safety accidents.

Method used

A gantry long-stroke travel correction device based on visual recognition is used. Multiple visual recognition calibration rods and industrial cameras are set up on the track to collect image information in real time. The control system analyzes the deviation and adjusts the servo motor speed to realize automatic correction of the gantry body.

Benefits of technology

It achieves real-time position identification and synchronous control of the gantry body, reduces operating errors, ensures the synchronization and position accuracy of both ends during the long-stroke travel of the gantry mechanism, and reduces safety accidents and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118833729A_ABST
    Figure CN118833729A_ABST
Patent Text Reader

Abstract

According to the gantry long-stroke walking deviation correcting device based on visual identification and the deviation eliminating method, two parallel gantry operation rails are arranged on a rail foundation, a gantry body is connected to the gantry operation rails in a bridging mode through walking wheels below the two ends, and a driving mechanism on the gantry body drives the gantry body to walk; a plurality of visual identification calibration rods are symmetrically arranged on the track foundation along the two gantry operation tracks at certain intervals, and the industrial cameras on the two sides of the gantry main body take pictures of the visual identification calibration rods; the method comprises the steps of fixed-point installation, image acquisition, information processing, automatic deviation correction, real-time acquisition of image information and providing of corresponding dynamic compensation according to deviation information, and the problems that in the operation process of the gantry mechanism, deviation, long-distance accumulated walking errors and asynchronous operation of the two ends are prone to occurring are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of gantry mechanism deviation correction, and in particular to a gantry long-stroke walking deviation correction device and a deviation elimination method based on visual recognition. Background Art

[0002] The gantry mechanism is generally composed of a main beam, a walking wheel, a drive device, and a control system. The control system controls the drive device to drive the walking wheel to move at a set speed and distance. There is generally no closed-loop feedback during operation. Due to the influence of the gantry mechanism assembly accuracy and track installation accuracy, the gantry mechanism is prone to deviation, long-distance cumulative walking errors, and asynchronous operation at both ends during actual operation. What's worse, the gantry mechanism is blocked during operation, causing safety accidents. Therefore, it is urgent to propose a gantry long-stroke walking correction device and a deviation elimination method based on visual recognition to eliminate such influences, improve the synchronization of the gantry's movement, and ensure the safe and stable operation of the gantry mechanism. Summary of the invention

[0003] The main purpose of the present invention is to provide a gantry long-stroke walking correction device and a deviation elimination method based on visual recognition, so as to solve the problems of the gantry mechanism being prone to deviation, long-distance cumulative walking errors, and asynchronous operation at both ends during operation.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is: a gantry long-stroke walking correction device based on visual recognition, two parallel gantry running tracks are arranged on the track basis, the gantry main body is bridged on the gantry running tracks through the walking wheels at both ends, and the driving mechanism on the gantry main body drives the gantry main body to walk, and a plurality of visual recognition calibration rods are symmetrically arranged at a certain interval along the two gantry running tracks on the track basis, and the industrial cameras on both sides of the gantry main body take pictures of the visual recognition calibration rods, and the walking of the gantry main body is corrected after analysis by the control system.

[0005] In the preferred embodiment, two parallel transmission racks are symmetrically arranged on the side of the gantry running track, and a servo motor is arranged on the gantry body, whose output shaft is connected to the driving gear, the driving gear is meshed with the transmission rack, and the servo motor drives the gantry body to move along the gantry running track.

[0006] In the preferred embodiment, the gantry running track is fixed to the track foundation by multiple pressure plates, one end of the pressure plate is pressed on the wing plate at the lower end of the gantry running track, and the other end is connected to the track foundation through anchor bolts. The fixed end of the anchor bolt is buried in the track foundation, and the threaded column extends out of the pressure plate for a certain distance. The visual identification calibration rod is connected to the threaded column.

[0007] In the preferred embodiment, the visual identification calibration rod is connected to the threaded column via a connecting buckle; An adjusting rod is provided on one side of the connecting buckle, one end of the adjusting rod is rotatably connected to an ear plate on one side of the connecting buckle through a first butterfly bolt, and the first butterfly bolt locks the angle of the adjusting rod; The visual identification calibration rod is slidably connected to the adjustment rod through a second butterfly bolt, and the second butterfly bolt locks the distance between the visual identification calibration rod and the anchor bolt.

[0008] In the preferred embodiment, industrial cameras are symmetrically provided on both sides of the lower end of the gantry body, the interval between the pressure plates is adapted to the gantry running track and the detection range of the industrial cameras, and the length of the adjustment rod is half of the interval between the pressure plates.

[0009] In the preferred embodiment, the structure of the connecting buckle is as follows: a semicircular arc-shaped first connecting ring is rotatably connected to one end of the second connecting ring, a retaining ring is provided in the middle of the clamping rod and shuttles along the clamping rod, one end of the clamping rod is sleeved in the spring, one end of the spring is connected to the retaining ring, and one end is connected to one end of the clamping rod, and the spring end of the clamping rod is rotatably connected to the other end of the second connecting ring; A fork-shaped structure is provided at the other end of the first connecting ring. When locked, the inner side of the fork-shaped structure abuts against the spring end of the pressing rod, and the outer surface of the fork-shaped structure abuts against the vertical surface of the retaining ring; The other end of the clamping rod is rotatably connected to the eccentric part of the circular cam at one end of the pressing plate, and the outer surface of the circular cam abuts against the concave arc surface of another layer of the retaining ring, pressing down the other end of the pressing plate to lock the connecting buckle.

[0010] In the preferred solution, a control system capable of transmitting information with an industrial camera is provided on the gantry body for collecting, processing and comparing image information and operating parameters; An electrical cabinet is also provided on the gantry body, which is electrically connected to the control system for controlling the operation of the servo motor.

[0011] In a preferred embodiment, the method comprises: S1. Fixed-point installation: Determine the installation interval of the visual recognition calibration rod according to the detection range of the industrial camera and the gantry running track. The visual recognition calibration rod should be installed by a total station for point measurement. The left and right sides should be equidistant and symmetrically arranged during installation, and numbered in sequence on the track foundation. The spacing adjustment method is: rotating the adjustment rod to make the visual recognition calibration rod face the best shooting direction, and sliding the second butterfly bolt along the adjustment rod to adjust the spacing of the visual recognition calibration rod; S2. Image acquisition: The visual recognition calibration rod is provided with black and white marks or features with sequentially numbered position and angle information. The industrial camera acquires the image information within the detection range in real time during the movement of the gantry body and transmits it to the control system; S3, information processing: the control system processes the image information and compares it with the real-time operating parameters of the gantry body to determine whether the gantry body has deviation or walking error and the size of the deviation. If the deviation value exceeds the specified value, the corresponding control signal is transmitted to the electrical cabinet; S4, automatic deviation correction: When there is a deviation between the actual position of the gantry and the target position, the electrical cabinet controls the gantry body to move a corresponding distance to eliminate the deviation according to the corresponding control signal; When the gantry deviates, the electrical cabinet adjusts the speed of the servo motors on both sides according to the corresponding control signal, thereby controlling the acceleration or deceleration of both sides of the gantry body to achieve synchronization on both sides; After the correction action is implemented, continue to collect images and repeat the above process to form a closed-loop control.

[0012] In the preferred solution, the specific contents of the image acquisition in step S2 include: before the gantry body moves, it is first driven back to the zero position, and the industrial camera takes a picture to obtain the relative position information between the gantry body and the No. 1 visual recognition calibration rod, and uses this as a reference; In the preferred embodiment, the specific steps of information processing in step S3 include: S31, image preprocessing: grayscale and denoising preprocessing of the collected original image; S32, feature extraction: extracting the contour of the black and white pattern through the Sobel operator; S33, deviation calculation: analyzing the relative position relationship between the contour line and the visual recognition calibration rod, and calculating the deviation between the current position of the gantry body and the expected position; S34, generating a processing signal: transmitting a corresponding dynamic compensation strategy according to the deviation information.

[0013] The present invention provides a gantry long-stroke walking correction device and a deviation elimination method based on visual recognition, which solve the problems of the gantry mechanism being prone to deviation, long-distance cumulative walking errors, and asynchronous operation at both ends during operation: through the visual recognition system, the position information of the gantry body and the synchronization information at both ends can be identified in real time and accurately, the pattern information is collected in real time, and the deviation compensation is carried out synchronously, which reduces the running errors at both ends during the operation of the gantry body and ensures the synchronization of the two ends and the accuracy of the arrival position during the long-stroke walking of the gantry body.

[0014] Enhance image acquisition accuracy: The visual recognition calibration rod is relatively locked to the gantry running track through the connecting buckle. The visual recognition calibration rod is relatively fixed to the track foundation and the gantry running track through the anchor bolts to prevent the visual recognition calibration rod from being offset due to vibration, weight and other reasons during the movement of the gantry body, which affects information processing.

[0015] Improve the adaptability of the correction device: By setting a connecting buckle, the visual recognition calibration rod can be quickly connected to the fixings of different gantry running tracks. By adjusting the rod, different visual recognition calibration rod setting intervals can be achieved to adapt to different gantry running track lengths and industrial camera detection ranges.

[0016] Reduce production and maintenance costs: In the long run, the present invention improves the long-stroke walking accuracy of the gantry body, reduces safety accidents and component damage caused by the gantry mechanism walking jam, reduces rework costs and material waste, and also reduces the maintenance frequency and cost of the equipment due to its high-precision and low-wear working characteristics. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The present invention will be further described below in conjunction with the accompanying drawings and embodiments: Figure 1 It is a schematic diagram of the installation plan of the gantry track and the visual recognition calibration rod of the present invention; Figure 2 It is a schematic diagram of the gantry operation structure of the present invention; Figure 3 It is a schematic diagram of the overall equipment layout structure of the present invention; Figure 4 It is an axonometric structural diagram of the visual recognition calibration rod and the gantry track connection of the present invention; Figure 5 This is a main structural diagram of the visual recognition calibration rod and the gantry track connection of the present invention; Figure 6 It is a top view structural diagram of the visual identification calibration rod and the anchor bolt connection of the present invention; Figure 7 It is a cross-sectional structural diagram of the connection between the visual identification calibration rod and the anchor bolt of the present invention; Figure 8 It is an axonometric structural diagram of the connecting buckle and the adjusting rod of the present invention.

[0018] In the figure: track foundation 1; gantry running track 2; transmission rack 3; visual recognition calibration rod 4; industrial camera 5; drive gear 6; servo motor 7; walking wheel 8; gantry body 9; electrical cabinet 10; control system 11; pressure plate 12; anchor bolt 13; fixed end 1301; threaded column 1302; connecting buckle 14; ear plate 1401; first connecting ring 1402; second connecting ring 1403; clamping rod 1404; retaining ring 1405; spring 1406; pressure plate 1407; adjusting rod 15; first butterfly bolt 16; second butterfly bolt 17. DETAILED DESCRIPTION

[0019] Example 1 like Figures 1 to 8As shown, a gantry long-stroke walking correction device based on visual recognition is provided, two parallel gantry running tracks 2 are arranged on the track foundation 1, the gantry body 9 is bridged on the gantry running tracks 2 through the running wheels 8 at the lower ends, and the driving mechanism on the gantry body 9 drives the gantry body 9 to walk, and a plurality of visual recognition calibration rods 4 are symmetrically arranged at a certain interval along the two gantry running tracks 2 on the track foundation 1, and the industrial cameras 5 on both sides of the gantry body 9 take pictures of the visual recognition calibration rods 4, and the walking of the gantry body 9 is corrected after analysis by the control system 11.

[0020] In the preferred embodiment, two parallel transmission racks 3 are symmetrically arranged on the side of the gantry running track 2, and a servo motor 7 is provided on the gantry body 9, whose output shaft is connected to the driving gear 6, and the driving gear 6 is meshed with the transmission rack 3. The servo motor 7 drives the gantry body 9 to move along the gantry running track 2.

[0021] In the preferred embodiment, the gantry running track 2 is fixed to the track foundation 1 through a plurality of pressing plates 12, one end of the pressing plate 12 is pressed on the wing plate at the lower end of the gantry running track 2, and the other end is connected to the track foundation 1 through an anchor bolt 13, the fixed end 1301 of the anchor bolt 13 is buried in the track foundation 1, the threaded column 1302 extends out of the pressing plate 12 for a distance, and the visual identification calibration rod 4 is connected to the threaded column 1302. The visual identification calibration rod 4 is connected to the fixing part of the gantry running track 2 to ensure the stability of the relative position.

[0022] In the preferred embodiment, the visual identification calibration rod 4 is connected to the threaded column 1302 via a connecting buckle 14; An adjusting rod 15 is provided on one side of the connecting buckle 14, and one end of the adjusting rod 15 is rotatably connected to an ear plate 1401 on one side of the connecting buckle 14 through a first butterfly bolt 16, and the first butterfly bolt 16 locks the angle of the adjusting rod 15; The visual identification calibration rod 4 is slidably connected to the adjustment rod 15 via a second butterfly bolt 17 , and the second butterfly bolt 17 locks the distance between the visual identification calibration rod 4 and the anchor bolt 13 .

[0023] The first butterfly bolt 16 and the second butterfly bolt 17 enable the visual recognition calibration rod 4 to be adjustable at different calibration positions in space, thereby improving the adaptability of the deviation correction device.

[0024] In the preferred embodiment, industrial cameras 5 are symmetrically provided on both sides of the lower end of the gantry body 9, the pressure plates 12 are set at a spacing distance that matches the gantry running track 2 and the detection range of the industrial cameras 5, and the length of the adjustment rod 15 is half of the spacing of the pressure plates 12.

[0025] In the preferred embodiment, the structure of the connecting buckle 14 is as follows: a semicircular first connecting ring 1402 is rotatably connected to one end of a second connecting ring 1403, a retaining ring 1405 is provided in the middle of a pressing rod 1404 and shuttles along the pressing rod 1404, one end of the pressing rod 1404 is sleeved in a spring 1406, one end of the spring 1406 is connected to the retaining ring 1405, and one end is connected to one end of the pressing rod 1404, and the spring end of the pressing rod 1404 is rotatably connected to the other end of the second connecting ring 1403; A fork-shaped structure is provided at the other end of the first connecting ring 1402. When locked, the inner side of the fork-shaped structure abuts against the spring end of the pressing rod 1404, and the outer surface thereof abuts against the vertical surface of the retaining ring 1405; The other end of the clamping rod 1404 is rotatably connected to the eccentric part of the circular cam at one end of the pressing plate 1407 , and the outer surface of the circular cam abuts against the concave arc surface of another layer of the retaining ring 1405 , pressing down the other end of the pressing plate 1407 to lock the connecting buckle 14 .

[0026] Specifically, the threaded column 1302 is sleeved between the first connecting ring 1402 and the second connecting ring 1403, and the fork-shaped structure of the first connecting ring 1402 is pushed so that its inner side rests against the spring end of the clamping rod 1404. The pressure plate 1407 is pressed close to the first connecting ring 1402, so that the contact point between the circular cam and the concave arc surface of the retaining ring 1405 changes from the short diameter to the long diameter. The retaining ring 1405 shuttles toward the end, driving the first connecting ring 1402 to approach the second connecting ring 1403 to clamp the threaded column 1302.

[0027] In the preferred embodiment, a control system 11 is provided on the gantry body 9, which can transmit information with the industrial camera 5, and is used to collect, process and compare image information and operating parameters; An electrical cabinet 10 is also provided on the gantry body 9 . The electrical cabinet 10 is electrically connected to a control system 11 for controlling the operation of the servo motor 7 .

[0028] Example 2 Further illustrate with reference to Example 1, Figures 1 to 8 In the preferred embodiment, the method comprises: S1. Fixed-point installation: Determine the installation interval of the visual recognition calibration rod 4 according to the detection range of the industrial camera 5 and the gantry running track 2. When installing the visual recognition calibration rod 4, the total station should be used for point measurement. When installing, the left and right sides should be arranged equidistantly and symmetrically, and numbered in sequence on the track foundation 1; The spacing adjustment method is: rotate the adjustment rod 15 to make the visual recognition calibration rod 4 face the best shooting direction, and slide the second butterfly bolt 17 along the adjustment rod 15 to adjust the spacing of the visual recognition calibration rod 4; S2, image acquisition: The visual recognition calibration rod 4 is provided with black and white marks or features with sequentially numbered position and angle information, and the industrial camera 5 obtains image information within the detection range during the movement of the gantry body 9 in real time and transmits it to the control system 11; S3, information processing: the control system 11 processes the image information, compares it with the real-time operating parameters of the gantry body 9, determines whether the gantry body 9 has a running deviation or walking error and the size of the deviation, and if the deviation value exceeds the specified value, transmits the corresponding control signal to the electrical cabinet 10; S4, automatic deviation correction: when there is a deviation between the actual position of the gantry and the target position, the electrical cabinet 10 controls the gantry body 9 to move a corresponding distance to eliminate the deviation according to the corresponding control signal; When the gantry deviates, the electrical cabinet 10 adjusts the speed of the servo motors 7 on both sides according to the corresponding control signal, thereby controlling the acceleration or deceleration of both sides of the gantry body 9 to achieve synchronization on both sides; After the correction action is implemented, continue to collect images and repeat the above process to form a closed-loop control.

[0029] In the preferred embodiment, the specific contents of the image acquisition in step S2 include: before the gantry body 9 moves, it is first driven back to the zero position, and the industrial camera 5 takes a picture to obtain the relative position information between the gantry body 9 and the No. 1 visual recognition calibration rod 4, and uses this as a reference; In the preferred embodiment, the specific steps of information processing in step S3 include: S31, image preprocessing: grayscale and denoising preprocessing of the collected original image; S32, feature extraction: extracting the contour of the black and white pattern through the Sobel operator; The Sobel operator consists of two 3x3 convolution kernels, which are used to calculate the gradients in the horizontal and vertical directions respectively.

[0030] Horizontal gradient operator , Vertical gradient operator , The input image information is , where x and y are the row and column coordinates of the image, respectively. For the input image Apply the horizontal gradient operator Get the horizontal gradient , for the input image Apply the vertical gradient operator Get the horizontal gradient ; The gradient size of each pixel can be expressed as:

[0031] Its gradient direction can be expressed as:

[0032] when and When the angle is ;when and When the angle is ; Thus, a gradient magnitude image that highlights the edge of the image is obtained, while the gradient direction image provides the direction information of the edge; S33, deviation calculation: analyzing the relative position relationship between the contour line and the visual recognition calibration rod 4, and calculating the deviation between the current position of the gantry body 9 and the expected position; S34, generating a processing signal: transmitting a corresponding dynamic compensation strategy according to the deviation information.

[0033] The above embodiments are only preferred technical solutions of the present invention and should not be regarded as limiting the present invention. The protection scope of the present invention shall be the technical solutions recorded in the claims, including equivalent replacement solutions of the technical features in the technical solutions recorded in the claims. That is, equivalent replacement improvements within this scope are also within the protection scope of the present invention.

Claims

1. A gantry long-travel walking correction device based on visual recognition, characterized by: Two parallel gantry running tracks (2) are arranged on the track foundation (1); the gantry body (9) is bridged on the gantry running tracks (2) via running wheels (8) at both ends; a driving mechanism on the gantry body (9) drives the gantry body (9) to move; a plurality of visual recognition calibration rods (4) are symmetrically arranged at a certain interval along the two gantry running tracks (2) on the track foundation (1); industrial cameras (5) on both sides of the gantry body (9) take pictures of the visual recognition calibration rods (4); and after analysis by a control system (11), the movement of the gantry body (9) is corrected.

2. According to the vision recognition-based gantry long-stroke walking correction device of claim 1, it is characterized by: Two parallel transmission racks (3) are symmetrically arranged on the side of the gantry running track (2). A servo motor (7) is arranged on the gantry body (9). The output shaft of the servo motor (7) is connected to a driving gear (6). The driving gear (6) is meshed with the transmission rack (3). The servo motor (7) drives the gantry body (9) to move along the gantry running track (2).

3. According to the vision recognition-based gantry long-stroke walking correction device of claim 1, it is characterized by: The gantry running track (2) is fixed on the track foundation (1) through a plurality of pressure plates (12), one end of the pressure plate (12) is pressed on the wing plate at the lower end of the gantry running track (2), and the other end is connected to the track foundation (1) through an anchor bolt (13), a fixed end (1301) of the anchor bolt (13) is buried in the track foundation (1), a threaded column (1302) extends a certain distance from the pressure plate (12), and a visual identification calibration rod (4) is connected to the threaded column (1302).

4. According to the visual recognition-based gantry long-stroke walking correction device of claim 3, it is characterized by: The visual recognition calibration rod (4) is connected to the threaded column (1302) via a connecting buckle (14); An adjusting rod (15) is provided on one side of the connecting buckle (14), one end of the adjusting rod (15) is rotatably connected to an ear plate (1401) on one side of the connecting buckle (14) via a first butterfly bolt (16), and the first butterfly bolt (16) locks the angle of the adjusting rod (15); The visual recognition calibration rod (4) is slidably connected to the adjustment rod (15) via a second butterfly bolt (17), and the second butterfly bolt (17) locks the distance between the visual recognition calibration rod (4) and the anchor bolt (13).

5. According to claim 3, a gantry long-stroke walking correction device based on visual recognition is characterized in that: Industrial cameras (5) are symmetrically arranged on both sides of the lower end of the gantry body (9); the pressure plates (12) are arranged at intervals that match the gantry running track (2) and the detection range of the industrial cameras (5); and the length of the adjustment rod (15) is half of the interval of the pressure plates (12).

6. According to the vision recognition-based gantry long-stroke walking correction device of claim 4, it is characterized by: The structure of the connecting buckle (14) is as follows: a semicircular arc-shaped first connecting ring (1402) is rotatably connected to one end of a second connecting ring (1403); a retaining ring (1405) is provided in the middle of the pressing rod (1404) and shuttles along the pressing rod (1404); one end of the pressing rod (1404) is sleeved in a spring (1406); one end of the spring (1406) is connected to the retaining ring (1405) and one end is connected to one end of the pressing rod (1404); the spring end of the pressing rod (1404) is rotatably connected to the other end of the second connecting ring (1403); A fork-shaped structure is provided at the other end of the first connecting ring (1402); when locked, the inner side of the fork-shaped structure abuts against the spring end of the pressing rod (1404), and the outer surface of the fork-shaped structure abuts against the vertical surface of the retaining ring (1405); The other end of the clamping rod (1404) is rotatably connected to the eccentric portion of the circular cam at one end of the pressing plate (1407), and the outer surface of the circular cam abuts against the concave arc surface of another layer of the retaining ring (1405), pressing down the other end of the pressing plate (1407) to lock the connecting buckle (14).

7. According to the vision recognition-based gantry long-stroke walking deviation correction device of claim 1, it is characterized by: A control system (11) is provided on the gantry body (9) and is capable of transmitting information with the industrial camera (5) and is used to collect, process and compare image information and operating parameters; An electrical cabinet (10) is also provided on the gantry body (9), and the electrical cabinet (10) is electrically connected to the control system (11) and is used to control the operation of the servo motor (7).

8. A deviation elimination method for a gantry long-stroke walking deviation correction device based on visual recognition according to any one of claims 1 to 7, characterized in that: The method includes: S1. Fixed-point installation: Determine the installation interval of the visual recognition calibration rod (4) according to the detection range of the industrial camera (5) and the gantry running track (2). When installing the visual recognition calibration rod (4), the total station should be used to measure the points. When installing, the left and right sides should be arranged equidistantly and symmetrically, and numbered in sequence on the track foundation (1); The spacing adjustment method is as follows: rotating the adjustment rod (15) to make the visual recognition calibration rod (4) face the optimal shooting direction, and sliding the second butterfly bolt (17) along the adjustment rod (15) to adjust the spacing of the visual recognition calibration rod (4); S2, image acquisition: a visual recognition calibration rod (4) is provided with black and white marks or features with sequentially numbered position and angle information, and an industrial camera (5) acquires image information within a detection range during the movement of the gantry body (9) in real time and transmits it to a control system (11); S3, information processing: the control system (11) processes the image information and compares it with the real-time operating parameters of the gantry body (9), determines whether the gantry body (9) has a running deviation or walking error and the size of the deviation, and if the deviation value exceeds a specified value, transmits a corresponding control signal to the electrical cabinet (10); S4, automatic deviation correction: when there is a deviation between the actual position of the gantry and the target position, the electrical cabinet (10) controls the gantry body (9) to move a corresponding distance to eliminate the deviation according to a corresponding control signal; When the gantry deviates, the electrical cabinet (10) adjusts the rotation speed of the servo motors (7) on both sides according to the corresponding control signal, thereby controlling the acceleration or deceleration of both sides of the gantry body (9) to achieve synchronization between the two sides; After the correction action is implemented, continue to collect images and repeat the above process to form a closed-loop control.

9. According to claim 8, a method for eliminating deviation of a gantry long-stroke walking deviation correction device based on visual recognition, characterized in that: The specific contents of the image acquisition in step S2 include: before the gantry body (9) moves, it is first driven back to the zero position, and the industrial camera (5) takes a picture to obtain the relative position information between the gantry body (9) and the No. 1 visual recognition calibration rod (4), and uses this as a reference.

10. The deviation elimination method of the gantry long-stroke walking correction device based on visual recognition according to claim 8 is characterized by: The specific steps of information processing in step S3 include: S31, image preprocessing: grayscale and denoising preprocessing of the collected original image; S32, feature extraction: extracting the contour of the black and white pattern through the Sobel operator; S33, deviation calculation: analyzing the relative position relationship between the contour line and the visual recognition calibration rod (4), and calculating the deviation between the current position of the gantry body (9) and the expected position; S34, generating a processing signal: transmitting a corresponding dynamic compensation strategy according to the deviation information.