Distance measuring assembly and distance measuring method

By using the first sensing device in the ranging component to determine the material type of the target object and correcting the information of the second sensing device, the distance measurement error problem caused by material differences in the existing technology is solved, and the ranging accuracy and application are improved. flexibility.

CN118566934APending Publication Date: 2024-08-30BEIJING ROCKROBO TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410605920.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Due to the material problem of the obstacle surface, the distance measurement result of the existing distance measurement component is different from the actual distance.

Method used

The first sensing device is configured to determine the material type of the target object, and corrects the sampling information of the second sensing device based on the material type to determine the distance of the target object.

Benefits of technology

It improves the accuracy of distance measurement, reduces the impact of the volume and installation of distance measurement components on the equipment, and enhances application flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566934A
    Figure CN118566934A
Patent Text Reader

Abstract

The invention relates to a distance measuring assembly and a distance measuring method, the distance measuring assembly comprises a controller, a first sensing device and a second sensing device, and the first sensing device and the second sensing device are in communication connection with the controller; the sampling view field of the first sensing device and the sampling view field of the second sensing device cover the surface of the same target object; and the controller is used for determining the material type of the surface of the same target object based on the sampling information of the first sensing device, and performing information correction on the sampling information of the second sensing device based on the material type to determine the distance of the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a distance measurement component and a distance measurement method. Background Art

[0002] With the development of science and technology, more and more devices are equipped with ranging components to avoid collisions with obstacles. For example, the ranging and collision avoidance of sweeping robots and drones. However, in existing technologies, the ranging components may cause the distance measurement results to differ from the actual distance due to the material problems on the obstacle surface. Summary of the Invention

[0003] In response to the above-mentioned problems in the prior art, the present application sets a first sensor device to determine the material type of the target object, and corrects the sampling information of the second sensor device based on the material type to determine the distance of the target object.

[0004] In order to solve the above problems, the present application provides a distance measurement component, including a controller, a first sensor device and a second sensor device.

[0005] The first sensing device and the second sensing device are respectively connected to the controller for communication;

[0006] The sampling field of view of the first sensing device and the sampling field of view of the second sensing device cover the same target object surface;

[0007] The controller is used to determine the material type of the surface of the same target object based on the sampling information of the first sensing device, and to correct the sampling information of the second sensing device based on the material type to determine the distance of the target object.

[0008] On the other hand, the present application also provides a ranging method, characterized in that it is implemented based on the ranging component described in the present application, and the method includes:

[0009] Acquiring sampling information of the first sensing device and sampling information of the second sensing device;

[0010] In the case where the sampling information of the first sensing device meets a preset condition, determining material identification information corresponding to the preset condition; the material identification information represents the material type of the surface of the same target object;

[0011] The sampling information of the second sensing device is corrected based on the material identification information to determine the distance of the target object.

[0012] On the other hand, the present application also provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the above-mentioned ranging method.

[0013] On the other hand, the present application also provides a computer storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the above-mentioned ranging method.

[0014] On the other hand, the present application also provides a self-moving device, which includes the anti-collision device described in the present application.

[0015] Due to the above technical solution, the distance measurement component described in this application has the following beneficial effects:

[0016] By setting up a first sensing device and determining the material type of the target object surface based on the sampling information of the first sensing device, the sampling information of the second sensing device is corrected based on the material type of the same target object surface, ensuring that the actual distance measurement calculation matches the material type of the target object, thereby improving the distance measurement accuracy.

[0017] By adopting the first sensing device and the second sensing device, the volume of the ranging component can be effectively reduced, thereby reducing the impact of the installation of the ranging component on the equipment, such as the weight distribution impact caused by installation and the spatial impact of the installation position of the ranging component, thereby improving the application flexibility of the ranging component. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] To more clearly illustrate the technical solution of this application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are merely some embodiments of this application, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0019] Figure 1 This is a structural diagram of a distance measurement component provided by an embodiment of the present application;

[0020] Figure 2 This is a structural diagram of a non-controller end in a distance measurement component provided in an embodiment of the present application;

[0021] Figure 3 This is a schematic diagram of the working principle of a distance measurement component provided in an embodiment of the present application;

[0022] Figure 4 This is a flow chart of a distance measurement method provided in an embodiment of the present application;

[0023] Figure 5 This is a schematic diagram of a correction process in a distance measurement method provided in an embodiment of the present application;

