Indoor bay depth measuring method and device and computer equipment

By using a movable platform and lidar to collect point cloud data in indoor bay depth measurement, combined with the processing of an inclinometer and an industrial computer, efficient and automated bay depth measurement is achieved, solving the problem of low accuracy and data processing in the existing technology. Complex issues.

CN118533072AActive Publication Date: 2024-08-23SUZHOU FANGSHI TECH CO LTD

Patent Information

Application Number
CN202410685087.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-23
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

In the existing technology, indoor bay depth measurement accuracy is not high, data processing is complex and time-consuming, and there is a lack of effective solutions.

Method used

Using devices including a movable platform, inclinometer, lidar and industrial computer, 2D point cloud data is collected and converted into room outline point cloud data, and the results are uploaded through the Internet of Things to automatically measure and determine whether the bay depth is qualified.

Benefits of technology

It improves the accuracy and efficiency of bay depth measurement, simplifies data processing, and reduces the labor intensity and time of surveyors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533072A
    Figure CN118533072A
Patent Text Reader

Abstract

The invention relates to an indoor bay depth measuring method and device and computer equipment, and the device comprises the steps: a laser radar is disposed on a longitudinal axis or a transverse axis of a movable platform, and is used for collecting 2D point cloud data; the inclinometer is arranged at a geometric center position of a chassis plane of the movable platform and is used for measuring attitude parameters of the movable platform; the industrial personal computer is used for converting the 2D point cloud data into room contour point cloud data based on a movable platform coordinate system, converting the room contour point cloud data based on the movable platform coordinate system into horizontal plane room contour point cloud data according to the attitude parameters, and determining a bay depth measurement result according to the horizontal plane room contour point cloud data; and the Internet of Things device is in communication connection with the industrial personal computer and is used for uploading the bay depth measurement result to the background server. Through the method and the device, the problems of low measurement precision, complex data processing and time consumption of bay depth measurement in related technologies are solved, and the effect of improving the measurement precision and the measurement efficiency is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building quality monitoring, and in particular to a method, a device and a computer device for measuring the depth of an indoor bay. Background Art

[0002] According to relevant national regulations and specifications, after the completion of a civil residential project, it is necessary to conduct a household quality acceptance inspection for the project. The span depth is one of the important indicators for the quality acceptance of residential projects. The span and depth refer to the distance between the walls in the span and depth directions in the same room, respectively, reflecting the squareness and spatial dimensions of a room. In the industry, surveyors usually use tape measures or laser rangefinders to measure the span depth dimensions. The general span depth measurement method is as follows: select a wall in the room, place a laser rangefinder or tape measure at a certain elevation of the wall, and measure the vertical distance from the point to the opposite wall; repeat the measurement multiple times at different positions along the same elevation, and generally take the maximum and minimum distance range as the measurement indicator, and compare it with the design size and the range standard. If it exceeds the standard value, it is unqualified. Using a tape measure to measure cannot guarantee the accuracy of the measurement data. Although the laser rangefinder can guarantee the measurement accuracy, it also requires surveyors to perform continuous measurement operations, which is labor-intensive and inefficient, and data processing is troublesome and time-consuming.

[0003] At present, no effective solution has been proposed to address the problems of low bay depth measurement accuracy, complex data processing and time-consuming in related technologies. Summary of the invention

[0004] The purpose of this application is to address the deficiencies in the prior art and provide a method, device, computer equipment and computer-readable storage medium for measuring the depth of an indoor bay, so as to at least solve the problems in the related art of low bay depth measurement accuracy, complex data processing and time-consuming.

[0005] To achieve the above purpose, the technical solution adopted by this application is:

[0006] In a first aspect, an embodiment of the present application provides an indoor bay depth measurement device, comprising:

[0007] A movable platform and an inclinometer, a laser radar, an industrial computer and an Internet of Things device arranged on the movable platform, wherein:

[0008] The laser radar is arranged on the longitudinal axis or the transverse axis of the movable platform and is used to collect 2D point cloud data;

[0009] The inclinometer is arranged at the geometric center of the movable platform chassis plane and is used to measure the attitude parameters of the movable platform;

[0010] The industrial computer is used to convert the 2D point cloud data into room outline point cloud data based on the movable platform coordinate system, convert the room outline point cloud data based on the movable platform coordinate system into horizontal plane room outline point cloud data according to the posture parameters, and determine the bay depth measurement result according to the horizontal plane room outline point cloud data;

