After the lidar is started, the communication system is first initialized and adjusted. This process lasts about 500ms; then the lidar is sent out.
Basic information is obtained, ranging is started, and ranging data is sent out, angle measurement is initialized simultaneously, and the initialization is completed after about 200ms.
Working mechanism initialization, at this time the lidar continues to output valid point cloud data.
The lidar design has three modes, internal closed-loop speed control mode, external speed control mode, and standby mode. Through lidar, PWM Pins can be switched and controlled freely;
Internal closed-loop speed control mode: After the lidar is powered on, it defaults to the internal closed-loop speed control mode and scans at a frequency of 10Hz by default.
If the lidar works in other modes, the user can input the frequency 3KHz~5KHz (recommended 4KHz) and duty cycle through the PWM pin 45%-55% (recommended 50%), the signal duration is greater than 100ms, switch to the internal speed control mode.
External speed control mode: When the PWM pin input frequency is 0.5KHz~1.5KHz (1KHz is recommended), the duty cycle is 45%-55% (50% recommended), after the signal duration is greater than 100ms, the lidar will switch to the external speed control mode. At this time, the lidar continues to
capture external speed control signals (frequency 0.5KHz~1.5KHz, duty cycle 15%~84%), and capture the signal duty cycle information
It is directly output to the motor control terminal, and the external system performs closed-loop control by receiving the speed information feedback in the lidar protocol.
Standby mode: When the PWM pin input frequency is 6KHz~8KHz (7KHz recommended), the duty cycle is 45%-55% (recommended 50%) and the duration is greater than 100ms, the lidar will switch to standby mode. At this time, the lidar will turn off the motor and transmit power.
Wait for power to be restored.
When the lidar is working, it will monitor the external power supply. When an abnormal power supply is detected (such as the voltage is too low or too high), the lidar will start protection, shut down the motor, transmit power, and restart after the power supply returns to normal.