METHODS AND SYSTEMS FOR DETECTION OF GALVANOMETER MIRROR ZERO POSITION ANGLE OFFSET AND FAULT DETECTION IN LIDAR
A fault-detection system for detecting fault in a LiDAR system mounted on a vehicle is provided. The LiDAR system is configured to provide point cloud data of an external environment of the vehicle in accordance with a LiDAR coordinate system. The fault-detection system includes processor-executable instructions which comprise instructions for: obtaining a vehicle speed; obtaining conversion parameters used for converting from the LiDAR coordinate system to a vehicle coordinate system; determining whether the vehicle speed exceeds a vehicle speed threshold; in accordance with a determination that the vehicle speed exceeds the vehicle speed threshold, obtaining a representation of a road surface plane expressed in the vehicle coordinate system; obtaining a representation of a native horizontal plane provided by the vehicle; and determining whether a fault in the LiDAR system has occurred based on the representation of the road surface plane and the representation of the native horizontal plane.
1 . A fault-detection system for detecting fault in a light detection and ranging (LiDAR) system mounted on a vehicle, the LiDAR system being configured to provide point cloud data of an external environment of the vehicle in accordance with a LiDAR coordinate system, the fault-detection system comprising:
one or more processors,
a memory device, and
processor-executable instructions stored in the memory device, the processor-executable instructions comprising instructions for:
obtaining a vehicle speed;
obtaining conversion parameters used for converting from the LiDAR coordinate system to a vehicle coordinate system;
determining whether the vehicle speed exceeds a vehicle speed threshold;
in accordance with a determination that the vehicle speed exceeds the vehicle speed threshold, obtaining a representation of a road surface plane expressed in the vehicle coordinate system;
obtaining a representation of a native horizontal plane provided by the vehicle; and
determining whether a fault in the LiDAR system has occurred based on the representation of the road surface plane and the representation of the native horizontal plane.
2 . The fault-detection system of claim 1 , wherein the vehicle is configured to provide map data of the external environment of the vehicle in accordance with the vehicle coordinate system, the map data comprising the representation of the native horizontal plane of the external environment.
3 . The fault-detection system of claim 1 , wherein obtaining the conversion parameters used for converting from the LiDAR coordinate system to the vehicle coordinate system comprises:
obtaining a reference rotation vector and a rotation angle from the vehicle; and
converting the reference rotation vector to a rotation matrix.
4 . The fault-detection system of claim 1 , wherein obtaining the representation of the road surface plane expressed in the vehicle coordinate system comprises:
obtaining the point cloud data provided by the LiDAR system;
deriving the road surface plane based on the point cloud data;
obtaining the representation of the road surface plane; and
converting the representation of the road surface plane from the LiDAR coordinate system to the vehicle coordinate system using the conversion parameters.
5 . The fault-detection system of claim 4 , wherein deriving the road surface plane from the point cloud data comprises:
selecting a plurality of reference points on a road surface from the point cloud data; and
deriving the road surface plane based on the plurality of reference points on the road surface.
6 . The fault-detection system of claim 5 , wherein the processor-executable instructions comprise further instructions for:
determining whether a total number of the plurality of reference points satisfies a condition for deriving the road surface plane.
7 . The fault-detection system of claim 5 , wherein the processor-executable instructions comprise further instructions for:
calculating a variance between the derived road surface plane and the road surface; and
determining whether the variance exceeds a variance threshold.
8 . The fault-detection system of claim 1 , wherein determining whether the fault in the LiDAR system has occurred comprises:
calculating a deviation angle between the representation of the road surface plane and the representation of the native horizontal plane; and
determining whether the deviation angle exceeds a deviation angle threshold.
9 . The fault-detection system of claim 1 , wherein the processor-executable instructions comprise further instructions for:
based on the determination that the fault in the LiDAR system has occurred, sending information of the fault to the vehicle.
10 . A method for detecting fault in a light detection and ranging (LiDAR) system mounted on a vehicle, the method comprising:
obtaining a vehicle speed;
obtaining conversion parameters used for converting from a LiDAR coordinate system to a vehicle coordinate system;
determining whether the vehicle speed exceeds a vehicle speed threshold,
in accordance with a determination that the vehicle speed exceeds the vehicle speed threshold, obtaining a representation of a road surface plane expressed in the vehicle coordinate system;
obtaining a representation of a native horizontal plane provided by the vehicle; and
determining whether a fault in the LiDAR system has occurred based on the representation of the road surface plane and the representation of the native horizontal plane.
11 . The method of claim 10 , wherein the vehicle is configured to provide map data of the external environment of the vehicle in accordance with the vehicle coordinate system, the map data comprising the representation of the native horizontal plane of the external environment.
12 . The method of claim 10 , wherein obtaining the conversion parameters used for converting from the LiDAR coordinate system to the vehicle coordinate system comprises:
obtaining a reference rotation vector and a rotation angle from the vehicle; and
converting the reference rotation vector to a rotation matrix.
13 . The method of claim 10 , wherein obtaining the representation of the road surface plane expressed in the vehicle coordinate system comprises:
obtaining the point cloud data provided by the LiDAR system;
deriving the road surface plane based on the point cloud data;
obtaining the representation of the road surface plane; and
converting the representation of the road surface plane from the LiDAR coordinate system to the vehicle coordinate system using the conversion parameters.
14 . The method of claim 13 , wherein deriving the road surface plane from the point cloud data comprises:
selecting a plurality of reference points on a road surface from the point cloud data; and
deriving the road surface plane based on the plurality of reference points on the road surface.
15 . The method of claim 14 , wherein the processor-executable instructions comprise further instructions for:
determining whether a total number of the plurality of reference points satisfies a condition for deriving the road surface plane.
16 . The method of claim 14 , wherein the processor-executable instructions comprise further instructions for:
calculating a variance between the derived road surface plane and the road surface; and
determining whether the variance exceeds a variance threshold.
17 . The method of claim 10 , wherein determining whether the fault in the LiDAR system has occurred comprises:
calculating a deviation angle between the representation of the road surface plane and the representation of the native horizontal plane; and
determining whether the deviation angle exceeds a deviation angle threshold.
18 . The method of claim 10 , wherein the processor-executable instructions comprise further instructions for:
based on the determination that the fault in the LiDAR system has occurred, sending information of the fault to the vehicle.