CN113326803B - Crane hook/hanging object swing angle detection method and system - Google Patents
Crane hook/hanging object swing angle detection method and system Download PDFInfo
- Publication number
- CN113326803B CN113326803B CN202110703530.2A CN202110703530A CN113326803B CN 113326803 B CN113326803 B CN 113326803B CN 202110703530 A CN202110703530 A CN 202110703530A CN 113326803 B CN113326803 B CN 113326803B
- Authority
- CN
- China
- Prior art keywords
- circle
- marker
- radius
- real
- circle center
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 35
- 239000003550 marker Substances 0.000 claims abstract description 114
- 238000000034 method Methods 0.000 claims abstract description 52
- 238000007781 pre-processing Methods 0.000 claims abstract description 19
- 238000012935 Averaging Methods 0.000 claims abstract description 6
- 238000012545 processing Methods 0.000 claims description 17
- 238000004364 calculation method Methods 0.000 claims description 11
- 230000009467 reduction Effects 0.000 claims description 10
- 230000003068 static effect Effects 0.000 claims description 10
- 238000004422 calculation algorithm Methods 0.000 claims description 4
- 238000003708 edge detection Methods 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 claims description 4
- 230000000877 morphologic effect Effects 0.000 claims description 3
- 238000011946 reduction process Methods 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 11
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000011161 development Methods 0.000 abstract description 2
- 238000012360 testing method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000005259 measurement Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 229910000838 Al alloy Inorganic materials 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000009435 building construction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000035929 gnawing Effects 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000010935 stainless steel Substances 0.000 description 1
- 229910001256 stainless steel alloy Inorganic materials 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B66—HOISTING; LIFTING; HAULING
- B66C—CRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
- B66C13/00—Other constructional features or details
- B66C13/16—Applications of indicating, registering, or weighing devices
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B66—HOISTING; LIFTING; HAULING
- B66C—CRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
- B66C13/00—Other constructional features or details
- B66C13/18—Control systems or devices
- B66C13/46—Position indicators for suspended loads or for crane elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/66—Analysis of geometric attributes of image moments or centre of gravity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/30—Noise filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
- G06V10/457—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by analysing connectivity, e.g. edge linking, connected component analysis or slices
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Mechanical Engineering (AREA)
- Mathematical Physics (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Geometry (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Operations Research (AREA)
- Probability & Statistics with Applications (AREA)
- Life Sciences & Earth Sciences (AREA)
- Algebra (AREA)
- Automation & Control Theory (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Control And Safety Of Cranes (AREA)
Abstract
The invention discloses a method and a system for detecting a swing angle of a crane hook/a suspended object, wherein the method comprises the steps of acquiring a real-time marker image; preprocessing the real-time marker image to obtain the co-circular real-time circle center coordinates and the radius of the N light sources on the marker; respectively inputting the radius into a preset fitting curve function of the initial calibration radius, the initial calibration circle center coordinate and the rope length to obtain the initial calibration circle center coordinate of the current rope length and the common circle; and calculating the actual offset distance of the marker and calculating by combining the length of the rope to obtain a value of the swing angle. The method of three-point co-circle and multiple averaging realizes automatic detection of the rope length and rapid detection of the swing angle, and has the advantages of good stability, high precision and high speed; the method is simple to implement, and the problem that the swing angle of the crane hook/hanging object is difficult to detect quickly on line is solved; the method provides technical support for further realizing the closed-loop anti-swing control technology of the crane, and has a good application prospect in the intelligent development process of the crane.
Description
Technical Field
The invention relates to the technical field of heavy machine lifting hook/lifting object state monitoring, in particular to a method and a system for detecting a swing angle of a crane lifting hook/lifting object.
Background
The crane generally comprises a bridge, a cart moving device, a trolley moving device, a lifting device, a control room and the like, wherein the bridge longitudinally moves along rails on two sides, the empty space below the bridge can be fully utilized to hoist goods, and the crane is convenient and labor-saving and widely applied to places such as workshops, harbors and docks, warehouses, high-rise building construction sites and the like.
The crane can generate very large operation swing in the working process, so that the production efficiency is seriously reduced, and the sling of the crane can be seriously damaged; the metal structure is damaged, such as fracture, looseness and the like; and the danger of gnawing the rail is also buried for the later use of the crane, so that economic loss is caused and the safety of workers is harmed.
In the past, almost all the operation swing of the crane is eliminated by using the experience of an operator, and the mode has poor precision, low efficiency and large operation difficulty and can not meet the requirements of modern industry for a long time. The existing anti-swing control mainly comprises open-loop control, closed-loop control and a mode of combining open-loop control and closed-loop control. Open loop control is easy to implement, but not precise enough; the closed-loop system has good accuracy, but the position of the trolley and the swing angle of the hoisted object need to be measured at any time as feedback quantity of the controller, wherein the position of the trolley can be obtained through a crane main controller PLC, and the key for realizing closed-loop anti-swing control is how to measure and obtain the swing angle of the hoisted object.
In the related research of the existing crane hook/hanging object swing angle detection, there are some patent documents about a crane swing angle detection device and a method, application publication numbers CN111646357A and CN111348544A are on a coupling defined between a pulley block fixed pulley and the suspension arm, a detector is arranged to detect a hook swing angle of a pulley block force action line deviating from a plumb line angle, and the method is complicated and cannot be widely applied; application publication numbers CN111422739A and CN110775818A adopt a machine vision technology to carry out swing angle detection, but do not consider conditions such as ambient light and the like, and the swing angle detection method is not clear and the precision is unknown; due to the defects, the swing angle detection devices and the swing angle detection methods are not popularized and applied in a large scale in practical production.
Disclosure of Invention
The invention provides a method and a system for detecting a swing angle of a crane hook/a suspended object, which aim to solve the problem of low online detection precision of the existing crane hook/the suspended object swing angle.
In a first aspect, a method for detecting a swing angle of a crane hook/hoisted object is provided, which includes:
acquiring a real-time marker image, wherein the marker is horizontally arranged on the upper surface of the lifting hook, N light sources are arranged on the same circle with the radius of R on the upper surface of the marker, and N is more than or equal to 3; the real-time marker image is acquired by an image acquisition device arranged above the marker;
preprocessing the real-time marker image to obtain the co-circular real-time circle center coordinates D of the N light sources on the marker i (x i ,y i ) And radius thereof
Radius will beRespectively inputting the preset fitting curve functions of the initial calibration radius, the initial calibration circle center coordinate and the rope length to obtain the current rope length l and the initial calibration circle center coordinate D of the common circle 0 (x 0 ,y 0 );
The value of the swing angle θ is calculated by:
wherein D is p Indicating the actual offset distance of the marker,k represents a magnification or reduction coefficient, device for selecting or keeping>
According to the scheme, the plurality of light sources are arranged on the marker, the center and the radius of the common circle are obtained through the principle of three-point common circle, then the radius of the common circle is input into a preset fitting curve function of an initial calibration radius, initial calibration center coordinates and rope length, the current rope length l and the initial calibration center coordinates of the common circle are obtained, and then the swing angle is obtained based on the current rope length l and the offset distance of the center of the common circle. The circle center coordinate is obtained by a method of solving the circle center through three points in a circle, and compared with a mode of determining the coordinate by a single light source, the method reduces the error and improves the calculation precision of the swing angle.
Further, the preprocessing process comprises:
carrying out noise reduction processing on the real-time marker image;
processing the denoised real-time marker image by adopting an edge detection algorithm to obtain a light source light spot profile corresponding to each light source;
processing the outline of each light source light spot by adopting a connected domain function to obtain the circle center coordinate d of each light source light spot i (x i ,y i )(i=1,2,...,N);
And calculating to obtain a real-time circle center coordinate of the co-circle based on a three-point co-circle method, and further obtaining the radius of the co-circle based on the real-time circle center coordinate of the co-circle.
Further, the method based on three-point co-circle calculates to obtain co-circle real-time circle center coordinates, and further obtains the radius of the co-circle based on the co-circle real-time circle center coordinates, which specifically includes:
based on the method of three-point co-circle, the centers of the three-point co-circle of the N light sources are co-circleGet->Circle center coordinate D j The mean value of the sum of the two is used to obtain the coordinates of the real-time circle center of the common circle>
The radius of the common circle is calculated by the following formula:
obtained by randomly selecting three light sources and utilizing the three-point co-circle principleAnd finally, the final real-time circle center coordinate is obtained by averaging the circle center coordinates, so that the error is reduced, and the detection precision is improved.
Further, the noise reduction processing includes: selecting a cross-shaped structural element, performing opening operation of morphological processing on the real-time marker image, and removing a fine area with higher brightness in a light source spot of the real-time marker image;
when a plurality of circle centers corresponding to the light source light spot profiles are processed by adopting the connected domain function, one circle center is randomly reserved, and other coordinates are removed.
Further, the preset fitting curve function of the initial calibration radius, the initial calibration circle center coordinate and the rope length is obtained by the following method:
collecting marker images with different rope lengths and in a static state;
respectively preprocessing the marker images under different rope lengths to respectively obtain the co-circle initial calibration circle center coordinates D under different rope lengths 0 (x 0 ,y 0 ) And initial calibration radius/>
Initial radius calibration for a common circleCircle center coordinate D initially calibrated with a common circle 0 (x 0 ,y 0 ) And fitting a curve with the rope length L to obtain a fitting curve function:
further, when marker images in different rope lengths and static states are acquired, n frames of marker images are acquired under different rope lengths respectively;
circle center coordinate D of initial calibration of common circle 0 (x 0 ,y 0 ) And initial calibration radiusBy averaging, we obtain:
wherein,represents the co-circle center coordinates corresponding to different frame marker images under the same rope length, and then is matched with the standard rope length>And the corresponding co-circle radius of different frame marker images under the same rope length is shown.
Method for determining initial calibration circle center coordinate D by multiple detection averaging 0 (x 0 ,y 0 ) And initial calibration radiusImproves the initial calibration circle center coordinate D 0 (x 0 ,y 0 ) And an initial calibration radius>The accuracy of (2).
Furthermore, the included angle between adjacent light sources in the N light sources on the marker is 30-100 degrees, the light sources are invisible light band lamps, and the front end of the image acquisition device is provided with a light filter corresponding to the light source band. The included angle between the adjacent light sources is set to be 30-100 degrees, so that the precision of solving the circle center of the common circle based on the three-point common circle principle can be improved. The combination of the light source and the optical filter for collecting invisible light wave band eliminates the influence of ambient light and has strong anti-interference capability.
In a second aspect, there is provided a crane hook/hoisted object swing angle detection system comprising: a marker, an angle detector; the angle detector comprises an image acquisition device and a controller;
the marker is horizontally arranged on the upper surface of the lifting hook, N light sources are arranged on the same circumference with the radius of R on the upper surface of the marker, and N is more than or equal to 3;
the image acquisition device is used for acquiring a real-time marker image and sending the real-time marker image to the controller, the image acquisition device is vertically and downwards installed on the crane trolley, and the marker is positioned in the center of the visual field of the image acquisition device when the lifting hook is static;
the controller comprises an image preprocessing module, a rope length and circle center detection module and a swing angle calculation module;
the image preprocessing module is used for preprocessing the real-time marker image to obtain the co-circular real-time circle center coordinates D of the N light sources on the marker i (x i ,y i ) And radius thereof
The rope length and circle center detection module is used for detecting the radiusRespectively inputting the preset fitting curve functions of the initial calibration radius, the initial calibration circle center coordinate and the rope length to obtain the current rope length l and the initial calibration circle center coordinate D of the common circle 0 (x 0 ,y 0 );
The swing angle calculation module is used for calculating a value of a swing angle theta through the following formula:
wherein D is p Indicating the actual offset distance of the marker,k represents a magnification or reduction coefficient, device for selecting or keeping>/>
Furthermore, the included angle between adjacent light sources in the N light sources on the marker is 30-100 degrees, the light sources are invisible light band lamps, and the front end of the image acquisition device is provided with a light filter corresponding to the light source band.
Furthermore, level gauges are arranged on the marker and the image acquisition device.
Advantageous effects
The invention provides a method and a system for detecting the swing angle of a crane hook/a suspended object, which have the following advantages:
(1) The method of three-point co-circle and multiple average value calculation realizes automatic detection of the rope length and rapid detection of the swing angle, and has good stability, high precision and high speed;
(2) The optical filter and the image based on active marker calibration are adopted to identify the measurement angle, so that the influence of ambient light is eliminated, and the anti-interference capability is strong;
(3) The system has simple structure and convenient installation and operation, and solves the problem that the swing angle of the crane hook/the hanging object is difficult to detect quickly on line;
(4) The method provides technical support for further realizing the closed-loop anti-swing control technology of the crane, and has a good application prospect in the intelligent development process of the crane.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram of a system architecture provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of a marker structure provided by an embodiment of the present invention;
FIG. 3 is a schematic top plan view of a marker provided in accordance with an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an angle detector provided in an embodiment of the present invention;
FIG. 5 is a flow chart of a controller process provided by an embodiment of the present invention;
FIG. 6 is a schematic view of the installation position of the marker and the angle detector on the crane according to the embodiment of the present invention;
FIG. 7 is a schematic diagram of a swing angle calculation swing imaging plane and a swing angle calculation according to an embodiment of the present invention;
FIG. 8 is an image of the light source spot profile after processing in the initialization calibration provided by the embodiment of the invention;
FIG. 9 shows the actual speed of the cart in the second test according to the embodiment of the present invention;
fig. 10 is a measured swing angle curve in test two according to the embodiment of the present invention.
The system comprises a power switch 1, a power indicator lamp 2, a marker shell 3, a light source 4, a first level meter 5, a fixing bolt hole 6, an exhaust fan 7, a collecting device shell 8, an optical filter 9, a lens 10, an industrial camera 11, supporting legs 12, a second level meter 13, a controller 14, a power module 15, a net opening 16 and transparent glass 17.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", "center", "longitudinal", "lateral", "vertical", "horizontal", and the like indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, should not be construed as limiting the present invention.
It is noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not intended to indicate or imply relative importance or order. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.
As shown in fig. 1 to 6, an embodiment of the present invention provides a crane hook/suspended object swing angle detection system, including: a marker, an angle detector; the angle detector comprises an image acquisition device and a controller;
the marker is horizontally arranged on the upper surface of the lifting hook, N light sources are arranged on the same circumference with the radius of R on the upper surface of the marker, and N is more than or equal to 3;
the image acquisition device is used for acquiring a real-time marker image and sending the real-time marker image to the controller, the image acquisition device is vertically and downwards installed on the crane trolley, and the marker is positioned in the center of the visual field of the image acquisition device when the lifting hook is static;
the controller comprises an image preprocessing module, a rope length and circle center detecting module and a swing angle calculating module;
the image preprocessing module is used for preprocessing the real-time marker image to obtain the co-circular real-time circle center coordinates D of the N light sources on the marker i (x i ,y i ) And radius thereof
The rope length and circle center detection module is used for detecting the radiusRespectively inputting the preset fitting curve functions of the initial calibration radius, the initial calibration circle center coordinate and the rope length to obtain the current rope length l and the initial calibration circle center coordinate D of the common circle 0 (x 0 ,y 0 );
The swing angle calculation module is used for calculating a value of a swing angle theta through the following formula:
wherein D is p Indicating the actual offset distance of the marker,k represents a magnification or reduction coefficient, device for selecting or keeping>
Preferably, the included angle between adjacent light sources in the N light sources on the marker is 30-100 degrees, the light sources are invisible light band lamps, and the front end of the image acquisition device is provided with a narrow band filter corresponding to the light source band.
More specifically, as shown in fig. 2, the marker includes a marker housing, a power supply installed in the marker housing, a power switch 1 installed on the marker housing, a power indicator 2, a light source 4, a first level meter 5, and an exhaust fan 7, wherein the exhaust fan, the light source, and the power indicator are all electrically connected to the power supply, the light source switch is used for controlling the on-off of the power circuit, and the exhaust fan is used for dissipating heat of the marker. In this embodiment, 4 holes are formed in the upper surface of the marker housing 3 on the same circumference with the radius R =40mm, as shown in fig. 3, the holes are used for mounting the light source 4, the included angle between the two holes is 45 °, 90 ° and 45 ° from left to right, the light source is preferably an infrared lamp with a wavelength of 940nm, 4 sections of 1.5V batteries are used for supplying power, the marker housing 3 is preferably made of stainless steel or aluminum alloy, and the marker housing 3 is provided with fixing bolt holes 6 for mounting.
The image acquisition device comprises an acquisition device shell 8, an optical filter 9, a lens 10, an industrial camera 11, a second level meter 13 and a power supply module 15, wherein the industrial camera 11, the lens 10 and the optical filter 9 are sequentially arranged from top to bottom, and a controller 14 is integrated in the acquisition device shell 8 and fixed through a supporting leg 12; the industrial camera 11 and the controller 14 are both electrically connected with the power supply module; the bottom of the shell 8 of the collecting device is transparent glass 17. In this embodiment, the filter 9 is a 940nm narrow-band filter corresponding to the light source wavelength band.
When the crane hook/suspended object swing angle detection system is used, calibration needs to be carried out in advance to obtain a fitting curve function of an initial calibration radius, an initial calibration circle center coordinate and a rope length. The specific process is as follows:
a1: marker images of different rope lengths L and in a static state are collected, and n frames of marker images are collected under different rope lengths.
A2: respectively preprocessing each frame of marker image under different rope lengths to respectively obtain the co-circle initial calibration circle center coordinate D under different rope lengths 0 (x 0 ,y 0 ) And initial calibration radiusThe method specifically comprises the following steps:
a21: and (3) carrying out noise reduction processing on the marker image: selecting a cross structural element, performing morphological processing on the marker image, and removing a fine region (a region with an area smaller than a preset value) with higher brightness in a light source spot of the marker image;
a22: processing the noise-reduced real-time marker image by adopting a Canny edge detection algorithm to obtain a light source light spot profile corresponding to each light source, namely a light source light spot profile image after the marker image is processed as shown in fig. 8;
a23: processing the outline of each light source light spot by adopting a connected domain function to obtain the circle center coordinate d of each light source light spot i (x i ,y i ) (i =1,2,. N); when a plurality of circle centers corresponding to the light source light spot profiles exist, one circle center is randomly reserved, and other coordinates are removed;
a24: calculating to obtain a real-time circle center coordinate of a common circle based on a three-point common circle method, and further obtaining a radius of the common circle based on the real-time circle center coordinate of the common circle; the method specifically comprises the following steps:
based on the method of three-point co-circle, the centers of the three-point co-circle of the N light sources are co-circleGet->Circle center coordinate D j The mean value of the sum of the two is used to obtain the coordinates of the real-time circle center of the common circle>
The radius of the common circle is calculated by the following formula:
a25: respectively solving the co-circle center coordinates corresponding to n frames of marker images under different rope lengths LAnd a radius of common circle->Is in a common circleInitial calibration of circle center coordinates D 0 (x 0 ,y 0 ) And an initial calibration radius>By averaging, we obtain:
a3: initial radius calibration for a common circleCircle center coordinate D initially calibrated with a common circle 0 (x 0 ,y 0 ) And fitting a curve with the rope length L to obtain a fitting curve function:
after a fitting curve function of the initial calibration radius, the initial calibration circle center coordinate and the rope length is obtained, the swing angle detection can be performed, and the processing process of the controller is shown in fig. 5.
Furthermore, an embodiment of the present invention further provides a method for detecting a swing angle of a crane hook/suspended object, including:
s1: acquiring a real-time marker image, wherein the marker is horizontally arranged on the upper surface of the lifting hook, N light sources are arranged on the same circumference of which the radius is R on the upper surface of the marker, and N is more than or equal to 3; the real-time marker image is acquired by an image acquisition device arranged above the marker;
s2: preprocessing the real-time marker image to obtain the co-circular real-time circle center coordinates D of the N light sources on the marker i (x i ,y i ) And radius thereofThe method specifically comprises the following steps:
denoising the real-time marker image;
processing the denoised real-time marker image by adopting an edge detection algorithm to obtain a light source light spot profile corresponding to each light source;
processing the outline of each light source light spot by adopting a connected domain function to obtain the circle center coordinate d of each light source light spot i (x i ,y i )(i=1,2,..,N);
Calculating to obtain a real-time circle center coordinate of a common circle based on a three-point common circle method, and further obtaining the radius of the common circle based on the real-time circle center coordinate of the common circle; the method specifically comprises the following steps:
based on the method of three-point co-circle, the centers of the three-point co-circle of the N light sources are co-circleA D j Evaluating whether or not to pick up>The mean value of the circle centers obtains the coordinates of the circle center of the common circle in real time>
The radius of the common circle is calculated by the following formula:
s3: radius of curvatureRespectively inputting the preset initial calibration radius and the fitting curve function of the initial calibration circle center coordinate and the rope length to obtain the current rope length l and the initial calibration circle center coordinate D of the common circle 0 (x 0 ,y 0 );
S4: the value of the swing angle θ is calculated by:
wherein D is p Indicating the actual offset distance of the marker,k represents a magnification or reduction coefficient, device for selecting or keeping>Fig. 7 is a schematic diagram of swing angle calculation and swing imaging plane and swing angle calculation.
To further understand the technical solution of the present invention, the following description is further provided in conjunction with experiments.
The first test scheme is as follows: a3 m multiplied by 2m crane simulation test bed is set up, a marker is horizontally arranged on the upper surface of a crane hook, a marker power switch is turned on, an angle detector is horizontally arranged on a crane trolley, the marker is positioned in the center of the visual field of the collected real-time image when the crane hook is static, the angle detector is powered on, and a net port 16 connected with a controller is connected with a computer to output a calculated swing angle value.
A ruler was placed on the side of the marker and the marker was manually moved a distance d and the angle calculated and measured, respectively, as shown in table 1.
TABLE 1 swing Angle accuracy test data
As can be seen from Table 1, when the moving distances are respectively 10, 20, 30, \8230; 100, the maximum difference between the calculated angle and the measured angle is 0.056 (30 mm), which is basically within the range of 0.001-0.034, and the overall measurement result shows high accuracy and good stability.
Test scheme two: the test is carried out on the real industrial crane site. Test protocol: the PLC of the crane controls the motor to drive the large trolley to accelerate → uniform → deceleration movement, and the swing angle detection device starts to detect the swing angle after initialization.
As shown in FIG. 9, the actual speed in the cart direction is shown, the abscissa of the figure is time, the ordinate is speed value, the maximum speed in the cart direction is 0.72m/s, and the maximum speed in the cart direction is-0.36 m/s (the minus sign indicates the cart moving direction). As shown in fig. 10, the curve is an actual measurement curve of the swing angle during the moving process of the big car and the small car, wherein the abscissa in the graph is time, the ordinate is a detection swing angle value, the maximum detection swing angle value in the big car direction is 1.729 °, and the maximum detection swing angle value in the small car direction is-0.916 ° (the minus sign indicates that the swing angle is opposite to the moving direction of the small car). The swing angle is gradually increased in the acceleration stage of the big vehicle and the small vehicle, and the swing angles all have peak values after the acceleration stage is finished; then the swing angle of the constant speed section is obviously reduced; the swing angle of the deceleration section is increased again, and the swing angles all have peak values after the deceleration section is finished; and in the parking stage, the swing angle is reduced in the reciprocating swing, the detection result is consistent with the swing in the motion process, and the detection speed is high.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (9)
1. A method for detecting the swing angle of a crane hook/hanging object is characterized by comprising the following steps:
acquiring a real-time marker image, wherein the marker is horizontally arranged on the upper surface of the lifting hook, N light sources are arranged on the same circle with the radius of R on the upper surface of the marker, and N is more than or equal to 3; the real-time marker image is acquired by an image acquisition device arranged above the marker;
preprocessing the real-time marker image to obtain the co-circular real-time circle center coordinates D of the N light sources on the marker i (x i ,y i ) And radius thereof
Radius will beRespectively inputting the preset fitting curve functions of the initial calibration radius, the initial calibration circle center coordinate and the rope length to obtain the current rope length l and the initial calibration circle center coordinate D of the common circle 0 (x 0 ,y 0 );
The value of the swing angle θ is calculated by:
wherein D is p Indicating the actual offset distance of the marker,k represents a magnification or reduction coefficient, device for selecting or keeping>
The preset fitting curve function of the initial calibration radius, the initial calibration circle center coordinate and the rope length is obtained by the following method:
collecting marker images with different rope lengths and in a static state;
respectively preprocessing the marker images under different rope lengths to respectively obtain the co-circle initial calibration circle center coordinates D under different rope lengths 0 (x 0 ,y 0 ) And initial calibration radius
Initial radius calibration for a common circleCircle center coordinate D initially calibrated with a common circle 0 (x 0 ,y 0 ) And fitting a curve with the rope length L to obtain a fitting curve function:
2. the crane hook/sling tilt angle detection method according to claim 1, wherein said pre-processing procedure comprises:
carrying out noise reduction processing on the real-time marker image;
processing the denoised real-time marker image by adopting an edge detection algorithm to obtain a light source light spot profile corresponding to each light source;
processing the outline of each light source light spot by adopting a connected domain function to obtain the circle center coordinate d of each light source light spot i (x i ,y i )(i=1,2,…,N);
And calculating to obtain a real-time circle center coordinate of the co-circle based on a three-point co-circle method, and further obtaining the radius of the co-circle based on the real-time circle center coordinate of the co-circle.
3. The method for detecting the swing angle of the crane hook/suspended object according to claim 2, wherein the method for calculating and obtaining the real-time circle center coordinate of the common circle based on the three-point common circle method, and further obtaining the radius of the common circle based on the real-time circle center coordinate of the common circle comprises the following steps:
based on the method of three-point co-circle, the centers of the three-point co-circle of the N light sources are co-circleGet->Circle center coordinate D j The mean value of the sum of the two is used to obtain the coordinates of the real-time circle center of the common circle>
The radius of the common circle is calculated by the following formula:
4. the crane hook/hoisted object swing angle detection method as claimed in claim 2, wherein the noise reduction process comprises: selecting a cross structural element, performing morphological processing on the real-time marker image, and removing a fine area with the brightness exceeding a threshold value in a light source spot of the real-time marker image;
when a plurality of circle centers corresponding to the light source light spot profiles are processed by adopting the connected domain function, one light source light spot profile is randomly reserved, and other coordinates are removed.
5. The crane hook/hoisted object swing angle detection method as claimed in claim 4, wherein when marker images at different rope lengths and in a static state are acquired, n frames of marker images are acquired respectively at different rope lengths;
circle center coordinate D of initial calibration of common circle 0 (x 0 ,y 0 ) And initial calibration radiusBy averaging, we obtain:
wherein,represents the co-circle center coordinates corresponding to different frame marker images under the same rope length, and then is matched with the standard rope length>Representing the corresponding co-circular half of different frame marker images under the same rope lengthAnd (4) diameter.
6. The method for detecting the swing angle of the crane hook/suspended object according to claim 1, wherein the included angle between adjacent light sources in the N light sources on the marker is 30-100 degrees, the light sources are invisible light band lamps, and the front end of the image acquisition device is provided with a light filter corresponding to the light source band.
7. A crane hook/hoisted object swing angle detection system, comprising: a marker, an angle detector; the angle detector comprises an image acquisition device and a controller;
the marker is horizontally arranged on the upper surface of the lifting hook, N light sources are arranged on the same circumference with the radius of R on the upper surface of the marker, and N is more than or equal to 3;
the image acquisition device is used for acquiring a real-time marker image and sending the real-time marker image to the controller, the image acquisition device is vertically and downwards installed on the crane trolley, and the marker is positioned in the center of the visual field of the image acquisition device when the lifting hook is static;
the controller comprises an image preprocessing module, a rope length and circle center detection module and a swing angle calculation module;
the image preprocessing module is used for preprocessing the real-time marker image to obtain the co-circular real-time circle center coordinates D of the N light sources on the marker i (x i ,y i ) And radius thereof
The rope length and circle center detection module is used for detecting the radiusRespectively inputting the preset initial calibration radius and the fitting curve function of the initial calibration circle center coordinate and the rope length to obtain the current rope length l and the initial calibration circle center coordinate D of the common circle 0 (x 0 ,y 0 );
The swing angle calculation module is used for calculating a value of a swing angle theta through the following formula:
wherein D is p Indicating the actual offset distance of the marker,k denotes an enlargement or reduction coefficient>
The preset fitting curve function of the initial calibration radius, the initial calibration circle center coordinate and the rope length is obtained by the following method:
collecting marker images with different rope lengths and in a static state;
respectively preprocessing the marker images under different rope lengths to respectively obtain the co-circle initial calibration circle center coordinates D under different rope lengths 0 (x 0 ,y 0 ) And initial calibration radius
Initial radius calibration for a common circleAnd the co-circle initial calibration circle center coordinate D 0 (x 0 ,y 0 ) And fitting a curve with the rope length L to obtain a fitting curve function:
8. the crane hook/suspended object swing angle detection system as claimed in claim 7, wherein an included angle between adjacent light sources in the N light sources on the marker is 30 ° to 100 °, and the light sources are invisible light band lamps, and the front end of the image acquisition device is provided with a filter corresponding to the light source band.
9. A crane hook/hoisted object swing angle detection system as claimed in claim 7 or 8, wherein levels are provided on both the marker and the image capture device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110703530.2A CN113326803B (en) | 2021-06-24 | 2021-06-24 | Crane hook/hanging object swing angle detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110703530.2A CN113326803B (en) | 2021-06-24 | 2021-06-24 | Crane hook/hanging object swing angle detection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113326803A CN113326803A (en) | 2021-08-31 |
CN113326803B true CN113326803B (en) | 2023-04-07 |
Family
ID=77424486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110703530.2A Active CN113326803B (en) | 2021-06-24 | 2021-06-24 | Crane hook/hanging object swing angle detection method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113326803B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115258963B (en) * | 2022-07-27 | 2024-09-20 | 山东中衡光电科技有限公司 | Safety protection system of underground hydraulic lifting device and setting method of dangerous area |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107055326A (en) * | 2017-04-14 | 2017-08-18 | 上海海事大学 | Many sling bridge crane panning angle measuring devices and the method measured using the device |
CN107150957A (en) * | 2016-03-03 | 2017-09-12 | 富士电机株式会社 | The angle of oscillation computing device of hanging object |
CN108830899A (en) * | 2018-06-04 | 2018-11-16 | 哈尔滨工业大学 | A kind of center of circle detection method that the quick self-adapted angle point based on geometrical characteristic combines |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107140549A (en) * | 2017-06-29 | 2017-09-08 | 上海海事大学 | Two-electron atom bridge crane pivot angle and rope length detection means and its measuring method |
CN110407094B (en) * | 2019-06-25 | 2020-11-27 | 河南科技大学 | Bridge crane positioning anti-swing control method based on dynamic smooth track |
-
2021
- 2021-06-24 CN CN202110703530.2A patent/CN113326803B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107150957A (en) * | 2016-03-03 | 2017-09-12 | 富士电机株式会社 | The angle of oscillation computing device of hanging object |
CN107055326A (en) * | 2017-04-14 | 2017-08-18 | 上海海事大学 | Many sling bridge crane panning angle measuring devices and the method measured using the device |
CN108830899A (en) * | 2018-06-04 | 2018-11-16 | 哈尔滨工业大学 | A kind of center of circle detection method that the quick self-adapted angle point based on geometrical characteristic combines |
Also Published As
Publication number | Publication date |
---|---|
CN113326803A (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6017782B2 (en) | Information system for height information of objects around suspended loads | |
WO2015055060A1 (en) | Online detecting method for continuous casting slab surface quality | |
CN113326803B (en) | Crane hook/hanging object swing angle detection method and system | |
CN112340608B (en) | Bridge crane hoisting anti-diagonal monitoring and automatic centering system and method based on binocular vision | |
CN108592796A (en) | Big visual field high-precision intelligent optical measuring instrument and its measurement method | |
CN110023711A (en) | Crane | |
CN110482351B (en) | System and method for detecting straightness of guide rail of elevator in use | |
CN110230981B (en) | Dimension detection system and dimension detection method for large-size piece | |
CN115448185A (en) | Ultra-large intelligent tower crane and construction method | |
CN111056439A (en) | Crane anti-swing method based on machine vision | |
CN108955521A (en) | Crane runway detection device and method based on two robot architecture of a station | |
CN213676699U (en) | Robot device for comprehensive detection of crane track | |
CN115838078A (en) | Vehicle door transfer device and method for urban rail train | |
CN111497690A (en) | Detection system for contact network sectional and split-phase insulator | |
CN112379605B (en) | Bridge crane semi-physical simulation control experiment system and method based on visual servo | |
CN212556852U (en) | Airplane pit detection system | |
CN110453578A (en) | A kind of urban road detection robot system | |
CN207748759U (en) | A kind of bridge crane | |
CN209098045U (en) | A kind of suspender zero detection device | |
CN117023394A (en) | Crane safety control system based on computer vision | |
ES2486305T3 (en) | Procedure and device to locate a collection point of an object in an installation | |
CN113428780B (en) | Rotation angle detection method and error elimination method and system for crane hook or hanging object | |
CN215439366U (en) | Hoisting machinery anti-collision system based on geometric model interference inspection | |
CN214219762U (en) | Foundation detection device for quality detection of house building engineering | |
JPH08169684A (en) | Position sensing method for article to be suspended by overhead traveling crane |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |