CN113625299A - Three-dimensional laser radar-based method and device for detecting height and unbalance loading of loading material - Google Patents

Three-dimensional laser radar-based method and device for detecting height and unbalance loading of loading material Download PDF

Info

Publication number
CN113625299A
CN113625299A CN202110842194.XA CN202110842194A CN113625299A CN 113625299 A CN113625299 A CN 113625299A CN 202110842194 A CN202110842194 A CN 202110842194A CN 113625299 A CN113625299 A CN 113625299A
Authority
CN
China
Prior art keywords
carriage
point
baffle
height
ground
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110842194.XA
Other languages
Chinese (zh)
Other versions
CN113625299B (en
Inventor
李静
白龙凌
王军政
汪首坤
赵江波
马立玲
沈伟
李金仓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN202110842194.XA priority Critical patent/CN113625299B/en
Publication of CN113625299A publication Critical patent/CN113625299A/en
Application granted granted Critical
Publication of CN113625299B publication Critical patent/CN113625299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/06Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness for measuring thickness ; e.g. of sheet material
    • G01B11/0608Height gauges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Electromagnetism (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

The invention discloses a method and a device for detecting the height and the unbalance loading of a loading material based on a three-dimensional laser radar, which can solve the problem of detecting the real-time height and the unbalance loading of the loading material. Scanning a material filling area by using a three-dimensional laser radar, screening out point clouds conforming to the height of the carriage baffle from the three-dimensional laser point clouds, and obtaining a y-axis coordinate range corresponding to the position of the carriage baffle; screening out material point clouds according to the limit of the height of the carriage baffle and the y-axis coordinate range; screening out point clouds of a first laser beam, a second laser beam and a last laser beam from the material point clouds; determining whether the vehicle runs to the terminal of the current carriage or not according to whether the point cloud height of the last laser beam meets the morphological characteristics of the carriage baffle or not; determining whether the vehicle drives to the starting point of the next carriage or not according to whether the point cloud heights of the first laser beam and the second laser beam respectively meet the carriage baffle morphological characteristics and the material filling morphological characteristics; and finally, calculating the height and the unbalance loading of the material according to the point cloud of the material in the carriage range.

Description

Three-dimensional laser radar-based method and device for detecting height and unbalance loading of loading material
Technical Field
The invention relates to the field of detection, in particular to a method and a device for detecting the height and the unbalance loading of a loading material based on a three-dimensional laser radar.
Background
On a material loading line of a freight train, uniform distribution of materials in a carriage needs to be ensured as much as possible, and full automation of material loading is realized, so that loading control needs to be performed according to the material height and the real-time condition of unbalance loading. The currently adopted method is manual observation and estimation, and the filling of the materials is manually controlled according to the observation result. The method can cause large errors of observed real-time conditions of the materials and insufficient precision of control, and cause uneven distribution of the filled materials in the carriage. When materials are filled, a freight train stably runs on a rail, and the traditional weight measuring method and the wheel weight measuring method according to the stress change of the rail are difficult to accurately obtain the real-time data of the materials in a filling area. The illumination of a filling site is insufficient, the material and a carriage do not have distinct color difference, the detection is difficult to be carried out by adopting an image method, and the data error is extremely large based on the image method, so that accurate data cannot be obtained. The laser radar can detect the surface condition of the material by emitting a laser beam, has higher precision, but dust can be excited on the filling site, so that the radar detects partial error data, and because the data volume which can be obtained by the two-dimensional laser radar is small, if the error data is screened, the residual data volume can not truly reflect the actual condition of the material, and the accuracy of the result is seriously influenced. From the actual situation of the filling line, a suitable detection method is selected. In consideration of the factors, the three-dimensional laser radar is selected for detecting the height and the unbalance loading of the material, so that the advantages of the laser radar measuring method can be kept, and the influence of data errors on results can be reduced. This loading material height detection device simple structure, full automatic operation can judge the height of material fast accurately, as automatic material loading system's input data, realizes the full automatization that the material loaded, improves the precision of control, and convenient and practical uses manpower sparingly.
Disclosure of Invention
In view of the above, the invention provides a method and a device for automatically detecting the height and the unbalance loading of a loading material based on a three-dimensional laser radar, which can solve the problem of detecting the real-time height and the unbalance loading of the loading material.
In order to solve the above-mentioned technical problems, the present invention has been accomplished as described above.
A three-dimensional laser radar-based method for detecting height and unbalance loading of a loading material comprises the following steps:
firstly, fixedly and obliquely installing a three-dimensional laser radar, wherein the three-dimensional laser radar irradiates a material filling area;
step two, self-calibration of the installation attitude angle of the three-dimensional laser radar: calibrating a yaw angle and a pitch angle by taking the horizontal ground as a reference, and calibrating a roll angle by taking baffles on the left side and the right side of the carriage as a reference to obtain a conversion relation between a laser radar coordinate system and a reference coordinate system x, y and z; wherein, the yz plane of the reference coordinate system is parallel to the ground, and the x positive direction is vertical to the ground and faces downwards;
step three, extracting material point cloud: scanning the three-dimensional laser radar to obtain coordinates (x, y, z) of the three-dimensional laser radar point cloud under a reference coordinate system; screening carriage baffle point clouds according with the height of a carriage baffle from the three-dimensional laser point clouds to obtain a y-axis coordinate range corresponding to the position of the carriage baffle; screening out material point clouds according to the limit of the height of the carriage baffle and the y-axis coordinate range corresponding to the position of the carriage baffle;
step four, determining the position of the carriage: screening out point clouds of a first laser beam, a second laser beam and a last laser beam from the material point clouds; the first laser beam is the beam with the largest three-dimensional laser radar pitch angle, and the last laser beam is the beam with the smallest three-dimensional laser radar pitch angle; determining whether the vehicle runs to the terminal point of the current carriage or not according to whether the point cloud height of the last laser beam, namely the x coordinate, meets the morphological characteristics of the carriage baffle or not; determining whether the vehicle drives to the starting point of the next carriage or not according to whether the point cloud heights of the first laser beam and the second laser beam respectively meet the carriage baffle morphological characteristics and the material filling morphological characteristics;
and step five, calculating the height and the unbalance loading of the material according to the point cloud of the material in the carriage range.
Preferably, the second step specifically includes:
coordinate system x of three-dimensional laser radarLyLzLIs a right-hand coordinate system; establishing a new right-hand coordinate system which is recorded as a reference coordinate system by taking the ground as a yz plane, the positive direction of an x axis is vertical to the ground downwards, and the running direction of the vehicle is the positive direction of a z axis; the transformation from the lidar coordinate system to the reference coordinate system is performed in the following order:
first winding laser radar coordinate system yLAxial through rotation matrix RyTransforming to obtain an intermediate system a, and rewinding z of the intermediate system a1Axial through rotation matrix RzTransforming to obtain an intermediate system b, and then winding x of the intermediate system b2Axial through rotation matrix RxTransforming to obtain intermediate system c, and translating to transform matrix TxObtaining a reference coordinate system;
(1) calibration of yaw angle and pitch angle by taking horizontal ground as reference
Scanning the ground by a three-dimensional laser radar, collecting ground point clouds, determining ground points by adopting a plane fitting method to the ground point clouds to obtain a ground plane equation Ax under a laser radar coordinate systemL+ByL+CzL+D=0,A>0, wherein A, B, C, D are parameters of the ground plane equation, respectively; the height of the three-dimensional laser radar coordinate system from the origin to the ground is obtained through calculation
Figure BDA0003179366930000031
Then the corresponding rotation matrix Rz、RyAnd a translation transformation matrix TxComprises the following steps:
Figure BDA0003179366930000032
Figure BDA0003179366930000033
Figure BDA0003179366930000034
wherein the yaw angle
Figure BDA0003179366930000035
Pitching angle
Figure BDA0003179366930000036
Point (x) in the lidar coordinate systemL,yL,zL) The coordinates (x) in the intermediate system b are obtained by the following rotation transformation2,y2,z2):
Figure BDA0003179366930000041
(2) Calibration of roll angle by using baffle plates on two sides of carriage as reference
The baffle of the carriage is vertical to the ground, and the height of the top of the baffle is hb(ii) a The bottom of the empty carriage is parallel to the ground and has the height h0(ii) a Under the intermediate system b, the x value of the ground point coordinate is lgroundThe x value of the highest point coordinate of the baffle is lground﹣hb(ii) a In the radar laser point cloud obtained by scanning the carriage area by the three-dimensional laser radar, the coordinate x value and the coordinate l are satisfiedground﹣hbThe point with the difference value smaller than the threshold value is recorded as a top baffle threshold value point set, the point set is provided with two areas which respectively belong to the left baffle and the right baffle, and all the points of the two areas are respectively projected to y2z2Performing straight line fitting behind the plane to obtain the position of the top of the baffle plate at y2z2Equation A' y for two parallel straight lines of a plane2+B'z2+C'10 and A' y2+B'z2+C'2=0,A'>0; corresponding rotational transformation matrix RxIs defined as follows:
Figure BDA0003179366930000042
wherein the roll angle
Figure BDA0003179366930000043
Or
Figure BDA0003179366930000044
Depending on the direction of travel of the train, the requirement is that the direction of travel of the freight train is z in the intermediate system c3The shaft is in the positive direction; point (x) under the intermediate system b2,y2,z2) The coordinates (x) in the intermediate system c are obtained by the following rotation transformation3,y3,z3):
Figure BDA0003179366930000045
Point (x) under the intermediate system c3,y3,z3) Obtaining coordinates (x, y, z) under a reference coordinate system through translation transformation as follows:
Figure BDA0003179366930000046
and finally, obtaining a point cloud coordinate under the reference coordinate system, wherein the height information of the point is a negative value of the x coordinate.
Preferably, in the third step, the car baffle point cloud conforming to the height of the car baffle is screened from the three-dimensional laser point cloud, and the y-axis coordinate range corresponding to the car baffle position is obtained as follows:
under a reference coordinate system, the x value of the ground point coordinate is 0, and the height of the top of the baffle is hbThe x value of the highest point coordinate of the baffle is-hb(ii) a Screening out coordinates (x, y, z) from three-dimensional laser point cloud to meet conditions|x-(-hb)|<thrangeProjecting the point cloud to a yz plane to obtain a carriage baffle point set;
the concentrated points of the baffle points of the carriage are provided with two areas which are respectively the projection of the top point of the baffle on the left side of the carriage and the top point of the baffle on the right side of the carriage; selecting a point set of an area corresponding to a baffle on the left side of the carriage, and calculating to obtain the minimum value of y coordinates of all the points, which is recorded as ymax(ii) a Selecting a point set of an area corresponding to a baffle on the right side of the carriage, and calculating to obtain the maximum value of y coordinates of all the points, which is recorded as ymin。yminAnd ymaxAnd forming a y-axis coordinate range corresponding to the carriage baffle position.
Preferably, in step three, screening out the material point cloud according to the limit of the height of the carriage baffle and the y-axis coordinate range corresponding to the position of the carriage baffle:
screening all laser radar points under a reference coordinate system, wherein the coordinates (x, y, z) of the points meet the following conditions, namely the material point cloud:
h0≤-x<hmax,ymin≤y≤ymax
wherein h is0Is the height of the bottom of the empty carriage.
Preferably, in step four, the determining whether the vehicle drives to the end point of the current car according to whether the point cloud height of the last laser beam, i.e. the x coordinate, meets the car baffle morphological characteristics is as follows:
selecting point clouds belonging to the last laser beam from the material point clouds in the reference coordinate system, and calculating the variance sigma of the x coordinateend(ii) a If σend<thend,thendAnd setting a threshold value, wherein the baffle at the rear end of the carriage of the train runs to the material scanning area, and the train runs to the end point of the carriage.
Preferably, in the fourth step, the determining whether the vehicle travels to the starting point of the next car according to whether the point cloud heights of the first and second laser beams respectively satisfy the car baffle morphological characteristic and the material filling morphological characteristic is as follows:
selecting the material point cloud belonging to the first bar in the reference coordinate systemRespectively calculating the variance of x coordinates of the point clouds of the laser beam and the second laser beam and recording the variance as sigma1And σ2If σ is1<th1And sigma2>th2,th1Threshold value for point cloud change to conform to baffle morphology feature, th2If the point cloud change meets the threshold value of the material filling form characteristics, the baffle at the front end of the new carriage is judged to be about to enter the material scanning area, and the train runs to the starting point of the new carriage.
Preferably, the step five is:
step 501: dividing the material point cloud into a left side and a right side relative to the train, and respectively calculating the two parts as follows:
screening out material point clouds of the unilateral carriage according to the y coordinate of the unilateral carriage baffle and the y coordinate of the carriage center line under a reference coordinate system;
dividing the material point cloud of the single-side compartment into M areas along the y axis; the three-dimensional laser radar has N laser beams; for each area, averaging the x coordinates of all point clouds of each laser beam of the N laser beams, and obtaining the material point cloud height corresponding to the N laser beams in each area; averaging the point cloud heights corresponding to the N line bundles to obtain a material point cloud height corresponding to the current area; averaging the point cloud heights of the materials in the M areas to obtain the material height of the carriage on one side;
step 502: calculating the height and the unbalance loading of the material:
the real-time material height h is:
Figure BDA0003179366930000061
wherein h is0Height of empty carriage bottom, hLThe material height of the left carriage, hRThe material height of the right carriage;
the left and right offset p of the gravity center of the material is as follows:
Figure BDA0003179366930000062
p>at 0, the right side is heavy; p is a radical of<0, left-side weight, yminAnd ymaxTwo y-axis coordinate limit values corresponding to the car baffle positions, respectively.
The invention provides a three-dimensional laser radar-based vehicle-loading material height and unbalance loading detection device, which comprises a three-dimensional laser radar and a processing device, wherein the three-dimensional laser radar is used for detecting the height of a vehicle-loading material; the processing device comprises a calibration module, a material point cloud extraction module, a carriage position determination module and a height and unbalance load calculation module;
the three-dimensional laser radar is fixedly and obliquely arranged above the material filling area and irradiates the material filling area;
the calibration module realizes the self-calibration of the installation attitude angle of the three-dimensional laser radar: calibrating a yaw angle and a pitch angle by taking the ground as a reference, and calibrating a roll angle by taking baffles on the left side and the right side of a carriage as a reference to obtain a conversion relation between a laser radar coordinate system and a reference coordinate system x, y and z; wherein, the yz plane of the reference coordinate system is parallel to the ground, and the x positive direction is vertical to the ground and faces downwards; scanning the three-dimensional laser radar to obtain three-dimensional laser radar point cloud, processing the three-dimensional laser radar point cloud by a calibration module to obtain coordinates (x, y, z) of the three-dimensional laser radar point cloud under a reference coordinate system, and sending the coordinates to a material point cloud extraction module;
the material point cloud extraction module is used for screening carriage baffle point clouds conforming to the height of the carriage baffle from the three-dimensional laser point clouds according to the coordinates (x, y, z) of the three-dimensional laser radar point clouds under the reference coordinate system, and obtaining a y-axis coordinate range corresponding to the position of the carriage baffle; screening material point clouds according to the limit of the height of the carriage baffle and the y-axis coordinate range corresponding to the position of the carriage baffle, and sending the material point clouds to a carriage position determining module;
the carriage position determining module is used for screening out point clouds of a first laser beam, a second laser beam and a last laser beam from the material point clouds; the first laser beam is the beam with the largest three-dimensional laser radar pitch angle, and the last laser beam is the beam with the smallest three-dimensional laser radar pitch angle; determining whether the vehicle runs to the terminal of the current carriage or not according to whether the point cloud height of the last laser beam, namely the x coordinate, meets the morphological characteristics of the carriage or not; determining whether the vehicle drives to the starting point of the next carriage or not according to whether the point cloud heights of the first laser beam and the second laser beam respectively meet the carriage baffle morphological characteristics and the material filling morphological characteristics;
and the height and unbalance loading calculation module is used for calculating the height and unbalance loading of the material according to the material point cloud in the carriage range.
Preferably, the calibration mode of the calibration module is as follows:
coordinate system x of three-dimensional laser radarLyLzLIs a right-hand coordinate system; establishing a new right-hand coordinate system which is recorded as a reference coordinate system by taking the ground as a yz plane, the positive direction of an x axis is vertical to the ground downwards, and the running direction of the vehicle is the positive direction of a z axis; the transformation from the lidar coordinate system to the reference coordinate system is performed in the following order:
first winding laser radar coordinate system yLAxial through rotation matrix RyTransforming to obtain an intermediate system a, and rewinding z of the intermediate system a1Axial through rotation matrix RzTransforming to obtain an intermediate system b, and then winding x of the intermediate system b2Axial through rotation matrix RxTransforming to obtain intermediate system c, and finally performing translation transformation TxObtaining a reference coordinate system;
(1) calibration of yaw angle and pitch angle by taking horizontal ground as reference
Scanning the ground by a three-dimensional laser radar, collecting ground point clouds, determining ground points by adopting a plane fitting method to the ground point clouds to obtain a ground plane equation Ax under a laser radar coordinate systemL+ByL+CzL+D=0,A>0, wherein A, B, C, D are parameters of the ground plane equation, respectively; the height of the three-dimensional laser radar coordinate system from the origin to the ground is obtained through calculation
Figure BDA0003179366930000081
Then the corresponding rotation matrix Rz、RyAnd a translation transformation matrix TxComprises the following steps:
Figure BDA0003179366930000082
Figure BDA0003179366930000083
Figure BDA0003179366930000084
wherein the yaw angle
Figure BDA0003179366930000085
Pitching angle
Figure BDA0003179366930000086
Point (x) in the lidar coordinate systemL,yL,zL) The coordinates (x) in the intermediate system b are obtained by the following rotation transformation2,y2,z2):
Figure BDA0003179366930000091
(2) Calibration of roll angle by using baffle plates on two sides of carriage as reference
The baffle of the carriage is vertical to the ground, and the height of the top of the baffle is hb(ii) a The bottom of the empty carriage is parallel to the ground and has the height h0(ii) a Under the intermediate system b, the x value of the ground point coordinate is lgroundThe x value of the highest point coordinate of the baffle is lground﹣hb(ii) a In the radar laser point cloud obtained by scanning the carriage area by the three-dimensional laser radar, the coordinate x value and the coordinate l are satisfiedground﹣hbThe point with the difference value smaller than the threshold value is recorded as a top baffle threshold value point set, the point set is provided with two areas which respectively belong to the left baffle and the right baffle, and all the points of the two areas are respectively projected to y2z2Performing straight line fitting behind the plane to obtain the position of the top of the baffle plate at y2z2Equation A' y for two parallel straight lines of a plane2+B'z2+C'10 and A' y2+B'z2+C'2=0,A'>0; corresponding rotational transformation matrix RxIs defined as follows:
Figure BDA0003179366930000092
wherein the roll angle
Figure BDA0003179366930000093
Or
Figure BDA0003179366930000094
Depending on the direction of travel of the train, the requirement is that the direction of travel of the freight train is z in the intermediate system c3The shaft is in the positive direction; point (x) under the intermediate system b2,y2,z2) The coordinates (x) in the intermediate system c are obtained by the following rotation transformation3,y3,z3):
Figure BDA0003179366930000095
Point (x) under the intermediate system c3,y3,z3) Obtaining coordinates (x, y, z) under a reference coordinate system through translation transformation as follows:
Figure BDA0003179366930000096
and finally, obtaining a point cloud coordinate under the reference coordinate system, wherein the height information of the point is a negative value of the x coordinate.
Preferably, the car position determination module comprises a car end point determination submodule and a car start point determination submodule;
the carriage terminal point determining submodule is used for selecting the point cloud belonging to the last laser beam from the material point clouds under the reference coordinate system, and calculating the variance sigma of the x coordinateend(ii) a If σend<thend,thendIn order to set a threshold value, a baffle plate at the rear end of the carriage of the train runs to a material scanning area, and the train runs toAnd (4) finishing the carriage.
The carriage starting point determining submodule is used for selecting point clouds belonging to a first laser beam and a second laser beam from material point clouds under a reference coordinate system, and calculating the variance of an x coordinate and recording the variance as sigma1And σ2If σ is1<th1And sigma2>th2,th1Threshold value for point cloud change to conform to baffle morphology feature, th2If the point cloud change meets the threshold value of the material filling form characteristics, the baffle at the front end of the new carriage is judged to be about to enter the material scanning area, and the train runs to the starting point of the new carriage.
Has the advantages that:
(1) according to the method for detecting the height and the unbalance loading of the material, the height and the unbalance loading information of the material can be automatically calculated through the point cloud of the laser radar, and the data are sent to the controller, so that the full automation of material filling is realized. Manual judgment and control are omitted, and efficiency and precision are greatly improved. Compared with a two-dimensional laser radar method, the point cloud data volume obtained by the three-dimensional laser radar detection technology is larger, the calculated material height is more accurate, and the precision is higher. Compared with a weight measuring method and a stress change measuring method, the method is lower in cost and higher in efficiency.
(2) According to the method, the positions of left and right baffle plates of the carriage are screened according to the height of the baffle plate of the carriage, and then material point cloud is determined; and simultaneously, determining the material point cloud in the carriage position by utilizing the carriage baffle plate morphological characteristics and the material filling morphological characteristics, and further calculating the material height and the unbalance loading degree. According to the scheme, the height information of the carriage, the shape characteristics of the carriage baffle and the material filling shape characteristics are fully utilized, so that the automatic extraction of the material point cloud in the carriage can be realized, and the extraction scheme is reliable and effective.
(3) The invention provides a method for calibrating the installation angle of a three-dimensional laser radar. The algorithm can perform angle calibration by referring to any known plane, is not limited by the installation angle and whether the plane is a horizontal ground or not, and has wider application range; in addition, the angle calibration based on the self-calibration algorithm does not need to install an attitude sensor, so that the use of hardware is reduced, and the cost is saved.
(4) When the height and the unbalance loading of the material are calculated, the method divides areas, and each area is independently calculated and then combined. The material point cloud is obtained by scanning the three-dimensional laser radar due to uneven distribution of the material, the material point cloud is divided into areas when the point cloud densities of different areas are different, and each area is independently calculated and then combined, so that the actual heights of the materials at each position have the same weight when calculated, the influence of uneven distribution of the point cloud densities is eliminated, and the detection precision is improved.
Drawings
FIG. 1 is a schematic view of a three-dimensional lidar mounting and carriage;
FIG. 2 is a schematic diagram of three-dimensional lidar mounting attitude yaw and pitch angle calibration;
FIG. 3 is a plan view of a train carriage and a schematic diagram illustrating calibration of a roll angle of a three-dimensional lidar mounting attitude;
FIG. 4 is a schematic diagram of a three-dimensional point cloud of carriage materials;
fig. 5 is a schematic diagram of the device for detecting the height and the unbalance loading of the loading material based on the three-dimensional laser radar.
In the figure, 1-three-dimensional laser radar; 2-a material filling port; 3-front and rear baffle plates of the carriage; 4-left and right baffle plates of the carriage; 5-freight train carriages; 6-material detection area; 7-train running direction; 8-a three-dimensional lidar coordinate system; 9-a reference coordinate system; 10-the normal of the ground under the three-dimensional laser radar coordinate system; 11-installing a posture yaw angle of the three-dimensional laser radar; 12-three-dimensional laser radar installation attitude elevation angle; 13-three-dimensional laser radar installation attitude roll angle; 14-material surface point cloud in the carriage; 15-baffle area and gap between the cars.
Detailed Description
The invention is described in detail below with reference to the figures and examples. The unit of measurement for this embodiment is the international unit meter (m).
The invention relates to a three-dimensional laser radar-based vehicle-loading material height and unbalance loading detection scheme. After installation, the yaw, pitch and roll angles of the three-dimensional laser radar installation are measured by using the horizontal ground information and the carriage characteristic information and using a self-calibration algorithm, so that the three-dimensional laser radar point cloud is corrected. And calculating the relative distance between the laser radar and the ground through the point cloud reflected by the ground, thereby obtaining the installation height of the laser radar. When the loading operation is carried out, the laser radar point clouds are collected in real time, the boundaries of the two sides of the carriage are automatically detected, the point clouds belonging to materials are screened out, and whether the material loading of the carriage of the section is finished or not and whether the material loading of a new carriage of the section is started or not are judged. And finally, processing the point cloud of the material, calculating to obtain the height and unbalance loading information of the material, and sending the height and unbalance loading information to an automatic material filling system.
The invention provides a three-dimensional laser radar-based method for detecting the height and the unbalance loading of a loading material, which comprises the following steps of:
the method comprises the following steps: the three-dimensional laser radar 1 is fixedly and obliquely arranged in front of the material filling opening 2. In front of the lidar, i.e. x of the lidar coordinate systemLThe positive direction of the axis irradiates the material detection area 6.
Step two: three-dimensional laser radar installation attitude angle self-calibration
The three-dimensional lidar coordinate system 8 is a right-hand coordinate system. And establishing a new right-hand coordinate system right below the three-dimensional laser radar coordinate system 8 by taking the ground as a yz plane, the positive direction of the x axis is vertical to the ground downwards, and the running direction 7 of the freight train is the positive direction of the z axis, and recording the new right-hand coordinate system as a reference coordinate system 9. The transformation from the lidar coordinate system 8 to the reference coordinate system 9 is performed in the following order:
y around lidar coordinate system 8LAxial through rotation matrix RyTransforming to obtain an intermediate system a, and rewinding z of the intermediate system a1Axial through rotation matrix RzTransforming to obtain an intermediate system b, and then winding x of the intermediate system b2Axial through rotation matrix RxTransforming to obtain intermediate system c, and finally performing translation transformation TxA reference coordinate system 9 is obtained.
(1) Yaw and pitch angle calibration
Using horizontal ground as referenceAnd (6) calibrating. The three-dimensional laser radar 1 scans the ground, collects ground point clouds, determines ground points for the point clouds by adopting a plane fitting method, and obtains a ground plane equation Ax under a laser radar coordinate system 8L+ByL+CzL+D=0(A>0). The height of the three-dimensional laser radar coordinate system 8 origin from the ground is obtained through calculation
Figure BDA0003179366930000131
And calculating a yaw angle 11 and a pitch angle 12 of the installation attitude of the three-dimensional laser radar 1 according to a normal 10 of the ground plane. Then the corresponding rotation matrix Rz、RyAnd a translation transformation matrix TxComprises the following steps:
Figure BDA0003179366930000132
Figure BDA0003179366930000133
Figure BDA0003179366930000134
wherein the yaw angle
Figure BDA0003179366930000135
Pitching angle
Figure BDA0003179366930000136
Point (x) under lidar coordinate system 8L,yL,zL) The coordinates (x) in the intermediate system b are obtained by the following rotation transformation2,y2,z2):
Figure BDA0003179366930000137
(2) Roll angle calibration
Using the left and right sides of the carriageThe baffle 4 is calibrated for reference. The baffle of the carriage is vertical to the ground, and the height of the top of the baffle is hb(ii) a The bottom of the empty carriage is parallel to the ground and has the height h0. Under the intermediate system b, the x value of the ground point coordinate is lgroundThe x value of the highest point coordinate of the baffle is lground﹣hb. The three-dimensional laser radar 1 scans the radar point cloud obtained by the carriage area and meets the coordinate x value and the coordinate lground﹣hbThe point with the difference value smaller than the threshold value is recorded as a top baffle threshold value point set, the point set is provided with two areas which respectively belong to the left baffle and the right baffle, and all the points of the two areas are respectively projected to y2z2Performing straight line fitting behind the plane to obtain the position of the top of the baffle plate at y2z2Equation A' y for two parallel straight lines of a plane2+B'z2+C'10 and A' y2+B'z2+C'2=0,A'>0. And calculating the roll angle 13 of the installation posture of the three-dimensional laser radar 1 according to a linear equation. The corresponding rotational transformation is defined as follows:
Figure BDA0003179366930000141
wherein the roll angle
Figure BDA0003179366930000142
Or
Figure BDA0003179366930000143
Depending on the train direction of travel 7, it is satisfied that in the intermediate system c the direction of travel 7 of the freight train is z3The shaft is forward. Point (x) under the intermediate system b2,y2,z2) The coordinates (x) in the intermediate system c are obtained by the following rotation transformation3,y3,z3):
Figure BDA0003179366930000144
Point (x) under the intermediate system c3,y3,z3) Is translated byThe transformation yields the coordinates (x, y, z) under the reference coordinate system 9:
Figure BDA0003179366930000145
and finally, obtaining a point cloud coordinate under the reference coordinate system 9, wherein the height information of the point is a negative value of the x coordinate.
Step three: automatic determination of a material point cloud
The left baffle plate and the right baffle plate 4 of the carriage are vertical to the ground, and the height of the top of the baffle plate is hb. The bottom of the empty carriage is parallel to the ground and has the height h0. The height threshold of the material filling is hmaxThe height of any part of the material cannot be greater than the threshold value, and hmax<hb. The above height information of the present embodiment is hb=2.8、h01.1 and hmax=2.3。
The baffles 4 on two sides of the carriage are completely parallel, under a reference coordinate system 9, the x value of the ground point coordinate is 0, and the x value of the highest point coordinate of the baffles is-hb. In the radar point cloud obtained by scanning the carriage area by the three-dimensional laser radar 1, the coordinates (x, y, z) of the points satisfy the following conditions:
|x-(-hb)|<thrange,thrangeis a threshold value
Threshold th selected in the present embodimentrange0.05. Projection onto the yz plane yields the point (y)b_0,zb_0) And is marked as a carriage baffle point set:
Figure BDA0003179366930000151
the concentrated points of the baffle points of the carriage are provided with two areas which are respectively the projection of the top point of the baffle on the left side and the top point of the baffle on the right side of the carriage. Selecting a point set of an area corresponding to a baffle on the left side of the carriage, and calculating to obtain the minimum value of y coordinates of all the points, which is recorded as ymax(ii) a Selecting a point set of an area corresponding to a baffle on the right side of the carriage, and calculating to obtain the maximum value of y coordinates of all the points, which is recorded as ymin
Screening all laser radar points under a reference coordinate system, wherein the coordinates (x, y, z) of the points satisfy the following conditions:
h0≤-x<hmax,ymin≤y≤ymax
namely the three-dimensional laser radar point cloud of the material.
Step four: car start and end point detection
The train for filling materials consists of a plurality of train carriages 5, and a certain gap is formed between the two train carriages. When the materials are filled, the freight train carriage 5 runs stably. And detecting the front and rear baffle plates 3 of the carriage by using the characteristics of the materials and the carriage baffle plates, and determining the starting point and the ending point of the carriage. The height of the material is uneven, and the material has the characteristics of low left and right sides and high middle part; the barriers of the railway carriage are approximately in a plane and the height h of the top of the barrierbHigher than the maximum height h of the materialmax. The above height information of the present embodiment is hb2.8 and hmax=2.3。
The three-dimensional laser radar 1 measures the distance and orientation information of the target in the environment by emitting laser beams in a rotating manner at a plurality of pitch angles of 360 °, receiving the signal reflected by the target, and comparing the signal with the emitted signal. The first line beam with the largest pitch angle is a radar and irradiates the forefront of a material scanning area in the carriage; the last beam with the smallest pitch angle is the radar beam that illuminates the back of the material scanning zone in the car.
Selecting point clouds belonging to the last wire harness from the material point clouds in the reference coordinate system 9, wherein the coordinates are (x) respectivelyi,yi,zi)(i=1,2,…,nend),nendThe number of point clouds belonging to the last line bundle in the material point clouds. Calculate the variance of the x coordinate:
Figure BDA0003179366930000161
wherein the content of the first and second substances,
Figure BDA0003179366930000162
representing the mean of the x coordinates.
If σend<thend,thendAnd setting a threshold value, wherein the threshold value indicates that the baffle at the rear end of the carriage of the section runs to a material scanning area, the train runs to the end point of the carriage, and the calculation of the material related data is stopped.
Similarly, in the material point clouds in the reference coordinate system 9, the point clouds belonging to the first line beam are selected, and the coordinates are (x) respectivelyi,yi,zi)(i=1,2,…,n1),n1The number of the point clouds belonging to the first line beam in the material point clouds is determined. Calculate the variance of the x coordinate:
Figure BDA0003179366930000163
selecting point clouds with coordinates (x) belonging to the second beami,yi,zi)(i=1,2,…,n2),n2The number of the point clouds belonging to the second line beam in the material point clouds is shown. Calculate the variance of the x coordinate:
Figure BDA0003179366930000164
if σ1<th1And sigma2>th2And indicating that the baffle at the front end of the new carriage is about to completely leave the material scanning area, and the train runs to the starting point of the new carriage, and the calculation of the material related data is restarted. th (h)1And th2To set the threshold. The material point cloud 14 in the carriage and the front and back baffle areas and the gap 15 between the carriages can be obtained through the processing. The threshold selected in this embodiment is thend=th1=th2=0.03。
Step five: real-time material height and offset calculation
The material point cloud is divided into a left side and a right side, and the two parts are respectively calculated.
Under the reference coordinate system 9, the point coordinates (x, y, z) of the left portion satisfy the following condition:
Figure BDA0003179366930000171
the point coordinates (x, y, z) of the right part satisfy the following condition:
Figure BDA0003179366930000172
for any part, the material heights appear to be unevenly distributed, but in the actual processing of the material, the heights throughout should be considered evenly. Therefore, the material point cloud is processed in a partitioning mode.
(1) Left hand portion material point cloud processing
For the material point cloud on the left side, the material point cloud is divided into M regions along the y axis, where M is 20 in this embodiment, and the M regions are:
Figure BDA0003179366930000173
the three-dimensional laser radar 1 is set to have N lines. For the ith area, n of the jth line beam of the three-dimensional laser radarLi_jProcessing the points, and calculating to obtain the height average value of the points of the jth wire harness of the ith area:
Figure BDA0003179366930000174
wherein, xkRepresenting the height value of the kth point in the jth line.
Calculating each region to obtain N height values, and calculating the average value of the point cloud heights of the materials in the ith region:
Figure BDA0003179366930000175
the material height of the left part is:
Figure BDA0003179366930000176
the three-dimensional laser radar selected in the present embodiment is a 32-line laser radar, and N is 32.
(2) Material point cloud processing of right part
For the material point cloud on the right side, the material point cloud is divided into M regions along the y axis, where M is 20 in this embodiment, and the M regions are:
Figure BDA0003179366930000181
assume that the three-dimensional lidar 1 has a total of N beams. For the ith area, n of the jth line beam of the three-dimensional laser radarRi_jProcessing the points, and calculating to obtain the height average value of the points of the jth wire harness of the ith area:
Figure BDA0003179366930000182
calculating each region to obtain N height values, and calculating the average value of the point cloud heights of the materials in the ith region:
Figure BDA0003179366930000183
the material height of the right part is:
Figure BDA0003179366930000184
the three-dimensional laser radar selected in the present embodiment is a 32-line laser radar, and N is 32.
(3) Calculation of material height and unbalance loading
The real-time material height is:
Figure BDA0003179366930000185
wherein h is0The height of the empty car bottom, h in this embodiment0=1.1。
The offset about the material focus is:
Figure BDA0003179366930000186
when p >0, right-side heavy; when p <0, the left side is emphasized.
And sending the height and the unbalance loading data of the materials to a material filling system server to provide input data for the automatic material filling system.
In summary, the invention aims to achieve automatic detection of the height and the unbalance loading of the loading material, and provides an automatic detection device for the height and the unbalance loading of the loading material based on a three-dimensional laser radar and a working method thereof. The three-dimensional laser radar for detection can scan the surface of a material at a higher frequency by utilizing the self-calibration installation attitude angle of the ground and the carriage baffle. The coordinate transformation relation of the three-dimensional laser radar coordinate system is solved through the installation angle, and then the height and the unbalance loading condition of the material are calculated through the point cloud of the material, so that the automatic detection of the height and the unbalance loading of the loading material is realized. High efficiency and high precision. The detected material height and unbalance loading information are used as input data of the automatic material filling system, and full automation of material filling is realized.
The invention also provides a device for detecting the height and the unbalance loading of the loading material based on the three-dimensional laser radar, as shown in figure 5, the device comprises the three-dimensional laser radar and a processing device; the processing device comprises a calibration module, a material point cloud extraction module, a carriage position determination module and a height and unbalance load calculation module;
the three-dimensional laser radar is fixedly and obliquely arranged above the material filling area and irradiates the material filling area;
the calibration module realizes the self-calibration of the installation attitude angle of the three-dimensional laser radar: calibrating a yaw angle and a pitch angle by taking the ground as a reference, and calibrating a roll angle by taking baffles on the left side and the right side of a carriage as a reference to obtain a conversion relation between a laser radar coordinate system and a reference coordinate system x, y and z; wherein, the yz plane of the reference coordinate system is parallel to the ground, and the x positive direction is vertical to the ground and faces downwards; scanning the three-dimensional laser radar to obtain three-dimensional laser radar point cloud, processing the three-dimensional laser radar point cloud by a calibration module to obtain coordinates (x, y, z) of the three-dimensional laser radar point cloud under a reference coordinate system, and sending the coordinates to a material point cloud extraction module;
the material point cloud extraction module is used for screening carriage baffle point clouds which accord with the height and the aggregation degree of a carriage baffle from the three-dimensional laser point clouds according to the coordinates (x, y, z) of the three-dimensional laser radar point clouds under a reference coordinate system, and obtaining a y-axis coordinate range corresponding to the position of the carriage baffle; screening material point clouds according to the limit of the height of the carriage baffle and the y-axis coordinate range corresponding to the position of the carriage baffle, and sending the material point clouds to a carriage position determining module;
the carriage position determining module is used for screening out point clouds of a first laser beam, a second laser beam and a last laser beam from the material point clouds; the first laser beam is the beam with the largest three-dimensional laser radar pitch angle, and the last laser beam is the beam with the smallest three-dimensional laser radar pitch angle; determining whether the vehicle runs to the terminal point of the current carriage or not according to whether the point cloud height of the last laser beam, namely the x coordinate, meets the morphological characteristics of the carriage baffle or not; determining whether the vehicle drives to the starting point of the next carriage or not according to whether the point cloud heights of the first laser beam and the second laser beam respectively meet the carriage baffle morphological characteristics and the material filling morphological characteristics;
and the height and unbalance loading calculation module is used for calculating the height and unbalance loading of the material according to the material point cloud in the carriage range.
The calibration mode of the calibration module has already been described above, and is not described herein again.
The carriage position determining module comprises a carriage terminal point determining submodule and a carriage starting point determining submodule; the carriage end point determining submodule is used for selecting point clouds belonging to the last laser beam from the material point clouds under the reference coordinate system, and calculating the variance sigma of the x coordinateend(ii) a If σend<thend,thendTo set the thresholdThe value indicates that the baffle at the rear end of the carriage of the section runs to the material scanning area and the train runs to the end point of the carriage;
a carriage starting point determining submodule for selecting point clouds belonging to the first laser beam and the second laser beam from the material point clouds under the reference coordinate system, and calculating the variance of the x coordinate and recording the variance as sigma1And σ2If σ is1<th1And sigma2>th2,th1Threshold for point cloud changes to conform to baffle features, th2If the point cloud change meets the threshold value of the material characteristics, the baffle at the front end of the new carriage is judged to be about to enter the material scanning area, and the train runs to the starting point of the new carriage.
The above embodiments only describe the design principle of the present invention, and the shapes and names of the components in the description may be different without limitation. Therefore, a person skilled in the art of the present invention can modify or substitute the technical solutions described in the foregoing embodiments; such modifications and substitutions do not depart from the spirit and scope of the present invention.