[0011] The Internet of Things device is communicatively connected with the industrial computer and is used to upload the bay depth measurement result to a background server.

[0012] In some of the embodiments, the movable platform base plane, the inclinometer installation plane, and the lidar installation plane are in the same plane or parallel to each other.

[0013] In some embodiments, determining the bay depth measurement result according to the horizontal plane room outline point cloud data includes:

[0014] According to the horizontal plane room outline point cloud data, four parts of point cloud are extracted in the longitudinal and transverse directions of the movable platform coordinate system, and the four parts of point cloud are respectively fitted into straight lines;

[0015] Determine the target point cloud closest to the fitting straight line from the four parts of point clouds;

[0016] The average value of the distance from the target point cloud to the opposite fitting straight line is calculated, and the average value is determined as the bay depth measurement result.

[0017] In some embodiments, the industrial computer is also used for:

[0018] Perform multiple measurements to obtain multiple bay depth measurement results;

[0019] Determine a maximum value and a minimum value from the plurality of bay depth measurement results, and calculate a range according to the maximum value and the minimum value;

[0020] Determine whether the range is within a preset value range;

[0021] Whether the engineering indicators are qualified is determined based on the results of the judgment.

[0022] In a second aspect, an embodiment of the present application provides an indoor bay depth measurement method for the indoor bay depth measurement device described in the first aspect, comprising:

[0023] Acquire 2D point cloud data collected by a laser radar and attitude parameters of the movable platform measured by an inclinometer;

[0024] Converting the 2D point cloud data into room outline point cloud data based on the movable platform coordinate system;

[0025] Converting the room outline point cloud data based on the movable platform coordinate system into horizontal plane room outline point cloud data according to the posture parameters;

[0026] The span depth measurement result is determined according to the horizontal plane room outline point cloud data.

[0027] In some embodiments, determining the bay depth measurement result according to the horizontal plane room outline point cloud data includes:

[0028] According to the horizontal plane room outline point cloud data, four parts of point cloud are extracted in the longitudinal and transverse directions of the movable platform coordinate system, and the four parts of point cloud are respectively fitted into straight lines;

[0029] Determine the target point cloud closest to the fitting straight line from the four parts of point clouds;

[0030] The average value of the distance from the target point cloud to the opposite fitting straight line is calculated, and the average value is determined as the bay depth measurement result.

[0031] In some embodiments, it also includes:

[0032] Perform multiple measurements to obtain multiple bay depth measurement results;

[0033] Determine a maximum value and a minimum value from the plurality of bay depth measurement results, and calculate a range according to the maximum value and the minimum value;

[0034] Determine whether the range is within a preset value range;

[0035] Whether the engineering indicators are qualified is determined based on the results of the judgment.

[0036] In some embodiments, before extracting the four-part point cloud in the longitudinal and transverse directions of the movable platform coordinate system, the method further includes:

[0037] The horizontal plane room outline point cloud data is preprocessed to remove point clouds that exceed the room size and noise points within a preset area of ​​the movable platform.

[0038] In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for measuring the depth of an indoor bay as described in the second aspect above is implemented.

[0039] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the indoor bay depth measurement method as described in the second aspect above.

[0040] The present application adopts the above technical solution. Compared with the prior art, the embodiment of the present application provides an indoor bay depth measurement device, which includes a movable platform and an inclinometer, a laser radar, an industrial computer and an Internet of Things device arranged on the movable platform, wherein: the laser radar is arranged on the longitudinal axis or the transverse axis of the movable platform, and is used to collect 2D point cloud data; the inclinometer is arranged at the geometric center position of the chassis plane of the movable platform, and is used to measure the posture parameters of the movable platform; the industrial computer is used to convert the 2D point cloud data into room contour point cloud data based on the coordinate system of the movable platform, and convert the room contour point cloud data based on the coordinate system of the movable platform into horizontal plane room contour point cloud data according to the posture parameters, and determine the bay depth measurement result according to the horizontal plane room contour point cloud data; the Internet of Things device is connected to the industrial computer in communication, and is used to upload the bay depth measurement result to the background server. The embodiment of the present application solves the problems of low bay depth measurement accuracy, complex data processing and time-consuming in the related technology, and achieves the effect of improving the accuracy of bay depth measurement and improving measurement efficiency.

[0041] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0043] Figure 1 is a structural block diagram of a mobile terminal according to an embodiment of the present application;

