WO2022160896A1 - Method for aligning container truck and crane, and related device - Google Patents

Method for aligning container truck and crane, and related device Download PDF

Info

Publication number
WO2022160896A1
WO2022160896A1 PCT/CN2021/132576 CN2021132576W WO2022160896A1 WO 2022160896 A1 WO2022160896 A1 WO 2022160896A1 CN 2021132576 W CN2021132576 W CN 2021132576W WO 2022160896 A1 WO2022160896 A1 WO 2022160896A1
Authority
WO
WIPO (PCT)
Prior art keywords
crane
alignment
radar
target
container truck
Prior art date
Application number
PCT/CN2021/132576
Other languages
French (fr)
Chinese (zh)
Inventor
谭黎敏
赵钊
Original Assignee
上海西井信息科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 上海西井信息科技有限公司 filed Critical 上海西井信息科技有限公司
Priority to EP21922486.2A priority Critical patent/EP4279436A1/en
Publication of WO2022160896A1 publication Critical patent/WO2022160896A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66CCRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
    • B66C13/00Other constructional features or details
    • B66C13/18Control systems or devices
    • B66C13/46Position indicators for suspended loads or for crane elements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66CCRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
    • B66C13/00Other constructional features or details
    • B66C13/04Auxiliary devices for controlling movements of suspended loads, or preventing cable slack
    • B66C13/08Auxiliary devices for controlling movements of suspended loads, or preventing cable slack for depositing loads in desired attitudes or positions
    • B66C13/085Auxiliary devices for controlling movements of suspended loads, or preventing cable slack for depositing loads in desired attitudes or positions electrical
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B66HOISTING; LIFTING; HAULING
    • B66CCRANES; LOAD-ENGAGING ELEMENTS OR DEVICES FOR CRANES, CAPSTANS, WINCHES, OR TACKLES
    • B66C13/00Other constructional features or details
    • B66C13/18Control systems or devices
    • B66C13/48Automatic control of crane drives for producing a single or repeated working cycle; Programme control

Definitions

  • the present disclosure relates to the technical field of port operations, and in particular, to a method for aligning a container truck and a crane and related equipment.
  • the driving radar and the alignment radar guide the container truck to travel, including: projecting the target operating position into the driving coordinate system of the driving radar; the container truck according to the driving coordinates Drive according to the position deviation of the preset hoisting position relative to the target working position in the system.
  • Yet another aspect of the present disclosure provides a computer-readable storage medium for storing a program, when the program is executed, the method for aligning a container truck and a crane according to any of the foregoing embodiments is implemented.
  • the computer-readable storage medium is a non-transitory computer-readable storage medium.
  • a computer program product comprising computer instructions stored on a computer storage medium, the computer instructions, when executed by a processor, execute the pairing of a container truck and a crane according to any of the above embodiments. bit method.
  • the fine alignment radar Through the scanning of the driving radar, it is determined that the collected 3D information matches the preset crane profile information, and fine alignment can be performed; by triggering the alignment radar, the fine 3D data of the crane is collected; according to the 3D information collected by the driving radar, the corresponding crane is determined and accurately calculate the target operating position of the crane according to the fine 3D data in the target area collected by the alignment radar; then adjust the position of the container truck to eliminate the positional deviation between the preset hoisting position and the target operating position ;
  • some embodiments of the present disclosure efficiently and accurately realize the precise alignment of the container truck and the crane through the cooperation and linkage of the driving radar and the alignment radar, and are applicable to various types of port hoisting machinery.
  • FIGS. 2-4 show schematic diagrams of the real-time process of the method for aligning a container truck and a crane in an exemplary embodiment of the present disclosure
  • FIG. 6 shows a schematic diagram of a module of an alignment system between a container truck and a crane in an exemplary embodiment of the present disclosure
  • FIG. 7 shows a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure
  • FIG. 1 shows the main steps of a method for aligning a container truck and a crane.
  • the method for aligning a container truck and a crane includes:
  • the driving radar 2 is arranged in front of the container truck 1 to better scan the road ahead. Further, the driving radar 2 may include multiple ones, which are arranged on both sides of the front of the vehicle to better scan the surrounding environment.
  • the driving radar 2 may specifically be a lidar, which obtains three-dimensional point cloud data by scanning, but is not limited thereto.
  • the driving radar 2 may also be any detection device capable of scanning to obtain three-dimensional information.
  • the container truck 1 performs coordinate calibration based on the traveling coordinate system, so that its preset hoisting position is pre-stored in the traveling coordinate system.
  • the preset hoisting position is usually the center point of the container; when the container truck 1 does not carry a container, the preset hoisting position is usually the bearing surface of the container truck 1 the center point.
  • the preset hoisting position can be flexibly adjusted according to the actual carrying situation or carrying needs, as long as it is calibrated in advance based on the driving coordinate system.
  • the alignment radar 3 is triggered.
  • the crane profile information includes at least a partial profile of the crane, and the partial profiles of different types of cranes are different.
  • crane profile information for different types of cranes is separately pre-stored in the system.
  • the pre-stored local contour information corresponds to the load-carrying beam of the spreader and the partial structures of the pillars at both ends of the load-carrying beam; for quay cranes, the pre-stored local contour information corresponds to the load-carrying beam of the spreader. and part of the structure of the pillar located in the middle of the load-bearing beam.
  • the alignment radar 3 is triggered when the three-dimensional information collected by the driving radar 2 matches the local contour information of one of the cranes.
  • the alignment radar 3 may specifically be a lidar, which obtains three-dimensional point cloud data by scanning, but is not limited thereto.
  • the alignment radar 3 may also be any detection device capable of scanning to obtain three-dimensional information.
  • the target area corresponding to the crane 4 is obtained according to the three-dimensional information collected by the driving radar 2 . In some embodiments, within the scanning range of the driving radar 2 , the three-dimensional information of the crane 4 and the three-dimensional information of the surrounding environment are collected; the target area corresponding to the crane 4 is determined therefrom and projected to the alignment coordinates of the alignment radar 3 In the system, the three-dimensional data framed by the target area is accurately screened from the three-dimensional data collected by the alignment radar 3, and the target operating position of the crane 4 is accurately calculated.
  • determining the target area is accomplished using existing methods.
  • an existing 3D target detection method can be used to analyze and process the point 3D cloud data collected by the driving radar 2 to obtain a crane that surrounds the detected crane.
  • the minimum bounding box of the contour information forms the crane detection frame BBox 1 as the target area corresponding to the crane 4 .
  • the 3D object detection method is an existing technology, so it will not be described further.
  • a crane category is also obtained, which specifically includes a gantry crane category and a quay crane category.
  • the crane category can also be determined according to the crane profile information of a certain category matched with the three-dimensional information collected by the driving radar 2 .
  • the center point of the target area can be projected from the driving coordinate system to the alignment coordinate system, and then calculated according to the size information of the target area.
  • the coordinate information of the target area in the alignment coordinate system; some characteristic corners of the target area can also be projected from the driving coordinate system to the alignment coordinate system, and then the coordinate information in the target area in the alignment coordinate system can be calculated.
  • the projection process specifically includes: jointly detecting the positioning identification points through the driving radar 2 and the alignment radar 3, and obtaining a transformation matrix between the driving coordinate system and the alignment coordinate system, For example, a conversion matrix M 1-to-2 for converting from the driving coordinate system to the alignment coordinate system is obtained.
  • the specific calculation method of the transformation matrix M 1-to-2 is realized by using the existing technology, so it will not be described further.
  • Obtain the coordinates C 1 of the center point of the crane detection frame BBox 1 in the traveling coordinate system, and the size information of the crane detection frame BBox 1 which may specifically include length, width, and height information.
  • step S130 the target operating position of the crane is obtained according to the three-dimensional data in the target area scanned by the alignment radar.
  • the target operation position is calculated according to the crane category and the three-dimensional data collected by the alignment radar, which will be specifically carried out in combination with the gantry crane and the quay crane in the following.
  • step S140 the container truck is guided to travel through the cooperation of the driving radar and the alignment radar, so that the preset hoisting position of the container truck coincides with the target operation position.
  • the target operating position is further projected into the driving coordinate system, and then hoisting is performed according to the preset in the driving coordinate system.
  • the position deviation relative to the target operation position guides the container truck 1 to travel, so that the preset hoisting position 11 of the container truck 1 coincides with the vertical projection of the target operation position 41 of the crane 4 . Therefore, the positional deviation in the horizontal direction, including the X 1 -axis direction and the Y 1 -axis direction of the driving coordinate system is eliminated, so that the preset hoisting position 11 is directly below the target working position 41, so that the crane 4 can accurately pick and place when putting down the spreader. box operation.
  • the container truck 1 when the alignment radar 3 is triggered, the container truck 1 can be controlled to park; after the position deviation is calculated, the container truck 1 can be guided to travel; thus, the container truck 1 can be efficiently realized through a joint scan and position calculation Fine alignment between truck 1 and crane 4.
  • the alignment method of the above embodiment through the scanning of the driving radar, it is determined that the collected three-dimensional information matches the preset crane profile information, indicating that the container truck has traveled to the vicinity of the crane, and fine alignment can be performed; by triggering the alignment radar , collect the fine 3D data of the crane; determine the target area of the corresponding crane according to the 3D information collected by the driving radar, and accurately calculate the target operating position of the crane according to the fine 3D data collected by the alignment radar in the target area; and then adjust the container truck position, eliminate the position deviation between its preset hoisting position and the target operation position; thus, through the cooperation of the driving radar and the alignment radar, the precise alignment of the container truck and the crane can be efficiently and accurately realized, which is suitable for various types of ports. Hoisting Machinery.
  • the target operation position is preset to the vertical projection on the guide lane of the crane; when scanning the three-dimensional information through the driving radar of the container truck, the container truck is driven along the guide lane, The vertical projection of the preset hoisting position is located on the guide lane; when the container truck is guided through the combination of the driving radar and the alignment radar, according to the positional deviation between the preset hoisting position and the target operation position along the guide lane, the container truck is sent along the guide lane to send a message to the container truck along the guide lane. position adjustment command.
  • the positional deviation between the container truck and the crane in the left-right direction is eliminated in advance before the alignment and the driving stage before the alignment.
  • one guide lane can be determined according to the port operation requirements, and the vertical projection of the crane's target operation position can be adjusted to fall on the guide lane.
  • the guide lane can be virtual, and the virtual guide lane can be determined by projecting the target working position of the crane to the ground vertically, and extending the projection point perpendicular to the direction of the load beam of the crane, and the location information of the determined guide lane can be determined. It can be calibrated to the driving coordinate system.
  • the description of this example should not be considered as a limitation of the present disclosure.
  • the positional deviation in the left-right direction can be calculated, and the position of the container truck can be adjusted by using the two sets of positional deviations.
  • Figure 5 shows an example alignment scenario.
  • the container truck 1 has traveled along the guide lane 40 of the crane 4 until its driving radar 2 collects preset three-dimensional information, and the vertical projection of the preset hoisting position 11 of the container truck 1 is located on the guide lane 40 .
  • the target working position 41 of the crane 4 has been preset so that the vertical projection is located on the guide lane 40 .
  • the target working position 41 of the crane 4 is specifically located on the bearing beam 400 of the crane 4 .
  • the X 1 axis of the driving coordinate system of the driving radar 2 and the X 2 axis of the positioning coordinate system of the positioning radar 3 are both parallel to the guidance lane 40 .
  • the process of obtaining the target operation position specifically includes: projecting the three-dimensional data collected by the alignment radar and located in the target area to the X-Z coordinate plane of the alignment coordinate system to obtain a two-dimensional data map; Line detection is performed on the graph to obtain a line segment set; based on the X-Z coordinate plane, the slope of each line segment in the line segment set is calculated, and the target line segment whose slope is within the range of the target slope is filtered out; according to the X-axis coordinates of the vertices of all target line segments, a middle The X-axis coordinate is used as the X-axis coordinate of the target work position.
  • the alignment radar Take the alignment radar as the lidar and collect the 3D point cloud data as an example.
  • the X 2 -Z 2 coordinate plane When projecting the three-dimensional point cloud data in the crane detection frame BBox 2 to the XZ coordinate plane of the alignment coordinate system (hereinafter referred to as the X 2 -Z 2 coordinate plane), redundant dimensions unrelated to the guidance lane can be removed to obtain a two-dimensional
  • the point cloud map reduces the amount of data and facilitates the quick and accurate calculation of the X 2 -axis coordinates of the target operating position.
  • the process of performing straight line detection on the two-dimensional point cloud image to obtain a set of line segments specifically includes: dividing the two-dimensional point cloud image into uniform grids, for example, dividing the two-dimensional point cloud image into rectangular grids at intervals of 0.05m; Whether the grid contains point cloud, assign value to each grid, set 1 if there is a point cloud in a grid, set 0 if there is no point cloud, and finally obtain a two-dimensional feature map; perform Hough line on the feature map Transform to obtain the line segment set composed of all straight line segments in the feature map.
  • the Hough line transform is an existing technique, so it will not be described further.
  • the calculation is performed according to the X 2 -axis coordinates and the Z 2 -axis coordinates of the two vertices of the line segment.
  • the slope of the line segment is K ⁇ threshold or K>-threshold
  • the threshold is the threshold
  • the line segment is removed from the line segment set. That is, the target line segment whose lower slope is within the target slope range of threshold ⁇ threshold is reserved. Threshold can be set as needed to filter out target line segments that are as vertical as possible.
  • the first set of X 2- mid and the second set of X 2 -axis coordinates are greater than the midpoint coordinates X 2-mid ; obtain the median coordinate X 2-mid-front of the X 2 -axis coordinates of each vertex in the first set, And the median coordinate X 2-mid-back of the X 2 -axis coordinates of each vertex in the second set; the middle X 2 -axis coordinate X 2-mi
  • the process of obtaining the target operation position specifically includes: projecting the three-dimensional data collected by the alignment radar and located in the target area to the X-Z coordinate plane of the alignment coordinate system to obtain a two-dimensional data map; Perform straight line detection on the data graph to obtain a line segment set; perform feature point detection on the three-dimensional data to obtain a feature point set; based on the X-Z coordinate plane, calculate the slope difference between each feature point in the feature point set and the two vertices of each line segment in the line segment set , screen out the target feature points whose slope difference with at least one line segment is within the range of the target slope difference; according to the X-axis coordinates of all target feature points, obtain an intermediate X-axis coordinate as the X-axis coordinate of the target operation position.
  • Feature point detection can be realized by Harris operator calculation on 3D point cloud data.
  • the Harris operator is a corner detection operator, which can extract point features from the 3D point cloud data in the crane detection frame BBox 2 .
  • the Harris operator is an existing technology, so it will not be explained further.
  • the target slope difference range is less than a set value.
  • the feature point is retained as the target feature point.
  • can be set as required to filter out the target feature points that are located at the same end of each line segment as much as possible.
  • the following method is adopted: take the center point of the crane detection frame BBox 2 as the target point, and classify all the target feature points as the X 2 -axis coordinates of which are smaller than the X 2 of the target point.
  • the Y 2 -axis coordinates and Z 2 -axis coordinates of the target operating position can be filled with any suitable value to obtain the Pos 2 coordinates of the target operating position in the alignment coordinate system. .
  • Pos 1 Inv(M 1-to-2 ) ⁇ Pos 2
  • the coordinate Pos 1 of the target working position projected to the driving coordinate system can be obtained, so as to obtain the X 1 axis coordinate of the target working position.
  • the X1 - axis coordinate of the preset hoisting position is subtracted from the X1 - axis coordinate of the target operation position to obtain the position deviation; then, according to the position deviation, the actual deviation distance is converted, and the position containing the actual deviation distance is sent to the container truck. Adjust the command to guide the container truck to move forward or backward along the guide lane by the actual deviation distance, and then the precise alignment between the container truck and the crane can be completed.
  • Embodiments of the present disclosure further provide an alignment system for a container truck and a crane, which can be used to implement the alignment method described in any of the foregoing embodiments.
  • FIG. 6 shows the main modules of the alignment system.
  • the alignment system 600 of a container truck and a crane includes: a driving detection module 610 for scanning the three-dimensional information through the driving radar of the container truck.
  • the alignment trigger module 620 is used to start the alignment radar of the container truck when the three-dimensional information matches the preset crane profile information, and project the target area of the corresponding crane obtained according to the three-dimensional information to the alignment coordinates of the alignment radar In the system;
  • the alignment detection module 630 is used to obtain the target operating position of the crane according to the three-dimensional data in the target area scanned by the alignment radar;
  • the position adjustment module 640 is used to guide the container truck through the cooperation of the driving radar and the alignment radar Drive, so that the preset hoisting position of the container truck coincides with the target operating position.
  • the alignment system 600 for a container truck and a crane may further include modules for implementing other detailed process steps in the above-mentioned embodiments of the alignment methods. The description will not be repeated here.
  • the alignment system of the container truck and the crane in some embodiments of the present disclosure can efficiently and accurately realize the fine alignment of the container truck and the crane through the cooperation and linkage of the driving radar and the alignment radar, and is suitable for various types of Port cranes.
  • Embodiments of the present disclosure further provide an electronic device including a processor and a memory, where executable instructions are stored in the memory, and when the executable instructions are executed by the processor, the method for aligning a container truck and a crane described in any of the foregoing embodiments is implemented.
  • the electronic device in some embodiments of the present disclosure can efficiently and accurately realize the fine alignment of the container truck and the crane through the cooperation and linkage of the driving radar and the alignment radar, and is suitable for various types of port hoisting machinery.
  • FIG. 7 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure. It should be understood that FIG. 7 only schematically shows various modules, and these modules may be virtual software modules or actual hardware modules. Splitting and addition of other modules are within the scope of the present disclosure.
  • electronic device 700 takes the form of a general-purpose computing device.
  • Components of the electronic device 700 include, but are not limited to, at least one processing unit 710, at least one storage unit 720, a bus 730 connecting different platform components (including the storage unit 720 and the processing unit 710), a display unit 740, and the like.
  • the storage unit stores program codes, and the program codes can be executed by the processing unit 710, so that the processing unit 710 executes the steps of the method for aligning a container truck and a crane described in any of the foregoing embodiments.
  • the processing unit 710 may perform the steps shown in FIG. 1 .
  • the storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 7201 and/or a cache storage unit 7202 , and may further include a read only storage unit (ROM) 7203 .
  • RAM random access storage unit
  • ROM read only storage unit
  • the storage unit 720 may also include a program/utility 7204 having one or more program modules 7205 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, examples of which are Each or some combination of these may include an implementation of a network environment.
  • the bus 730 may be representative of one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures bus.
  • the electronic device 700 may also communicate with one or more external devices 800, which may be one or more of a keyboard, a pointing device, a Bluetooth device, and the like. These external devices 800 enable the user to interact with the electronic device 700 .
  • Electronic device 700 is also capable of communicating with one or more other computing devices, including routers, modems, as shown. Such communication may take place through input/output (I/O) interface 750 .
  • the electronic device 700 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 760 .
  • Network adapter 760 may communicate with other modules of electronic device 700 through bus 730 .
  • other hardware and/or software modules may be used in conjunction with electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage platform, etc.
  • Embodiments of the present disclosure further provide a computer-readable storage medium for storing a program, and when the program is executed, the method for aligning a container truck and a crane described in any of the foregoing embodiments is implemented.
  • various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code that, when the program product runs on a terminal device, is used to cause the terminal device to perform any of the above-mentioned implementations The method of alignment between container trucks and cranes is described in this example.
  • the computer-readable storage medium in some embodiments of the present disclosure can efficiently and accurately realize the fine alignment between the container truck and the crane through the cooperation of the driving radar and the alignment radar, and is suitable for various types of port lifting. mechanical.
  • FIG. 8 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present disclosure.
  • a program product 900 for implementing the above method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read only memory (CD-ROM) and include program codes, and can be stored in a terminal device, For example running on a personal computer.
  • CD-ROM portable compact disk read only memory
  • the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • the program product may employ any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of readable storage media include, but are not limited to, electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable Read-only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
  • a computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a readable storage medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language.
  • the program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on.
  • the remote computing devices may be connected to the user computing device over any kind of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computing device, such as using an Internet service provider business to connect via the Internet.
  • LAN local area network
  • WAN wide area network
  • Internet service provider business such as using an Internet service provider business to connect via the Internet.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Control And Safety Of Cranes (AREA)