Claims (10)

1. A three-dimensional laser radar-based method for detecting height and unbalance loading of a loading material is characterized by comprising the following steps:
firstly, fixedly and obliquely installing a three-dimensional laser radar, wherein the three-dimensional laser radar irradiates a material filling area;
step two, self-calibration of the installation attitude angle of the three-dimensional laser radar: calibrating a yaw angle and a pitch angle by taking the horizontal ground as a reference, and calibrating a roll angle by taking baffles on the left side and the right side of the carriage as a reference to obtain a conversion relation between a laser radar coordinate system and a reference coordinate system x, y and z; wherein, the yz plane of the reference coordinate system is parallel to the ground, and the x positive direction is vertical to the ground and faces downwards;
step three, extracting material point cloud: scanning the three-dimensional laser radar to obtain coordinates (x, y, z) of the three-dimensional laser radar point cloud under a reference coordinate system; screening carriage baffle point clouds according with the height of a carriage baffle from the three-dimensional laser point clouds to obtain a y-axis coordinate range corresponding to the position of the carriage baffle; screening out material point clouds according to the limit of the height of the carriage baffle and the y-axis coordinate range corresponding to the position of the carriage baffle;
step four, determining the position of the carriage: screening out point clouds of a first laser beam, a second laser beam and a last laser beam from the material point clouds; the first laser beam is the beam with the largest three-dimensional laser radar pitch angle, and the last laser beam is the beam with the smallest three-dimensional laser radar pitch angle; determining whether the vehicle runs to the terminal point of the current carriage or not according to whether the point cloud height of the last laser beam, namely the x coordinate, meets the morphological characteristics of the carriage baffle or not; determining whether the vehicle drives to the starting point of the next carriage or not according to whether the point cloud heights of the first laser beam and the second laser beam respectively meet the carriage baffle morphological characteristics and the material filling morphological characteristics;
and step five, calculating the height and the unbalance loading of the material according to the point cloud of the material in the carriage range.
2. The method according to claim 1, wherein the second step specifically comprises:
coordinate system x of three-dimensional laser radarLyLzLIs a right-hand coordinate system; establishing a new right-hand coordinate system which is recorded as a reference coordinate system by taking the ground as a yz plane, the positive direction of an x axis is vertical to the ground downwards, and the running direction of the vehicle is the positive direction of a z axis; the transformation from the lidar coordinate system to the reference coordinate system is performed in the following order:
first winding laser radar coordinate system yLAxial through rotation matrix RyTransforming to obtain an intermediate system a, and rewinding z of the intermediate system a1Axial through rotation matrix RzTransforming to obtain an intermediate system b, and then winding x of the intermediate system b2Axial through rotation matrix RxTransforming to obtain intermediate system c, and translating to transform matrix TxObtaining a reference coordinate system;
(1) calibration of yaw angle and pitch angle by taking horizontal ground as reference
Scanning the ground by a three-dimensional laser radar, collecting ground point clouds, determining ground points by adopting a plane fitting method to the ground point clouds to obtain ground points under a laser radar coordinate systemGround plane equation AxL+ByL+CzL+D=0,A>0, wherein A, B, C, D are parameters of the ground plane equation, respectively; the height of the three-dimensional laser radar coordinate system from the origin to the ground is obtained through calculation
Figure FDA0003179366920000021
Then the corresponding rotation matrix Rz、RyAnd a translation transformation matrix TxComprises the following steps:
Figure FDA0003179366920000022
Figure FDA0003179366920000023
Figure FDA0003179366920000024
wherein the yaw angle
Figure FDA0003179366920000025
Pitching angle
Figure FDA0003179366920000026
Point (x) in the lidar coordinate systemL,yL,zL) The coordinates (x) in the intermediate system b are obtained by the following rotation transformation2,y2,z2):
Figure FDA0003179366920000027
(2) Calibration of roll angle by using baffle plates on two sides of carriage as reference
The baffle of the carriage is vertical to the ground, and the height of the top of the baffle is hb(ii) a The bottom of the empty carriage is parallel toGround surface with a height h0(ii) a Under the intermediate system b, the x value of the ground point coordinate is lgroundThe x value of the highest point coordinate of the baffle is lground﹣hb(ii) a In the radar laser point cloud obtained by scanning the carriage area by the three-dimensional laser radar, the coordinate x value and the coordinate l are satisfiedground﹣hbThe point with the difference value smaller than the threshold value is recorded as a top baffle threshold value point set, the point set is provided with two areas which respectively belong to the left baffle and the right baffle, and all the points of the two areas are respectively projected to y2z2Performing straight line fitting behind the plane to obtain the position of the top of the baffle plate at y2z2Equation A' y for two parallel straight lines of a plane2+B'z2+C'10 and A' y2+B'z2+C'2=0,A'>0; corresponding rotational transformation matrix RxIs defined as follows:
Figure FDA0003179366920000031
wherein the roll angle
Figure FDA0003179366920000032
Or
Figure FDA0003179366920000033
Depending on the direction of travel of the train, the requirement is that the direction of travel of the freight train is z in the intermediate system c3The shaft is in the positive direction; point (x) under the intermediate system b2,y2,z2) The coordinates (x) in the intermediate system c are obtained by the following rotation transformation3,y3,z3):
Figure FDA0003179366920000034
Point (x) under the intermediate system c3,y3,z3) Obtaining coordinates (x, y, z) under a reference coordinate system through translation transformation as follows:
Figure FDA0003179366920000035
and finally, obtaining a point cloud coordinate under the reference coordinate system, wherein the height information of the point is a negative value of the x coordinate.
3. The method of claim 1, wherein in step three, the car baffle point cloud which meets the height of the car baffle is screened from the three-dimensional laser point cloud, and the y-axis coordinate range corresponding to the position of the car baffle is obtained as follows:
under a reference coordinate system, the x value of the ground point coordinate is 0, and the height of the top of the baffle is hbThe x value of the highest point coordinate of the baffle is-hb(ii) a Coordinate (x, y, z) screened from three-dimensional laser point cloud meets condition | x- (-h)b)|<thrangeProjecting the point cloud to a yz plane to obtain a carriage baffle point set;
the concentrated points of the baffle points of the carriage are provided with two areas which are respectively the projection of the top point of the baffle on the left side of the carriage and the top point of the baffle on the right side of the carriage; selecting a point set of an area corresponding to a baffle on the left side of the carriage, and calculating to obtain the minimum value of y coordinates of all the points, which is recorded as ymax(ii) a Selecting a point set of an area corresponding to a baffle on the right side of the carriage, and calculating to obtain the maximum value of y coordinates of all the points, which is recorded as ymin;yminAnd ymaxAnd forming a y-axis coordinate range corresponding to the carriage baffle position.
4. The method of claim 3, wherein in step three, the material point cloud is screened out according to the limit of the carriage baffle height and the y-axis coordinate range corresponding to the carriage baffle position as follows:
screening all laser radar points under a reference coordinate system, wherein the coordinates (x, y, z) of the points meet the following conditions, namely the material point cloud:
h0≤-x<hmax,ymin≤y≤ymax
wherein h is0Is the height of the bottom of the empty carriage.
5. The method of claim 1, wherein in step four, the step of determining whether the vehicle is driven to the end of the current compartment according to whether the point cloud height (x coordinate) of the last laser beam satisfies the compartment closure morphological feature is as follows:
selecting point clouds belonging to the last laser beam from the material point clouds in the reference coordinate system, and calculating the variance sigma of the x coordinateend(ii) a If σend<thend,thendAnd setting a threshold value, wherein the baffle at the rear end of the carriage of the train runs to the material scanning area, and the train runs to the end point of the carriage.
6. The method of claim 1, wherein in step four, the determining whether the vehicle travels to the starting point of the next car according to whether the point cloud heights of the first and second laser beams satisfy the car closure profile and the material filling profile, respectively, is:
selecting point clouds belonging to a first laser beam and a second laser beam from material point clouds under a reference coordinate system, and respectively calculating the variance of an x coordinate and marking as sigma1And σ2If σ is1<th1And sigma2>th2,th1Threshold value for point cloud change to conform to baffle morphology feature, th2If the point cloud change meets the threshold value of the material filling form characteristics, the baffle at the front end of the new carriage is judged to be about to enter the material scanning area, and the train runs to the starting point of the new carriage.
7. The method of claim 1, wherein step five is:
step 501: dividing the material point cloud into a left side and a right side relative to the train, and respectively calculating the two parts as follows:
screening out material point clouds of the unilateral carriage according to the y coordinate of the unilateral carriage baffle and the y coordinate of the carriage center line under a reference coordinate system;
dividing the material point cloud of the single-side compartment into M areas along the y axis; the three-dimensional laser radar has N laser beams; for each area, averaging the x coordinates of all point clouds of each laser beam of the N laser beams, and obtaining the material point cloud height corresponding to the N laser beams in each area; averaging the point cloud heights corresponding to the N line bundles to obtain a material point cloud height corresponding to the current area; averaging the point cloud heights of the materials in the M areas to obtain the material height of the carriage on one side;
step 502: calculating the height and the unbalance loading of the material:
the real-time material height h is:
Figure FDA0003179366920000051
wherein h is0Height of empty carriage bottom, hLThe material height of the left carriage, hRThe material height of the right carriage;
the left and right offset p of the gravity center of the material is as follows:
Figure FDA0003179366920000052
p>at 0, the right side is heavy; p is a radical of<0, left-side weight, yminAnd ymaxTwo y-axis coordinate limit values corresponding to the car baffle positions, respectively.
8. A three-dimensional laser radar-based vehicle-loading material height and unbalance loading detection device is characterized by comprising a three-dimensional laser radar and a processing device; the processing device comprises a calibration module, a material point cloud extraction module, a carriage position determination module and a height and unbalance load calculation module;
the three-dimensional laser radar is fixedly and obliquely arranged above the material filling area and irradiates the material filling area;
the calibration module realizes the self-calibration of the installation attitude angle of the three-dimensional laser radar: calibrating a yaw angle and a pitch angle by taking the ground as a reference, and calibrating a roll angle by taking baffles on the left side and the right side of a carriage as a reference to obtain a conversion relation between a laser radar coordinate system and a reference coordinate system x, y and z; wherein, the yz plane of the reference coordinate system is parallel to the ground, and the x positive direction is vertical to the ground and faces downwards; scanning the three-dimensional laser radar to obtain three-dimensional laser radar point cloud, processing the three-dimensional laser radar point cloud by a calibration module to obtain coordinates (x, y, z) of the three-dimensional laser radar point cloud under a reference coordinate system, and sending the coordinates to a material point cloud extraction module;
the material point cloud extraction module is used for screening carriage baffle point clouds conforming to the height of the carriage baffle from the three-dimensional laser point clouds according to the coordinates (x, y, z) of the three-dimensional laser radar point clouds under the reference coordinate system, and obtaining a y-axis coordinate range corresponding to the position of the carriage baffle; screening material point clouds according to the limit of the height of the carriage baffle and the y-axis coordinate range corresponding to the position of the carriage baffle, and sending the material point clouds to a carriage position determining module;
the carriage position determining module is used for screening out point clouds of a first laser beam, a second laser beam and a last laser beam from the material point clouds; the first laser beam is the beam with the largest three-dimensional laser radar pitch angle, and the last laser beam is the beam with the smallest three-dimensional laser radar pitch angle; determining whether the vehicle runs to the terminal of the current carriage or not according to whether the point cloud height of the last laser beam, namely the x coordinate, meets the morphological characteristics of the carriage or not; determining whether the vehicle drives to the starting point of the next carriage or not according to whether the point cloud heights of the first laser beam and the second laser beam respectively meet the carriage baffle morphological characteristics and the material filling morphological characteristics;
and the height and unbalance loading calculation module is used for calculating the height and unbalance loading of the material according to the material point cloud in the carriage range.
9. The three-dimensional laser radar-based vehicle-loading material height and unbalance loading detection device as claimed in claim 8, wherein the calibration module is calibrated in a manner that:
coordinate system x of three-dimensional laser radarLyLzLIs a right-hand coordinate system; establishing a new right-hand coordinate system by taking the ground as a yz plane, the positive direction of an x axis is vertical to the ground downwards, and the running direction of the vehicle is the positive direction of a z axis, and recording the new right-hand coordinate system as a reference coordinateIs a step of; the transformation from the lidar coordinate system to the reference coordinate system is performed in the following order:
first winding laser radar coordinate system yLAxial through rotation matrix RyTransforming to obtain an intermediate system a, and rewinding z of the intermediate system a1Axial through rotation matrix RzTransforming to obtain an intermediate system b, and then winding x of the intermediate system b2Axial through rotation matrix RxTransforming to obtain intermediate system c, and finally performing translation transformation TxObtaining a reference coordinate system;
(1) calibration of yaw angle and pitch angle by taking horizontal ground as reference
Scanning the ground by a three-dimensional laser radar, collecting ground point clouds, determining ground points by adopting a plane fitting method to the ground point clouds to obtain a ground plane equation Ax under a laser radar coordinate systemL+ByL+CzL+D=0,A>0, wherein A, B, C, D are parameters of the ground plane equation, respectively; the height of the three-dimensional laser radar coordinate system from the origin to the ground is obtained through calculation
Figure FDA0003179366920000071
Then the corresponding rotation matrix Rz、RyAnd a translation transformation matrix TxComprises the following steps:
Figure FDA0003179366920000072
Figure FDA0003179366920000073
Figure FDA0003179366920000074
wherein the yaw angle
Figure FDA0003179366920000075
Pitching angle
Figure FDA0003179366920000076
Point (x) in the lidar coordinate systemL,yL,zL) The coordinates (x) in the intermediate system b are obtained by the following rotation transformation2,y2,z2):
Figure FDA0003179366920000077
(2) Calibration of roll angle by using baffle plates on two sides of carriage as reference
The baffle of the carriage is vertical to the ground, and the height of the top of the baffle is hb(ii) a The bottom of the empty carriage is parallel to the ground and has the height h0(ii) a Under the intermediate system b, the x value of the ground point coordinate is lgroundThe x value of the highest point coordinate of the baffle is lground﹣hb(ii) a In the radar laser point cloud obtained by scanning the carriage area by the three-dimensional laser radar, the coordinate x value and the coordinate l are satisfiedground﹣hbThe point with the difference value smaller than the threshold value is recorded as a top baffle threshold value point set, the point set is provided with two areas which respectively belong to the left baffle and the right baffle, and all the points of the two areas are respectively projected to y2z2Performing straight line fitting behind the plane to obtain the position of the top of the baffle plate at y2z2Equation A' y for two parallel straight lines of a plane2+B'z2+C'10 and A' y2+B'z2+C'2=0,A'>0; corresponding rotational transformation matrix RxIs defined as follows:
Figure FDA0003179366920000081
wherein the roll angle
Figure FDA0003179366920000082
Or
Figure FDA0003179366920000083
Depending on the direction of travel of the train, the requirement is that the direction of travel of the freight train is z in the intermediate system c3The shaft is in the positive direction; point (x) under the intermediate system b2,y2,z2) The coordinates (x) in the intermediate system c are obtained by the following rotation transformation3,y3,z3):
Figure FDA0003179366920000084
Point (x) under the intermediate system c3,y3,z3) Obtaining coordinates (x, y, z) under a reference coordinate system through translation transformation as follows:
Figure FDA0003179366920000085
and finally, obtaining a point cloud coordinate under the reference coordinate system, wherein the height information of the point is a negative value of the x coordinate.
10. The three-dimensional lidar based loading material height and offset detection device of claim 8, wherein the car position determination module comprises a car end point determination sub-module and a car start point determination sub-module;
the carriage terminal point determining submodule is used for selecting the point cloud belonging to the last laser beam from the material point clouds under the reference coordinate system, and calculating the variance sigma of the x coordinateend(ii) a If σend<thend,thendSetting a threshold value, wherein the threshold value indicates that the baffle at the rear end of the carriage of the section runs to a material scanning area and the train runs to the end point of the carriage;
the carriage starting point determining submodule is used for selecting point clouds belonging to a first laser beam and a second laser beam from material point clouds under a reference coordinate system, and calculating the variance of an x coordinate and recording the variance as sigma1And σ2If σ is1<th1And sigma2>th2,th1Conforming to baffle morphology for point cloud changesThreshold of the feature, th2If the point cloud change meets the threshold value of the material filling form characteristics, the baffle at the front end of the new carriage is judged to be about to enter the material scanning area, and the train runs to the starting point of the new carriage.
CN202110842194.XA 2021-07-26 2021-07-26 Method and device for detecting height and unbalanced load of loaded material based on three-dimensional laser radar Active CN113625299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110842194.XA CN113625299B (en) 2021-07-26 2021-07-26 Method and device for detecting height and unbalanced load of loaded material based on three-dimensional laser radar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110842194.XA CN113625299B (en) 2021-07-26 2021-07-26 Method and device for detecting height and unbalanced load of loaded material based on three-dimensional laser radar