[0024] Figure 6 This is a hardware structure block diagram of a distance measurement method provided in an embodiment of the present application.

[0025] Among them, 1-controller, 2-first sensing device, 21-infrared transmitter, 22-infrared receiver, 23-pipe circuit board, 3-second sensing device, 31-time of flight chip, 32-time of flight circuit board, 4-target object surface, 5-collimating lens, 6-connector. DETAILED DESCRIPTION

[0026] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0027] References to "one embodiment" or "embodiment" herein refer to specific features, structures, or characteristics that may be included in at least one implementation of the present application. Throughout the description of this application, it should be understood that the terms "upper," "lower," "left," "right," "top," and "bottom," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely for ease of description and simplification. They do not indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and are therefore not to be construed as limiting the present application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly specifying the number of the technical features referred to. Thus, a feature designated "first" or "second" may explicitly or implicitly include one or more of the features. Furthermore, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential sequence. It should be understood that such terms are interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0028] Combine Figure 1, introducing a distance measurement component provided by an embodiment of the present application, the component includes a controller 1, a first sensor device 2 and a second sensor device 3, the first sensor device 2 and the second sensor device 3 are respectively connected to the controller 1 for communication; the sampling field of view of the first sensor device 2 and the sampling field of view of the second sensor device 3 cover the same target object surface 4; the controller 1 is used to determine the material type of the same target object surface 4 based on the sampling information of the first sensor device 2, and is used to correct the sampling information of the second sensor device 3 based on the material type to determine the distance to the target object.

[0029] In an embodiment of the present application, the ranging component is applied to the device, and the controller 1 can be another controller 1 independent of the device controller 1, or it can be the device controller 1 itself; preferably, when the controller 1 is another controller 1 independent of the device controller 1, the controller 1 of the ranging component is communicatively connected with the device controller 1.

[0030] In the embodiment of the present application, the first sensing device 2 and the second sensing device 3 are both devices that receive electromagnetic wave information and convert the electromagnetic wave information into electrical signals that are easy to amplify, transmit and calculate; specifically, the electromagnetic wave information includes at least one of wavelength information such as ultraviolet information, visible light information, infrared information, multispectral information and microwave information.

[0031] In the specific embodiment of the present application, the electromagnetic wave wavelength of the first sensing device 2 is inconsistent with the electromagnetic wave wavelength of the second sensing device 3, thereby avoiding interference between the first sensing device 2 and the second sensing device 3 and improving the ranging accuracy of the ranging component.

[0032] In a specific embodiment of the present application, the electromagnetic wave information includes infrared information, that is, the first sensor device 2 and the second sensor device 3 both work using infrared rays. Preferably, the infrared band corresponding to the first sensor device 2 is inconsistent with the infrared band corresponding to the second sensor device 3.

[0033] In a specific embodiment of the present application, the sampling field of view of the first sensing device 2 represents the scanning field of view of the first sensing device 2; the sampling field of view of the second sensing device 3 represents the scanning field of view of the second sensing device 3; the sampling field of view of the first sensing device 2 and the sampling field of view of the second sensing device 3 cover the same target object surface 4, indicating that the first sensing device 2 and the second sensing device 3 can detect the same target object surface 4.

[0034] In a specific embodiment of the present application, different material types have different correction schemes for the sampling information of the second sensor device 3. Specifically, the correction scheme may be to use compensation parameters or different calculation formulas.

[0035] In an embodiment of the present application, a first sensing device 2 is provided, and the material type of the target object surface 4 is determined based on the sampling information of the first sensing device 2, so that the sampling information of the second sensing device 3 is corrected based on the material type of the same target object surface 4, thereby ensuring that the actual distance measurement result matches the material type of the target object, thereby improving the distance measurement accuracy.

[0036] In the embodiment of the present application, by adopting the first sensing device 2 and the second sensing device 3, the volume of the ranging component can be effectively reduced, thereby reducing the impact of the installation of the ranging component on the device, such as the weight distribution impact caused by the installation and the spatial impact of the installation position of the ranging component, thereby improving the application flexibility of the ranging component.

[0037] In an embodiment of the present application, the controller 1 includes a compensation acquisition module and a distance calculation module. The compensation acquisition module is used to obtain compensation parameters corresponding to the material type; the distance calculation module is used to perform distance calculation based on the compensation parameters and the sampling information of the second sensing device 3 to determine the distance of the target object.