Abstract

A method for aligning a container truck and a crane, and a related device. The alignment method comprises: scanning three-dimensional information by means of a traveling radar of the container truck; when the three-dimensional information matches with preset crane profile information, starting an alignment radar of the container truck, and projecting a target region, which is obtained according to the three-dimensional information and corresponds to the crane, to an alignment coordinate system of the alignment radar; obtaining a target working position of the crane according to three-dimensional data scanned by the alignment radar and located in the target region; guiding the container truck to travel by means of cooperation between the traveling radar and the alignment radar, such that a preset hoisting position of the container truck coincides with the target working position. By means of cooperation and linkage between the traveling radar and the alignment radar, the method for aligning the container truck and the crane and the related device efficiently and accurately implement fine alignment of the container truck and the crane, and are applicable for different types of port hoisting machinery.

Description

集装箱卡车与起重机的对位方法及相关设备Alignment method and related equipment of container truck and crane 技术领域technical field
本公开涉及港口作业技术领域,具体地说,涉及一种集装箱卡车与起重机的对位方法及相关设备。The present disclosure relates to the technical field of port operations, and in particular, to a method for aligning a container truck and a crane and related equipment.
背景技术Background technique
在港口集装箱作业中,需要对起重机和集装箱卡车进行对位,以便于起重机从集装箱卡车上吊取集装箱,或将集装箱放至集装箱卡车上。In port container operations, it is necessary to align the crane and the container truck so that the crane can lift the container from the container truck or put the container on the container truck.
传统的对位流程是:通过设置于港口场地的一台固定装置,例如摄像机,获取集装箱卡车的位置;将集装箱卡车的位置与起重机的位置进行比对,获得两者的相对位置;根据两者的相对位置调整集装箱卡车的位置;如此循环,直至集装箱卡车行驶至可供起重机对其进行准确抓放箱操作的指定位置。The traditional alignment process is: obtain the position of the container truck through a fixed device, such as a camera, set at the port site; compare the position of the container truck with the position of the crane to obtain the relative position of the two; The relative position of the container truck is adjusted according to the relative position; this cycle is repeated until the container truck travels to the designated position where the crane can accurately pick and place the container.
传统的对位流程中,固定装置采集的数据有限,需要多次循环运算,才能实现集装箱卡车与起重机的对位,数据计算量大,对位过程慢,且对位精度不高,影响起重机的抓放箱操作。In the traditional alignment process, the data collected by the fixed device is limited, and multiple cyclic operations are needed to realize the alignment of the container truck and the crane. The amount of data calculation is large, the alignment process is slow, and the alignment accuracy is not high, which affects the crane's performance. Pick and place box operation.
需要说明的是,上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above Background section is only for enhancing understanding of the background of the present disclosure, and therefore may contain information that does not form the prior art that is already known to a person of ordinary skill in the art.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本公开提供一种集装箱卡车与起重机的对位方法及相关设备,能够通过行车雷达和对位雷达的配合联动,高效准确地实现集装箱卡车与起重机的精细对位,适用于各个类型港口起重机械。In view of this, the present disclosure provides an alignment method and related equipment for a container truck and a crane, which can efficiently and accurately realize the fine alignment of a container truck and a crane through the cooperation and linkage of the driving radar and the alignment radar, which is suitable for various types of Port cranes.
本公开的一个方面提供一种集装箱卡车与起重机的对位方法,包括:集装箱卡车的行车雷达扫描三维信息;匹配所述三维信息与起重机的轮廓信息,例如是预设的起重机轮廓信息,获得起重机的目标区域;启动所述集装箱卡车的对位雷达,并将获得的起重机的目标区域投影至所述对位雷达的对位坐标系中;根据所述对位雷达扫描的位于所述目标区域内的三维数据,获得所述起重机的目标作业位置;以及所述行车雷达和所述对位雷达引导所述集装箱卡车行驶至所述集装箱卡车的预设吊装位置与所述目标作业位置重合。One aspect of the present disclosure provides a method for aligning a container truck and a crane, including: scanning three-dimensional information with a driving radar of the container truck; target area; start the alignment radar of the container truck, and project the obtained target area of the crane into the alignment coordinate system of the alignment radar; according to the alignment radar scanning The three-dimensional data of the crane is obtained to obtain the target operation position of the crane; and the driving radar and the alignment radar guide the container truck to travel to the container truck whose preset hoisting position coincides with the target operation position.
在一些实施例中,所述行车雷达设置于所述集装箱卡车的前方,所述对位雷达设置于所述集装箱卡车的顶部。In some embodiments, the driving radar is arranged in front of the container truck, and the alignment radar is arranged on the top of the container truck.
在一些实施例中,所述行车雷达和所述对位雷达引导所述集装箱卡车行驶,包括:将所述目标作业位置投影至所述行车雷达的行车坐标系中;集装箱卡车根据所述行车坐标系中所述预设吊装位置相对于所述目标作业位置的位置偏差行驶。In some embodiments, the driving radar and the alignment radar guide the container truck to travel, including: projecting the target operating position into the driving coordinate system of the driving radar; the container truck according to the driving coordinates Drive according to the position deviation of the preset hoisting position relative to the target working position in the system.
在一些实施例中,所述的对位方法还包括:预存多种类别的起重机轮廓信息;在匹配所述三维信息与起重机轮廓信息匹配后,还根据所述三维信息获得起重机类别;在获得起重机的目标作业位置后,根据所述起重机类别和所述三维数据,获得所述目标作业位置。In some embodiments, the alignment method further includes: pre-storing various types of crane profile information; after matching the three-dimensional information with the crane profile information, obtaining the crane type according to the three-dimensional information; after obtaining the crane profile After the target operation position is determined, the target operation position is obtained according to the crane category and the three-dimensional data.
在一些实施例中,所述的对位方法还包括:集装箱卡车的行车雷达扫描三维信息前,将所述目标作业位置预调至垂直投影位于所述起重机的引导车道上;集装箱卡车的行车雷达扫描三维信息时,所述集装箱卡车沿所述引导车道行驶,使所述预设吊装位置的垂直投影位于所述引导车道上;所述行车雷达和所述对位雷达配合引导所述集装箱卡车行驶时,根据所述预设吊装位置与所述目标作业位置沿所述引导车道的位置偏差,向所述集装箱卡车发出沿所述引导车道的位置调整指令。In some embodiments, the alignment method further includes: before the driving radar of the container truck scans the three-dimensional information, pre-adjusting the target operation position to a vertical projection on the guide lane of the crane; the driving radar of the container truck When scanning the three-dimensional information, the container truck runs along the guide lane, so that the vertical projection of the preset hoisting position is located on the guide lane; the driving radar and the alignment radar cooperate to guide the container truck to run At the time, according to the position deviation of the preset hoisting position and the target operation position along the guide lane, a position adjustment instruction along the guide lane is sent to the container truck.
在一些实施例中,当所述起重机类别为龙门吊类别,获得所述目标作业位置,包括:将所述三维数据投影至所述对位坐标系的X-Z坐标平面,获得二维数据图,其中X轴与所述引导车道平行;对所述二维数据图进行直线检测,获得线段集合;基于所述X-Z坐标平面,计算所述线段集合中多条线段的斜率,筛选出斜率位于目标斜率范围内的目标线段;根据目标线段的顶点的X轴坐标,获得一中间X轴坐标,作为所述目标作业位置的X轴坐标。In some embodiments, when the crane category is a gantry crane category, obtaining the target operating position includes: projecting the three-dimensional data to the X-Z coordinate plane of the alignment coordinate system to obtain a two-dimensional data map, where X The axis is parallel to the guide lane; perform straight line detection on the two-dimensional data map to obtain a line segment set; based on the X-Z coordinate plane, calculate the slopes of multiple line segments in the line segment set, and filter out the slopes within the target slope range The target line segment; according to the X-axis coordinate of the vertex of the target line segment, an intermediate X-axis coordinate is obtained as the X-axis coordinate of the target working position.
在一些实施例中,获得一中间X轴坐标,包括:自目标线段的顶点的X轴坐标中,获得最大坐标X max和最小坐标X min;计算中点坐标X mid,其中X mid=(X max+X min)/2;基于所述中点坐标X mid,将目标线段的顶点分类为X轴坐标小于所述中点坐标X mid的第一集合和X轴坐标大于所述中点坐标X mid的第二集合;获得所述第一集合中各顶点的X轴坐标的中位数坐标X mid-front,及所述第二集合中各顶点的X轴坐标的中位数坐标X mid-back;计算中间X轴坐标X middle,其中X middle=(X mid-front+X mid-back)/2。 In some embodiments, obtaining a middle X-axis coordinate includes: obtaining the maximum coordinate X max and the minimum coordinate X min from the X-axis coordinates of the vertex of the target line segment; calculating the midpoint coordinate X mid , where X mid =(X max +X min )/2; based on the midpoint coordinate X mid , classify the vertices of the target line segment into the first set whose X-axis coordinate is less than the mid-point coordinate X mid and the X-axis coordinate is greater than the mid-point coordinate X The second set of mid ; obtain the median coordinate X mid-front of the X-axis coordinates of each vertex in the first set, and the median coordinate X mid -front of the X-axis coordinates of each vertex in the second set back ; calculate the middle X-axis coordinate X middle , where X middle =(X mid-front +X mid-back )/2.
在一些实施例中,当所述起重机类别为岸桥类别,获得所述目标作业位置,包括:将所述三维数据投影至所述对位坐标系的X-Z坐标平面,获得二维数据图,其中X轴与所述引导车道平行;对所述二维数据图进行直线检测,获得线段集合;对所述三维数据进行特征点检测,获得特征点集合;基于所述X-Z坐标平面,计算所述特征点集合中多个特征点与所述线段集合中多条线段的两顶点的斜率差,筛选出至少与一条线段的斜率差位于目标斜率差范围内的目标特征点;根据目标特征点的X轴坐标,获得一中间X轴坐标,作为所述目标作业位置的X轴坐标。In some embodiments, when the crane category is a quay crane category, obtaining the target operating position includes: projecting the three-dimensional data to the X-Z coordinate plane of the alignment coordinate system to obtain a two-dimensional data map, wherein The X-axis is parallel to the guide lane; perform line detection on the two-dimensional data map to obtain a line segment set; perform feature point detection on the three-dimensional data to obtain a feature point set; based on the X-Z coordinate plane, calculate the feature The slope difference between the multiple feature points in the point set and the two vertices of the multiple line segments in the line segment set, screen out the target feature points whose slope difference with at least one line segment is within the range of the target slope difference; according to the X-axis of the target feature point coordinate, and obtain an intermediate X-axis coordinate as the X-axis coordinate of the target working position.
在一些实施例中,获得一中间X轴坐标,包括:以所述起重机检测框的中心点为目标点,将目标特征点分类为X轴坐标小于所述目标点的X轴坐标的前侧集合和X轴坐标大于所述目标点的X轴坐标的后侧集合;沿所述X轴,获得所述前侧集合中距离所述目标点最近的一前侧特征点的X轴坐标X front,及所述后侧集合中距离所述目标点最近的一后侧特征点的X轴坐标X back;计算中间X轴坐标X middle,其中X middle=(X front+X back)/2。 In some embodiments, obtaining an intermediate X-axis coordinate includes: taking the center point of the crane detection frame as the target point, and classifying the target feature points into a front side set whose X-axis coordinate is smaller than the X-axis coordinate of the target point and the rear side set whose X-axis coordinates are greater than the X-axis coordinates of the target point; along the X-axis, obtain the X-axis coordinate X front of a front side feature point closest to the target point in the front side set, and the X-axis coordinate X back of a rear-side feature point closest to the target point in the rear-side set; calculate the middle X-axis coordinate X middle , where X middle =(X front +X back )/2.
本公开的另一个方面提供一种集装箱卡车与起重机的对位系统,包括:行车检测模块,用于通过集装箱卡车的行车雷达扫描三维信息;对位触发模块,用于当所述三维信息与预设的起重机轮廓信息匹配,启动所述集装箱卡车的对位雷达,并将根据所述三维信息获得的对应起重机的目标区域投影至所述对位雷达的对位坐标系中;对位检测模块,用于根据所述对位雷达扫描的位于所述目标区域内的三维数据,获得所述起重机的目标作业位置;位置调整模块,用于通过所述行车雷达和所述对位雷达配合引导所述集装箱卡车行驶,令所述集装箱卡车的预设吊装位置与所述目标作业位置重合。Another aspect of the present disclosure provides an alignment system for a container truck and a crane, including: a driving detection module for scanning three-dimensional information through a driving radar of the container truck; The set crane profile information is matched, the alignment radar of the container truck is activated, and the target area of the corresponding crane obtained according to the three-dimensional information is projected into the alignment coordinate system of the alignment radar; the alignment detection module, is used to obtain the target operating position of the crane according to the three-dimensional data scanned by the alignment radar and located in the target area; The container truck runs, so that the preset hoisting position of the container truck coincides with the target operation position.
本公开的再一个方面提供一种电子设备,包括处理器以及计算机可读取存储介质,所述存储介质中存储有计算机指令,所述计算机指令被所述处理器执行时,执行上述任意实施例所述的集装箱卡车与起重机的对位方法。Yet another aspect of the present disclosure provides an electronic device, including a processor and a computer-readable storage medium, where computer instructions are stored in the storage medium, and when the computer instructions are executed by the processor, any of the foregoing embodiments are executed The described method for aligning a container truck and a crane.
本公开的又一个方面提供一种计算机可读存储介质,用于存储程序,所述程序被执行时实现上述任意实施例所述的集装箱卡车与起重机的对位方法。在一些实施例中,所述计算机可读存储介质为非暂态计算机可读存储介质。Yet another aspect of the present disclosure provides a computer-readable storage medium for storing a program, when the program is executed, the method for aligning a container truck and a crane according to any of the foregoing embodiments is implemented. In some embodiments, the computer-readable storage medium is a non-transitory computer-readable storage medium.
根据本公开的又一方面,还提供一种计算机程序产品,包括存储在计算机存储介质上的计算机指令,所述计算机指令被处理器执行时执行上述任意实施例所述的集装箱卡车与起重机的对位方法。According to yet another aspect of the present disclosure, there is also provided a computer program product, comprising computer instructions stored on a computer storage medium, the computer instructions, when executed by a processor, execute the pairing of a container truck and a crane according to any of the above embodiments. bit method.
根据本公开的又一方面,还提供一种计算机程序,用于使处理器执行上述任意实施例所述的集装箱卡车与起重机的对位方法。According to yet another aspect of the present disclosure, there is also provided a computer program for causing a processor to execute the method for aligning a container truck and a crane according to any of the foregoing embodiments.
本公开的一些实施例与现有技术相比的有益效果至少包括:The beneficial effects of some embodiments of the present disclosure compared with the prior art include at least:
通过行车雷达的扫描,确定采集到的三维信息与预设的起重机轮廓信息匹配,可以进行精细对位;通过触发对位雷达,采集起重机的精细三维数据;根据行车雷达采集的三维信息确定对应起重机的目标区域,并根据对位雷达采集的位于目标区域内的精细三维数据,准确计算起重机的目标作业位置;进而调整集装箱卡车的位置,消除其预设吊装位置与目标作业位置之间的位置偏差;Through the scanning of the driving radar, it is determined that the collected 3D information matches the preset crane profile information, and fine alignment can be performed; by triggering the alignment radar, the fine 3D data of the crane is collected; according to the 3D information collected by the driving radar, the corresponding crane is determined and accurately calculate the target operating position of the crane according to the fine 3D data in the target area collected by the alignment radar; then adjust the position of the container truck to eliminate the positional deviation between the preset hoisting position and the target operating position ;
从而,本公开的一些实施例通过行车雷达和对位雷达的配合联动,高效准确地实现集装箱卡车与起重机的精细对位,适用于各个类型港口起重机械。Therefore, some embodiments of the present disclosure efficiently and accurately realize the precise alignment of the container truck and the crane through the cooperation and linkage of the driving radar and the alignment radar, and are applicable to various types of port hoisting machinery.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.
图1示出本公开的示例性实施例中,集装箱卡车与起重机的对位方法的步骤示意图;FIG. 1 shows a schematic diagram of steps of a method for aligning a container truck and a crane in an exemplary embodiment of the present disclosure;
图2-图4示出本公开的示例性实施例中,集装箱卡车与起重机的对位方法的实时过程示意图;2-4 show schematic diagrams of the real-time process of the method for aligning a container truck and a crane in an exemplary embodiment of the present disclosure;
图5示出本公开的示例性实施例中,一个对位场景的俯视示意图;FIG. 5 shows a schematic top view of an alignment scene in an exemplary embodiment of the present disclosure;
图6示出本公开的示例性实施例中,集装箱卡车与起重机的对位系统的模块示意图;FIG. 6 shows a schematic diagram of a module of an alignment system between a container truck and a crane in an exemplary embodiment of the present disclosure;
图7示出本公开的示例性实施例中,电子设备的结构示意图;FIG. 7 shows a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure;
图8示出本公开的示例性实施例中,计算机可读的存储介质的结构示意图。FIG. 8 shows a schematic structural diagram of a computer-readable storage medium in an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的实施方式。相反,提供这些实施方式使本公开全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the figures are functional entities that do not necessarily necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
下面实施例中的步骤序号仅用于表示不同的执行内容,并不严格限定步骤之间的执行顺序。具体描述时使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。需要说明的是,在不冲突的情况下,本公开的实施例及不同实施例中的特征可以相互组合。The sequence numbers of the steps in the following embodiments are only used to indicate different execution contents, and do not strictly limit the execution sequence between the steps. "First", "second" and similar words used in the detailed description do not denote any order, quantity or importance, but are only used to distinguish different components. It should be noted that the embodiments of the present disclosure and features in different embodiments may be combined with each other under the condition of no conflict.
图1示出集装箱卡车与起重机的对位方法的主要步骤,参照图1所示,在一些实施例中,集装箱卡车与起重机的对位方法包括:FIG. 1 shows the main steps of a method for aligning a container truck and a crane. Referring to FIG. 1 , in some embodiments, the method for aligning a container truck and a crane includes:
步骤S110,通过集装箱卡车的行车雷达扫描三维信息。Step S110, scan the three-dimensional information through the driving radar of the container truck.
在一些实施例中,结合图2示出的对位前行车阶段,在集装箱卡车1向起重机4行驶过程中,行车雷达2扫描周围环境的三维信息,引导集装箱卡车1行驶。集装箱卡车1可通过已有的自动驾驶方法、避障方法等实现自动行驶,此处不再展开说明。In some embodiments, with reference to the driving stage before alignment shown in FIG. 2 , when the container truck 1 is driving to the crane 4 , the driving radar 2 scans the three-dimensional information of the surrounding environment to guide the container truck 1 to drive. The container truck 1 can realize automatic driving through the existing automatic driving method, obstacle avoidance method, etc., which will not be described here.
在一些实施例中,也可结合GPS定位技术,实现对集装箱卡车1的行驶引导。In some embodiments, the GPS positioning technology can also be combined to realize the driving guidance of the container truck 1 .
在一些实施例中,行车雷达2设置于集装箱卡车1的前方,以更好地扫描前方道路。进一步的,行车雷达2可包括多个,布设在车头两侧,以更好地扫描周围环境。In some embodiments, the driving radar 2 is arranged in front of the container truck 1 to better scan the road ahead. Further, the driving radar 2 may include multiple ones, which are arranged on both sides of the front of the vehicle to better scan the surrounding environment.
在一些实施例中,行车雷达2具体可以是激光雷达,通过扫描获得三维点云数据,但不以此为限。行车雷达2也可以是任意能够扫描获得三维信息的检测装置。In some embodiments, the driving radar 2 may specifically be a lidar, which obtains three-dimensional point cloud data by scanning, but is not limited thereto. The driving radar 2 may also be any detection device capable of scanning to obtain three-dimensional information.
在一些实施例中,行车雷达2的行车坐标系为X 1-Y 1-Z 1坐标系,其原点O 1为行车雷达2的中心点,但不以此为限,例如还可以是集装箱卡车1的中心点。在一些实施例中,行车坐标系以水平向前方向为X 1轴,以垂直向上方向为Z 1轴,以水平向右或向左方向为Y 1轴,但不以此为限,行车坐标系可以根据需要灵活标定。 In some embodiments, the driving coordinate system of the driving radar 2 is an X 1 -Y 1 -Z 1 coordinate system, and its origin O 1 is the center point of the driving radar 2 , but not limited thereto, for example, it may also be a container truck 1's center point. In some embodiments, the driving coordinate system takes the horizontal forward direction as the X 1 axis, the vertical upward direction as the Z 1 axis, and the horizontal right or left direction as the Y 1 axis, but not limited thereto. The system can be flexibly calibrated as needed.
在一些实施例中,集装箱卡车1基于行车坐标系进行坐标标定,使其预设吊装位置预存于行车坐标系中。在一些实施例中,在集装箱卡车1上运载有集装箱时,预设吊装位置通常是集装箱的中心点;在集装箱卡车1未运载有集装箱时,预设吊装位置通常是集装箱卡车1的承力面的中心点。当然,根据实际运载情况或运载需要,预设吊装位置可以灵活调整,只要基于行车坐标系提前标定即可。In some embodiments, the container truck 1 performs coordinate calibration based on the traveling coordinate system, so that its preset hoisting position is pre-stored in the traveling coordinate system. In some embodiments, when the container truck 1 carries a container, the preset hoisting position is usually the center point of the container; when the container truck 1 does not carry a container, the preset hoisting position is usually the bearing surface of the container truck 1 the center point. Of course, the preset hoisting position can be flexibly adjusted according to the actual carrying situation or carrying needs, as long as it is calibrated in advance based on the driving coordinate system.
步骤S120,匹配三维信息与预设的起重机轮廓信息,获得起重机的目标区域,并启动集装箱卡车的对位雷达,将起重机的目标区域投影至对位雷达的对位坐标系中。Step S120: Match the three-dimensional information with the preset crane profile information to obtain the target area of the crane, and activate the alignment radar of the container truck to project the target area of the crane into the alignment coordinate system of the alignment radar.
在一些实施例中,结合图3示出的对位触发阶段,当行车雷达2采集到的三维信息与预设的起重机轮廓信息匹配,此时,一方面,表明集装箱卡车1已行驶至起重机4的附近,可以进入精细对位阶段;另一方面,能够根据行车雷达2采集到的三维信息准确框定对应起重机4的目标区域;再一方面,能够通过对位雷达3采集到起重机4的更精细的三维数据。因此触发对位雷达3。In some embodiments, in conjunction with the alignment trigger stage shown in FIG. 3 , when the three-dimensional information collected by the driving radar 2 matches the preset crane profile information, on the one hand, it indicates that the container truck 1 has traveled to the crane 4 On the other hand, the target area corresponding to the crane 4 can be accurately framed according to the three-dimensional information collected by the driving radar 2; 3D data. Therefore, the alignment radar 3 is triggered.
在一些实施例中,起重机轮廓信息至少包括起重机的局部轮廓,不同类别起重机的局部轮廓有所不同。在一些实施例中,不同类别起重机的起重机轮廓信息分别预存于系统中。例如,对于龙门吊类起重机,其预存的局部轮廓信息对应承载吊具的承载梁和位于承载梁两端的支柱的部分结构;对于岸桥类起重机,其预存的局部轮廓信息对应承载吊具的承载梁和位于承载梁中部的支柱的部分结构。在一些实施例中,当行车雷达2采集到的三维信息与其中一种起重机的局部轮廓信息匹配,则触发对位雷达3。In some embodiments, the crane profile information includes at least a partial profile of the crane, and the partial profiles of different types of cranes are different. In some embodiments, crane profile information for different types of cranes is separately pre-stored in the system. For example, for gantry cranes, the pre-stored local contour information corresponds to the load-carrying beam of the spreader and the partial structures of the pillars at both ends of the load-carrying beam; for quay cranes, the pre-stored local contour information corresponds to the load-carrying beam of the spreader. and part of the structure of the pillar located in the middle of the load-bearing beam. In some embodiments, when the three-dimensional information collected by the driving radar 2 matches the local contour information of one of the cranes, the alignment radar 3 is triggered.
在一些实施例中,对位雷达3的触发条件也可以是集装箱卡车1行驶至起重机4的预设位置。在一些实施例中,预设位置位于以起重机4的位置为中心辐射的一定区域范围内,该区域范围的坐标信息预存于行车雷达2的行车坐标系中。In some embodiments, the triggering condition of the alignment radar 3 may also be that the container truck 1 travels to a preset position of the crane 4 . In some embodiments, the preset position is located within a certain area radiating from the position of the crane 4 , and the coordinate information of the area is pre-stored in the driving coordinate system of the driving radar 2 .
在一些实施例中,对位雷达3设置于集装箱卡车1的顶部,以在与起重机4的对位场景中更好地采集到起重机4的包括其吊具所在目标作业位置的精细三维数据。在一些实施例中,起重机4的目标作业位置通常指其吊具的中心点。In some embodiments, the alignment radar 3 is arranged on the top of the container truck 1 to better collect fine three-dimensional data of the crane 4 including the target working position of its spreader in the alignment scene with the crane 4 . In some embodiments, the target working position of the crane 4 generally refers to the center point of its spreader.
在一些实施例中,对位雷达3具体可以是激光雷达,通过扫描获得三维点云数据,但不以此为限。对位雷达3也可以是任意能够扫描获得三维信息的检测装置。In some embodiments, the alignment radar 3 may specifically be a lidar, which obtains three-dimensional point cloud data by scanning, but is not limited thereto. The alignment radar 3 may also be any detection device capable of scanning to obtain three-dimensional information.
在一些实施例中,对位雷达3的对位坐标系为X 2-Y 2-Z 2坐标系,其原点O 2为对位雷达3的中心点,但不以此为限,例如还可以是集装箱卡车1的中心点。在一些实施例中,对位坐标系以水平向后方向为X 2轴,以垂直向上方向为Z 2轴,以水平向右或向左方向为Y 2轴,但不以此为限,对位坐标系可以根据需要灵活标定。 In some embodiments, the alignment coordinate system of the alignment radar 3 is an X 2 -Y 2 -Z 2 coordinate system, and its origin O 2 is the center point of the alignment radar 3 , but it is not limited to this, for example, it can also be is the center point of the container truck 1 . In some embodiments, the alignment coordinate system takes the horizontal backward direction as the X 2 axis, the vertical upward direction as the Z 2 axis, and the horizontal right or left direction as the Y 2 axis, but not limited to this. The bit coordinate system can be flexibly calibrated as needed.
在一些实施例中,对应起重机4的目标区域根据行车雷达2采集到的三维信息获得。在一些实施例中,在行车雷达2的扫描范围内,其会采集到起重机4的三维信息以及周围环境的三维信息;从中确定对应起重机4的目标区域,投影至对位雷达3的对位坐标系中,以从对位雷达3采集的三维数据中精确筛选目标区域框定的三维数据,准确计算出起重机4的目标作业位置。In some embodiments, the target area corresponding to the crane 4 is obtained according to the three-dimensional information collected by the driving radar 2 . In some embodiments, within the scanning range of the driving radar 2 , the three-dimensional information of the crane 4 and the three-dimensional information of the surrounding environment are collected; the target area corresponding to the crane 4 is determined therefrom and projected to the alignment coordinates of the alignment radar 3 In the system, the three-dimensional data framed by the target area is accurately screened from the three-dimensional data collected by the alignment radar 3, and the target operating position of the crane 4 is accurately calculated.
在一些实施例中,确定目标区域采用已有的方法实现。例如,在一些实施例中,在行车雷达2为激光雷达的实施例中,可采用已有的3D目标检测方法,对行车雷达2采集的点三维云数据进行分析处理,获得包围检测到的起重机轮廓信息的最小包围框,形成起重机检测框BBox 1,作为对应起重机4的目标区域。3D目标检测方法是已有技术,因此不再展开说明。 In some embodiments, determining the target area is accomplished using existing methods. For example, in some embodiments, in the embodiment in which the driving radar 2 is a lidar, an existing 3D target detection method can be used to analyze and process the point 3D cloud data collected by the driving radar 2 to obtain a crane that surrounds the detected crane. The minimum bounding box of the contour information forms the crane detection frame BBox 1 as the target area corresponding to the crane 4 . The 3D object detection method is an existing technology, so it will not be described further.
在一些实施例中,在采用3D目标检测方法对行车雷达2采集的三维点云数据进行分析处理时,还获得起重机类别,具体包括龙门吊类和岸桥类。当然,起重机类别也可根据行车雷达2采集到的三维信息所匹配的某一类的起重机轮廓信息来确定。In some embodiments, when the 3D target detection method is used to analyze and process the three-dimensional point cloud data collected by the driving radar 2, a crane category is also obtained, which specifically includes a gantry crane category and a quay crane category. Of course, the crane category can also be determined according to the crane profile information of a certain category matched with the three-dimensional information collected by the driving radar 2 .
在一些实施例中,将目标区域投影至对位雷达的对位坐标系中,可以采用将目标区域的中心点从行车坐标系投影至对位坐标系,再根据目标区域的尺寸信息,计算出对位坐标系中目标区域的坐标信息;也可将目标区域的一些特征角点从行车坐标系投影至对位坐标系,进而计算出对位坐标系中目标区域中的坐标信息。In some embodiments, to project the target area into the alignment coordinate system of the alignment radar, the center point of the target area can be projected from the driving coordinate system to the alignment coordinate system, and then calculated according to the size information of the target area. The coordinate information of the target area in the alignment coordinate system; some characteristic corners of the target area can also be projected from the driving coordinate system to the alignment coordinate system, and then the coordinate information in the target area in the alignment coordinate system can be calculated.
在一些实施例中,以起重机检测框BBox 1为例,投影过程具体包括:通过行车雷达2和对位雷达3共同检测定位标识点,获得行车坐标系与对位坐标系之间的转换矩阵,例如获得由行车坐标系转换至对位坐标系的转换矩阵M 1-to-2。转换矩阵M 1-to-2的具体计算方式采用已有的技术实现,因此不再展开说明。获得行车坐标系中起重机检测框BBox 1的中心点坐标C 1,和起重机检测框BBox 1的尺寸信息,具体可包括长宽高信息。根据转换矩阵M 1-to-2,将起重机检测框BBox 1的中心点坐标C 1转换为基于对位坐标系的中心点坐标C 2,C 2=C 1×M 1-to-2。最后,根据中心点坐标C 2和尺寸信息,获得对位坐标系中的起重机检测框BBox 2In some embodiments, taking the crane detection frame BBox 1 as an example, the projection process specifically includes: jointly detecting the positioning identification points through the driving radar 2 and the alignment radar 3, and obtaining a transformation matrix between the driving coordinate system and the alignment coordinate system, For example, a conversion matrix M 1-to-2 for converting from the driving coordinate system to the alignment coordinate system is obtained. The specific calculation method of the transformation matrix M 1-to-2 is realized by using the existing technology, so it will not be described further. Obtain the coordinates C 1 of the center point of the crane detection frame BBox 1 in the traveling coordinate system, and the size information of the crane detection frame BBox 1 , which may specifically include length, width, and height information. According to the transformation matrix M 1-to-2 , the center point coordinate C 1 of the crane detection frame BBox 1 is converted into the center point coordinate C 2 based on the alignment coordinate system, C 2 =C 1 ×M 1-to-2 . Finally, according to the center point coordinate C 2 and the size information, the crane detection frame BBox 2 in the alignment coordinate system is obtained.
步骤S130,根据对位雷达扫描的位于目标区域内的三维数据,获得起重机的目标作业位置。本步骤中, 具体根据起重机类别和对位雷达采集的三维数据,计算目标作业位置,将在下文中结合龙门吊类起重机和岸桥类起重机具体展开。In step S130, the target operating position of the crane is obtained according to the three-dimensional data in the target area scanned by the alignment radar. In this step, the target operation position is calculated according to the crane category and the three-dimensional data collected by the alignment radar, which will be specifically carried out in combination with the gantry crane and the quay crane in the following.
步骤S140,通过行车雷达和对位雷达配合引导集装箱卡车行驶,令集装箱卡车的预设吊装位置与目标作业位置重合。In step S140, the container truck is guided to travel through the cooperation of the driving radar and the alignment radar, so that the preset hoisting position of the container truck coincides with the target operation position.
在一些实施例中,结合图4示出的精细对位阶段,获得对位坐标系中的目标作业位置后,进一步将目标作业位置投影至行车坐标系中,然后根据行车坐标系中预设吊装位置相对于目标作业位置的位置偏差,引导集装箱卡车1行驶,使集装箱卡车1的预设吊装位置11与起重机4的目标作业位置41的垂直投影重合。从而,消除水平方向,包括行车坐标系的X 1轴方向和Y 1轴方向的位置偏差,使预设吊装位置11到达目标作业位置41的正下方,以便起重机4放下吊具时准确进行抓放箱操作。 In some embodiments, in conjunction with the fine alignment stage shown in FIG. 4 , after obtaining the target operating position in the alignment coordinate system, the target operating position is further projected into the driving coordinate system, and then hoisting is performed according to the preset in the driving coordinate system. The position deviation relative to the target operation position guides the container truck 1 to travel, so that the preset hoisting position 11 of the container truck 1 coincides with the vertical projection of the target operation position 41 of the crane 4 . Therefore, the positional deviation in the horizontal direction, including the X 1 -axis direction and the Y 1 -axis direction of the driving coordinate system is eliminated, so that the preset hoisting position 11 is directly below the target working position 41, so that the crane 4 can accurately pick and place when putting down the spreader. box operation.
在一些实施例中,在触发对位雷达3时,可以控制集装箱卡车1驻停;计算出位置偏差后,再引导集装箱卡车1行驶;从而,通过一次联合扫描和位置计算,即可高效实现集装箱卡车1与起重机4之间的精细对位。In some embodiments, when the alignment radar 3 is triggered, the container truck 1 can be controlled to park; after the position deviation is calculated, the container truck 1 can be guided to travel; thus, the container truck 1 can be efficiently realized through a joint scan and position calculation Fine alignment between truck 1 and crane 4.
上述实施例的对位方法,通过行车雷达的扫描,确定采集到的三维信息与预设的起重机轮廓信息匹配,表明集装箱卡车已行驶至起重机的附近,可以进行精细对位;通过触发对位雷达,采集起重机的精细三维数据;根据行车雷达采集的三维信息确定对应起重机的目标区域,并根据对位雷达采集的位于目标区域内的精细三维数据,准确计算起重机的目标作业位置;进而调整集装箱卡车的位置,消除其预设吊装位置与目标作业位置之间的位置偏差;从而,通过行车雷达和对位雷达的配合联动,高效准确地实现集装箱卡车与起重机的精细对位,适用于各个类型港口起重机械。In the alignment method of the above embodiment, through the scanning of the driving radar, it is determined that the collected three-dimensional information matches the preset crane profile information, indicating that the container truck has traveled to the vicinity of the crane, and fine alignment can be performed; by triggering the alignment radar , collect the fine 3D data of the crane; determine the target area of the corresponding crane according to the 3D information collected by the driving radar, and accurately calculate the target operating position of the crane according to the fine 3D data collected by the alignment radar in the target area; and then adjust the container truck position, eliminate the position deviation between its preset hoisting position and the target operation position; thus, through the cooperation of the driving radar and the alignment radar, the precise alignment of the container truck and the crane can be efficiently and accurately realized, which is suitable for various types of ports. Hoisting Machinery.
下面结合具体示例详细说明起重机的目标作业位置的计算过程。The calculation process of the target working position of the crane will be described in detail below with reference to a specific example.
本示例中,通过集装箱卡车的行车雷达扫描三维信息前,将目标作业位置预调至垂直投影位于起重机的引导车道上;通过集装箱卡车的行车雷达扫描三维信息时,令集装箱卡车沿引导车道行驶,使预设吊装位置的垂直投影位于引导车道上;通过行车雷达和对位雷达配合引导集装箱卡车行驶时,根据预设吊装位置与目标作业位置沿引导车道的位置偏差,向集装箱卡车发出沿引导车道的位置调整指令。In this example, before scanning the three-dimensional information through the driving radar of the container truck, the target operation position is preset to the vertical projection on the guide lane of the crane; when scanning the three-dimensional information through the driving radar of the container truck, the container truck is driven along the guide lane, The vertical projection of the preset hoisting position is located on the guide lane; when the container truck is guided through the combination of the driving radar and the alignment radar, according to the positional deviation between the preset hoisting position and the target operation position along the guide lane, the container truck is sent along the guide lane to send a message to the container truck along the guide lane. position adjustment command.
也即,本示例中,在对位前及对位前行车阶段,事先消除了集装箱卡车与起重机之间在左右方向上的位置偏差,因左右方向上的位置偏差通过起重机的引导车道即可准确消除,无需经过数据计算;从而,在精细对位阶段,只需关注集装箱卡车与起重机之间在前后方向上,即沿引导车道的位置偏差即可。That is, in this example, the positional deviation between the container truck and the crane in the left-right direction is eliminated in advance before the alignment and the driving stage before the alignment. To eliminate, no need to go through data calculation; therefore, in the fine alignment stage, only need to pay attention to the positional deviation between the container truck and the crane in the front-rear direction, that is, along the guide lane.
需要特别说明的是,起重机的引导车道可以有多条,在本示例中,可以根据港口作业需求确定一个引导车道,调整起重机使其目标作业位置的垂直投影落在引导车道上。甚至,引导车道可以是虚拟的,虚拟的引导车道可以通过将起重机的目标作业位置垂直投影至地面,经投影点垂直于起重机的承载梁方向延伸来确定,并将确定好的引导车道的位置信息标定至行车坐标系即可。It should be noted that there can be multiple guide lanes for the crane. In this example, one guide lane can be determined according to the port operation requirements, and the vertical projection of the crane's target operation position can be adjusted to fall on the guide lane. Even, the guide lane can be virtual, and the virtual guide lane can be determined by projecting the target working position of the crane to the ground vertically, and extending the projection point perpendicular to the direction of the load beam of the crane, and the location information of the determined guide lane can be determined. It can be calibrated to the driving coordinate system.
但是,本示例的说明不能视为对本公开的限制。在其他示例中,可以根据本示例计算前后方向上的位置偏差的方法,计算左右方向上的位置偏差,并利用两组位置偏差调整集装箱卡车的位置。However, the description of this example should not be considered as a limitation of the present disclosure. In other examples, according to the method of calculating the positional deviation in the front-rear direction, the positional deviation in the left-right direction can be calculated, and the position of the container truck can be adjusted by using the two sets of positional deviations.
图5示出一个示例对位场景。此时,集装箱卡车1已沿起重机4的引导车道40行驶至其行车雷达2采集到预设的三维信息,集装箱卡车1的预设吊装位置11的垂直投影位于引导车道40上。并且,起重机4的目标作业位置41已预调至垂直投影位于引导车道40上。起重机4的目标作业位置41具体位于起重机4的承载梁400上。此时,行车雷达2的行车坐标系的X 1轴和对位雷达3的对位坐标系的X 2轴均与引导车道40平行。在计算对位坐标系中目标作业位置41时,只需计算目标作业位置41的X 2轴坐标,转换至行车坐标系获得目标作业位置41的X 1轴坐标,并将预设吊装位置11的X 1轴坐标与目标作业位置41的X 1轴坐标相减,即可快速准确地计算出集装箱卡车1与起重机4之间的位置偏差,再通过位置调整指令,引导集装箱卡车1沿引导车道40前进或后退即可。 Figure 5 shows an example alignment scenario. At this time, the container truck 1 has traveled along the guide lane 40 of the crane 4 until its driving radar 2 collects preset three-dimensional information, and the vertical projection of the preset hoisting position 11 of the container truck 1 is located on the guide lane 40 . In addition, the target working position 41 of the crane 4 has been preset so that the vertical projection is located on the guide lane 40 . The target working position 41 of the crane 4 is specifically located on the bearing beam 400 of the crane 4 . At this time, the X 1 axis of the driving coordinate system of the driving radar 2 and the X 2 axis of the positioning coordinate system of the positioning radar 3 are both parallel to the guidance lane 40 . When calculating the target working position 41 in the alignment coordinate system, it is only necessary to calculate the X 2 -axis coordinate of the target working position 41, convert it to the driving coordinate system to obtain the X 1 -axis coordinate of the target working position 41, and convert the preset hoisting position 11 to the X 1-axis coordinate. The X1 - axis coordinate is subtracted from the X1 - axis coordinate of the target operation position 41, and the positional deviation between the container truck 1 and the crane 4 can be quickly and accurately calculated, and then the container truck 1 is guided along the guide lane 40 through the position adjustment command. You can go forward or backward.
当起重机类别为龙门吊类别,获得目标作业位置的过程具体包括:将对位雷达采集的位于目标区域内的 三维数据投影至对位坐标系的X-Z坐标平面,获得二维数据图;对二维数据图进行直线检测,获得线段集合;基于X-Z坐标平面,计算线段集合中每条线段的斜率,筛选出斜率位于目标斜率范围内的目标线段;根据所有目标线段的顶点的X轴坐标,获得一中间X轴坐标,作为目标作业位置的X轴坐标。When the crane category is the gantry crane category, the process of obtaining the target operation position specifically includes: projecting the three-dimensional data collected by the alignment radar and located in the target area to the X-Z coordinate plane of the alignment coordinate system to obtain a two-dimensional data map; Line detection is performed on the graph to obtain a line segment set; based on the X-Z coordinate plane, the slope of each line segment in the line segment set is calculated, and the target line segment whose slope is within the range of the target slope is filtered out; according to the X-axis coordinates of the vertices of all target line segments, a middle The X-axis coordinate is used as the X-axis coordinate of the target work position.
以对位雷达为激光雷达,采集到三维点云数据为例。将起重机检测框BBox 2内的三维点云数据投影至对位坐标系的X-Z坐标平面(下文称为X 2-Z 2坐标平面)时,可以去除与引导车道无关的冗余维度,获得二维点云图,减少数据量,便于快速准确计算目标作业位置的X 2轴坐标。 Take the alignment radar as the lidar and collect the 3D point cloud data as an example. When projecting the three-dimensional point cloud data in the crane detection frame BBox 2 to the XZ coordinate plane of the alignment coordinate system (hereinafter referred to as the X 2 -Z 2 coordinate plane), redundant dimensions unrelated to the guidance lane can be removed to obtain a two-dimensional The point cloud map reduces the amount of data and facilitates the quick and accurate calculation of the X 2 -axis coordinates of the target operating position.
对二维点云图进行直线检测,获得线段集合的过程具体包括:将二维点云图划分为均匀网格,例如以0.05m为间隔将二维点云图均匀划分为矩形网格;根据每个网格中是否包含点云,对每个网格进行赋值,若一网格中存在点云则置1,若无点云则置0,最终获得二维的特征图;对特征图进行霍夫直线变换,获得特征图中所有直线线段组成的线段集合。霍夫直线变换是已有的技术,因此不再展开说明。The process of performing straight line detection on the two-dimensional point cloud image to obtain a set of line segments specifically includes: dividing the two-dimensional point cloud image into uniform grids, for example, dividing the two-dimensional point cloud image into rectangular grids at intervals of 0.05m; Whether the grid contains point cloud, assign value to each grid, set 1 if there is a point cloud in a grid, set 0 if there is no point cloud, and finally obtain a two-dimensional feature map; perform Hough line on the feature map Transform to obtain the line segment set composed of all straight line segments in the feature map. The Hough line transform is an existing technique, so it will not be described further.
计算斜率时,具体根据线段的两顶点的X 2轴坐标和Z 2轴坐标进行计算。设一线段的两顶点坐标为(X 2-0,Z 2-0)和(X 2-1,Z 2-1),则其斜率为K=(Z 2-1-Z 2-0)/(X 2-1-X 2-0)。筛选线段时,若一线段的斜率K<threshold或K>-threshold,threshold为阈值,则将该线段从线段集合中移除。也即,保留下斜率在threshold~-threshold的目标斜率范围内的目标线段。Threshold可根据需要设定,以筛选出尽量竖直的目标线段。 When calculating the slope, the calculation is performed according to the X 2 -axis coordinates and the Z 2 -axis coordinates of the two vertices of the line segment. Suppose the coordinates of the two vertices of a line segment are (X 2-0 , Z 2-0 ) and (X 2-1 , Z 2-1 ), then its slope is K=(Z 2-1 -Z 2-0 )/ (X 2-1 -X 2-0 ). When filtering line segments, if the slope of the line segment is K<threshold or K>-threshold, and the threshold is the threshold, the line segment is removed from the line segment set. That is, the target line segment whose lower slope is within the target slope range of threshold˜−threshold is reserved. Threshold can be set as needed to filter out target line segments that are as vertical as possible.
计算中间X 2轴坐标时,为提高准确性,采用以下方式:自所有目标线段的顶点的X 2轴坐标中,获得一最大坐标X 2-max和一最小坐标X 2-min;计算中点坐标X 2-mid,X 2-mid=(X 2-max+X 2-min)/2;基于中点坐标X 2-mid,将所有目标线段的顶点分类为X 2轴坐标小于中点坐标X 2-mid的第一集合和X 2轴坐标大于中点坐标X 2-mid的第二集合;获得第一集合中各顶点的X 2轴坐标的中位数坐标X 2-mid-front,及第二集合中各顶点的X 2轴坐标的中位数坐标X 2-mid-back;计算获得中间X 2轴坐标X 2-middle,X 2-middle=(X 2-mid-front+X 2-mid-back)/2。 When calculating the intermediate X 2 -axis coordinates, in order to improve the accuracy, the following methods are adopted: from the X 2 -axis coordinates of the vertices of all target line segments, obtain a maximum coordinate X 2-max and a minimum coordinate X 2-min ; calculate the midpoint Coordinates X 2-mid , X 2-mid =(X 2-max +X 2-min )/2; based on the midpoint coordinate X 2-mid , classify the vertices of all target line segments as the X 2 -axis coordinate is less than the mid-point coordinate The first set of X 2- mid and the second set of X 2 -axis coordinates are greater than the midpoint coordinates X 2-mid ; obtain the median coordinate X 2-mid-front of the X 2 -axis coordinates of each vertex in the first set, And the median coordinate X 2-mid-back of the X 2 -axis coordinates of each vertex in the second set; the middle X 2 -axis coordinate X 2-middle is obtained by calculation, X 2-middle =(X 2-mid-front +X 2-mid-back )/2.
当起重机类别为岸桥类别,获得目标作业位置的过程具体包括:将对位雷达采集的位于目标区域内的三维数据投影至对位坐标系的X-Z坐标平面,获得二维数据图;对二维数据图进行直线检测,获得线段集合;对三维数据进行特征点检测,获得特征点集合;基于X-Z坐标平面,计算特征点集合中每个特征点与线段集合中每条线段的两顶点的斜率差,筛选出至少与一条线段的斜率差位于目标斜率差范围内的目标特征点;根据所有目标特征点的X轴坐标,获得一中间X轴坐标,作为目标作业位置的X轴坐标。When the crane category is the quay crane category, the process of obtaining the target operation position specifically includes: projecting the three-dimensional data collected by the alignment radar and located in the target area to the X-Z coordinate plane of the alignment coordinate system to obtain a two-dimensional data map; Perform straight line detection on the data graph to obtain a line segment set; perform feature point detection on the three-dimensional data to obtain a feature point set; based on the X-Z coordinate plane, calculate the slope difference between each feature point in the feature point set and the two vertices of each line segment in the line segment set , screen out the target feature points whose slope difference with at least one line segment is within the range of the target slope difference; according to the X-axis coordinates of all target feature points, obtain an intermediate X-axis coordinate as the X-axis coordinate of the target operation position.
同样以对位雷达为激光雷达,采集到三维点云数据为例。三维点云数据的投影和线段集合的获取方式可参照上述说明。Also take the alignment radar as the lidar and collect the three-dimensional point cloud data as an example. For the projection of the 3D point cloud data and the acquisition method of the line segment set, refer to the above description.
特征点检测可通过对三维点云数据进行Harris算子计算实现。Harris算子是一种角点检测算子,可以对起重机检测框BBox 2内的三维点云数据进行点特征提取。Harris算子是已有的技术,因此不再展开说明。 Feature point detection can be realized by Harris operator calculation on 3D point cloud data. The Harris operator is a corner detection operator, which can extract point features from the 3D point cloud data in the crane detection frame BBox 2 . The Harris operator is an existing technology, so it will not be explained further.
计算每个特征点与每条线段的两顶点的斜率差时,设一特征点P的坐标为(P X2,P Z2),一线段的两顶点的坐标为(X 2-2,Z 2-2)和(X 2-3,Z 2-3),则斜率差V为:V=|(P Z2-Z 2-2)/(P X2-X 2-2)|-|(P Z2-Z 2-3)/(P X2-X 2-3)|。筛选特征点时,目标斜率差范围为小于一设定值,若一特征点与一条或多条线段的斜率差V满足V<ε,则保留该特征点作为目标特征点。ε可根据需要设定,以筛选出尽量位于各条线段的同一端的目标特征点。 When calculating the slope difference between each feature point and the two vertices of each line segment, set the coordinates of a feature point P to be (P X2 , P Z2 ), and the coordinates of the two vertices of a line segment to be (X 2-2 , Z 2- 2 ) and (X 2-3 , Z 2-3 ), the slope difference V is: V=|(P Z2 -Z 2-2 )/(P X2 -X 2-2 )|-|(P Z2 - Z 2-3 )/(P X2 -X 2-3 )|. When screening feature points, the target slope difference range is less than a set value. If the slope difference V between a feature point and one or more line segments satisfies V<ε, the feature point is retained as the target feature point. ε can be set as required to filter out the target feature points that are located at the same end of each line segment as much as possible.
进一步地,计算中间X 2轴坐标时,为提高准确性,采用以下方式:以起重机检测框BBox 2的中心点为目标点,将所有目标特征点分类为X 2轴坐标小于目标点的X 2轴坐标的前侧集合和X 2轴坐标大于目标点的X 2轴坐标的后侧集合;沿X 2轴,获得前侧集合中距离目标点最近的一前侧特征点的X 2轴坐标X 2-front,及后侧集合中距离目标点最近的一后侧特征点的X 2轴坐标X 2-back;计算中间X 2轴坐标X 2-middle,X 2-middle=(X 2-front+X 2-back)/2。 Further, when calculating the intermediate X 2 -axis coordinates, in order to improve the accuracy, the following method is adopted: take the center point of the crane detection frame BBox 2 as the target point, and classify all the target feature points as the X 2 -axis coordinates of which are smaller than the X 2 of the target point. The front side set of axis coordinates and the rear side set of X 2 axis coordinates are greater than the X 2 axis coordinates of the target point; along the X 2 axis, obtain the X 2 axis coordinate X of the front side feature point closest to the target point in the front side set 2-front , and the X 2 -axis coordinate X 2-back of a rear feature point closest to the target point in the back set; calculate the intermediate X 2 -axis coordinate X 2-middle , X 2-middle = (X 2-front +X 2-back )/2.
后续,将目标作业位置的X 2轴坐标投影至行车坐标系时,可采用转换矩阵M 1-to-2。由于集装箱卡车的预设吊装位置和起重机的目标作业位置的垂直投影均在引导车道上,因此二者之间的位置偏差仅需考虑与引导车道平行,实际是与引导车道位于同一垂直平面的坐标轴,即X 1轴和X 2轴上的坐标信息。在准确获得目标作业位置的X 2轴坐标的基础上,可以对目标作业位置的Y 2轴坐标和Z 2轴坐标进行任意合适值的填补,获得目标作业位置在对位坐标系中的Pos 2。然后根据Pos 1=Inv(M 1-to-2)×Pos 2,即可获得目标作业位置投影至行车 坐标系的坐标Pos 1,从而可获得目标作业位置的X 1轴坐标。 Subsequently, when projecting the X 2 -axis coordinate of the target operation position to the driving coordinate system, a transformation matrix M 1-to-2 may be used. Since the vertical projection of the preset hoisting position of the container truck and the target operation position of the crane are both on the guide lane, the position deviation between the two only needs to be considered parallel to the guide lane, but is actually the coordinates on the same vertical plane as the guide lane. axis, that is, the coordinate information on the X 1 axis and the X 2 axis. On the basis of accurately obtaining the X 2 -axis coordinates of the target operating position, the Y 2 -axis coordinates and Z 2 -axis coordinates of the target operating position can be filled with any suitable value to obtain the Pos 2 coordinates of the target operating position in the alignment coordinate system. . Then, according to Pos 1 =Inv(M 1-to-2 )×Pos 2 , the coordinate Pos 1 of the target working position projected to the driving coordinate system can be obtained, so as to obtain the X 1 axis coordinate of the target working position.
进一步地,将预设吊装位置的X 1轴坐标与目标作业位置的X 1轴坐标相减,获得位置偏差;再根据位置偏差,换算到实际偏差距离,向集装箱卡车发出包含实际偏差距离的位置调整指令,引导集装箱卡车沿引导车道前进或后退实际偏差距离,即可完成集装箱卡车与起重机的精细对位。 Further, the X1 - axis coordinate of the preset hoisting position is subtracted from the X1 - axis coordinate of the target operation position to obtain the position deviation; then, according to the position deviation, the actual deviation distance is converted, and the position containing the actual deviation distance is sent to the container truck. Adjust the command to guide the container truck to move forward or backward along the guide lane by the actual deviation distance, and then the precise alignment between the container truck and the crane can be completed.
本公开实施例还提供一种集装箱卡车与起重机的对位系统,可用于实现上述任意实施例描述的对位方法。图6示出对位系统的主要模块,参照图6所示,在一些实施例中,集装箱卡车与起重机的对位系统600包括:行车检测模块610,用于通过集装箱卡车的行车雷达扫描三维信息;对位触发模块620,用于当三维信息与预设的起重机轮廓信息匹配,启动集装箱卡车的对位雷达,并将根据三维信息获得的对应起重机的目标区域投影至对位雷达的对位坐标系中;对位检测模块630,用于根据对位雷达扫描的位于目标区域内的三维数据,获得起重机的目标作业位置;位置调整模块640,用于通过行车雷达和对位雷达配合引导集装箱卡车行驶,令集装箱卡车的预设吊装位置与目标作业位置重合。Embodiments of the present disclosure further provide an alignment system for a container truck and a crane, which can be used to implement the alignment method described in any of the foregoing embodiments. FIG. 6 shows the main modules of the alignment system. Referring to FIG. 6 , in some embodiments, the alignment system 600 of a container truck and a crane includes: a driving detection module 610 for scanning the three-dimensional information through the driving radar of the container truck The alignment trigger module 620 is used to start the alignment radar of the container truck when the three-dimensional information matches the preset crane profile information, and project the target area of the corresponding crane obtained according to the three-dimensional information to the alignment coordinates of the alignment radar In the system; the alignment detection module 630 is used to obtain the target operating position of the crane according to the three-dimensional data in the target area scanned by the alignment radar; the position adjustment module 640 is used to guide the container truck through the cooperation of the driving radar and the alignment radar Drive, so that the preset hoisting position of the container truck coincides with the target operating position.
进一步地,集装箱卡车与起重机的对位系统600还可包括实现上述各对位方法实施例的其他细化流程步骤的模块,各个模块的具体原理可参照上述各对位方法实施例的描述,此处不再重复说明。Further, the alignment system 600 for a container truck and a crane may further include modules for implementing other detailed process steps in the above-mentioned embodiments of the alignment methods. The description will not be repeated here.
如上所述,本公开的一些实施例中的集装箱卡车与起重机的对位系统,能够通过行车雷达和对位雷达的配合联动,高效准确地实现集装箱卡车与起重机的精细对位,适用于各个类型港口起重机械。As described above, the alignment system of the container truck and the crane in some embodiments of the present disclosure can efficiently and accurately realize the fine alignment of the container truck and the crane through the cooperation and linkage of the driving radar and the alignment radar, and is suitable for various types of Port cranes.
本公开实施例还提供一种电子设备,包括处理器和存储器,存储器中存储有可执行指令,可执行指令被处理器执行时,实现上述任意实施例描述的集装箱卡车与起重机的对位方法。Embodiments of the present disclosure further provide an electronic device including a processor and a memory, where executable instructions are stored in the memory, and when the executable instructions are executed by the processor, the method for aligning a container truck and a crane described in any of the foregoing embodiments is implemented.
如上所述,本公开的一些实施例中的电子设备能够通过行车雷达和对位雷达的配合联动,高效准确地实现集装箱卡车与起重机的精细对位,适用于各个类型港口起重机械。As described above, the electronic device in some embodiments of the present disclosure can efficiently and accurately realize the fine alignment of the container truck and the crane through the cooperation and linkage of the driving radar and the alignment radar, and is suitable for various types of port hoisting machinery.
图7是本公开实施例中电子设备的结构示意图,应当理解的是,图7仅仅是示意性地示出各个模块,这些模块可以是虚拟的软件模块或实际的硬件模块,这些模块的合并、拆分及其余模块的增加都在本公开的保护范围之内。FIG. 7 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure. It should be understood that FIG. 7 only schematically shows various modules, and these modules may be virtual software modules or actual hardware modules. Splitting and addition of other modules are within the scope of the present disclosure.
如图7所示,电子设备700以通用计算设备的形式表现。电子设备700的组件包括但不限于:至少一个处理单元710、至少一个存储单元720、连接不同平台组件(包括存储单元720和处理单元710)的总线730、显示单元740等。As shown in FIG. 7, electronic device 700 takes the form of a general-purpose computing device. Components of the electronic device 700 include, but are not limited to, at least one processing unit 710, at least one storage unit 720, a bus 730 connecting different platform components (including the storage unit 720 and the processing unit 710), a display unit 740, and the like.
其中,存储单元存储有程序代码,程序代码可以被处理单元710执行,使得处理单元710执行上述任意实施例描述的集装箱卡车与起重机的对位方法的步骤。例如,处理单元710可以执行如图1所示的步骤。The storage unit stores program codes, and the program codes can be executed by the processing unit 710, so that the processing unit 710 executes the steps of the method for aligning a container truck and a crane described in any of the foregoing embodiments. For example, the processing unit 710 may perform the steps shown in FIG. 1 .
存储单元720可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)7201和/或高速缓存存储单元7202,还可以进一步包括只读存储单元(ROM)7203。The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 7201 and/or a cache storage unit 7202 , and may further include a read only storage unit (ROM) 7203 .
存储单元720还可以包括具有一个或多个程序模块7205的程序/实用工具7204,这样的程序模块7205包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 720 may also include a program/utility 7204 having one or more program modules 7205 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, examples of which are Each or some combination of these may include an implementation of a network environment.
总线730可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The bus 730 may be representative of one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures bus.
电子设备700也可以与一个或多个外部设备800通信,外部设备800可以是键盘、指向设备、蓝牙设备等设备中的一种或多种。这些外部设备800使得用户能与该电子设备700进行交互通信。电子设备700也能与一个或多个其它计算设备进行通信,所示计算机设备包括路由器、调制解调器。这种通信可以通过输入/输出(I/O)接口750进行。并且,电子设备700还可以通过网络适配器760与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。网络适配器760可以通过总线730与电子设备700的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备700使用其它硬件和 /或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储平台等。The electronic device 700 may also communicate with one or more external devices 800, which may be one or more of a keyboard, a pointing device, a Bluetooth device, and the like. These external devices 800 enable the user to interact with the electronic device 700 . Electronic device 700 is also capable of communicating with one or more other computing devices, including routers, modems, as shown. Such communication may take place through input/output (I/O) interface 750 . Also, the electronic device 700 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 760 . Network adapter 760 may communicate with other modules of electronic device 700 through bus 730 . It should be appreciated that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage platform, etc.
本公开实施例还提供一种计算机可读的存储介质,用于存储程序,程序被执行时实现上述任意实施例描述的集装箱卡车与起重机的对位方法。在一些可能的实施方式中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在终端设备上运行时,程序代码用于使终端设备执行上述任意实施例描述的集装箱卡车与起重机的对位方法。Embodiments of the present disclosure further provide a computer-readable storage medium for storing a program, and when the program is executed, the method for aligning a container truck and a crane described in any of the foregoing embodiments is implemented. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code that, when the program product runs on a terminal device, is used to cause the terminal device to perform any of the above-mentioned implementations The method of alignment between container trucks and cranes is described in this example.
如上所述,本公开的一些实施例中的计算机可读的存储介质能够通过行车雷达和对位雷达的配合联动,高效准确地实现集装箱卡车与起重机的精细对位,适用于各个类型港口起重机械。As described above, the computer-readable storage medium in some embodiments of the present disclosure can efficiently and accurately realize the fine alignment between the container truck and the crane through the cooperation of the driving radar and the alignment radar, and is suitable for various types of port lifting. mechanical.
图8是本公开实施例的计算机可读存储介质的结构示意图。参考图8所示,描述了根据本公开的实施方式的用于实现上述方法的程序产品900,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本公开的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。FIG. 8 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present disclosure. Referring to FIG. 8 , a program product 900 for implementing the above method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read only memory (CD-ROM) and include program codes, and can be stored in a terminal device, For example running on a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子包括但不限于:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of readable storage media include, but are not limited to, electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable Read-only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
计算机可读的存储介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读存储介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。A computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code therein. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable storage medium can also be any readable medium other than a readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备,例如利用因特网服务提供商来通过因特网连接。Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. Where remote computing devices are involved, the remote computing devices may be connected to the user computing device over any kind of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computing device, such as using an Internet service provider business to connect via the Internet.
以上内容是结合具体的优选实施方式对本公开所作的进一步详细说明,不能认定本公开的具体实施只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本公开的保护范围。The above content is a further detailed description of the present disclosure in conjunction with specific preferred embodiments, and it cannot be considered that the specific implementation of the present disclosure is limited to these descriptions. For those of ordinary skill in the technical field to which the present disclosure pertains, without departing from the concept of the present disclosure, some simple deductions or substitutions can be made, which should be regarded as belonging to the protection scope of the present disclosure.