Publications (2)

Publication Number Publication Date
CN113625299A true CN113625299A (en) 2021-11-09
CN113625299B CN113625299B (en) 2023-12-01

Family

ID=78380962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110842194.XA Active CN113625299B (en) 2021-07-26 2021-07-26 Method and device for detecting height and unbalanced load of loaded material based on three-dimensional laser radar

Country Status (1)

Country Link
CN (1) CN113625299B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866685A (en) * 2022-03-16 2022-08-05 金钱猫科技股份有限公司 Posture correction method and system of laser camera device
CN115862001A (en) * 2023-03-02 2023-03-28 青岛慧拓智能机器有限公司 Surface mine carriage residue detection method and system based on volume measurement
CN115856923A (en) * 2023-02-27 2023-03-28 北京理工大学深圳汽车研究院(电动车辆国家工程实验室深圳研究院) Measuring method, device, equipment and storage medium for unloading of mine truck
CN115937069A (en) * 2022-03-24 2023-04-07 北京小米移动软件有限公司 Part detection method, device, electronic device and storage medium
CN116594024A (en) * 2023-07-13 2023-08-15 安丘博阳机械制造有限公司 Carriage measurement and positioning method and scanning system based on two-dimensional laser radar
CN116843742A (en) * 2023-03-13 2023-10-03 武汉理工大学 Calculation method and system for stacking volume after point cloud registration for black coal loading vehicle
CN117329971A (en) * 2023-12-01 2024-01-02 海博泰科技(青岛)有限公司 Compartment balance detection method and system based on three-dimensional laser radar
CN117553686A (en) * 2024-01-12 2024-02-13 成都航空职业技术学院 Laser radar point cloud-based carriage bulk cargo overrun detection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109696663A (en) * 2019-02-21 2019-04-30 北京大学 A kind of vehicle-mounted three-dimensional laser radar scaling method and system
CN109752701A (en) * 2019-01-18 2019-05-14 中南大学 A kind of road edge detection method based on laser point cloud
US20190180467A1 (en) * 2017-12-11 2019-06-13 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for identifying and positioning objects around a vehicle
CN111487918A (en) * 2020-04-26 2020-08-04 天地科技股份有限公司 Bulk material unmanned loading control method, system and device based on multi-line laser radar

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190180467A1 (en) * 2017-12-11 2019-06-13 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for identifying and positioning objects around a vehicle
CN109752701A (en) * 2019-01-18 2019-05-14 中南大学 A kind of road edge detection method based on laser point cloud
CN109696663A (en) * 2019-02-21 2019-04-30 北京大学 A kind of vehicle-mounted three-dimensional laser radar scaling method and system
CN111487918A (en) * 2020-04-26 2020-08-04 天地科技股份有限公司 Bulk material unmanned loading control method, system and device based on multi-line laser radar

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孔德明;张娜;黄紫双;陈晓玉;沈阅;: "基于激光雷达探测技术的列车车厢载货体积测量方法研究", 燕山大学学报, no. 02 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866685B (en) * 2022-03-16 2023-05-26 金钱猫科技股份有限公司 Posture correction method and system of laser camera device
CN114866685A (en) * 2022-03-16 2022-08-05 金钱猫科技股份有限公司 Posture correction method and system of laser camera device
CN115937069B (en) * 2022-03-24 2023-09-19 北京小米移动软件有限公司 Part detection method, device, electronic equipment and storage medium
CN115937069A (en) * 2022-03-24 2023-04-07 北京小米移动软件有限公司 Part detection method, device, electronic device and storage medium
CN115856923A (en) * 2023-02-27 2023-03-28 北京理工大学深圳汽车研究院(电动车辆国家工程实验室深圳研究院) Measuring method, device, equipment and storage medium for unloading of mine truck
CN115862001A (en) * 2023-03-02 2023-03-28 青岛慧拓智能机器有限公司 Surface mine carriage residue detection method and system based on volume measurement
CN116843742A (en) * 2023-03-13 2023-10-03 武汉理工大学 Calculation method and system for stacking volume after point cloud registration for black coal loading vehicle
CN116843742B (en) * 2023-03-13 2024-02-02 武汉理工大学 Calculation method and system for stacking volume after point cloud registration for black coal loading vehicle
CN116594024A (en) * 2023-07-13 2023-08-15 安丘博阳机械制造有限公司 Carriage measurement and positioning method and scanning system based on two-dimensional laser radar
CN116594024B (en) * 2023-07-13 2023-10-20 安丘博阳机械制造有限公司 Carriage measurement and positioning method and scanning system based on two-dimensional laser radar
CN117329971A (en) * 2023-12-01 2024-01-02 海博泰科技(青岛)有限公司 Compartment balance detection method and system based on three-dimensional laser radar
CN117329971B (en) * 2023-12-01 2024-02-27 海博泰科技(青岛)有限公司 Compartment balance detection method and system based on three-dimensional laser radar
CN117553686A (en) * 2024-01-12 2024-02-13 成都航空职业技术学院 Laser radar point cloud-based carriage bulk cargo overrun detection method
CN117553686B (en) * 2024-01-12 2024-05-07 成都航空职业技术学院 Laser radar point cloud-based carriage bulk cargo overrun detection method