[0038] In a specific embodiment of the present application, different material types correspond to different compensation parameters.

[0039] In a specific embodiment of the present application, the same material type may include multiple materials; for example, the material type includes a mirror material type and a non-mirror material type, wherein the non-mirror material type includes other materials except the mirror material type.

[0040] In the embodiment of the present application, by setting the compensation parameters corresponding to the material type, the sampling information of the second sensing device 3 is compensated, thereby improving the distance calculation accuracy of the target object, thereby improving the distance measurement accuracy of the ranging component; and reducing the complexity of the distance calculation, thereby improving the timeliness of the distance measurement.

[0041] In a specific embodiment of the present application, the following formula (1) can be used to calculate the distance:

[0042] L=l+m (1)

[0043] Wherein, L is the distance of the target object, l is the theoretical distance determined based on the sampling information of the second sensing device, and m is the compensation parameter.

[0044] In a specific embodiment of the present application, the controller 1 also includes a preliminary judgment module, a review module and a material determination module. The preliminary judgment module is used to parse the sampling information of the first sensing device 2 to determine the target material type corresponding to the target object surface 4; the target material type is one of multiple material types; the review module is used to determine the confidence of the target material type based on the sampling information of the second sensing device 3; the confidence represents the judgment accuracy of the target material type; the material determination module is used to determine that the target material type is the material type of the same target object surface 4 when the confidence of the target material type is greater than the preset confidence.

[0045] In a specific embodiment of the present application, by using the sampling information of the second sensing device 3 to perform confidence judgment, the accuracy of material judgment can be improved, thereby improving the distance measurement accuracy of the distance measurement component.

[0046] In a specific embodiment of the present application, the preliminary judgment module includes a judgment unit, and the review module includes a review unit. The judgment module is used to determine that the target material type is a mirror material type when the receiving peak value of the first sensing device 2 is greater than a preset threshold; the receiving peak value refers to the peak information of the electromagnetic wave; the review unit is used to determine the confidence of the mirror material type based on the receiving value of the second sensing device 3 when the target material type is a mirror material type.

[0047] In the embodiment of the present application, by determining the type of mirror material, the distance measurement accuracy of the ranging component when facing the mirror material can be improved, thereby improving the application flexibility of the ranging component.

[0048] In the embodiment of the present application, the first sensing device 2 includes an infrared tube sensing device.

[0049] In a specific embodiment of the present application, the first sensing device 2 can be an infrared dual-tube sensing device with a specific optical path; the infrared dual-tube sensing device is a sensor that works based on detecting the reflection and absorption of infrared rays by the target object. Specifically, the infrared dual-tube sensing device converts the intensity of the infrared rays into an electrical signal, which is then transmitted to the controller 1 for processing.

[0050] In the embodiment of the present application, by configuring the first sensing device 2 as an infrared paired-tube sensing device having a specific optical path, the reflection intensity for different materials is made inconsistent. Specifically, the reflection intensity of the infrared paired-tube sensing device for mirror-like materials is much higher than that for non-mirror-like materials, thereby improving the accuracy of determining the material of the target object surface 4 and thus improving the distance measurement accuracy. In addition, the infrared paired-tube sensor has the advantage of being small in size, thereby reducing the size of the distance measurement component and increasing the application flexibility of the distance measurement component.

[0051] In the embodiment of the present application, the first sensing device 2 also includes an image sensing device; that is, the first sensing device 2 can also adopt an image sensing device; the image sensing device refers to a sensor that uses the photoelectric conversion function of a photoelectric device to convert the light image on the photosensitive surface into an electrical signal that is proportional to the light image; the image sensor has the advantages of small size and high sampling accuracy, thereby improving the distance measurement accuracy and the application flexibility of the ranging component.

[0052] In a specific embodiment of the present application, the first sensing device 2 can use at least one sensor such as an infrared dual-tube sensor device, an image sensor device, an ultraviolet sensor device, and an electromagnetic sensor device to determine the material of the surface 4 of the target object. For example, the first sensing device 2 can be an infrared dual-tube sensor device, the first sensing device 2 can also be an image sensor device, or the first sensing device 2 can also be a sensor device formed by a combination of an infrared dual-tube sensor device and an image sensor device; the specific setting of the first sensing device 2 is set according to specific needs.

[0053] In the embodiment of the present application, the infrared tube sensing device includes an infrared emitter 21 and an infrared receiver 22 , and the infrared emitter 21 and the infrared receiver 22 are arranged at intervals.