Claims (14)

  1. 一种集装箱卡车与起重机的对位方法,包括:A method for aligning a container truck and a crane, comprising:
    集装箱卡车的行车雷达扫描三维信息;The driving radar of container truck scans 3D information;
    匹配所述三维信息与起重机的轮廓信息,获得所述起重机的目标区域;Matching the three-dimensional information and the outline information of the crane to obtain the target area of the crane;
    启动所述集装箱卡车的对位雷达,并将获得的所述起重机的所述目标区域投影至所述对位雷达的对位坐标系中;Start the alignment radar of the container truck, and project the obtained target area of the crane into the alignment coordinate system of the alignment radar;
    根据所述对位雷达扫描的位于所述目标区域内的三维数据,获得所述起重机的目标作业位置;以及obtaining the target working position of the crane according to the three-dimensional data in the target area scanned by the alignment radar; and
    所述行车雷达和所述对位雷达引导所述集装箱卡车行驶至所述集装箱卡车的预设吊装位置与所述目标作业位置重合。The driving radar and the alignment radar guide the container truck to travel to a preset hoisting position of the container truck that coincides with the target operating position.
  2. 如权利要求1所述的对位方法,所述行车雷达设置于所述集装箱卡车的前方,所述对位雷达设置于所述集装箱卡车的顶部。The alignment method according to claim 1, wherein the driving radar is arranged in front of the container truck, and the alignment radar is arranged on the top of the container truck.
  3. 如权利要求1或2所述的对位方法,所述行车雷达和所述对位雷达引导所述集装箱卡车行驶,包括:The alignment method according to claim 1 or 2, wherein the driving radar and the alignment radar guide the container truck to travel, comprising:
    将所述目标作业位置投影至所述行车雷达的行车坐标系中;以及Projecting the target operating position into the driving coordinate system of the driving radar; and
    所述集装箱卡车根据所述行车坐标系中所述预设吊装位置相对于所述目标作业位置的位置偏差行驶。The container truck travels according to the positional deviation of the preset hoisting position relative to the target operating position in the traveling coordinate system.
  4. 如权利要求1至3任一项所述的对位方法,还包括:The alignment method according to any one of claims 1 to 3, further comprising:
    预存所述起重机的所述轮廓信息;Pre-store the profile information of the crane;
    在匹配所述三维信息与所述起重机的所述轮廓信息后,根据所述三维信息获得所述起重机的起重机类别;以及After matching the three-dimensional information with the outline information of the crane, obtaining a crane category of the crane according to the three-dimensional information; and
    在获得所述起重机的目标作业位置后,根据所述起重机类别和所述三维数据,获得所述目标作业位置。After the target working position of the crane is obtained, the target working position is obtained according to the crane category and the three-dimensional data.
  5. 如权利要求4所述的对位方法,还包括:The alignment method of claim 4, further comprising:
    集装箱卡车的行车雷达扫描三维信息前,将所述目标作业位置调整至垂直投影位于所述起重机的引导车道上;Before the driving radar of the container truck scans the three-dimensional information, adjust the target operation position to the vertical projection on the guide lane of the crane;
    集装箱卡车的行车雷达扫描三维信息时,所述集装箱卡车沿所述引导车道行驶,使所述预设吊装位置的垂直投影位于所述引导车道上;以及When the driving radar of the container truck scans the three-dimensional information, the container truck runs along the guide lane, so that the vertical projection of the preset hoisting position is located on the guide lane; and
    所述行车雷达和所述对位雷达配合引导所述集装箱卡车行驶时,根据所述预设吊装位置与所述目标作业位置沿所述引导车道的位置偏差,向所述集装箱卡车发出沿所述引导车道的位置调整指令。When the driving radar and the alignment radar cooperate to guide the container truck to drive, according to the positional deviation between the preset hoisting position and the target operation position along the guide lane, send a signal to the container truck along the guide lane. Guidance lane position adjustment command.
  6. 如权利要求5所述的对位方法,其中,所述起重机类别为龙门吊类别,且所述的获得所述目标作业位置,包括:The alignment method according to claim 5, wherein the crane category is a gantry crane category, and the obtaining the target operating position comprises:
    将所述三维数据投影至所述对位坐标系的X-Z坐标平面,获得二维数据图,其中X轴与所述引导车道平行;Projecting the three-dimensional data to the X-Z coordinate plane of the alignment coordinate system to obtain a two-dimensional data map, wherein the X axis is parallel to the guide lane;
    对所述二维数据图进行直线检测,获得线段集合;performing straight line detection on the two-dimensional data graph to obtain a line segment set;
    基于所述X-Z坐标平面,计算所述线段集合中多条线段的斜率,筛选出斜率位于目标斜率范围内的多个目标线段;以及Based on the X-Z coordinate plane, calculating the slopes of a plurality of line segments in the line segment set, and filtering out a plurality of target line segments whose slopes are within a target slope range; and
    根据所述多个目标线段的顶点的X轴坐标,获得一中间X轴坐标,作为所述目标作业位置的X轴坐标。According to the X-axis coordinates of the vertices of the multiple target line segments, an intermediate X-axis coordinate is obtained as the X-axis coordinate of the target working position.
  7. 如权利要求6所述的对位方法,其中所述的获得一中间X轴坐标,包括:The alignment method according to claim 6, wherein said obtaining an intermediate X-axis coordinate comprises:
    自所述多个目标线段的顶点的X轴坐标中,获得最大坐标X max和最小坐标X minObtain the maximum coordinate X max and the minimum coordinate X min from the X-axis coordinates of the vertices of the multiple target line segments;
    计算中点坐标X mid,其中X mid=(X max+X min)/2; Calculate the midpoint coordinate X mid , where X mid =(X max +X min )/2;
    基于所述中点坐标X mid,将所述目标线段的顶点分类为X轴坐标小于所述中点坐标X mid的第一集合和X轴坐标大于所述中点坐标X mid的第二集合; Based on the midpoint coordinate X mid , the vertices of the target line segment are classified into a first set whose X-axis coordinates are less than the mid-point coordinate X mid and a second set whose X-axis coordinates are greater than the mid-point coordinate X mid ;
    获得所述第一集合中各顶点的X轴坐标的中位数坐标X mid-front,及所述第二集合中各顶点的X轴坐标的中位数坐标X mid-back;以及 Obtain the median coordinate X mid-front of the X-axis coordinates of each vertex in the first set, and the median coordinate X mid-back of the X-axis coordinates of each vertex in the second set; and
    计算中间X轴坐标X middle,其中X middle=(X mid-front+X mid-back)/2。 Calculate the middle X-axis coordinate X middle , where X middle =(X mid-front +X mid-back )/2.
  8. 如权利要求5所述的对位方法,其中所述起重机类别为岸桥类别,且所述的获得所述目标作业位置,包括:The alignment method according to claim 5, wherein the crane category is a quay crane category, and obtaining the target operation position includes:
    将所述三维数据投影至所述对位坐标系的X-Z坐标平面,获得二维数据图,其中X轴与所述引导车道平行;Projecting the three-dimensional data to the X-Z coordinate plane of the alignment coordinate system to obtain a two-dimensional data map, wherein the X axis is parallel to the guide lane;
    对所述二维数据图进行直线检测,获得线段集合;performing straight line detection on the two-dimensional data graph to obtain a line segment set;
    对所述三维数据进行特征点检测,获得特征点集合;Performing feature point detection on the three-dimensional data to obtain a feature point set;
    基于所述X-Z坐标平面,计算所述特征点集合中多个特征点与所述线段集合中多条线段的两顶点的斜率差,筛选出至少与一条线段的斜率差位于目标斜率差范围内的多个目标特征点;以及Based on the X-Z coordinate plane, calculate the slope difference between the multiple feature points in the feature point set and the two vertices of the multiple line segments in the line segment set, and filter out at least one line segment whose slope difference is within the target slope difference range. multiple target feature points; and
    根据所述多个目标特征点的X轴坐标,获得一中间X轴坐标,作为所述目标作业位置的X轴坐标。According to the X-axis coordinates of the multiple target feature points, an intermediate X-axis coordinate is obtained as the X-axis coordinate of the target operation position.
  9. 如权利要求8所述的对位方法,其中所述的获得一中间X轴坐标,包括:The alignment method according to claim 8, wherein said obtaining an intermediate X-axis coordinate comprises:
    以所述起重机检测框的中心点为目标点,将所述多个目标特征点分类为X轴坐标小于所述目标点的X轴坐标的前侧集合和X轴坐标大于所述目标点的X轴坐标的后侧集合;Taking the center point of the crane detection frame as the target point, classifying the plurality of target feature points into a front side set whose X-axis coordinate is smaller than the X-axis coordinate of the target point and an X-axis coordinate whose X-axis coordinate is greater than the X-axis coordinate of the target point backside collection of axis coordinates;
    沿所述X轴,获得所述前侧集合中距离所述目标点最近的一前侧特征点的X轴坐标X front,及所述后侧集合中距离所述目标点最近的一后侧特征点的X轴坐标X back;以及 Along the X-axis, obtain the X-axis coordinate X front of a front-side feature point closest to the target point in the front-side set, and a rear-side feature closest to the target point in the back-side set the point's X-axis coordinate X back ; and
    计算中间X轴坐标X middle,其中X middle=(X front+X back)/2。 Calculate the middle X-axis coordinate X middle , where X middle =(X front +X back )/2.
  10. 一种集装箱卡车与起重机的对位系统,包括:An alignment system for a container truck and a crane, comprising:
    行车检测模块,用于通过集装箱卡车的行车雷达扫描三维信息;The driving detection module is used to scan the three-dimensional information through the driving radar of the container truck;
    对位触发模块,用于当所述三维信息与预设的起重机轮廓信息匹配,启动所述集装箱卡车的对位雷达,并将根据所述三维信息获得的对应起重机的目标区域投影至所述对位雷达的对位坐标系中;The alignment trigger module is used to start the alignment radar of the container truck when the three-dimensional information matches the preset crane profile information, and project the target area of the corresponding crane obtained according to the three-dimensional information to the alignment radar. in the alignment coordinate system of the radar;
    对位检测模块,用于根据所述对位雷达扫描的位于所述目标区域内的三维数据,获得所述起重机的目标作业位置;以及an alignment detection module, configured to obtain the target operating position of the crane according to the three-dimensional data in the target area scanned by the alignment radar; and
    位置调整模块,用于通过所述行车雷达和所述对位雷达配合引导所述集装箱卡车行驶,令所述集装箱卡车的预设吊装位置与所述目标作业位置重合。The position adjustment module is used to guide the container truck to travel through the cooperation of the driving radar and the alignment radar, so that the preset hoisting position of the container truck coincides with the target operation position.
  11. 一种电子设备,包括:An electronic device comprising:
    处理器;以及processor; and
    存储介质,其上存储有计算机指令,所述计算机指令被所述处理器执行时,执行如权利要求1-9任一项所述的集装箱卡车与起重机的对位方法。A storage medium having computer instructions stored thereon, and when the computer instructions are executed by the processor, the method for aligning a container truck and a crane according to any one of claims 1-9 is executed.
  12. 一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时执行如权利要求1-9任一项所述的集装箱卡车与起重机的对位方法。A computer-readable storage medium having computer instructions stored thereon, the computer instructions executing the method for aligning a container truck and a crane according to any one of claims 1-9 when the computer instructions are executed by a processor.
  13. 一种计算机程序产品,包括存储在计算机存储介质上的计算机指令,所述计算机指令被处理器执行时执行如权利要求1至9任一项所述的集装箱卡车与起重机的对位方法。A computer program product comprising computer instructions stored on a computer storage medium, the computer instructions executing the method for aligning a container truck and a crane according to any one of claims 1 to 9 when the computer instructions are executed by a processor.
  14. 一种计算机程序,用于使处理器执行如权利要求1至9任一项所述的集装箱卡车与起重机的对位方法。A computer program for causing a processor to execute the method for aligning a container truck and a crane according to any one of claims 1 to 9.