[0044] Figure 2 is a structural schematic diagram of an indoor bay depth measurement device according to an embodiment of the present application;

[0045] Figure 3 is a schematic diagram of a measurement process performed by an indoor bay depth measurement device according to an embodiment of the present application;

[0046] Figure 4 is a schematic diagram of extracting a point cloud in the depth direction of a bay according to an embodiment of the present application;

[0047] Figure 5 is a schematic diagram of the least squares fitting result according to an embodiment of the present application;

[0048] Figure 6 is a flow chart of a method for measuring the depth of an indoor bay according to an embodiment of the present application;

[0049] Figure 7 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0051] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.

[0052] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0053] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0054] This embodiment provides a mobile terminal. The form of the mobile terminal is not specifically limited here, and it can be an industrial computer in the embodiment of the present application. Figure 1 is a structural block diagram of a mobile terminal according to an embodiment of the present application. Figure 1 As shown, the mobile terminal includes: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180, and a power supply 190. Those skilled in the art will understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0055] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:

[0056] The RF circuit 110 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 180 for processing; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit 110 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0057] The memory 120 can be used to store software programs and modules. The processor 180 executes various functional applications and data processing of the mobile terminal by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile terminal (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0058] The input unit 130 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 131 or near the touch panel 131 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 131, the input unit 130 may also include other input devices 132. Specifically, other input devices 132 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0059] The display unit 140 can be used to display information input by the user or information provided to the user and various menus of the mobile terminal. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch panel 131 may cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it is transmitted to the processor 180 to determine the type of touch event. Subsequently, the processor 180 provides a corresponding visual output on the display panel 141 according to the type of touch event. Although in Figure 1 In the embodiment, the touch panel 131 and the display panel 141 are used as two independent components to implement the input and output functions of the mobile terminal, but in some embodiments, the touch panel 131 and the display panel 141 can be integrated to implement the input and output functions of the mobile terminal.

[0060] The mobile terminal may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and / or the backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile terminal, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0061] The speaker 161 and microphone 162 in the audio circuit 160 can provide an audio interface between the user and the mobile terminal. The audio circuit 160 can transmit the received audio data to the speaker 161 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then the audio data is output to the processor 180 for processing, and then sent to another mobile terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing.

[0062] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 170. It provides users with wireless broadband Internet access. Figure 1 A WiFi module 170 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention, or replaced with other short-range wireless transmission modules, such as a Zigbee module or a WAPI module.

[0063] The processor 180 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, so as to monitor the mobile terminal as a whole. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 180.

[0064] The mobile terminal also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 180 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.

[0065] Although not shown, the mobile terminal may also include a camera, a Bluetooth module, etc., which will not be described in detail here.

[0066] In this embodiment, the processor 180 is configured to:

[0067] Acquire 2D point cloud data collected by a laser radar and attitude parameters of the movable platform measured by an inclinometer;

[0068] Converting the 2D point cloud data into room outline point cloud data based on the movable platform coordinate system;

[0069] Converting the room outline point cloud data based on the movable platform coordinate system into horizontal plane room outline point cloud data according to the posture parameters;

[0070] The span depth measurement result is determined according to the horizontal plane room outline point cloud data.

[0071] In some embodiments, the processor 180 is further configured to:

[0072] According to the horizontal plane room outline point cloud data, four parts of point cloud are extracted in the longitudinal and transverse directions of the movable platform coordinate system, and the four parts of point cloud are respectively fitted into straight lines;

[0073] Determine the target point cloud closest to the fitting straight line from the four parts of point clouds;

[0074] The average value of the distance from the target point cloud to the opposite fitting straight line is calculated, and the average value is determined as the bay depth measurement result.

[0075] In some embodiments, the processor 180 is further configured to:

[0076] Perform multiple measurements to obtain multiple bay depth measurement results;

[0077] Determine a maximum value and a minimum value from the plurality of bay depth measurement results, and calculate a range according to the maximum value and the minimum value;

[0078] Determine whether the range is within a preset value range;

[0079] Whether the engineering indicators are qualified is determined based on the results of the judgment.

[0080] In some embodiments, the processor 180 is further configured to:

[0081] The horizontal plane room outline point cloud data is preprocessed to remove point clouds that exceed the room size and noise points within a preset area of ​​the movable platform.