[0054] In the embodiment of the present application, by spacing the infrared emitter 21 and the infrared receiver 22, the reflection intensity change value of the infrared tube sensor device for different materials can be increased, thereby improving the judgment accuracy of the material of the target object surface 4 and thus improving the distance measurement accuracy.

[0055] In a specific embodiment of the present application, the infrared tube-pairing sensing device further includes a tube-pairing circuit board 23 , the infrared transmitter 21 and the infrared receiver 22 are respectively fixedly connected to the tube-pairing circuit board 23 , and the tube-pairing circuit board 23 is communicatively connected to the controller 1 via a connector 65 .

[0056] In the embodiment of the present application, the second sensor device 3 is disposed between the infrared transmitter 21 and the infrared receiver 22 .

[0057] In the embodiment of the present application, the infrared transmitter 21 transmits an infrared laser to the surface 4 of the target object, and the target object reflects the infrared laser to the infrared receiver 22 .

[0058] In the embodiment of the present application, by setting the second sensing device 3 between the infrared transmitter 21 and the infrared receiver 22, when the second sensing device 3 scans the surface 4 of the target object, the first sensing device 2 can also scan the surface 4 of the target object, thereby improving the accuracy of judging the material of the target object surface 4 and thus improving the distance measurement accuracy.

[0059] In other embodiments of the present application, the infrared transmitter 21 may be disposed between the second sensor device 3 and the infrared receiver 22 , or the infrared receiver 22 may be disposed between the second sensor device 3 and the infrared transmitter 22 .

[0060] In the embodiment of the present application, the infrared emitter 21, the second sensor device 3 and the infrared receiver 22 are arranged to intersect with the ground from top to bottom; preferably, the infrared emitter 21, the second sensor device 3 and the infrared receiver 22 are arranged perpendicular to the ground from top to bottom.

[0061] In another embodiment of the present application, the infrared transmitter 21, the second sensor device 3 and the infrared receiver 22 are arranged to intersect with the ground from left to right; preferably, the infrared transmitter 21, the second sensor device 3 and the infrared receiver 22 are arranged to intersect with the ground from left to right and are parallel to the ground.

[0062] refer to Figure 3 In the embodiment of the present application, the infrared transmitter 21 and the infrared receiver 22 are symmetrically arranged with respect to the second sensing device 3 so that the first sensing device 2 and the second sensing device 3 can scan the same point on the surface 4 of the target object.

[0063] In the embodiment of the present application, by arranging the infrared transmitter 21 and the infrared receiver 22 symmetrically about the second sensing device 3, it is possible to ensure that the first sensing device 2 and the second sensing device 3 can detect the same point on the surface 4 of the target object, thereby improving the accuracy of judging the material of the surface 4 of the target object, and thereby improving the accuracy of distance measurement.

[0064] In the embodiment of the present application, the distance measuring component further comprises a collimating lens 5, and the infrared tube sensing device is matched with the collimating lens (5).

[0065] In the embodiment of the present application, the collimating lens 5 is used to collimate the laser beam to ensure parallel emission and parallel reception of the laser beam.

[0066] In the embodiment of the present application, the collimating lens 5 is provided to ensure that the infrared tube sensor device can emit and receive laser beams in parallel, thereby improving the detection accuracy of the infrared tube sensor device, thereby improving the accuracy of determining the material of the target object surface 4, and thereby improving the distance measurement accuracy. In addition, the collimating lens 5 has the advantage of being small in size, thereby reducing the size of the distance measurement component and improving the application flexibility of the distance measurement component.

[0067] In a specific embodiment of the present application, the infrared emitter 21 is arranged opposite to the first collimating lens 5, and the infrared receiver 22 is arranged opposite to the second collimating lens 5; the infrared laser emitted by the infrared emitter 21 passes through the first collimating lens 5 to the surface 4 of the target object, and the infrared laser reflected by the target object passes through the second collimating lens 5 to the infrared receiver 22.

[0068] In a specific embodiment of the present application, the collimating lens 5 includes a Fresnel lens.

[0069] In the embodiment of the present application, the second sensor device 3 is a sensor device integrating transmission and reception.

[0070] In the embodiment of the present application, the second sensing device 3 includes a time-of-flight sensing device.

