Laser radar and abnormity monitoring method and device
By monitoring the physical quantity of the lidar device, determining its threshold range and implementing corresponding processing strategies, the shutdown problem caused by abnormal lidar device is solved, ensuring the normal operation of the lidar and device life prediction.
Patent Information
- Application Number
- CN202411205317.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-03
AI Technical Summary
The prior art lacks methods and devices for monitoring abnormal conditions of lidar devices, which leads to lidar being prone to stop working due to device abnormalities.
By obtaining the current physical quantity of the target device in the lidar, determining whether it is in the normal threshold range or the abnormal threshold range, and performing corresponding processing on the target device and/or the lidar according to the abnormal processing strategy, including compensation, correction, and recovery after disconnection Strategy, etc.
Effectively monitor and handle abnormal conditions of lidar devices, ensure the normal operation of lidar, extend the device life and predict its remaining life.
Smart Images

Figure CN119064902A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser radar technology, and in particular to a laser radar and an abnormality monitoring method and device. Background Art
[0002] Laser radar is a device that can be used to measure the distance to a remote target. Currently, there is a lack of methods and devices for monitoring abnormal conditions of components in laser radars, and there is also a lack of corresponding methods for handling abnormal conditions of components in laser radars, which makes it easy for laser radars to stop working due to abnormal conditions of components. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a laser radar and an abnormality monitoring method and device, which can ensure the normal operation of the laser radar to a certain extent.
[0004] To achieve the above object, the embodiments of the present invention adopt the following technical solutions: In a first aspect, an embodiment of the present invention provides a laser radar abnormality monitoring method, comprising: obtaining a current physical quantity of a target device in the laser radar; based on the current physical quantity, determining a threshold range in which the current physical quantity is located; wherein the threshold range includes a normal threshold range and an abnormal threshold range; if it is determined that the physical quantity is within the abnormal threshold range, determining an abnormality handling strategy corresponding to the abnormal threshold range; based on the determined abnormality handling strategy, performing corresponding processing on the target device and / or the laser radar.
[0005] According to a specific implementation method of an embodiment of the present invention, the abnormal threshold range includes at least one of the following four abnormal threshold ranges: a first-level abnormal threshold range lower than a normal range; a second-level abnormal threshold range lower than a normal range; a first-level abnormal threshold range higher than a normal range; a second-level abnormal threshold range higher than a normal range; wherein the second-level abnormal threshold range deviates more from the normal threshold range relative to the first-level abnormal threshold range.
[0006] According to a specific implementation manner of the embodiment of the present invention, there is a physical quantity dead zone range of a predetermined length between the normal threshold range and the abnormal threshold range.
[0007] According to a specific implementation manner of the embodiment of the present invention, there is a physical quantity dead zone range of a predetermined length between adjacent abnormal threshold ranges.
[0008] According to a specific implementation method of an embodiment of the present invention, before obtaining the current physical quantity of the target device in the laser radar, the method also includes: polling the devices that need status monitoring in the laser radar to determine the target devices that currently need to be monitored; determining whether the current physical quantity monitoring function of the target device is turned on; if it is turned on, executing the step of obtaining the current physical quantity of the target device in the laser radar.
[0009] According to a specific implementation method of an embodiment of the present invention, it also includes: in the process of acquiring the current physical quantity of the target device in the laser radar, if the acquisition fails, and the consecutive number of acquisition failures exceeds a predetermined threshold, it is determined that the target device or the laser radar is in a disconnected state, and the system exception handling strategy after the target device or the laser radar is disconnected is executed.
[0010] According to a specific implementation manner of an embodiment of the present invention, after acquiring the current physical quantity of the target device, the method further includes: determining the state of the current device in a previous sampling period of the physical quantity; if the state of the current device in the previous sampling period of the physical quantity is a disconnected state, executing an abnormal recovery strategy after disconnection and then correct reconnection; if the state of the current device in the previous sampling period of the physical quantity is a normal state, executing the step of determining the threshold range of the current physical quantity based on the current physical quantity.
[0011] According to a specific implementation manner of an embodiment of the present invention, if it is determined that the physical quantity is within a normal threshold range, the method further includes: compensating or correcting the physical quantity.
[0012] According to a specific implementation method of an embodiment of the present invention, after performing corresponding processing on the target device and / or the lidar based on the determined exception handling strategy, the method also includes: encapsulating the current physical quantity of the target device and the current status information of the target device into a data file in a predetermined format and saving it.
[0013] In a second aspect, an embodiment of the present invention provides a laser radar abnormality monitoring device, comprising: a data acquisition module, used to obtain the current physical quantity of a target device in the laser radar; a data analysis module, used to determine the threshold range of the current physical quantity based on the current physical quantity; wherein the threshold range includes a normal threshold range and an abnormal threshold range; an abnormality handling module, used to determine the abnormality handling strategy corresponding to the abnormal threshold range if it is determined that the physical quantity is within the abnormal threshold range, and perform corresponding processing on the target device and / or the laser radar based on the determined abnormality handling strategy.
[0014] According to a specific implementation method of an embodiment of the present invention, the abnormal threshold range includes at least one of the following four abnormal threshold ranges: a first-level abnormal threshold range lower than a normal range; a second-level abnormal threshold range lower than a normal range; a first-level abnormal threshold range higher than a normal range; a second-level abnormal threshold range higher than a normal range; wherein the second-level abnormal threshold range deviates more from the normal threshold range relative to the first-level abnormal threshold range.
[0015] According to a specific implementation manner of the embodiment of the present invention, there is a physical quantity dead zone range of a predetermined length between the normal threshold range and the abnormal threshold range.
[0016] According to a specific implementation manner of the embodiment of the present invention, there is a physical quantity dead zone range of a predetermined length between adjacent abnormal threshold ranges.
[0017] According to a specific implementation method of an embodiment of the present invention, the data acquisition module is also used to: before obtaining the current physical quantity of the target device in the laser radar, poll the devices that need status monitoring in the laser radar to determine the target device that currently needs to be monitored; determine whether the current physical quantity monitoring function of the target device is turned on; if it is turned on, execute the step of obtaining the current physical quantity of the target device in the laser radar.
[0018] According to a specific implementation method of an embodiment of the present invention, the data acquisition module is also used for: in the process of acquiring the current physical quantity of the target device in the laser radar, if the acquisition fails, the number of acquisition failures is accumulated, and after the consecutive number of acquisition failures exceeds a predetermined threshold, it is determined that the target device or the laser radar is in a disconnected state, and the exception handling module is notified to execute the system exception handling strategy after the target device or the laser radar is disconnected.
[0019] According to a specific implementation method of an embodiment of the present invention, the data analysis module is also used to: after the data acquisition module obtains the current physical quantity of the target device, determine the state of the current device in the previous sampling period of the physical quantity; if it is determined that the state of the current device in the previous sampling period of the physical quantity is a disconnected state, notify the exception handling module to execute an exception recovery strategy after disconnection and then reconnection; if it is determined that the state of the current device in the previous sampling period of the physical quantity is a normal state, execute the step of determining the threshold range of the current physical quantity based on the current physical quantity.
[0020] According to a specific implementation manner of the embodiment of the present invention, the data analysis module is further used to: if it is determined that the physical quantity is within a normal threshold range, then compensate or correct the physical quantity.
[0021] According to a specific implementation of the embodiment of the present invention, it also includes a data storage module, which is used to: encapsulate the current physical quantity of the target device and the current state information of the target device into a data file in a predetermined format and save it.
[0022] In a third aspect, an embodiment of the present invention provides a laser radar, comprising a transmitting component, an optical scanning component, a receiving component, a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes any of the methods described in the first aspect when executing the computer program.
[0023] A laser radar and an abnormality monitoring method and device provided by an embodiment of the present invention judge the current working condition of the laser radar by monitoring the current physical quantity of the target device in the laser radar, and use corresponding processing strategies to improve the current working condition when the current working environment is not conducive to the operation of the laser radar or may damage the components of the laser radar, thereby ensuring the normal operation of the laser radar to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 The present invention is a flowchart of a laser radar abnormality monitoring method according to an embodiment of the present invention.
[0026] Figure 2 This is a module schematic diagram of a laser radar abnormality monitoring device according to an embodiment of the present invention.
[0027] Figure 3 The figure is a schematic diagram of a module of a laser radar according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0029] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example
[0030] See also Figure 1As shown, an embodiment of the present invention provides a laser radar abnormality monitoring method, comprising: S01. Obtain the current physical quantity of the target device in the laser radar.
[0031] The target device refers to the various components that can be detected in the laser radar, such as laser emitters, reflectors, prisms, or temperature sensors. Physical quantities refer to the physical quantities used to describe the target device, which can be length, mass, or temperature. Therefore, in one example, obtaining the current physical quantity of the target device in the laser radar can be obtaining the current temperature of the temperature sensor in the laser radar.
[0032] S02. Based on the current physical quantity, determine a threshold range within which the current physical quantity is located.
[0033] The threshold range refers to the range of physical quantities that the laser radar can work in advance, and the normal threshold range and the abnormal threshold range refer to the threshold range being divided into the normal threshold range and the abnormal threshold range according to factors such as the working state of the laser radar and damage to the laser radar itself, and there is a corresponding abnormality handling strategy for the abnormal threshold range. It can be understood that there are different abnormality handling strategies for the abnormal threshold ranges of different physical quantities. Among them, the threshold range includes the normal threshold range and the abnormal threshold range.
[0034] In an example, the temperature threshold range is 20-105°C, which means that the lidar can operate between 20-105°C; the normal threshold range is 20-29°C, and the abnormal threshold range is 30-105°C, which means that when the temperature is between 30-105°C, an abnormal handling strategy will be adopted. For example, when the temperature is 52°C and is within the abnormal temperature threshold range, the system will control certain components to shut down; when the temperature is 106°C and is outside the temperature threshold range, the entire system will shut down, etc.
[0035] S03: If it is determined that the physical quantity is within an abnormal threshold range, determine an abnormality handling strategy corresponding to the abnormal threshold range.
[0036] S04. Based on the determined exception handling strategy, perform corresponding processing on the target device and / or the laser radar.
[0037] In this embodiment, the current physical quantities of the target device in the laser radar are monitored to determine the current working conditions of the laser radar. When the current working environment is not conducive to the operation of the laser radar or may damage the components of the laser radar, corresponding processing strategies are used to improve the current working conditions, thereby ensuring the normal operation of the laser radar to a certain extent.
[0038] In order to facilitate improving the working condition of the laser radar, in one embodiment, the abnormal threshold range may include at least one of the following four abnormal threshold ranges: a first-level abnormal threshold range below the normal range; a second-level abnormal threshold range below the normal range; a first-level abnormal threshold range above the normal range; a second-level abnormal threshold range above the normal range; wherein, the second-level abnormal threshold range deviates more from the normal threshold range relative to the first-level abnormal threshold range.
[0039] Further subdividing the abnormal threshold range will help to adopt different degrees of abnormal handling strategies for the same physical quantity that is in the abnormal threshold range with different degrees of deviation relative to the normal threshold range. In this way, the lidar can be operated and processed more meticulously, thereby better improving the working conditions of the lidar.
[0040] For example, in one example, the temperature threshold range is 20-105°C, where 20-29°C is the normal temperature threshold range, 30-49°C is the first abnormal temperature threshold range that is higher than the normal range, and 50-105°C is the second abnormal temperature threshold range that is higher than the normal range. When the current temperature is 35°C, which is in the first abnormal temperature threshold range that is higher than the normal range, the system will control the fan to work for heat dissipation; when the current temperature is 75°C, which is in the second abnormal temperature threshold range that is higher than the normal range, the system will control certain components to shut down on the basis of the fan working.
[0041] Furthermore, the speed of the fan when it is working is proportional to the current temperature. In one example, when the temperature is 30°C, the fan starts to work; when the temperature is 49°C, the fan speed can reach the maximum speed.
[0042] In order to smooth the data, in one embodiment, there may be a physical quantity dead zone range of a predetermined length between the normal threshold range and the abnormal threshold range. In another embodiment, there may also be a physical quantity dead zone range of a predetermined length between adjacent abnormal threshold ranges.
[0043] Specifically, the physical quantity dead zone range of the predetermined length is located at the junction of the normal threshold range and the abnormal threshold range or at the junction of adjacent abnormal threshold ranges. When the physical quantity is within the physical quantity dead zone range of the predetermined length, the threshold range in which the physical quantity is located will not change. In this way, by setting the physical quantity dead zone range with a predetermined length, it is possible to avoid repeated changes in the processing strategy, which helps to keep the laser radar in a relatively stable working state.
[0044] For example, when the temperature value is between 29°C and 31°C, it is still within the normal temperature threshold range. If there is no predetermined length of the physical quantity dead zone range, the following situation may occur: when the temperature is 30°C, the system controls the fan to work, so that the temperature returns to 29°C at a faster speed, the system controls the fan to stop working, and after a short time, the temperature reaches 30°C again, and the system controls the fan to work again, resulting in frequent opening and closing of the fan, shortening the service life of the fan.
[0045] In order to quickly locate the cause of the failure in acquiring the current physical quantity of the target device when the acquisition fails, in one embodiment, before acquiring the current physical quantity of the target device in the laser radar, the method may also include: polling the devices that need status monitoring in the laser radar to determine the target device that currently needs to be monitored; determining whether the current physical quantity monitoring function of the target device is turned on; if it is turned on, executing the step of acquiring the current physical quantity of the target device in the laser radar.
[0046] In this way, it is possible to exclude the possibility that the acquisition failure is caused by the current physical quantity monitoring function of the target device not being turned on, which helps to quickly locate the cause of the acquisition failure.
[0047] In addition, it can be understood that only one device in the laser radar can be monitored at a time, but by polling the devices in the laser radar that require status monitoring, all devices that require status monitoring can be monitored in sequence in a cycle.
[0048] In order to avoid the failure of obtaining the current physical quantity of the target device in the laser radar due to the target device or the laser radar being in a disconnected state, but the laser radar keeps repeating the step of obtaining the current physical quantity of the target device, in one embodiment, it also includes: in the process of obtaining the current physical quantity of the target device in the laser radar, if the acquisition fails, and the consecutive number of acquisition failures exceeds a predetermined threshold, it is determined that the target device or the laser radar is in a disconnected state, and the system exception handling strategy after the target device or the laser radar is disconnected is executed.
[0049] The predetermined number of times threshold can be determined according to actual needs. In one example, the predetermined number of times threshold is 3 times, that is, after the consecutive number of acquisition failures exceeds 3 times, it is determined that the target device or laser radar is in a disconnected state.
[0050] In order to enable the laser radar to work normally after disconnection and reconnection, in one embodiment, after obtaining the current physical quantity of the target device, the method may also include: judging the state of the current device in the previous sampling period of the physical quantity; if the state of the current device in the previous sampling period of the physical quantity is a disconnected state, executing an abnormal recovery strategy after disconnection and correct reconnection; if the state of the current device in the previous sampling period of the physical quantity is a normal state, executing the step of determining the threshold range of the current physical quantity based on the current physical quantity.
[0051] Specifically, after executing the abnormal recovery strategy after disconnection and then reconnection, the following steps are re-executed: polling the devices in the laser radar that need status monitoring to determine the target device that currently needs to be monitored; determining whether the current physical quantity monitoring function of the target device is turned on; if it is turned on, the step of obtaining the current physical quantity of the target device in the laser radar is executed. Then, the step of determining the threshold range of the current physical quantity based on the current physical quantity is executed.
[0052] In one embodiment, if it is determined that the physical quantity is within a normal threshold range, the method further includes: compensating or correcting the physical quantity.
[0053] In order to be able to predict the remaining life of the components in the laser radar, in one embodiment, after performing corresponding processing on the target component and / or the laser radar based on the determined exception handling strategy, the method also includes: encapsulating the current physical quantity of the target component and the current status information of the target component into a data file in a predetermined format and saving it.
[0054] Specifically, the current physical quantity and current status information of the target device are packaged into a data file in a predetermined format, and there is a checksum and version number. The checksum can be MD5 (Message-Digest Algorithm), CRC (Cyclic Redundancy Check) or Checksum, etc.
[0055] In addition, the current physical quantity and current state information of the target device can be packaged into a data file in a predetermined format and then transferred to an external storage medium for storage. The storage medium can be an SD card (Secure Digital Memory Card), FLASH or EEPROM (Electrically Erasable Programmable read only memory). It is understandable that this method can be migrated to any platform, can meet the versatility of multi-platform migration, and reduce the cost of use.
[0056] Furthermore, the current physical quantities and current status information of the components in the laser radar stored in the external storage medium can be used to predict the remaining life of the current laser radar components and better understand the working conditions and usage scenarios of the laser radar components, which is helpful for the subsequent upgrade of the laser radar. Example
[0057] See also Figure 2 The embodiment of the present invention further provides a laser radar abnormality monitoring device, including: a data acquisition module 101, used to obtain the current physical quantity of the target device in the laser radar; a data analysis module 102, used to determine the threshold range of the current physical quantity based on the current physical quantity; wherein the threshold range includes a normal threshold range and an abnormal threshold range; an abnormality processing module 103, used to determine the abnormality processing strategy corresponding to the abnormal threshold range if it is determined that the physical quantity is within the abnormal threshold range, and perform corresponding processing on the target device and / or the laser radar based on the determined abnormality processing strategy.
[0058] A laser radar and anomaly monitoring device provided by an embodiment of the present invention monitors the current physical quantities of the target device in the laser radar through a data acquisition module 101 and a data analysis module 102 to determine the current working condition of the laser radar, and when the current working environment is not conducive to the operation of the laser radar or may damage the components of the laser radar, the abnormal processing module 103 is used to execute a corresponding processing strategy to improve the current working condition, thereby ensuring the normal operation of the laser radar to a certain extent.
[0059] The laser radar abnormality monitoring device also includes a main control chip, which is electrically connected to the data acquisition module 101, the data analysis module 102 and the abnormality handling module 103, respectively, and specifically, it can be connected through a bus. Generally, the preferred bus connection method can be a board-level bus or a field bus, and specifically, it can be IIC (Inter-Integrated Circuit), SPI (Serial Peripheral Interface), CAN (Controller Area Network) or UART (Universal Asynchronous Receiver / Transmitter), etc. In an example, the following abnormality handling strategies are preset in the abnormality handling module 103, namely: system abnormality handling strategy after disconnection; abnormality recovery strategy after reconnecting correctly after disconnection; abnormality handling strategy when the physical quantity is within the abnormal threshold range; error handling strategy when the physical quantity recovers from the abnormal threshold range to the normal threshold range; compensation (correction) strategy when the physical quantity is within the normal threshold range.
[0060] In one example, the data acquisition module 101 may include an analog to digital converter (ADC), and the main control chip is connected to the analog to digital converter, the data analysis module 102, and the exception handling module 103 through the IIC bus to transmit data; wherein the analog to digital converter can convert the analog signal obtained by the data acquisition module 101 from sampling the temperature sensor into a digital signal, and transmit it to the main control chip through the bus. In this way, the main control chip can obtain the current temperature value of the temperature sensor in the laser radar through the data acquisition module 101, and transmit the current temperature value to the data analysis module 102; the data analysis module 102 analyzes the collected temperature value, determines the threshold range of the temperature, and transmits the threshold range of the temperature to the exception handling module 103; the exception handling module 103 starts the corresponding exception handling strategy, intervenes in the components in the laser radar, so that the laser radar works stably.
[0061] In order to further refine the abnormal handling strategy for physical quantities within the abnormal threshold range, in one embodiment, the abnormal threshold range includes at least one of the following four abnormal threshold ranges: a first-level abnormal threshold range below the normal range; a second-level abnormal threshold range below the normal range; a first-level abnormal threshold range above the normal range; a second-level abnormal threshold range above the normal range; wherein the second-level abnormal threshold range deviates more from the normal threshold range than the first-level abnormal threshold range.
[0062] Corresponding to the four abnormal threshold ranges, the abnormal handling strategy when the physical quantity is within the abnormal threshold range in the above-mentioned abnormal handling module 103 specifically includes: the abnormal handling strategy when the physical quantity is within the first-level abnormal threshold range below the normal range; the abnormal handling strategy when the physical quantity is within the second-level abnormal threshold range below the normal range; the abnormal handling strategy when the physical quantity is within the first-level abnormal threshold range above the normal range; the abnormal handling strategy when the physical quantity is within the second-level abnormal threshold range above the normal range.
[0063] In order to smooth the data, in one embodiment, there is a physical quantity dead zone range of a predetermined length between the normal threshold range and the abnormal threshold range. In another embodiment, there is a physical quantity dead zone range of a predetermined length between adjacent abnormal threshold ranges.
[0064] Specifically, the physical quantity dead zone range of the predetermined length is located at the junction of the normal threshold range and the abnormal threshold range or at the junction of adjacent abnormal threshold ranges. When the physical quantity is within the physical quantity dead zone range of the predetermined length, the threshold range in which the physical quantity is located will not change. In this way, by setting the physical quantity dead zone range with a predetermined length, it is possible to avoid repeated changes in the processing strategy, which is conducive to the normal operation of the laser radar.
[0065] In order to quickly locate the cause of the failure in acquiring the current physical quantity of the target device when the acquisition fails, in one embodiment, the data acquisition module 101 is also used to: before acquiring the current physical quantity of the target device in the laser radar, poll the devices that need status monitoring in the laser radar to determine the target device that currently needs to be monitored; determine whether the current physical quantity monitoring function of the target device is turned on; if it is turned on, execute the step of acquiring the current physical quantity of the target device in the laser radar.
[0066] In this way, it is possible to exclude the possibility that the acquisition failure is caused by the current physical quantity monitoring function of the target device not being turned on, which helps to quickly locate the cause of the acquisition failure.
[0067] Furthermore, it is understandable that only one device in the lidar can be monitored at a time, but all devices requiring status monitoring can be quickly and completely monitored.
[0068] In order to avoid the failure to obtain the current physical quantity of the target device in the laser radar due to the target device or laser radar being in a disconnected state, but the laser radar keeps repeating the step of obtaining the current physical quantity of the target device, in one embodiment, the data acquisition module 101 is also used to: in the process of obtaining the current physical quantity of the target device in the laser radar, if the acquisition fails, the number of acquisition failures is accumulated, and after the consecutive number of acquisition failures exceeds a predetermined number threshold, it is determined that the target device or the laser radar is in a disconnected state, and the exception handling module 103 is notified to execute the system exception handling strategy after the target device or the laser radar is disconnected. Among them, the predetermined number threshold can be determined according to actual needs.
[0069] In order to enable the laser radar to work normally after disconnection and reconnection, in one embodiment, the data analysis module 102 is also used to: after the data acquisition module 101 obtains the current physical quantity of the target device, determine the state of the current device in the previous sampling period of the physical quantity; if it is determined that the state of the current device in the previous sampling period of the physical quantity is a disconnected state, notify the exception handling module 103 to execute an exception recovery strategy after disconnection and correct reconnection; if it is determined that the state of the current device in the previous sampling period of the physical quantity is a normal state, execute the step of determining the threshold range of the current physical quantity based on the current physical quantity.
[0070] Specifically, after executing the abnormal recovery strategy after disconnection and then reconnecting correctly, the data analysis module 102 re-executes the following steps: polling the devices that need status monitoring in the laser radar to determine the target device that currently needs to be monitored; determining whether the current physical quantity monitoring function of the target device is turned on; if it is turned on, executing the step of obtaining the current physical quantity of the target device in the laser radar; and then executing the step of determining the threshold range of the current physical quantity based on the current physical quantity.
[0071] In one embodiment, the data analysis module 102 is further configured to: if it is determined that the physical quantity is within a normal threshold range, then compensate or correct the physical quantity.
[0072] In order to be able to predict the remaining life of the components in the laser radar, in one embodiment, a data storage module is also included, which is used to: encapsulate the current physical quantity of the target device and the current status information of the target device into a data file of a predetermined format and save it.
[0073] The data storage module is used for event recording and is electrically connected to the main control chip. Specifically, when the physical quantities of the devices in the laser radar are within the normal threshold range, the data storage module uses a lower frequency to record the current physical quantities and current state information of the devices in the laser radar; when the physical quantities of the devices in the laser radar are within the abnormal threshold range, the data storage module uses a higher frequency to record the current physical quantities and current state information of the devices in the laser radar.
[0074] Furthermore, there is a controllable log information level inside the data storage module. When the log information level is high, the working status of the abnormal device can be stored more specifically.
[0075] The current physical quantity and current state information of the target device can be packaged into a data file in a predetermined format and then transmitted to the outside through a specific transmission protocol. Specifically, the data storage module can be connected to the external storage medium through a bus, so that the packaged data file is stored in the external storage medium and can be read out in any state.
[0076] Among them, the current physical quantities and current status information of the devices in the laser radar can be used to predict the remaining life of the current laser radar devices and better understand the working conditions and usage scenarios of the laser radar devices, which is helpful for the subsequent upgrade of the laser radar. Example
[0077] See also Figure 3 An embodiment of the present invention provides a laser radar, including a transmitting component 201, an optical scanning component 202, a receiving component 203, a processor 204, a memory 205, and a computer program stored in the memory 205 and executable on the processor 204. When the processor 204 executes the computer program, any method described in Example 1 is executed.
[0078] Specifically, by executing any of the laser radar abnormality handling methods described in Example 1, it is possible to judge the current operating conditions of the laser radar by monitoring the current physical quantities of the target device in the laser radar, and when the current operating environment is not conducive to the operation of the laser radar or may damage the components of the laser radar, use corresponding processing strategies to improve the current operating conditions, thereby ensuring the normal operation of the laser radar to a certain extent.
[0079] It should be noted that, in this article, the emphasis of the scheme described in each embodiment is different, but each embodiment has a certain interrelated relationship. When understanding the scheme of the present invention, each embodiment can refer to each other; in addition, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0080] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A laser radar abnormality monitoring method, characterized in that: include: Obtain the current physical quantity of the target device in the laser radar; Based on the current physical quantity, determining a threshold range in which the current physical quantity is located; wherein the threshold range includes a normal threshold range and an abnormal threshold range; If it is determined that the physical quantity is within the abnormal threshold range, determining an abnormality handling strategy corresponding to the abnormal threshold range; Based on the determined exception handling strategy, corresponding processing is performed on the target device and / or the laser radar.
2. The laser radar abnormality monitoring method according to claim 1, characterized in that: The abnormal threshold range includes at least one of the following four abnormal threshold ranges: Level 1 abnormal threshold range below the normal range; Level II abnormal threshold range below the normal range; Level 1 abnormal threshold range above the normal range; Level II abnormal threshold range above the normal range; Among them, the second-level abnormal threshold range deviates more from the normal threshold range than the first-level abnormal threshold range.
3. The laser radar abnormality monitoring method according to claim 1, characterized in that: There is a physical quantity dead zone range of a predetermined length between the normal threshold range and the abnormal threshold range.
4. The laser radar abnormality monitoring method according to claim 2, characterized in that: There is a physical quantity dead zone range of a predetermined length between adjacent abnormal threshold ranges.
5. The laser radar abnormality monitoring method according to claim 1, characterized in that: Before obtaining the current physical quantity of the target device in the laser radar, the method further includes: Polling the components in the laser radar that need status monitoring to determine the target components that currently need to be monitored; Determining whether a current physical quantity monitoring function of the target device is turned on; If it is turned on, the step of obtaining the current physical quantity of the target device in the laser radar is executed.
6. The laser radar abnormality monitoring method according to claim 1, characterized in that: Also includes: In the process of acquiring the current physical quantity of the target device in the laser radar, if the acquisition fails and the consecutive number of failed acquisitions exceeds a predetermined threshold, it is determined that the target device or the laser radar is in a disconnected state, and the system exception handling strategy after the target device or the laser radar is disconnected is executed.
7. The laser radar abnormality monitoring method according to claim 1, characterized in that: After acquiring the current physical quantity of the target device, the method further includes: Determining the state of the current device in a previous sampling period of the physical quantity; If the state of the current device in the previous sampling period of the physical quantity is a disconnected state, executing an abnormal recovery strategy after disconnection and then reconnection correctly; If the state of the current device in the previous sampling period of the physical quantity is a normal state, the step of determining the threshold range of the current physical quantity based on the current physical quantity is performed.
8. The laser radar abnormality monitoring method according to claim 1, characterized in that: If it is determined that the physical quantity is within a normal threshold range, the method further includes: compensating or correcting the physical quantity.
9. The laser radar abnormality monitoring method according to claim 1, characterized in that: After performing corresponding processing on the target device and / or the laser radar based on the determined exception processing strategy, the method further includes: The current physical quantity of the target device and the current state information of the target device are packaged into a data file in a predetermined format and saved.
10. A laser radar abnormality monitoring device, characterized in that: include: Data acquisition module, used to obtain the current physical quantity of the target device in the laser radar; A data analysis module, configured to determine a threshold range of the current physical quantity based on the current physical quantity; wherein the threshold range includes a normal threshold range and an abnormal threshold range; The exception handling module is used to determine the exception handling strategy corresponding to the exception threshold range if it is determined that the physical quantity is within the exception threshold range, and perform corresponding processing on the target device and / or the laser radar based on the determined exception handling strategy.
11. The laser radar abnormality monitoring device according to claim 10, characterized in that: The abnormal threshold range includes at least one of the following four abnormal threshold ranges: Level 1 abnormal threshold range below the normal range; Level II abnormal threshold range below the normal range; Level 1 abnormal threshold range above the normal range; Level II abnormal threshold range above the normal range; Among them, the second-level abnormal threshold range deviates more from the normal threshold range than the first-level abnormal threshold range.
12. The laser radar abnormality monitoring device according to claim 10, characterized in that: There is a physical quantity dead zone range of a predetermined length between the normal threshold range and the abnormal threshold range.
13. The laser radar abnormality monitoring device according to claim 11, characterized in that: There is a physical quantity dead zone range of a predetermined length between adjacent abnormal threshold ranges.
14. The laser radar abnormality monitoring device according to claim 10, characterized in that: The data acquisition module is also used for: Before obtaining the current physical quantity of the target device in the laser radar, poll the device that needs status monitoring in the laser radar to determine the target device that currently needs to be monitored; Determining whether a current physical quantity monitoring function of the target device is turned on; If it is turned on, the step of obtaining the current physical quantity of the target device in the laser radar is executed.
15. The laser radar abnormality monitoring device according to claim 10, characterized in that: The data acquisition module is also used for: In the process of acquiring the current physical quantity of the target device in the laser radar, if the acquisition fails, the number of failed acquisitions is accumulated, and after the consecutive number of failed acquisitions exceeds a predetermined threshold, it is determined that the target device or the laser radar is in a disconnected state, and the exception handling module is notified to execute the system exception handling strategy after the target device or the laser radar is disconnected.
16. The laser radar abnormality monitoring device according to claim 10, characterized in that: The data analysis module is further used to: after the data acquisition module acquires the current physical quantity of the target device, determine the state of the current device in the previous sampling period of the physical quantity; If it is determined that the state of the current device in the previous sampling period of the physical quantity is a disconnected state, then the exception handling module is notified to execute an exception recovery strategy after disconnection and then reconnection; If it is determined that the state of the current device in the previous sampling period of the physical quantity is a normal state, the step of determining the threshold range of the current physical quantity based on the current physical quantity is performed.
17. The laser radar abnormality monitoring device according to claim 10, characterized in that: The data analysis module is further used to: if it is determined that the physical quantity is within a normal threshold range, then compensate or correct the physical quantity.
18. The laser radar abnormality monitoring device according to claim 10, characterized in that: Also included is a data storage module for: The current physical quantity of the target device and the current state information of the target device are packaged into a data file in a predetermined format and saved.
19. A laser radar, characterized in that: The invention comprises a transmitting component, an optical scanning component, a receiving component, a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method according to any one of claims 1 to 9 when executing the computer program.