[0082] This embodiment provides a device for measuring the depth of an indoor bay. Figure 2 is a schematic diagram of the structure of an indoor bay depth measurement device according to an embodiment of the present application, such as Figure 2 As shown, the device comprises:

[0083] A movable platform 20 and an inclinometer 21, a laser radar 22, an industrial computer 23 and an Internet of Things device 24 arranged on the movable platform 20, wherein:

[0084] The laser radar 22 is arranged on the longitudinal axis or the transverse axis of the movable platform 20 and is used to collect 2D point cloud data;

[0085] The inclinometer 21 is arranged at the geometric center position of the chassis plane of the movable platform 20, and is used to measure the posture parameters of the movable platform 20;

[0086] The industrial computer 23 is used to convert the 2D point cloud data into room outline point cloud data based on the coordinate system of the movable platform 20, convert the room outline point cloud data based on the coordinate system of the movable platform 20 into horizontal plane room outline point cloud data according to the posture parameters, and determine the bay depth measurement result according to the horizontal plane room outline point cloud data;

[0087] The Internet of Things device 24 is in communication connection with the industrial computer 23 and is used to upload the bay depth measurement result to a background server.

[0088] The movable platform 20 in the embodiment of the present application refers to a platform that can navigate and move autonomously or can be manually remotely controlled, and may include but is not limited to unmanned vehicles, drones, etc. The embodiment of the present application controls the movable platform 20, collects 2D point cloud data and converts it into room contour point cloud data, determines the span depth measurement result, and improves the accuracy and efficiency of the span depth measurement.

[0089] In some of the embodiments, the base plane of the movable platform 20, the installation plane of the inclinometer 21, and the installation plane of the laser radar 22 are in the same plane or parallel to each other.

[0090] In some embodiments, determining the bay depth measurement result according to the horizontal plane room outline point cloud data includes:

[0091] According to the horizontal plane room outline point cloud data, four parts of point cloud are extracted in the longitudinal and transverse directions of the coordinate system of the movable platform 20, and the four parts of point cloud are respectively fitted into straight lines;

[0092] Determine the target point cloud closest to the fitting straight line from the four parts of point clouds;

[0093] The average value of the distance from the target point cloud to the opposite fitting straight line is calculated, and the average value is determined as the bay depth measurement result.

[0094] In some embodiments, the industrial computer 23 is also used for:

[0095] Perform multiple measurements to obtain multiple bay depth measurement results;

[0096] Determine a maximum value and a minimum value from the plurality of bay depth measurement results, and calculate a range according to the maximum value and the minimum value;

[0097] Determine whether the range is within a preset value range;

[0098] Whether the engineering indicators are qualified is determined based on the results of the judgment.

[0099] Through the above steps, the present application solves the problems in the related art of low bay depth measurement accuracy, complex data processing, and time-consuming, and achieves the effect of improving the accuracy of bay depth measurement and improving measurement efficiency.

[0100] Optionally, the inclinometer 21 refers to an instrument that can measure the inclination angle of a plane, and is mounted at the geometric center of the chassis plane of the movable platform 20. The laser radar 22 refers to a device that can collect 2D room contour point clouds, and is horizontally mounted on the longitudinal axis or transverse axis of the movable platform 20. The industrial computer 23 refers to a device that can run the laser radar 22 driver and the point cloud processing algorithm program, and can be installed on the movable platform 20, and the position is not limited. The chassis plane of the movable platform 20, the installation plane of the inclinometer 21, and the installation plane of the laser radar 22 are in the same plane or parallel to each other. The Internet of Things device 24 is installed on the movable platform 20, can communicate with the industrial computer 23, and can upload measurement-related data and information of the movable platform 20 to the background in real time.

[0101] In actual application scenarios, the specific implementation process of the indoor bay depth measurement device is as follows: Figure 3 As shown, the details are as follows:

[0102] (1) Control the movable platform 20 to the room to be measured so that the movable platform 20 is approximately oriented toward the direction of the span or depth.

[0103] (2) Send the measurement command, the laser radar 22 starts to collect 2D point cloud data, and converts the point cloud data into the coordinate system of the movable platform 20. The conversion process is as follows: the coordinates of the point cloud data obtained by the laser radar 22 are relative to the laser radar 22 coordinate system. In order to make the coordinates of the final contour point cloud data in the vehicle coordinate system, the coordinates of each point in the point cloud need to be converted. Let the rotation matrix between the laser radar 22 coordinate system and the movable platform 20 coordinate system be R, and the translation matrix be T. Let the coordinates of the point in the movable platform 20 coordinate system be: (x c ,y c , z c ), the coordinates of the point under the laser radar 22 are: (x l ,y l , z l ), the coordinate transformation form is:

[0104]

[0105] Through this conversion process, a room outline point cloud based on the coordinate system of the movable platform 20 is generated.

[0106] (3) Based on the data from the inclinometer 21, the room outline is projected onto the horizontal plane to obtain the horizontal plane room outline point cloud. The inclinometer 21 is a dynamic inclinometer sensor that can measure the attitude parameters (roll, pitch, and azimuth) of the moving carrier and is suitable for inclinometer measurement in a moving or vibrating state. The inclinometer 21 sensor only outputs sensor data without performing data processing. Assume that the coordinates of the point under the horizontal movable platform 20 are: (x h ,y h , z h ), the coordinates of the original movable platform 20 are: (x c ,y c , z c ), the coordinate transformation form is:

[0107]

[0108] Where R h is the coordinate system rotation matrix between the original point cloud plane and the water surface, and the rotation matrix is ​​calculated by the sensor data (roll angle, pitch angle) of the inclinometer 21. The specific coordinate conversion program is run on the industrial computer 23.

[0109] (4) Preprocessing the horizontal plane room outline point cloud to remove point clouds that obviously exceed the size of a regular room and noise points around the movable platform 20.

[0110] (5) Four parts of point cloud are extracted in the longitudinal and transverse directions of the movable platform 20, respectively. The extraction process is as follows: Figure 4As shown in the figure, specifically: extract 1-meter-long point clouds (the length can be determined by oneself) respectively in the due front, due rear, due left, and due right of the movable platform 20, and use the least squares method [(also known as the method of least squares) is a mathematical optimization technique. It finds the best function match for the data by minimizing the sum of the squares of the errors. Using the least squares method, unknown data can be easily obtained, and the sum of the squares of the errors between the obtained data and the actual data is minimized. The least squares method can also be used for curve fitting. Some other optimization problems can also be expressed by minimizing energy or maximizing entropy using the least squares method] to fit the four parts of the point clouds into straight lines.

[0111] (6) Find the point clouds closest to the fitted straight lines in the four parts of the extracted point clouds respectively, calculate the distances from the point clouds to the opposite straight lines respectively and find the average value, and the average value is the measurement result of the bay width and depth of this time. The determination process of the closest point cloud and the process of calculating the distance to the opposite straight line are as Figure 5 shown in the figure. Use the least squares method to fit the straight line L1, calculate the distances from each point cloud to the fitted straight line respectively. Let the equation of the straight line L1 be Ax + By + C = 0, and the coordinates of the point P be (xi, yi). Then the distance from the point Pi to the straight line L1 is defined as the length of the perpendicular line segment from it to the straight line L1, and di = │Axi + Byi + C│ / √(A2 + B2) can be obtained by calculating the length of the perpendicular line segment from the point Pi to the straight line L1. Let the threshold be T. When di < T, it is considered that the point is the closest to the fitted straight line L1 and is added to the set S1. Let the fitted straight line of the point cloud on the due right be L2, calculate the distances from the points Pi in the set S1 to the fitted straight line L2 respectively, and find the average value of the distances. Then the average value is the measured value of the bay width or depth.

[0112] (7) Conduct multiple measurements in the bay width or depth direction, and obtain the range (in statistics, the range refers to the difference between the maximum value and the minimum value in a set of data, and it is a measure of the degree of dispersion of the data) in the bay width or depth direction. The range should not exceed a certain standard value. Generally, for decoration projects, it is required to be less than or equal to 10 mm. Moreover, the deviation value between the actual measured distance and the designed size should also not exceed a certain standard value. Generally, for decoration projects, it is required to be less than or equal to 10 mm. Otherwise, it is considered that this index is unqualified. Conduct multiple measurements and calculate the maximum and minimum extreme values of the bay width and depth, compare them with the designed size, and obtain the measurement conclusion.

[0113] (8) Automatically write the results into the report file through the program and store them in the industrial control computer 23 or upload the relevant data to the background server through the Internet of Things device 24.

[0114] It should be noted that when the above lidar 22 and inclinometer 21 are installed horizontally, they can be used to measure the bay width and depth of indoor rooms. On the other hand, when the lidar 22 and inclinometer 21 are installed vertically, they can be used to measure the storey height of indoor rooms.