[0071] In an embodiment of the present application, a time-of-flight (TOF) sensing device refers to a device that uses a tiny laser to emit infrared light. The infrared light is reflected by the surface 4 of the target object to the TOF sensing device, and the distance between the ranging component and the surface 4 of the target object is determined based on the time difference between the emission and reception of the infrared light.

[0072] In the embodiment of the present application, by adopting a TOF sensor device, the sampling accuracy of the second sensor device 3 can be improved, thereby improving the distance measurement accuracy of the ranging component; in addition, the use of a TOF sensor device can reduce the volume of the ranging component, thereby improving the application flexibility of the ranging component.

[0073] In an embodiment of the present application, the TOF sensing device includes a time-of-flight (TIME OF FLIGHT, TOF) chip 31 and a time-of-flight (TIME OF FLIGHT, TOF) circuit board 32. The TOF chip 31 is fixed on the TOF circuit board 32, and the TOF circuit board 32 is communicatively connected to the controller 1; preferably, the TOF circuit board 32 is connected to the tube circuit board 23 through a pin, and the tube circuit board 23 is communicatively connected to the controller 1 through a connector 65.

[0074] In a specific embodiment of the present application, the TOF sensor device emits infrared light to the surface 4 of the target object through a transparent lens, and the infrared light reflected by the target object is transmitted to the TOF sensor device itself through the transparent lens.

[0075] The distance measurement component in the embodiment of the present application has the following beneficial effects:

[0076] By setting up a first sensing device 2 and determining the material type of the target object surface 4 based on the sampling information of the first sensing device 2, the sampling information of the second sensing device 3 is corrected based on the material type of the same target object surface 4, thereby ensuring that the actual distance measurement result matches the material type of the target object, thereby improving the distance measurement accuracy.

[0077] By adopting the first sensor device 2 and the second sensor device 3, the volume of the ranging component can be effectively reduced, thereby reducing the impact of the installation of the ranging component on the equipment, such as the weight distribution impact caused by the installation and the spatial impact of the installation position of the ranging component, thereby improving the application flexibility of the ranging component.

[0078] An embodiment of the present application also provides a self-moving device, which includes the ranging component provided in the embodiment of the present application; preferably, the self-moving device can be a sweeping robot, a drone, a walking humanoid robot, etc.

[0079] Combine Figure 4 , introduces a ranging method provided in an embodiment of the present application, the method comprising:

[0080] S1001: Acquire sampling information of a first sensor device and sampling information of a second sensor device.

[0081] S1002: When the sampling information of the first sensing device meets a preset condition, determine material identification information corresponding to the preset condition; the material identification information represents the material type of the surface of the same target object.

[0082] S1003: Correct the sampling information of the second sensor device based on the material identification information to determine the distance to the target object.

[0083] In the embodiment of the present application, S1003 includes:

[0084] S2001. Obtain compensation parameters corresponding to material identification information.

[0085] S2002: Perform distance calculation based on the compensation parameter corresponding to the material identification information and the sampling information of the second sensor device to determine the distance to the target object.

[0086] In a specific embodiment of the present application, S1002 includes:

[0087] S10021. Analyze the sampling information of the first sensing device to determine the target material type corresponding to the surface of the target object; the target material type is one of multiple material types.

[0088] S10022. Determine the confidence level of the target material type based on the sampling information of the second sensing device; the confidence level represents the accuracy of the judgment of the target material type.

[0089] S10023. When the confidence level of the target material type is greater than a preset confidence level, determine that the target material type is the material type of the same target object surface.

[0090] In a specific embodiment of the present application, S10021 includes:

[0091] When the receiving peak value of the first sensing device is greater than a preset threshold, it is determined that the target material type is a mirror material type; the receiving peak value refers to the peak value information of the electromagnetic wave.

[0092] S10022 includes:

[0093] In the case where the target material type is a specular material type, the confidence level of the specular material type is determined based on the received value of the second sensing device.

[0094] The beneficial effects of the ranging method provided in the embodiment of the present application are consistent with those of the ranging component provided in the embodiment of the present application, and will not be elaborated on here.

[0095] An embodiment of the present application also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the ranging method as described above.

[0096] The memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for functions, etc.; the data storage area can store data created based on the use of the device, etc. In addition, the memory can include high-speed random access memory and non-volatile memory, such as at least one hard disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory can also include a memory controller 1 to provide the processor with access to the memory.

[0097] The method embodiments provided in the embodiments of the present application can be executed in electronic devices such as mobile terminals, computer terminals, servers or similar computing devices. Figure 6 This is an electronic device provided by the embodiment of the present application. Figure 6As shown, the electronic device 900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPUs) 910 (the processor 910 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 930 for storing data, and one or more storage media 920 (such as one or more mass storage devices) for storing application programs 923 or data 922. Among them, the memory 930 and the storage medium 920 can be temporary storage or permanent storage. The program stored in the storage medium 920 may include one or more modules, each of which may include a series of instruction operations on the electronic device. Furthermore, the central processing unit 910 may be configured to communicate with the storage medium 920 to execute a series of instruction operations in the storage medium 920 on the electronic device 900. The electronic device 900 may also include one or more power supplies 960, one or more wired or wireless network interfaces 950, one or more input and output interfaces 940, and / or one or more operating systems 921, such as Wi ndows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.

[0098] The input / output interface 940 can be used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by a communications provider of the electronic device 900. In one embodiment, the input / output interface 940 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the input / output interface 940 can be a radio frequency (RF) module for wireless communication with the Internet.

[0099] It can be understood by those skilled in the art that Figure 6 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 6 More or fewer components than shown, or with Figure 6 Different configurations shown.

[0100] An embodiment of the present application further provides a storage medium storing at least one instruction or at least one program segment, which is loaded and executed by a processor to implement the above-mentioned ranging method.

[0101] The above description has fully disclosed the specific embodiments of this application. It should be noted that any changes made by those skilled in the art to the specific embodiments of this application do not depart from the scope of the claims of this application. Accordingly, the scope of the claims of this application is not limited to the above specific embodiments.

Claims

1. A distance measuring component, characterized in that: It comprises a controller (1), a first sensor device (2) and a second sensor device (3), The first sensor device (2) and the second sensor device (3) are respectively connected to the controller (1) for communication; The sampling field of view of the first sensor device (2) and the sampling field of view of the second sensor device (3) cover the same target object surface (4); The controller (1) is used to determine the material type of the surface (4) of the same target object based on the sampling information of the first sensor device (2), and to perform information correction on the sampling information of the second sensor device (3) based on the material type to determine the distance of the target object.

2. The distance measuring component according to claim 1, characterized in that: The controller (1) comprises a compensation acquisition module and a distance calculation module. The compensation acquisition module is used to obtain compensation parameters corresponding to the material type; The distance calculation module is used to perform distance calculation based on the compensation parameter and the sampling information of the second sensor device (3) to determine the distance of the target object.

3. The distance measuring component according to claim 1, characterized in that: The first sensing device (2) comprises an infrared tube sensing device.

4. The distance measuring component according to claim 3, characterized in that: The infrared tube sensing device comprises an infrared transmitter (21) and an infrared receiver (22), wherein the infrared transmitter (21) and the infrared receiver (22) are arranged at an interval.

5. The distance measuring component according to claim 4, characterized in that: The second sensing device (3) is arranged between the infrared transmitter (21) and the infrared receiver (22).

6. The distance measuring component according to claim 5, characterized in that: The infrared transmitter (21) and the infrared receiver (22) are symmetrically arranged with respect to the second sensing device (3).

7. The distance measuring component according to claim 3, characterized in that: It also comprises a collimating lens (5), and the infrared tube sensing device is arranged in conjunction with the collimating lens (5).

8. The distance measuring component according to claim 1, characterized in that: The second sensing device (3) comprises a time-of-flight sensing device.

9. A distance measurement method, characterized in that: Based on the ranging component according to any one of claims 1 to 8, the method comprises: Acquire sampling information of the first sensor device and sampling information of the second sensor device; In the case where the sampling information of the first sensor device meets the preset condition, determining the material identification information corresponding to the preset condition; the material identification information represents the material type of the surface of the same target object; The sampling information of the second sensor device is corrected based on the material identification information to determine the distance of the target object.

10. The distance measurement method according to claim 9, characterized in that: The step of correcting the sampling information of the second sensor device based on the material identification information to determine the distance to the surface of the target object includes: Obtaining compensation parameters corresponding to the material identification information; The distance calculation is performed based on the compensation parameter corresponding to the material identification information and the sampling information of the second sensor device to determine the distance of the target object.

11. A computer storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the ranging method according to any one of claims 9-10.

12. An electronic device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the ranging method according to any one of claims 9-10.

13. A self-propelled device, characterized in that: The invention comprises an anti-collision device according to any one of claims 1 to 8.