PCT/CN2021/132576 2021-01-27 2021-11-23 Method for aligning container truck and crane, and related device WO2022160896A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21922486.2A EP4279436A1 (en) 2021-01-27 2021-11-23 Method for aligning container truck and crane, and related device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110113759.0 2021-01-27
CN202110113759.0A CN112897345B (en) 2021-01-27 2021-01-27 Alignment method of container truck and crane and related equipment

Publications (1)

Publication Number Publication Date
WO2022160896A1 true WO2022160896A1 (en) 2022-08-04

Family

ID=76119178

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/132576 WO2022160896A1 (en) 2021-01-27 2021-11-23 Method for aligning container truck and crane, and related device

Country Status (3)

Country Link
EP (1) EP4279436A1 (en)
CN (1) CN112897345B (en)
WO (1) WO2022160896A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117725556A (en) * 2024-02-18 2024-03-19 天津市特种设备监督检验技术研究院(天津市特种设备事故应急调查处理中心) Mechanical fault detection and identification method and system for crane

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112897345B (en) * 2021-01-27 2023-06-23 上海西井信息科技有限公司 Alignment method of container truck and crane and related equipment
CN113415725B (en) * 2021-06-17 2023-08-22 三一海洋重工有限公司 Alignment method, alignment controller and lifting mechanism
CN113759906A (en) * 2021-08-30 2021-12-07 广州文远知行科技有限公司 Vehicle alignment method and device, computer equipment and storage medium
CN114001729B (en) * 2021-11-16 2024-04-26 苏州挚途科技有限公司 Positioning method and device and electronic equipment
KR102568200B1 (en) * 2022-11-29 2023-08-21 (주)토탈소프트뱅크 Apparatus for guiding work position of autonomous yard tractor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571172B1 (en) * 1999-04-15 2003-05-27 Noell Crane Systems Gmbh Method for determining the position of a vehicle in relation to a container crane
CN105303555A (en) * 2015-09-18 2016-02-03 浙江工业大学 Binocular vision-based method and system for locating and guiding trucks
CN110356976A (en) * 2019-08-01 2019-10-22 北京主线科技有限公司 The unmanned truck crane exactitude position system and method in harbour based on template matching
CN110874944A (en) * 2018-08-31 2020-03-10 北京图森未来科技有限公司 Parking control method, parking server, vehicle controller and vehicle
CN112099025A (en) * 2020-08-20 2020-12-18 杭州飞步科技有限公司 Method, device and equipment for positioning vehicle under bridge crane and storage medium
CN112897345A (en) * 2021-01-27 2021-06-04 上海西井信息科技有限公司 Method for aligning container truck and crane and related equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100537402C (en) * 2006-06-28 2009-09-09 上海振华港口机械(集团)股份有限公司 Container-truck positioning system and method for container crane
EP3699136A1 (en) * 2019-02-25 2020-08-26 ABB Schweiz AG Container crane comprising reference marker
CN110540137B (en) * 2019-09-25 2024-01-26 上海驭矩信息科技有限公司 Crane operation system based on multi-sensor fusion
CN111071931A (en) * 2019-12-18 2020-04-28 中国铁路上海局集团有限公司 Method for accurately loading container on truck-mounted vehicle
CN111268566B (en) * 2020-03-30 2021-10-29 北京国泰星云科技有限公司 Automatic container landing system and method on container truck lane based on laser
CN111704035B (en) * 2020-07-02 2022-06-14 上海驭矩信息科技有限公司 Automatic positioning device and method for container loading and unloading container truck based on machine vision
CN111891927B (en) * 2020-07-16 2022-06-14 上海振华重工(集团)股份有限公司 First floor container placement method and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6571172B1 (en) * 1999-04-15 2003-05-27 Noell Crane Systems Gmbh Method for determining the position of a vehicle in relation to a container crane
CN105303555A (en) * 2015-09-18 2016-02-03 浙江工业大学 Binocular vision-based method and system for locating and guiding trucks
CN110874944A (en) * 2018-08-31 2020-03-10 北京图森未来科技有限公司 Parking control method, parking server, vehicle controller and vehicle
CN110356976A (en) * 2019-08-01 2019-10-22 北京主线科技有限公司 The unmanned truck crane exactitude position system and method in harbour based on template matching
CN112099025A (en) * 2020-08-20 2020-12-18 杭州飞步科技有限公司 Method, device and equipment for positioning vehicle under bridge crane and storage medium
CN112897345A (en) * 2021-01-27 2021-06-04 上海西井信息科技有限公司 Method for aligning container truck and crane and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117725556A (en) * 2024-02-18 2024-03-19 天津市特种设备监督检验技术研究院(天津市特种设备事故应急调查处理中心) Mechanical fault detection and identification method and system for crane