[0115] This application can achieve the following technical effects:

[0116] 1. The measuring equipment is mounted on a movable platform and can be moved autonomously or remotely controlled, which is easy to operate, saving time and effort.

[0117] 2. Use inclinometer and laser radar, and fit the point cloud data to achieve high measurement accuracy.

[0118] 3. Send the measurement command and get the measurement result immediately. The result will be automatically saved and uploaded to the background in real time. There is no need for the surveyor to record, process and analyze the data, which greatly improves the measurement efficiency.

[0119] The embodiment of the present application also provides a method for measuring the depth of an indoor bay, which is executed by the industrial computer in the above embodiment. Figure 6 is a flow chart of a method for measuring the depth of an indoor bay according to an embodiment of the present application. Figure 6 As shown, the process includes the following steps:

[0120] Step S601, acquiring 2D point cloud data collected by a laser radar and attitude parameters of the movable platform measured by an inclinometer;

[0121] Step S602, converting the 2D point cloud data into room outline point cloud data based on the movable platform coordinate system;

[0122] Step S603, converting the room outline point cloud data based on the movable platform coordinate system into horizontal plane room outline point cloud data according to the posture parameters;

[0123] Step S604, determining the bay depth measurement result according to the horizontal plane room outline point cloud data.

[0124] In some embodiments, the step S604 of determining the bay depth measurement result according to the horizontal plane room outline point cloud data includes:

[0125] According to the horizontal plane room outline point cloud data, four parts of point cloud are extracted in the longitudinal and transverse directions of the movable platform coordinate system, and the four parts of point cloud are respectively fitted into straight lines;

[0126] Determine the target point cloud closest to the fitting straight line from the four parts of point clouds;

[0127] The average value of the distance from the target point cloud to the opposite fitting straight line is calculated, and the average value is determined as the bay depth measurement result.

[0128] In some embodiments, the method further comprises:

[0129] Perform multiple measurements to obtain multiple bay depth measurement results;

[0130] Determine a maximum value and a minimum value from the plurality of bay depth measurement results, and calculate a range according to the maximum value and the minimum value;

[0131] Determine whether the range is within a preset value range;

[0132] Whether the engineering indicators are qualified is determined based on the results of the judgment.

[0133] In some embodiments, before extracting the four-part point cloud in the longitudinal and transverse directions of the movable platform coordinate system, the method further includes:

[0134] The horizontal plane room outline point cloud data is preprocessed to remove point clouds that exceed the room size and noise points within a preset area of ​​the movable platform.

[0135] The embodiment of the present application is based on a method for measuring the depth of an indoor span. The method obtains a horizontal plane room contour point cloud by collecting 2D point cloud data and using inclinometer data to perform horizontal projection on the room contour point cloud collected by a lidar, extracts the span and depth direction point clouds and uses the least squares method to fit a straight line, and calculates the average of the fitted straight line distances from multiple point clouds on the straight line to the opposite wall as measurement data. The measurement results are automatically saved and uploaded to the background in real time through an Internet of Things device. The measuring equipment has strong mobility and can be remotely controlled to realize automatic navigation measurement operations, thereby improving measurement accuracy and efficiency.

[0136] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0137] The embodiment provides a computer device. In combination with the indoor bay depth measurement method of the embodiment of the present application, the computer device can be implemented. Figure 7 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present application.

[0138] The computer device may include a processor 71 and a memory 72 storing computer program instructions.

[0139] Specifically, the processor 71 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0140] Among them, the memory 72 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 72 may include a hard disk drive (HDD), a floppy disk drive, a solid-state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 72 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 72 may be inside or outside the data processing device. In a specific embodiment, the memory 72 is a non-volatile memory. In a specific embodiment, the memory 72 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable ProgrammableRead-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable ProgrammableRead-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.

[0141] The memory 72 may be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 71 .

[0142] The processor 71 implements any one of the indoor bay depth measurement methods in the above embodiments by reading and executing computer program instructions stored in the memory 72 .

[0143] In some embodiments, the computer device may further include a communication interface 73 and a bus 70. Figure 7 As shown, the processor 71, the memory 72, and the communication interface 73 are connected via a bus 70 and communicate with each other.

[0144] The communication interface 73 is used to implement communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication interface 73 can also implement data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage, and image / data processing workstations.

