A method for detecting the position and posture of hydraulic support based on binocular vision

By setting LED mark points at the bottom of the top beam of the hydraulic support and using binocular vision technology for attitude detection, the problems of integral error and easy sensor damage in the existing attitude detection technology of the hydraulic support are solved, and real-time and accurate attitude detection of the hydraulic support is achieved. and relative attitude measurement, which improves the stability and recognition capabilities of the system.

CN116188570BActive Publication Date: 2024-09-06SHANDONG UNIV OF SCI & TECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202211634626.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2024-09-06
Estimated Expiration
2042-12-19

AI Technical Summary

Technical Problem

The existing attitude detection technology of the hydraulic support has the problems of large integral error and easy damage of the contact sensor, making it difficult to realize real-time attitude detection of the hydraulic support.

Method used

A hydraulic support position and orientation detection method based on binocular vision is adopted. By setting LED mark points at the bottom of the hydraulic support top beam, binocular cameras and signal processing modules are used for target detection and stereo matching, combined with convolutional neural networks and dual quaternions. This method constructs an error model and solves the attitude matrix through the Lagrange multiplier method to achieve non-contact attitude detection.

Benefits of technology

It realizes attitude detection inside the hydraulic support and between different hydraulic supports, avoids sensor installation failures, improves the stability and anti-interference ability of the system, and is suitable for real-time detection in harsh environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116188570B
    Figure CN116188570B
Patent Text Reader

Abstract

The present invention relates to the field of hydraulic support posture detection methods, in particular to a hydraulic support posture detection method based on binocular vision, which includes establishing a camera, hydraulic support, top beam, and marker point coordinate system, and determining the relative posture relationship between the coordinate systems, performing target detection on the marker points based on a convolutional neural network, and performing binarization and morphological processing, calculating the position coordinates and three-dimensional coordinates of the center point of the marker points, and solving the posture matrix of a single hydraulic support coordinate system in the camera coordinate system and the posture matrix between different hydraulic support coordinate systems. The present invention can simultaneously realize posture detection inside a hydraulic support and between different hydraulic supports, accurately measure the posture of the top beam in space in a non-contact manner, and accurately obtain the relative posture between different hydraulic supports in the same binocular camera field of view, which is beneficial to the straightening and deviation correction of a hydraulic support group.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of hydraulic support posture detection methods, in particular to a hydraulic support posture detection method based on binocular vision. Background Art

[0002] Coal mining equipment is a kind of engineering equipment, and hydraulic support is one of its important components. The intelligent development of coal mining equipment makes the real-time perception of the hydraulic support posture more and more important.

[0003] At present, the posture detection of hydraulic supports is mostly achieved through inertial navigation technology or combined with sensors such as angle sensors. However, the hydraulic supports move slowly, the inertial navigation technology will produce a large integral error, and contact sensors such as angle sensors will be damaged due to dust and other factors, making it difficult to achieve real-time posture detection of hydraulic supports. Therefore, it is very necessary to provide a system and method that can perform real-time posture detection of hydraulic supports. Summary of the invention

[0004] The present invention aims to solve the above problems and provides a method for detecting the position and posture of a hydraulic support based on binocular vision. The technical solution adopted is as follows:

[0005] A method for detecting the position and posture of a hydraulic support based on binocular vision, wherein a marker point target is fixedly set at the bottom of the top beam of the hydraulic support to be detected, and 5 LED marker points are set on the marker point target. Any two marker points on the same marker point target do not constitute a linear correlation, and the wavelengths and diameters of the marker points on different hydraulic supports are different; a binocular camera for photographing the marker point target and a signal processing module of the binocular camera are set on the base of the hydraulic support;

[0006] The method for detecting the position and posture of a hydraulic support based on binocular vision comprises the following steps:

[0007] S1. Establish the camera coordinate system with the center of the binocular camera as the coordinate origin O c X c Y c Z c , establish the hydraulic support coordinate system with the center of gravity of the hydraulic support as the coordinate origin O h X h Y h Z h , establish the top beam coordinate system with the center of gravity of the hydraulic support top beam as the coordinate origin O t Xt Y t Z t , establish the marker point coordinate system with the center of the marker target O m X m Y m Z m , the Z-axis direction of the above coordinate system is vertically upward, the X-axis direction points to the coal wall to be mined, and the Y-axis direction is parallel to the traveling direction of the coal mining machine. The coordinate system conforms to the right-hand rule;

[0008] S2. Determine the relative posture relationship between the hydraulic support coordinate system and the top beam coordinate system: , determine the relative posture relationship between the top beam coordinate system and the marker point coordinate system as ,in, i Indicates the number of the hydraulic support;

[0009] S3. Establish image coordinate system o l x l y l and o r x r y r , take the upper left corner of the image as the coordinate origin, the horizontal right direction as the x-axis, the vertical downward direction as the y-axis, and the coordinate of a point on the hydraulic support in the hydraulic support coordinate system and the coordinates in the coordinate system of the landmark point The relative coordinate transformation relationship can be expressed as:

[0010]

[0011] S4. The binocular camera takes photos of the target at the landmark point and inputs the photos into the signal processing module;

[0012] S5. The signal processing module performs target detection based on a convolutional neural network on the marker points, groups and numbers the marker points according to the hydraulic supports to which they belong; performs binarization and morphological processing on the marker points, and calculates the two-dimensional coordinates of the center points of the marker points;

[0013] S6. Using the principle of stereo vision, stereo matching is performed on the marker points in the same marker target captured by the binocular camera to obtain the three-dimensional spatial coordinates of each marker point in the camera coordinate system of the binocular camera of the corresponding hydraulic support;

[0014] S7. Through the three-dimensional space coordinates of the marker points, the error model is constructed using the dual quaternion method, and the auxiliary function is constructed by the Lagrange multiplier method to solve the posture matrix of the single marker point coordinate system in the camera coordinate system. , and then according to the relative posture relationship determined between the hydraulic support coordinate system, the top beam coordinate system, and the marker point coordinate system and , solve the attitude matrix of a single hydraulic support coordinate system in the camera coordinate system ,Right now

[0015]

[0016] Pose Matrix After decoupling, the attitude parameter 1 is obtained, that is, the rotation angle and translation vector of the i-th hydraulic support in the camera coordinate system;

[0017] S8. Find the inverse matrix of the attitude parameter 1 to obtain the rotation angle and translation vector of the camera coordinate system in the coordinate system of the i-th hydraulic support. Take the i-th hydraulic support as the reference hydraulic support and combine the attitude parameter 1 of the j-th hydraulic support to use matrix multiplication to perform the rotation and translation transformation of the coordinate system to obtain the attitude matrix between different hydraulic support coordinate systems.

[0018]

[0019] in i For the benchmark hydraulic support, j For the target hydraulic support, the attitude matrix Decoupling is performed to obtain the second attitude parameter, namely, the rotation angle and translation vector between different hydraulic supports;

[0020] S9. Store posture parameter 1 and posture parameter 2, and the signal processing module sends a solution completion signal to the binocular camera, and repeat steps S4 to S8.

[0021] Based on the above solution, step S5 includes:

[0022] S5-1. Mark each landmark point with a rectangular prediction box;

[0023] S5-2. The set of pixels within the prediction box is used express, Dn Representing a collection Middle pixels, The coordinates of the and is confined to a number of square areas, where For the The coordinates of the predicted box corners, For the The width and height of the prediction box, that is,

[0024]

[0025] S5-3. Definition The gray value function of the pixel points in the prediction box is: , group and number the marking points according to the hydraulic supports they belong to;

[0026] S5-4. Determine the adaptive grayscale threshold k* of each group of landmark images based on the OSTU model, and convert the image into a binary model;

[0027] S5-5. Obtaining the contour of the landmark points through morphological processing;

[0028] S5-6. Define the set of pixels after binarization of each group of landmark image as , For collection Middle The pixels of the landmark points, the definition points The gray value is ,but

[0029]

[0030] S5-7. Construction The gray value function of the entire binary image of the optical feature points ,

[0031]

[0032] in , ; N and M are the width and height of the prediction box respectively;

[0033] S5-8. Calculate the center of the target area contour through moment features: discrete function of The moment can be expressed as

[0034]

[0035] The first The center coordinates of the landmarks for

[0036] .

[0037] Preferably, the binocular camera takes multiple photos of the marker point target, and an average value is taken based on the calculated results of the marker points in the multiple photos.

[0038] Preferably, the marking point is circular.

[0039] Preferably, the binocular camera and the signal processing module are installed in an explosion-proof protective housing.

[0040] Preferably, the binocular camera is fixedly mounted on a camera support rod, a buffer spring is connected to the middle of the camera support rod, and a limiting tube is arranged outside the buffer spring.

[0041] The beneficial effects of the present invention are as follows: the method can simultaneously realize posture detection inside the hydraulic support and between different hydraulic supports, accurately measure the posture of the top beam in space without contact, and accurately obtain the relative posture between different hydraulic supports in the same binocular camera field of view, which is beneficial to the straightening and correction of the hydraulic support group; use non-contact sensors for measurement to avoid sensor installation failures caused by harsh environments and improve the stability of the system; use LED markers as auxiliary positioning equipment, which has high recognizability in working environments with more coal dust and water mist, and enhances the system's anti-interference ability. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 : Flow chart of the method of the present invention;

[0043] Figure 2 : Schematic diagram of the structure involved in the method of the present invention;

[0044] Figure 3 : Schematic diagram of the definition of each coordinate system in the present invention;

[0045] Figure 4 : Schematic diagram of the posture transformation relationship of the present invention. DETAILED DESCRIPTION

[0046] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:

[0047] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0048] In the description of the present invention, it should be understood that the terms "center", "length", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0049] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.

[0050] like Figure 2 As shown, a marking point target 4 is fixedly set at the bottom of the top beam of the hydraulic support to be inspected, and 5 LED marking points are set on the marking point target 4. Any two marking points on the same marking point target do not constitute a linear correlation, and the wavelengths and diameters of the marking points on different hydraulic supports are different; a binocular camera 5 for photographing the marking point target and a signal processing module of the binocular camera are set on the base of the hydraulic support.

[0051] Taking three hydraulic supports as an example, the hydraulic support posture detection method based on binocular vision is as follows: Figure 1 , Figure 3 and Figure 4 As shown, the following steps are included:

[0052] S1. Establish a camera coordinate system with the center of the binocular camera 5 as the coordinate origin O c X c Y c Z c , establish the hydraulic support coordinate system with the center of gravity of the hydraulic support as the coordinate origin Oh X h Y h Z h , establish the top beam coordinate system with the center of gravity of the hydraulic support top beam as the coordinate origin O t X t Y t Z t , establish the marker point coordinate system with the center of marker point target 4 O m X m Y m Z m , the Z-axis direction of the above coordinate system is vertically upward, the X-axis direction points to the coal wall to be mined, and the Y-axis direction is parallel to the traveling direction of the coal mining machine. The coordinate system conforms to the right-hand rule;

[0053] S2. Determine the relative posture relationship between the hydraulic support coordinate system and the top beam coordinate system: , determine the relative posture relationship between the top beam coordinate system and the marker point coordinate system as ,in, i Indicates the number of the hydraulic support. In this embodiment i The value range is 1-3;

[0054] S3. Establish image coordinate system o l x l y l and o r x r y r , take the upper left corner of the image as the coordinate origin, the horizontal right direction as the x-axis, the vertical downward direction as the y-axis, and the coordinate of a point on the hydraulic support in the hydraulic support coordinate system and the coordinates in the coordinate system of the landmark point The relative coordinate transformation relationship can be expressed as:

[0055]

[0056] S4. The binocular camera 5 takes photos of the target marker 4 and inputs the photos into the signal processing module;

[0057] S5. The signal processing module performs target detection based on a convolutional neural network on the marker points, groups and numbers the marker points according to the hydraulic supports to which they belong; performs binarization and morphological processing on the marker points, and calculates the two-dimensional coordinates of the center points of the marker points; specifically, step S5 includes:

[0058] S5-1. Mark each landmark point with a rectangular prediction box;

[0059] S5-2. The set of pixels within the prediction box is used express, Dn Representing a collection Middle pixels, The coordinates of the and is confined to a number of square areas, where For the The coordinates of the predicted box corners, For the The width and height of the prediction box, The value range is 1-15, that is,

[0060]

[0061] S5-3. Since the marker point is an LED point light source, the position and range of the marker point in the prediction box can be determined by the gray value. The gray value function of the pixel points in the prediction box is: , group and number the marking points according to the hydraulic supports they belong to;

[0062] S5-4. Determine the adaptive grayscale threshold k* of each group of landmark images based on the OSTU (maximum between-class variance) model, and convert the image into a binary model;

[0063] S5-5. Obtaining the contour of the landmark points through morphological processing;

[0064] S5-6. Define the set of pixels after binarization of each group of landmark image as , For collection Middle The pixels of the landmark points, the definition points The gray value is ,but

[0065]

[0066] S5-7. Construction The gray value function of the entire binary image of the optical feature points ,

[0067]

[0068] in , ; N and M are the width and height of the prediction box respectively;

[0069] S5-8. Calculate the center of the target area contour through moment features: discrete function of The moment can be expressed as

[0070]

[0071] The first The center coordinates of the landmarks for

[0072]

[0073] S6. Using the principle of stereo vision, stereo matching is performed on the marker points in the same marker target captured by the binocular camera to obtain the three-dimensional spatial coordinates of each marker point in the camera coordinate system of the binocular camera of the corresponding hydraulic support;

[0074] S7. Through the three-dimensional space coordinates of the marker points, the error model is constructed using the dual quaternion method, and the auxiliary function is constructed by the Lagrange multiplier method to solve the posture matrix of the single marker point coordinate system in the camera coordinate system. , and then according to the relative posture relationship determined between the hydraulic support coordinate system, the top beam coordinate system, and the marker point coordinate system and , solve the attitude matrix of a single hydraulic support coordinate system in the camera coordinate system ,Right now

[0075]

[0076] Pose Matrix After decoupling, the attitude parameter 1 is obtained, that is, the rotation angle and translation vector of the i-th hydraulic support in the camera coordinate system;

[0077] S8. Calculate the inverse matrix of the attitude parameter 1 to obtain the rotation angle and translation vector of the camera coordinate system in the coordinate system of the i-th hydraulic support. Take the i-th hydraulic support as the reference hydraulic support, combine the attitude parameter 1 of the j-th hydraulic support, use matrix multiplication to perform the rotation and translation transformation of the coordinate system, and solve the attitude matrix between different hydraulic support coordinate systems.

[0078]

[0079] in i For the benchmark hydraulic support,j is the target hydraulic support. Taking the three hydraulic supports in the embodiment as an example, the relative posture matrix of the three hydraulic supports is

[0080]

[0081] Pose Matrix Decoupling is performed to obtain the second attitude parameter, namely, the rotation angle and translation vector between different hydraulic supports;

[0082] S9. Store the posture parameter 1 and the posture parameter 2, and the signal processing module sends a solution completion signal to the binocular camera 5, and repeats steps S4 to S8. When the binocular camera 5 and the signal processing module receive the end signal, the binocular camera 5 ends shooting and the detection ends.

[0083] Preferably, the binocular camera 5 takes multiple photos of the marker target 4, and takes the average value according to the solution results of the marker points in the multiple photos to improve the accuracy of the calculation results. To facilitate the calculation and processing of the results, the marker points are circular. The brightness of the marker points can be manually adjusted according to the actual working environment and measurement distance. When the measurement distance increases and the dust in the working environment increases, the LED brightness is increased to meet the image detection requirements.

[0084] The binocular camera 5 and the signal processing module are installed in an explosion-proof protective housing, the upper surface of which is perforated and equipped with glass, which can meet the requirements of explosion-proof and dust isolation while ensuring the normal shooting of the binocular camera 5. Moreover, the binocular camera 5 and the signal processing module are installed together, which enhances the integrity of the equipment, reduces the difficulty of installation, and reduces the number of cables arranged in the workspace.

[0085] The binocular camera 5 is fixedly mounted on the camera support rod 6, and a buffer spring is connected to the middle of the camera support rod 6. A limit tube is arranged on the outer shell of the buffer spring, which can not only buffer the binocular camera when the hydraulic support or the explosion-proof protective shell moves, but also limit the moving direction of the buffer spring to ensure the accuracy of the measurement result.

[0086] The present invention is described above by way of examples, but the present invention is not limited to the above specific embodiments, and any changes or modifications made based on the present invention belong to the scope of protection claimed by the present invention.

Claims

1. A method for detecting the position and posture of a hydraulic support based on binocular vision, characterized in that: A marker point target is fixedly set at the bottom of the top beam of the hydraulic support to be inspected. Five LED marker points are set on the marker point target. Any two marker points on the same marker point target do not constitute a linear correlation. The wavelengths and diameters of the marker points on different hydraulic supports are different. A binocular camera for photographing the marker point target and a signal processing module of the binocular camera are set on the base of the hydraulic support. The method for detecting the position and posture of a hydraulic support based on binocular vision comprises the following steps: S1. Establish the camera coordinate system with the center of the binocular camera as the coordinate origin O c X c Y c Z c , establish the hydraulic support coordinate system with the center of gravity of the hydraulic support as the coordinate origin O h X h Y h Z h , establish the top beam coordinate system with the center of gravity of the hydraulic support top beam as the coordinate origin O t X t Y t Z t , establish the marker point coordinate system with the center of the marker target O m X m Y m Z m , the Z-axis direction of the above coordinate system is vertically upward, the X-axis direction points to the coal wall to be mined, and the Y-axis direction is parallel to the traveling direction of the coal mining machine. The coordinate system conforms to the right-hand rule; S2. Determine the relative posture relationship between the hydraulic support coordinate system and the top beam coordinate system: , determine the relative posture relationship between the top beam coordinate system and the marker point coordinate system as ,in, i Indicates the number of the hydraulic support; S3. Establish image coordinate system o l x l y l and o r x r y r , take the upper left corner of the image as the coordinate origin, the horizontal right direction as the x-axis, the vertical downward direction as the y-axis, and the coordinate of a point on the hydraulic support in the hydraulic support coordinate system and the coordinates in the coordinate system of the landmark point The relative coordinate transformation relationship can be expressed as: S4. The binocular camera takes photos of the target at the landmark point and inputs the photos into the signal processing module; S5. The signal processing module performs target detection based on a convolutional neural network on the marker points, groups and numbers the marker points according to the hydraulic supports to which they belong; performs binarization and morphological processing on the marker points, and calculates the two-dimensional coordinates of the center points of the marker points; S6. Using the principle of stereo vision, stereo matching is performed on the marker points in the same marker target captured by the binocular camera to obtain the three-dimensional spatial coordinates of each marker point in the camera coordinate system of the binocular camera of the corresponding hydraulic support; S7. Through the three-dimensional space coordinates of the marker points, the error model is constructed using the dual quaternion method, and the auxiliary function is constructed by the Lagrange multiplier method to solve the posture matrix of the single marker point coordinate system in the camera coordinate system. , and then according to the relative posture relationship determined between the hydraulic support coordinate system, the top beam coordinate system, and the marker point coordinate system and , solve the attitude matrix of a single hydraulic support coordinate system in the camera coordinate system ,Right now Pose Matrix After decoupling, the attitude parameter 1 is obtained, that is, the rotation angle and translation vector of the i-th hydraulic support in the camera coordinate system; S8. Find the inverse matrix of the attitude parameter 1 to obtain the rotation angle and translation vector of the camera coordinate system in the coordinate system of the i-th hydraulic support. Take the i-th hydraulic support as the reference hydraulic support and combine the attitude parameter 1 of the j-th hydraulic support to use matrix multiplication to perform the rotation and translation transformation of the coordinate system to obtain the attitude matrix between different hydraulic support coordinate systems. in i For the benchmark hydraulic support, j For the target hydraulic support, the attitude matrix Decoupling is performed to obtain the second attitude parameter, namely, the rotation angle and translation vector between different hydraulic supports; S9. Store posture parameter 1 and posture parameter 2, and the signal processing module sends a solution completion signal to the binocular camera, and repeat steps S4 to S8.

2. According to the method for detecting the position and posture of a hydraulic support based on binocular vision according to claim 1, it is characterized in that: Step S5 includes: S5-1. Mark each landmark point with a rectangular prediction box; S5-2. The set of pixels within the prediction box is used express, Dn Representing a collection Middle pixels, The coordinates of the and is confined to a number of square areas, where For the The coordinates of the predicted box corners, For the The width and height of the prediction box, that is, S5-3. Definition The gray value function of the pixel points in the prediction box is: , group and number the marking points according to the hydraulic supports they belong to; S5-4. Determine the adaptive grayscale threshold k* of each group of landmark images based on the OSTU model, and convert the image into a binary model; S5-5. Obtaining the contour of the landmark points through morphological processing; S5-6. Define the set of pixels after binarization of each group of landmark point images as , For collection Middle The pixels of the landmark points, the definition points The gray value is ,but S5-7. Construction The gray value function of the entire binary image of the optical feature points , in , ; N and M are the width and height of the prediction box respectively; S5-8. Calculate the center of the target area contour through moment features: discrete function of The moment can be expressed as The first The center coordinates of the landmarks for 。 3. The method for detecting the position and posture of a hydraulic support based on binocular vision according to claim 1 is characterized in that: The binocular camera takes multiple photos of the target marker point, and the average value is taken based on the solution results of the marker points in the multiple photos.

4. The method for detecting the position and posture of a hydraulic support based on binocular vision according to claim 1 is characterized in that: The landmarks are circular.

5. The method for detecting the position and posture of a hydraulic support based on binocular vision according to claim 1 is characterized in that: The binocular camera and signal processing module are installed in an explosion-proof protective housing.

6. The method for detecting the position and posture of a hydraulic support based on binocular vision according to claim 1 is characterized in that: The binocular camera is fixedly mounted on a camera support rod, a buffer spring is connected to the middle of the camera support rod, and a limiting tube is arranged outside the buffer spring.

Citation Information

Patent Citations

  • Coal-miner posture detection system and method based on binocular vision and inertial navigation

    CN108731672A

  • Model posture calculation method based on binocular vision

    CN109272532A

  • Driving assistance device and traffic system

    CN112020736A

  • Binocular vision coal mining machine positioning and pose detection system and method of low data volume

    CN112161571A

  • Working face hydraulic support base group state sensing description method

    CN115371560A