Also Published As

Publication number Publication date
CN113625299B (en) 2023-12-01

Similar Documents

Publication Publication Date Title
CN113625299A (en) Three-dimensional laser radar-based method and device for detecting height and unbalance loading of loading material
CN109188448B (en) Point cloud non-ground point filtering method and device and storage medium
CN115236628B (en) Method for detecting residual cargoes in carriage based on laser radar
WO2021196938A1 (en) Automatic container loading and unloading apparatus and method
CN109635816B (en) Lane line generation method, apparatus, device, and storage medium
CN107167079A (en) Height of materials and evenness measuring system, measuring method and its method for self-calibrating
CN112363153B (en) Material pile edge detection method and system
CN110705358B (en) Tunnel scene control decision method for train AEB system
CN110411530A (en) A kind of intelligent identification Method of container residual volume
CN107832788B (en) Vehicle distance measuring method based on monocular vision and license plate recognition
CN110550067A (en) Train wheel measurement method and related system
CN113126119B (en) Fine positioning method, system and medium fusing point cloud data and machine vision
CN116263320A (en) Vehicle measurement method, device, system and storage medium
CN112001962B (en) Ship height measuring and calculating method and system
CN115258959B (en) Sling control method, equipment and storage medium
CN111275753B (en) Method for measuring volume of sand and stone in carriage
CN113418467A (en) Method for detecting general and black luggage size based on ToF point cloud data
CN117361331A (en) Container sling pose detection method based on laser radar
CN109917414B (en) Ship freeboard measuring method and system based on laser technology
CN113610765A (en) Vehicle contour detection method and device, electronic equipment and readable storage medium
CN112630791A (en) Height limit measuring method for special vehicle
CN116246020B (en) Multi-laser-point cloud technology three-dimensional reconstruction system and method
CN112731451B (en) Method and system for detecting ground obstacle based on laser radar
JP2021076532A (en) Measuring device
CN115077385B (en) Unmanned container pose measuring method and measuring system thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant