Patent attributes
The present disclosure describes a system and method for encoding pulses of light for LiDAR scanning. The system includes a sequence generator, a light source, a modulator, a light detector, a correlator, and a microprocessor. The sequence generator generates a sequence code that the modulator encodes into a pulse of light from the light source. The encoded pulse of light illuminates a surface of an object, in which scattered light from the encoded light pulse is detected. The correlator correlates the scattered light with the sequence code that outputs a peak value associated with a time that the pulse of light is received. The microprocessor is configured to determine a time difference between transmission and reception of the pulse of light based on whether the amplitude of the peak exceeds the threshold value. The microprocessor calculates a distance to the surface of the object based on the time difference.