Also Published As

Publication number Publication date
CN112897345B (en) 2023-06-23
CN112897345A (en) 2021-06-04
EP4279436A1 (en) 2023-11-22
EP4279436A9 (en) 2024-01-03

Similar Documents

Publication Publication Date Title
WO2022160896A1 (en) Method for aligning container truck and crane, and related device
CN113657224B (en) Method, device and equipment for determining object state in vehicle-road coordination
CN110286387B (en) Obstacle detection method and device applied to automatic driving system and storage medium
US11367217B2 (en) Image processing method and apparatus, and related device
EP4283515A1 (en) Detection method, system, and device based on fusion of image and point cloud information, and storage medium
EP3798974A1 (en) Method and apparatus for detecting ground point cloud points
US10628712B2 (en) Method and apparatus for processing high-precision map data, storage medium and device
CN110136273B (en) Sample data labeling method and device used in machine learning
WO2019037129A1 (en) Methods and systems for detecting environmental information of a vehicle
EP4160346A1 (en) Method and device for identifying vehicle lane changing tendency
EP3905124A2 (en) Three-dimensional object detecting method, apparatus, device, and storage medium
WO2023138163A1 (en) Indoor mobile robot glass detection and map updating method based on depth image restoration
EP4120206A1 (en) Information processing method and apparatus, electronic device, storage medium, and product
CN115139303A (en) Grid well lid detection method, device, equipment and storage medium
WO2024045558A1 (en) Autonomous vehicle control method and apparatus based on blind zone identification
WO2020135325A1 (en) Mobile device positioning method, device and system, and mobile device
US20230095552A1 (en) Map construction method, robot and medium
WO2023155580A1 (en) Object recognition method and apparatus
CN113935946B (en) Method and device for detecting underground obstacle in real time
CN114972945A (en) Multi-machine-position information fusion vehicle identification method, system, equipment and storage medium
CN114565906A (en) Obstacle detection method, obstacle detection device, electronic device, and storage medium
CN110764517B (en) System and method for avoiding obstacles by using mobile robot to drag skip car
CN111950420A (en) Obstacle avoidance method, device, equipment and storage medium
US20230419601A1 (en) Method for adjusting target object, electronic device, and storage medium
EP4083336B1 (en) Method and apparatus for detecting operating terrain, and engineering equipment for detecting operating terrain

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21922486

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2021922486

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2021922486

Country of ref document: EP

Effective date: 20230818