[0145] The bus 70 includes hardware, software or both, and couples the components of the computer device to each other. The bus 70 includes but is not limited to at least one of the following: a data bus, an address bus, a control bus, an expansion bus, and a local bus. By way of example and not limitation, bus 70 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 70 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.

[0146] In addition, in combination with the indoor bay depth measurement method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any indoor bay depth measurement method in the above embodiment is implemented.

[0147] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0148] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An indoor bay depth measuring device, characterized in that: include: A movable platform and an inclinometer, a laser radar, an industrial computer and an Internet of Things device arranged on the movable platform, wherein: The laser radar is arranged on the longitudinal axis or the transverse axis of the movable platform and is used to collect 2D point cloud data; The inclinometer is arranged at the geometric center of the movable platform chassis plane and is used to measure the attitude parameters of the movable platform; The industrial computer is used to convert the 2D point cloud data into room outline point cloud data based on the movable platform coordinate system, convert the room outline point cloud data based on the movable platform coordinate system into horizontal plane room outline point cloud data according to the posture parameters, and determine the bay depth measurement result according to the horizontal plane room outline point cloud data; The Internet of Things device is communicatively connected with the industrial computer and is used to upload the bay depth measurement result to a background server.

2. The device according to claim 1, characterized in that The movable platform chassis plane, the inclinometer installation plane, and the laser radar installation plane are in the same plane or parallel to each other.

3. The device according to claim 1 or 2, characterized in that: Determining the bay depth measurement result according to the horizontal plane room outline point cloud data comprises: According to the horizontal plane room outline point cloud data, four parts of point cloud are extracted in the longitudinal and transverse directions of the movable platform coordinate system, and the four parts of point cloud are respectively fitted into straight lines; Determine the target point cloud closest to the fitting straight line from the four parts of point clouds; The average value of the distance from the target point cloud to the opposite fitting straight line is calculated, and the average value is determined as the bay depth measurement result.

4. The device according to claim 3, characterized in that The industrial computer is also used for: Perform multiple measurements to obtain multiple bay depth measurement results; Determine a maximum value and a minimum value from the plurality of bay depth measurement results, and calculate a range according to the maximum value and the minimum value; Determine whether the range is within a preset value range; Whether the engineering indicators are qualified is determined based on the results of the judgment.

5. A method for measuring the depth of an indoor bay used in the indoor bay depth measuring device according to any one of claims 1 to 4, characterized in that: include: Acquire 2D point cloud data collected by a laser radar and attitude parameters of the movable platform measured by an inclinometer; Converting the 2D point cloud data into room outline point cloud data based on the movable platform coordinate system; Converting the room outline point cloud data based on the movable platform coordinate system into horizontal plane room outline point cloud data according to the posture parameters; The span depth measurement result is determined according to the horizontal plane room outline point cloud data.

6. The method according to claim 5, characterized in that Determining the bay depth measurement result according to the horizontal plane room outline point cloud data comprises: According to the horizontal plane room outline point cloud data, four parts of point cloud are extracted in the longitudinal and transverse directions of the movable platform coordinate system, and the four parts of point cloud are respectively fitted into straight lines; Determine the target point cloud closest to the fitting straight line from the four parts of point clouds; The average value of the distance from the target point cloud to the opposite fitting straight line is calculated, and the average value is determined as the bay depth measurement result.

7. The method according to claim 6, characterized in that Also includes: Perform multiple measurements to obtain multiple bay depth measurement results; Determine a maximum value and a minimum value from the plurality of bay depth measurement results, and calculate a range according to the maximum value and the minimum value; Determine whether the range is within a preset value range; Whether the engineering indicators are qualified is determined based on the results of the judgment.

8. The method according to claim 6, characterized in that Before extracting the four-part point cloud in the longitudinal and transverse directions of the movable platform coordinate system, the method further includes: The horizontal plane room outline point cloud data is preprocessed to remove point clouds that exceed the room size and noise points within a preset area of ​​the movable platform.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 5 to 8 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 5 to 8 is implemented.

Citation Information

Patent Citations

  • Dynamic three-dimensional tunnel section deformation detection and analysis system, method and device

    CN109059792A

  • Range finder with data processing function

    CN112305518A

  • Three-dimensional laser point cloud house information automatic extraction method

    CN115248032A

  • Indoor structure point cloud segmentation method

    CN117788774A

Cited By

  • Engineering equipment angle measurement method and system based on inclinometer

    CN119642775A

  • Wall surface operation robot and positioning and navigation method for wall surface operation robot

    CN119897842A