Indoor decoration robot autonomous operation method and system based on engineering drawing semantic recognition, robot and storage medium
By using semantic recognition and on-site registration based on engineering drawings, the problems of on-site surveying and mapping by decoration robots and manual annotation have been solved, enabling high-precision autonomous operation and multi-process reuse, thus improving decoration efficiency and accuracy.
Patent Information
- Application Number
- CN202611684331.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing construction robots rely on on-site surveying and mapping, and work points are marked manually. The accuracy of matching drawings with the site is low, and different processes are difficult to reuse on the same mobile platform.
By using semantic recognition based on engineering drawings, the system identifies the objects of the decoration work and generates tasks. It also uses environmental sensing devices for on-site registration and adopts modular work execution mechanisms to achieve autonomous operation of multiple processes.
It enables high-precision operations without on-site surveying and mapping, reduces the workload of manual annotation, improves the accuracy of object identification, and supports the autonomous completion of multiple decoration processes on the same platform.
Smart Images

Figure CN123169142A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of robotics and building decoration automation technology, and in particular to an autonomous operation method, system, indoor decoration robot, computer-readable storage medium, and electronic device based on semantic recognition of engineering drawings. Background Technology
[0002] For a long time, interior decoration work, such as wall grooving, wall spraying, drilling, and sanding, has mainly relied on manual labor. Taking wall grooving as an example, workers need to determine the location of electrical points such as switches, sockets, and distribution boxes according to the construction drawings, and then use hand-held cutting machines and electric hammers to cut vertical and horizontal grooves along the wall for embedding conduits and junction boxes. This process has problems such as high labor intensity, serious dust and noise pollution, and poor consistency due to the reliance on workers' experience for the location and size of the grooves.
[0003] With the development of robotics technology, construction robots have emerged for processes such as grooving, plastering, and spraying. These robots typically include a mobile chassis, lifting or multi-degree-of-freedom execution mechanisms, and environmental perception devices such as LiDAR and cameras. However, the autonomous operation capabilities of existing construction robots heavily rely on on-site environmental maps. Their workflow generally involves: after the robot enters the site, it is first remotely controlled or manually navigated to the target construction area, collecting on-site data point by point using Simultaneous Localization and Mapping (SLAM) technology to build a grid map or point cloud map. Then, the work points are manually marked and the work path is planned on the constructed map before the work can be performed. This "map first, then mark, then work" approach has the following shortcomings: First, on-site surveying and mapping is time-consuming, requiring robots to scan the entire area before operation. In environments lacking texture and with highly repetitive structures, such as unfinished houses and basements, mapping is prone to degradation and loop failure, resulting in unstable map quality. Second, work points still need to be manually marked on the map one by one, making it impossible to directly utilize the design information already contained in the construction drawings. This results in a large amount of repetitive work, and manual marking is prone to errors. Third, in multi-story, multi-unit, and multi-batch engineering projects, robots often need to frequently move between multiple work areas. Each time they enter a new work area, they need to re-map and mark, making it difficult to meet the engineering efficiency requirements of "starting work as soon as they enter the site".
[0004] To utilize construction drawings, existing technologies include solutions for converting DXF and other format drawings into raster maps. These typically involve recursively traversing the drawing elements, generating raster images according to physical dimensions, and performing coordinate transformations to provide a navigation map for mobile robots. However, these solutions primarily address the format conversion of the drawing's geometric information; the output remains a map for robot navigation and does not perform semantic recognition of electrical or equipment symbols in the drawings. Work locations and their process parameters still require manual determination. Furthermore, alignment between the drawing coordinate system and the actual on-site coordinate system still relies on manual teaching or calibration, failing to truly achieve an autonomous closed loop from drawing to on-site operation.
[0005] In terms of registration and localization between drawings and the site, general point cloud registration algorithms (such as the Iterative Closest Point (ICP) algorithm) mostly aim to minimize the point-to-point distance. However, engineering drawings are two-dimensional wall wireframes, while the LiDAR on site collects three-dimensional point clouds. The two data formats are different, so direct point-to-point registration is not applicable. Furthermore, the regular and repetitive structures such as walls and columns in a bare building are prone to generating a large number of mismatches, causing the registration to get stuck in local optima and resulting in incorrect initial pose estimation. In addition, the wheel velocity sensor and inertial measurement unit have cumulative errors during robot movement. If only dead reckoning is relied upon, the pose will drift as the travel distance increases, causing the end effector to fail to align with the work surface when the robot arrives at the work station.
[0006] In terms of semantic recognition of drawings, the drawing specifications, symbol styles and layer organization of engineering drawings vary from design unit to design personnel. General target detection or text recognition models have limited accuracy in recognizing symbols on non-standard drawings. Furthermore, classifying symbols solely based on their appearance fails to fully utilize the spatial relationship between electrical points such as switches and sockets and walls and door openings, which can easily lead to incorrect attribution of points to adjacent walls and cause errors in the location of grooves.
[0007] On the other hand, most existing decoration robots are single-function special-purpose equipment. For example, a grooving robot can only groove, and a spraying robot can only spray. The analysis of drawings, the operation process and the equipment body are isolated from each other. When the operation execution mechanism is changed, it is necessary to re-teach and reconfigure. There is a lack of a universal method that can automatically generate different operation tasks from the semantics of drawings and complete a variety of decoration operations by changing the operation execution mechanism on the same mobile platform.
[0008] In summary, the existing technology lacks an autonomous operation method for interior decoration robots that can directly utilize the semantic information of engineering drawings, automatically identify the work objects and generate work tasks, complete the high-precision registration between drawings and the site without prior on-site surveying and mapping, and is applicable to various decoration operations. Summary of the Invention
[0009] To address the aforementioned problems in existing technologies, this invention provides an autonomous operation method, system, indoor decoration robot, computer-readable storage medium, and electronic device for indoor decoration robots based on semantic recognition of engineering drawings. It aims to solve technical problems such as existing decoration robots relying on on-site surveying and mapping, manual annotation of work points, low accuracy of matching drawings with the site, and difficulty in reusing the same mobile platform for different processes.
[0010] To achieve the above objectives, the present invention adopts the following technical solution.
[0011] An autonomous operation method for an interior decoration robot based on semantic recognition of engineering drawings, wherein the interior decoration robot includes a mobile chassis, an execution mechanism mounted on the mobile chassis, and an environmental sensing device, and the method includes: S1. Obtain engineering drawings of the target renovation area, wherein the engineering drawings contain graphic representations of architectural structural elements; S2. Perform image analysis and semantic recognition on the engineering drawings to identify the architectural structural elements and decoration work objects in the engineering drawings, and determine the object type of the decoration work objects and their position information in the world coordinate system of the drawings. S3. Based on the object type of the decoration work object, retrieve the decoration work process rules corresponding to the object type, and generate a work task based on the decoration work process rules and the location information; S4. Using the engineering drawings and the work task as a priori work map, after the robot enters the target decoration area, the environmental perception device collects on-site environmental data, extracts the first structural feature from the engineering drawings, extracts the second structural feature from the on-site environmental data, registers the second structural feature with the first structural feature, and determines the robot's initial pose in the world coordinate system of the drawings, without the need for pre-surveying and mapping on-site. S5. Based on the work task and the initial pose, plan a navigation path, control the mobile chassis to move to the work station, and convert the work position into the end work coordinates of the work execution mechanism; S6. Control the work execution mechanism to perform the decoration work according to the work task.
[0012] Furthermore, the present invention employs a trained image recognition model for semantic recognition of the engineering drawings, the image recognition model including a deep neural network and / or a multimodal large model; in one embodiment, the image recognition model is trained using a multi-task joint loss function including category classification loss, detection box regression loss, and symbol region segmentation loss, to simultaneously output the category, detection box, and symbol region of the drawing symbols; in another embodiment, the spatial positional relationship between the drawing symbols and walls and doorways is combined to determine the object type and the wall or finish to which it belongs through Bayesian posterior probability determination; in yet another embodiment, objects with a recognition confidence level below a threshold are output for manual verification.
[0013] Furthermore, in the registration between drawings and the site, this invention extracts wall lines, doorway edges, window opening edges, and column edges from engineering drawings as first structural features, and extracts line features and surface features from the site point cloud as second structural features. In one embodiment, a coarse registration candidate pose is obtained by solving the planar rigid body transformation using a random sampling consensus algorithm, and then the initial pose is obtained by iterative fine registration using the wall lines on the drawings as a reference and minimizing the weighted point-to-line distance. In another embodiment, the registration confidence is calculated based on the interior point ratio and interior point residual, and supplementary sampling or manual intervention is triggered when the registration confidence is insufficient.
[0014] Furthermore, during robot movement, the present invention employs extended Kalman filtering to fuse the dead reckoning predictions from wheel speedometers and / or inertial measurement units with the observations registered with drawing features, thereby suppressing pose drift. In one embodiment, the working position in the drawing world coordinates is converted into the end-effector working coordinates through a homogeneous coordinate transformation chain that includes the world coordinate system, chassis base coordinate system, and end-effector coordinate system. In another embodiment, after the robot reaches its position, the working surface is checked and the working coordinates are corrected using a vision camera.
[0015] Furthermore, the operation execution mechanism includes at least one of a grooving mechanism, a spraying mechanism, a drilling mechanism, and a grinding mechanism, and is detachably installed on a mobile chassis via a modular interface; when an electrical point is identified, a grooving task of vertical and / or horizontal grooves is generated based on the box size, groove depth, groove width, groove direction, and height from the ground, and in one embodiment, points on the same wall surface are merged into continuous grooves through graph optimization; when a finishing operation area is identified, a spraying or grinding operation area, operation path, and operation parameters are generated.
[0016] The present invention also provides an indoor decoration robot operation system based on semantic recognition of engineering drawings, an indoor decoration robot, a computer-readable storage medium and an electronic device, the specific solutions of which are detailed in the claims and the specific embodiments described in the specification.
[0017] Compared with the prior art, the present invention has the following beneficial effects: (1) The present invention uses engineering drawings and their tasks directly as the robot's prior work map. After the robot enters the site, it only needs to collect the site environment data once and register it with the structural features of the drawings to determine the initial pose. There is no need to traverse the site to survey and build the map, nor is there a need for manual marking of the work points on the map. This realizes the closed loop of "drawing import - entry registration - autonomous operation", which significantly shortens the work preparation time and enables the robot to "enter the site and start working".
[0018] (2) This invention detects, classifies and segments drawing symbols through an image recognition model, and makes a post-hoc judgment in combination with spatial context. It can automatically identify decoration work objects such as switches, sockets, and distribution boxes and determine the wall to which they belong, reducing the amount of manual annotation work on non-standard drawings and improving the accuracy of work object identification and attribution judgment.
[0019] (3) The present invention adopts point-to-line weighted registration of “drawing wireframe - on-site point cloud”, with the wall line of the drawing as the registration reference. It is more in line with the data characteristics of engineering drawings as two-dimensional wireframes and on-site as point cloud than the general point-to-point registration. Combined with random sampling consistency coarse registration and confidence degree judgment, it can obtain a stable and reliable initial pose in the environment of a rough house with repetitive and symmetrical structure, and avoid the registration from getting trapped in local optimum.
[0020] (4) This invention uses extended Kalman filtering to fuse dead reckoning and drawing feature observation, continuously corrects the pose during movement, suppresses the cumulative error of wheel speed meter and inertial measurement unit, and improves the positioning accuracy of the end effector on the work surface when the robot arrives at the work station.
[0021] (5) The present invention allows different work execution mechanisms to be replaced by the same mobile platform through a modular interface. Based on the semantics of the drawings and process rules, different work tasks such as grooving, spraying, drilling and grinding are automatically generated, which improves the reusability of equipment and drawing information and facilitates the continuous completion of multiple decoration processes on the same work surface.
[0022] (6) The present invention sets up a manual review or manual intervention link when the identification confidence and registration confidence are insufficient. While ensuring the efficiency of autonomous operation, it also takes into account the adaptability to non-standard drawings and complex sites, and has strong engineering practicality. Attached Figure Description
[0023] Figure 1 The overall flowchart of the autonomous operation method of the indoor decoration robot based on semantic recognition of engineering drawings provided in the embodiments of the present invention; Figure 2 This is a structural schematic diagram of the indoor decoration robot provided in an embodiment of the present invention; Figure 3This is a block diagram of an indoor decoration robot operation system based on semantic recognition of engineering drawings provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the registration of wall lines on drawings with point clouds on site provided in an embodiment of the present invention, wherein... Figure 4 (a) is the wall line on the drawing (first structural feature). Figure 4 (b) is the on-site point cloud (second structural feature). Figure 4 (c) is a schematic diagram after the point cloud and the drawing have been registered and aligned; Figure 5 A schematic diagram of the coordinate transformation chain between the drawing world coordinate system, the mobile chassis base coordinate system, and the end coordinate system provided in an embodiment of the present invention; Figure 6 A schematic diagram of the electrical points and grooving trajectory on the wall (working surface) provided in an embodiment of the present invention; Figure 7 This is a hardware structure block diagram of an electronic device provided in an embodiment of the present invention.
[0024] In the diagram: 1—Mobile chassis; 2—Work execution mechanism; 3—Environmental sensing device; 31—LiDAR; 32—Vision camera; 4—Telescopic column; 5—End-effector; 6—Track; 7—Modular interface; 8—Controller; 11—Rotation mechanism; 100—Indoor decoration robot operation system based on engineering drawing semantic recognition; 101—Drawing acquisition module; 102—Semantic recognition module; 103—Work task generation module; 104—Registration and positioning module; 105—Navigation operation module; 106—Storage module; 800—Electronic device; 801—Processor; 802—Memory; 803—Bus; W—Work surface (wall). Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for explaining the present invention and are not intended to limit the present invention. In the description of the present invention, unless otherwise stated, "multiple" means two or more; "and / or" describes the relationship between related objects, indicating that three relationships can exist, for example, "A and / or B" can represent: A existing alone, A and B existing simultaneously, and B existing alone. The technical features in the various embodiments of the present invention can be combined with each other without conflict.
[0026] The core concept of this invention lies in the fact that the construction robot is no longer viewed as a passive execution device that requires on-site surveying and mapping followed by manual annotation of work points. Instead, it uses the engineering drawings already formed during the design phase as the highest information source. First, semantic recognition is performed on the drawings to obtain a structured work task specifying "on which wall, at what location, what process, and with what parameters." Then, the drawings and the work task as a whole are used as a priori work map. After the robot enters the site, it only needs to register the on-site structural features with the structural features of the drawings to obtain its own pose in the coordinate system of the drawing world. Subsequently, it plans its path, transforms its coordinates, and executes the work. Thus, this invention transforms the traditional "on-site mapping—manual annotation—robot operation" process into a "drawing semantic understanding—on-site registration—autonomous operation" process.
[0027] Example 1: Hardware Composition of Indoor Decoration Robot and Operating System like Figure 2 As shown, this embodiment provides an indoor decoration robot, including a mobile chassis 1, a work execution mechanism 2, an environmental sensing device 3, a telescopic column 4, and a controller 8.
[0028] The mobile chassis 1 is used to enable the robot to move within the target renovation area. In one embodiment, the mobile chassis 1 is a tracked chassis, including two tracks 6 and drive motors and reduction mechanisms that drive the two tracks respectively. Straight-line movement and turning are achieved through the differential speed of the two tracks. The tracked chassis has good traversal capability against potholes, slopes, and scattered debris on the unfinished floor. In other embodiments, the mobile chassis 1 can also be a wheeled chassis, a Mecanum wheel chassis, or a wheel-tracked hybrid chassis. The mobile chassis 1 is equipped with wheel speed meters (e.g., encoders) to measure the travel distance of the two drive wheels or tracks; in one embodiment, an inertial measurement unit (IMU) is also provided to measure the angular velocity and linear acceleration of the chassis. A controller 8 and a power supply are housed inside the mobile chassis 1.
[0029] The telescopic column 4 is mounted on the mobile chassis 1 and is used to lift the working actuator 2 to the required height on the working surface W. In one embodiment, the telescopic column 4 is a multi-stage sleeve structure, including sequentially nested fixed sleeves and at least one stage of movable sleeves, driven to extend and retract vertically by an electric cylinder, a lead screw and nut mechanism, or a sprocket and chain mechanism. A rotating mechanism 11 is provided at the top of the telescopic column 4, which can rotate around a vertical axis. A horizontal arm is connected to the rotating mechanism 11, and the working actuator 2 is located at the end of the horizontal arm. In one embodiment, the horizontal arm can also be provided with horizontal extension and pitch degrees of freedom, allowing the end-effector 5 to perform two-dimensional or three-dimensional movement within the working surface W. The lifting height of the telescopic column 4 is detected by a height sensor (e.g., an absolute encoder, a pull rope sensor, or a servo motor-embedded encoder) for subsequent coordinate transformation.
[0030] The work execution mechanism 2 is an end device for performing decoration work on the work surface W, including an end working head 5 and corresponding drive and feed components. In one embodiment, the work execution mechanism 2 is detachably installed at the end of the cross arm via a modular interface 7. The modular interface 7 integrates a mechanical positioning interface, an electrical interface, and a pneumatic or hydraulic interface, allowing for quick replacement of different end working heads 5. The end working head 5 may be, for example, a grooving mechanism (including a cutting disc, cutting motor, feed cylinder, and dust hood), a spraying mechanism (including a spray gun, feed pump, and regulating valve), a drilling mechanism (including an electric drill and feed mechanism), or a grinding mechanism (including a grinding disc and a floating mechanism). In one embodiment, the modular interface 7 is equipped with an electrical connection identification contact or a radio frequency identification (RFID) reader / writer, which allows the robot to identify the type of the currently installed end working head 5 and automatically invoke the corresponding work control program; in other embodiments, the type of end working head 5 can also be manually configured by the operator on the human-machine interface unit.
[0031] The environmental sensing device 3 is used to collect on-site environmental data, including but not limited to lidar 31, vision camera 32, depth camera, ultrasonic sensor, and millimeter-wave radar. In one embodiment, lidar 31 is a two-dimensional or three-dimensional lidar, installed on the top of the mobile chassis 1 (if necessary, it can be raised by a short pole to reduce obstruction), used to collect on-site point cloud data; vision camera 32 is one or more, one of which is installed near the end-effector 5, used to collect images of the working surface W and perform visual verification after positioning, and surround-view cameras can also be installed around the chassis if necessary; depth camera is used to acquire three-dimensional information of walls and obstacles.
[0032] like Figure 7 As shown, the controller 8 (i.e., electronic device 800) includes a processor 801, a memory 802, a bus 803 connecting the two, and an input / output interface. The processor 801 can be a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a field-programmable gate array (FPGA), or a combination thereof; considering the inference requirements of the image recognition model, in one embodiment, the controller 8 also includes a neural network accelerator (NPU). The memory 802 includes read-only memory, random access memory, and solid-state drives, etc., for storing computer programs, engineering drawings, prior work maps, image recognition model parameters, and decoration work process rules. The input / output interface is connected via the bus 803 to the drive unit of the mobile chassis 1, the servo driver of the work execution mechanism 2, the telescopic column 4, and the drive unit of the rotary mechanism 11 (i.e., the... Figure 7The invention includes a lifting / rotation drive (the lifting drive drives the telescopic column 4 to extend and retract vertically, and the rotation drive drives the rotation mechanism 11 to rotate the horizontal arm around the vertical axis), an environmental sensing device 3, and a human-machine interaction unit. It should be noted that computationally intensive steps such as drawing semantic recognition can be completed locally and the results sent to the robot, or completed by the cloud / host computer and sent via a wireless network. This invention does not limit the specific physical location of the computation.
[0033] like Figure 3 As shown, this embodiment also provides an indoor decoration robot operation system 100 based on semantic recognition of engineering drawings. Functionally, it includes a drawing acquisition module 101, a semantic recognition module 102, a task generation module 103, a registration and positioning module 104, a navigation operation module 105, and a storage module 106. The drawing acquisition module 101 is used to acquire engineering drawings; the semantic recognition module 102 is used to perform image analysis and semantic recognition on the engineering drawings; the task generation module 103 is used to generate task assignments based on object type and process rules; the registration and positioning module 104 is used to register the on-site structural features with the structural features in the drawings to determine the robot's pose; the navigation operation module 105 is used for navigation, coordinate transformation, and operation control; and the storage module 106 is used to store a process rule base, a priori operation map, and model parameters. Each of these modules can be implemented by the processor 801 executing programs in the memory 802, or by independent hardware circuits. The data interaction relationships between the modules are as follows: Figure 3 As shown.
[0034] Example 2: Overall Flow of Autonomous Operation Method like Figure 1 As shown, the autonomous operation method in this embodiment includes steps S1 to S6.
[0035] S1. Obtain the engineering drawings for the target renovation area. The engineering drawings include graphic representations of architectural structural elements. These drawings can be professional drawings provided by the design firm, covering architecture, structure, electrical, and plumbing aspects. Drawing formats include DWG, DXF, PDF, or scanned images. The drawings contain architectural structural elements such as walls, doorways, windows, and columns, as well as symbols and labels for renovation work objects such as switches, sockets, distribution boxes, lighting fixtures, plumbing points, and equipment terminals.
[0036] S2. Perform image analysis and semantic recognition on engineering drawings to identify building structural elements and decoration work objects, and determine the object type of the decoration work objects and their position information in the world coordinate system of the drawings.
[0037] S3. Retrieve the corresponding decoration operation process rules according to the object type, and generate an operation task containing the operation location and operation parameters.
[0038] S4. Using engineering drawings and work tasks as a priori work map, the robot collects on-site environmental data after entering the site, registers the on-site structural features with the structural features in the drawings, and determines the initial pose without the need for on-site pre-survey mapping.
[0039] S5. Based on the task and initial position, plan the navigation path, control the mobile chassis to move to the work station, and convert the work position into end-point work coordinates.
[0040] S6. Control the work execution mechanism to perform decoration work according to the work tasks.
[0041] The specific implementations of S2 to S6 will be described in detail in Examples 4 to 9, respectively.
[0042] Example 3: Acquisition and Preprocessing of Engineering Drawings In S1, the drawing acquisition module 101 imports engineering drawings from the design management system, storage device, or human-computer interaction unit via wired or wireless means. For vector format drawings such as DWG and DXF, it parses their layers, primitives (lines, arcs, polylines, text, annotations, block references, etc.) and their geometric coordinates; for PDF or image format drawings, it first performs layout parsing, and if necessary, performs vector reconstruction or directly hands them over to the image recognition model for processing.
[0043] Engineering drawings are typically measured in millimeters and stored in a drawing coordinate system (draft coordinate system). This invention unifies them into a drawing world coordinate system: In one embodiment, the coordinate axis directions of the drawing world coordinate system are determined based on the north arrow, grid lines, or designated reference points in the drawing. A known point in the drawing (e.g., the intersection of a grid line) is selected as the origin of the coordinate system, and the drawing coordinates are converted into physical coordinates in meters according to the drawing scale or unit annotations. The drawing world coordinate system is a planar coordinate system, with its x and y axes located in the floor horizontal plane; the information in the height direction z is given by elevation views, section views, or text annotations, or assigned a value by the height above ground specified in the process rules (see Embodiment 4 for details).
[0044] In one implementation, the drawings are preprocessed, including: deleting or filtering non-geometric elements such as drawing frames, title blocks, title tags, and text descriptions; merging and cleaning up broken and duplicate lines; and initially classifying walls, doors, windows, columns, and electrical symbols in different layers according to layer names or block names. This preprocessing provides standardized input for subsequent semantic recognition, but this invention does not rely on the standardization of layer names. For drawings with disordered layers or obtained through scanning, the image recognition model of Embodiment Four still performs the recognition.
[0045] Example 4: Semantic Recognition of Engineering Drawings Semantic recognition in S2 includes steps such as drawing symbol detection and classification, spatial context determination, confidence verification, and height information determination.
[0046] (I) Detection and Classification of Drawing Symbols Based on Image Recognition Model In one implementation, the semantic recognition module 102 divides the drawing into several image slices according to the drawing space or the drawing sheet size, and uses a trained image recognition model to detect and classify the slices. The image recognition model can be a convolutional neural network-based object detection network (such as the improved YOLO series, Faster R-CNN series), a semantic segmentation network, or a multimodal visual large model (such as a pre-trained large model with visual understanding capabilities). Considering that engineering drawings contain a large number of repetitive and highly standardized symbols, one implementation uses a multi-task network of "object detection + semantic segmentation" to simultaneously output the category, detection box, and symbol mask area for each drawing symbol; for text annotations in the drawing (such as "WL1", "0.3m from the ground", etc.), the text recognition model (OCR) is used to identify and associate them with adjacent symbols.
[0047] To simultaneously train the classification, bounding box regression, and region segmentation tasks, in one implementation, the image recognition model employs the following multi-task joint loss function, with the corresponding formula as follows: Classification loss Focal loss is used to address the class imbalance problem in engineering drawings where the number of rare symbols such as distribution boxes is far less than that of ordinary socket symbols. The corresponding formula is as follows: In the formula, For the first The class weight of a symbol can be set according to the reciprocal of the frequency of that class of samples in the training set, with rare symbols being given greater weight. This is a focusing parameter used to reduce the weight of easily classified samples and focus training on difficult samples. An example value of 2 is taken. For the model, the first The symbol is predicted to be the first. The probability of a class This is a category label for uniquely heated forms.
[0048] Detection box regression loss The complete intersection-union ratio (CIoU) loss is used, and the corresponding formula is as follows: in The aspect ratio consistency penalty term is used to constrain the aspect ratio of the detection box and the annotation box to be consistent. Compared with the loss using only the intersection-union ratio, CIoU takes into account the overlap area, center point distance and aspect ratio, making the regression of detection boxes for small electrical symbols more accurate.
[0049] Symbolic region segmentation loss Using Dice loss, the corresponding formula is as follows: Used to characterize a predictive symbol mask With annotation mask The degree of overlap. Weighting coefficients. , , The values can be adjusted during training based on the convergence of the three tasks; an example value is [value to be inserted here]. , , .
[0050] In one implementation, the training samples are derived from historical engineering drawings from the same design unit. The samples are expanded by annotating the drawings with symbols and by performing data enhancements such as rotating, scaling, replacing line types, breaking up blocks, and adding noise. The specific scale and network structure of the training data are determined by the actual algorithm during engineering implementation, and this invention does not limit this.
[0051] (ii) Object type and attribution determination based on spatial context Classifying symbols solely based on their appearance can easily confuse similar symbols (e.g., low-voltage sockets and high-voltage sockets), and it's also difficult to determine which wall a particular symbol belongs to. Therefore, in one implementation, the semantic recognition module 102 further combines the spatial relationship between the symbols on the drawing and the building structural elements for determination.
[0052] Specifically, first, based on the geometric position of the walls in the drawings, calculate the distance from each drawing symbol to each adjacent wall. Distance to the nearest doorway The system extracts information such as the height of the symbols. Using electrical installation standards as a priori, such as switches typically being located beside doorways at a height of approximately 1.3m, sockets typically being located on walls at approximately 0.3m above the ground, and distribution boxes typically being located higher on walls, the spatial distances of different types of symbols are modeled as corresponding statistical distributions. Then, the first symbol is determined based on the Bayesian posterior probability. The type of each symbol, and the corresponding formula, are as follows: in That is, the symbol image features given by the image recognition model belong to the first... Class likelihood, , The first The statistical distribution of the distances from the symbol to the wall and to the door (in one implementation, it is fitted to a Gaussian distribution, the mean and variance of which are given by the installation specifications or sample statistics). This represents the prior probability of this type of symbol appearing. The category with the highest posterior probability is taken as the final type, and then... Assigning symbols to the nearest wall or facade with the highest posterior probability. Contextual judgment significantly reduces symbol misclassification and wall assignment errors.
[0053] In other embodiments, the joint determination of spatial context can also employ a conditional random field (CRF) and other probabilistic graphical models, where the type and affiliation of each symbol in the same room are treated as interrelated random variables for joint reasoning. This invention does not limit this approach.
[0054] (III) Identifying Confidence Level and Manual Verification In one implementation, the image recognition model outputs a recognition confidence score (e.g., the posterior probability of detection and classification, or the maximum posterior probability calculated by the aforementioned formula) for each symbol. When the recognition confidence score is lower than a preset confidence threshold (exemplarily 0.75), the symbol and its position on the drawing are marked as pending review and output, to be manually confirmed, supplemented, or corrected via a human-computer interaction interface. Only when the confidence scores of all symbols meet the requirements or after manual review is completed does the process proceed to S3. The confidence threshold can be adjusted to balance accuracy and manual workload. This step ensures that the task remains accurate and reliable even when the drawing is not standardized, symbols are missing, or there are significant differences from common legends.
[0055] (iv) Location and altitude information In one implementation, the location information of the decoration work object output by S2 includes: object type, the number of the wall / surface to which it belongs, and coordinates in the horizontal plane of the drawing world coordinate system. and height The horizontal plane coordinates Height information is calculated from the center point (or base box center) of the symbol detection frame or mask according to the world coordinate system of the drawing. The methods of obtaining the height include: (1) reading the elevation of symbols from the elevation and section drawings; (2) identifying and resolving text markings such as "0.3m from the ground" and "1.3m from the ground" in the drawings into heights; (3) assigning a value to the standard ground height specified in the decoration operation process rules corresponding to the type of work object (e.g., 0.3m for ordinary sockets, 1.3m for switches, and 1.8m for wall-mounted air conditioner sockets) when the height is not given in the drawings, forming a complete three-dimensional work position. It should be noted that for robots that mainly navigate in the horizontal plane, the planar coordinates in the drawings are not directly related to the height of the work object. Sufficient to support navigation and registration, altitude It is mainly used for end lifting and positioning.
[0056] After processing by S2, a "semantic drawing" containing building structural elements and structured decoration work objects is obtained. Each work object is represented as structured data containing attributes such as type, wall to which it belongs, three-dimensional coordinates, and box size.
[0057] Example 5: Generation of Job Tasks In S3, the task generation module 103 retrieves the corresponding process rules from the decoration operation process rule library of the storage module 106 according to the object type, and generates the task by combining it with the location information obtained in S2. The following focuses on grooving, and other processes will be described.
[0058] (a) Slotting task for electrical points Taking wall grooving as an example, the construction process rules should include at least the following: the box dimensions of different types of junction boxes (e.g., the side length and installation depth of the 86-type junction box), groove depth (an exemplary value of 25-35mm to accommodate conduits and junction boxes), groove width (an exemplary value of 30-40mm, determined according to the number of conduits), groove direction (vertical grooves along the vertical direction, horizontal grooves along the horizontal direction), the height of various points from the ground, and the connection rules of conduits in the wall.
[0059] like Figure 6 As shown, for electrical points such as distribution boxes, switches, and sockets, the task generation module 103 generates tasks from the ground reference plane. Vertical grooves leading to the junction box, and horizontal grooves connecting related points on the same wall or connecting to the distribution box; the working position includes the three-dimensional coordinates of the start and end points of each groove segment, and the working parameters include groove depth, groove width, groove direction, depth of cut, and speed of cut. For multiple sockets at the same height on the same wall ( Figure 6 The two sockets in the distribution box can be connected to form the same horizontal groove; for points leading out from the distribution box, a horizontal groove can be formed along the lower edge of the distribution box and connected to the corresponding vertical groove.
[0060] (ii) Optimization of the drawing of continuous groove on the same wall surface To reduce the total length of the slotting and minimize the lifting and idle travel of the slotting mechanism, in one implementation, electrical points on the same wall or the same finish are used as nodes, and slottable paths are used as edges to create a graph model. This transforms the generation of continuous slots into a path selection problem that minimizes the objective function (corresponding formula below). The first item is the sum of the lengths of the vertical grooves at each point (based on the height of the box). Height relative to the reference plane The first term is the number of slots selected; the second term is the sum of the lengths of the selected horizontal slot segments; the third term is the number of slot segment penalty, used to avoid generating too many short and fragmented slots. During the solution process, a connected graph is established between points on the same wall surface using horizontal distance as the edge weight. The shortest connection relationship connecting all points is obtained through the minimum spanning tree algorithm, or the slotting scheme for each point is determined through dynamic programming, allowing vertical slots to be collinear. Finally, a set of interconnected continuous slots with the minimum total length and number of breakpoints is output. In one implementation, the continuous slots are also sorted according to the operation sequence of the slotting mechanism (e.g., from left to right, vertical first, then horizontal) to reduce idle travel. Figure 6 The dashed line represents the continuous slotting trajectory obtained after the above processing.
[0061] (iii) Work tasks of other processes This invention is not limited to grooving. When the renovation work object is a surface finishing area, the task generation module 103 generates a spraying or sanding task according to the process rules of the finishing material (putty, latex paint, etc.), including the work area boundary, the round-trip (zigzag) work path, the coating thickness, the number of coats, and the overlap width; when the renovation work object is a hanging point (e.g., ceiling hanger, wall hanger), a drilling task is generated, including the drilling location, hole depth, and hole diameter. Thus, the same "drawing semantics—process rules—work task" generation framework is applicable to multiple processes. This invention uses grooving as a typical example for illustration, but is not limited to this.
[0062] Example 6: On-site registration without drawing construction S4 is the key to achieving "map-free" in this invention. Its core is to directly use engineering drawings as prior maps and determine the robot's initial pose through a single structural feature registration.
[0063] (I) Feature Extraction like Figure 4 As shown in (a), wall lines, doorway edges, window edges, and column edges are extracted from engineering drawings as the first structural features. Since the drawings are vector data, wall lines can be directly obtained from graphic elements, and their straight-line equations are uniformly represented as follows: (After normalization) ).
[0064] like Figure 4 As shown in (b), after the robot enters the target decoration area, it collects point cloud data of the site using LiDAR 31. Considering that the robot's localization within a single floor plane is mainly planar three degrees of freedom (planar position...) , and heading angle In one implementation, the three-dimensional point cloud is projected onto a horizontal plane along the height direction (e.g., removing the ground and ceiling, and taking the height range of the wall surface) to obtain a two-dimensional scan point set, and line segments are fitted from the scan points (e.g., using Hough transform or region growing segmentation) as a second structural feature; if necessary, surface features such as the normal vector of the wall surface can also be retained to participate in the registration.
[0065] (ii) Coarse registration Since the robot's initial position upon entering the site is unknown, and the correspondence between on-site features and drawing features is unclear, direct fine registration is prone to failure. In one implementation, the Random Sample Consensus (RANSAC) algorithm is first used to solve for coarse registration candidate poses.
[0066] The point cloud at the site undergoes a two-dimensional similarity transformation (including scale) from the drawing world coordinate system to the site coordinate system. Rotation Translation The corresponding formula is as follows: Because engineering drawings are drawn to actual dimensions, scale factor Under normal circumstances, it is close to 1, set It can still absorb minor errors in drawing scale or unit conversion. In each iteration, the minimum number of matching pairs required to solve the parameters is randomly selected from the matching pairs of the first and second structural features (at least two non-collinear pairs in a two-dimensional plane are sufficient to solve for three rigid body degrees of freedom), and substituted into the above formula to solve. The number of interior points whose residuals after transformation are less than the preset residual threshold (exemplary values are 0.05 to 0.10 m) is counted. After repeated sampling a fixed number of times, the set of parameters with the largest number of interior points is selected as the coarse registration result and used as the initial value for subsequent fine registration.
[0067] (III) Weighted Iterative Fine Registration from Point to Line Engineering drawings represent wall lines (infinitely extending line features), while the actual site consists of discrete scanning points; the two are not in a one-to-one correspondence. This invention uses the wall lines on the drawings as a reference, employing a weighted iterative registration from point to line, rather than point-to-point registration. In each iteration, for each scanning point... Find the nearest wall line in its current pose. And minimize the sum of squared weighted vertical distances from all points to their corresponding wall lines (the corresponding formula is as follows): The perpendicular distance from a point to the wall line is given by the following formula: Weight To assign saliency weights to matching pairs, points corresponding to wall lines with longer lengths and denser surrounding points are given greater weight, while points potentially caused by temporary occlusion or clutter are given less weight. The objective function performs a first-order linearization of the rotation matrix at the current pose (i.e., makes...). And on Linearization) transforms the nonlinear least squares problem into a problem about The linear equations are solved by least squares to obtain the increment and update the pose; then the matching relationship between points and walls is recalculated, iterating until the weighted residual no longer decreases (the change is less than the convergence threshold) or the maximum number of iterations is reached. Point-to-line registration does not require a one-to-one correspondence between the on-site points and specific points on the wall, which is more in line with the geometric nature of the wall line. Therefore, it can still converge robustly even in environments with regular unfinished house structures and repetitive walls.
[0068] (iv) Registration confidence and anomaly handling After the fine registration converges, in one implementation, the registration confidence level is calculated based on the inlier ratio and the inlier residual, and the corresponding formula is as follows: A higher proportion of interior points and a smaller root mean square residual of interior points indicate a higher registration confidence level. The closer to 1. When When the position is greater than or equal to the registration threshold (0.8 for example), the current pose is output as the robot's initial pose; when... If the data is below the threshold, it indicates a significant difference between the actual site and the drawings (e.g., the presence of newly added walls not shown on the drawings, or severe obstruction of the collected data). In this case, the robot is controlled to rotate in place or move within a small range to collect additional environmental data for re-registration. If the data still does not meet the requirements, a prompt for manual intervention is output.
[0069] The above registration process only requires the robot to collect environmental data once at the entry position (or a few positions), without having to traverse the entire area to build a map, thus compressing the traditional full-field mapping process into a single local registration. Figure 4 (c) It visually demonstrates that the on-site point cloud and the wall lines on the drawing basically coincide after registration, and the robot's pose is determined.
[0070] Example 7: Pose fusion and drift correction during movement The initial pose obtained in S4 is the robot's pose at the approach point. In S5, the robot needs to navigate to each work station, but the dead reckoning by the wheel speedometer and inertial measurement unit has accumulated errors, and the longer the travel distance, the greater the pose drift. In one embodiment, the present invention continuously observes the structural features in the prior work map (drawing) as a reference during the movement, and uses an extended Kalman filter (EKF) to fuse the dead reckoning prediction with the drawing feature observation.
[0071] Define the robot's planar pose state vector in the drawing world coordinate system as: , which represent position and heading angle, respectively.
[0072] (a) Prediction Step By wheel speed gauge and / or inertial measurement unit in the first Displacement increment measured within each control cycle and rotation increment Composition of control quantity In one implementation, the state prediction uses a differential motion model (corresponding formula as follows): Expanded to: The formula for covariance prediction is as follows: in State transition function State The Jacobian matrix obtained by taking the partial derivative. The process noise covariance reflects the uncertainty caused by wheel speed gauge slippage, IMU noise, etc.
[0073] (ii) Observation update step During the movement, the environmental sensing device continuously collects on-site environmental data. The registration and positioning module 104 matches the currently visible structural features such as wall lines and column lines with the first structural feature on the drawing in the same manner as in Embodiment Six, thereby obtaining the observed value of the robot's pose. The observation model is denoted as... The observed Jacobian matrix is The observed noise covariance is The Kalman gain, updated state, and covariance are calculated using the standard EKF formula, as follows: When the observed structural features are sufficient and the observation quality is high at a certain moment, new information... The filter will pull the accumulated drift from dead reckoning back to the drawing baseline. When on-site features are sparse (such as long straight corridors), the filter mainly relies on the prediction step and increases the covariance to reflect uncertainty, and then corrects it after the features are re-observed. In one implementation, when the observed features are insufficient or the innovation is abnormal (exceeding 3σ), the observation is determined to be a possible mismatch and is rejected for update to ensure robustness.
[0074] Through the aforementioned prediction-update recursion, the robot's pose is always constrained within the drawing coordinate system, avoiding drift after long-distance travel. It should be noted that the extended Kalman filter can also be equivalently replaced by other state estimation methods such as unscented Kalman filtering, particle filtering, or factor graph optimization; these equivalent substitutions should all fall within the scope of protection of this invention.
[0075] Example 8: Work Coordinate Conversion and Navigation In S5, the navigation module 105 plans a global navigation path based on each work station in the task and the robot's current pose, combined with passable areas such as doorways and passages in the drawings. It also uses environmental sensing devices to detect and avoid obstacles in local areas, and controls the mobile chassis 1 to reach the vicinity of the work station.
[0076] Upon reaching the work station, the work position in the drawing's world coordinate system needs to be converted to the end-effector coordinates that can be executed by the end effector. For example... Figure 5 As shown, this invention defines three coordinate systems: the drawing world coordinate system. (As determined by the drawings, the z-axis is along the height direction), move the chassis base coordinate system. (The origin is located at the center of the chassis and moves with the chassis) and the end coordinate system (The origin is located at the end effector). The transformation from the drawing world coordinate system to the mobile chassis base coordinate system, determined by S4, is the robot's initial pose, also known as the registration pose; the transformation from the mobile chassis base coordinate system to the end effector coordinate system is determined by the kinematic model (or simply kinematics) of the working mechanism. Figure 5 In the middle section of the wall, P represents the work point, i.e., the position of the renovation work object on the work surface (e.g., the point where a groove is cut in the wall). These three elements are connected by a homogeneous coordinate transformation chain (corresponding formulas are as follows): in, The homogeneous coordinates of the work position in the drawing world coordinate system (the three-dimensional coordinates obtained from Example 4, homogeneously represented as) ); This is the transformation matrix from the world coordinate system to the chassis base coordinate system determined by the robot pose obtained from S4 / S5, where the rotational part is determined by the heading angle. The translation portion determines the robot's position in the world coordinate system; The transformation matrix from the chassis base coordinate system to the end coordinate system is defined by the lifting height including the telescopic column 4. The rotation angle of the rotary mechanism 11 and the kinematic model of each degree of freedom of the horizontal arm / end are determined (in one embodiment, this is obtained through Denavit-Hartenberg parameters or forward kinematics of a tandem mechanism). The target coordinates are output to the end-effector.
[0077] Specifically, for a wall height of At the grooving work point, the system raises the end-effector 5 to the corresponding height based on the height feedback of the telescopic column 4. The system then uses the rotary mechanism 11 to make the horizontal arm perpendicular to the wall surface, and the horizontal arm feed to bring the end-effector 5 close to the wall surface. Finally, it moves along the groove trajectory within the end-effector coordinate system and cuts according to the depth of cut. For wall surfaces that the robot cannot cover in a single stop, the system divides the wall surface into several work stations. After completing the work within the coverable area at each station, the system moves to the next station, realigns using coordinate transformation, and continues working.
[0078] Example 9: On-site verification and work execution (a) Visual verification after arrival In one implementation, after the robot arrives at the work station, before actually cutting, a vision camera 32 installed near the end effector head 5 captures an image of the work surface W. The camera identifies the base box position, wall edges, or preset markers in the image and compares them with the target position in the task to obtain the work position deviation (horizontal deviation, height deviation, and angular deviation). Based on this, the end effector work coordinates are corrected to ensure the end effector head 5 is aligned with the actual work position. This verification is used to compensate for possible construction errors between the drawings and the actual site (e.g., slight deviations between the actual wall and the drawings). When the visual verification deviation exceeds a preset threshold, the robot can fine-tune the chassis pose or re-register. In other implementations, the position verification can also be achieved by combining laser ranging, structured light, or ultrasonic ranging.
[0079] (II) Execution of trenching operations When the end-effector 5 is a grooving mechanism, the operation process is as follows: The robot first positions the end-effector 5 at the starting point of the first grooving section, turns on the dust extraction and cutting motors, and feeds the cutting blade to the wall surface at the set depth. Then, it feeds at a constant speed along the trajectory of the vertical or horizontal grooving, controlling the feed speed to match the cutting power. When the cutting reaches the boundary of the bottom box or the end point of the grooving trajectory, the cutting stops and the blade is lifted, moving to the next grooving section to continue operation. For continuous grooving, the system operates continuously in the sequence determined in Example 5, reducing idle travel. During grooving, the system can determine the cutting resistance based on the current / power feedback of the cutting motor and adaptively adjust the feed speed, stopping the blade in time when reaching the bottom box position to avoid damaging the bottom box.
[0080] (III) Identification and Request of Modular Working Heads like Figure 2As shown, the work execution mechanism 2 is detachably installed via the modular interface 7. In one embodiment, after replacing the end-effector 5, the system reads the type code of the work head through the electrical connection identification contact or RFID at the modular interface 7, and automatically calls the corresponding work control program (including the corresponding motion trajectory, feed parameters, and process parameters); alternatively, the operator can confirm the current work head type on the human-machine interface unit. In this way, the same mobile chassis 1, with different end-effectors 5, can sequentially complete operations such as grooving, spraying, drilling, and grinding on the same working surface, and the work tasks are uniformly generated by Embodiment 5 based on the semantics of the drawings.
[0081] (iv) Execution of other processes When the end working head 5 is a spraying mechanism, the system controls the spray gun to move at a constant speed and distance from the wall according to the surface treatment area and zigzag trajectory, completing the spraying of putty or latex paint according to the number of coats and coating thickness. When the end working head 5 is a drilling mechanism, it positions and controls the drilling depth and diameter according to the coordinates of the hanging point. When the end working head 5 is a sanding mechanism, it controls the sanding disc to sand with appropriate floating pressure according to the surface treatment area. All of the above procedures reuse the aforementioned drawing recognition, registration and positioning, coordinate transformation and navigation processes, the only difference being the process parameters of the task and the motion control of the end working head.
[0082] Example 10: Systems, Robots, and Electronic Devices like Figure 3 As shown, this embodiment provides an indoor decoration robot operation system 100 based on engineering drawing semantic recognition, including a drawing acquisition module 101, a semantic recognition module 102, a task generation module 103, a registration and positioning module 104, a navigation operation module 105, and a storage module 106.
[0083] The drawing acquisition module 101 is used to execute S1, importing and parsing engineering drawings; the semantic recognition module 102 is used to execute S2 and Example 4, identifying building structural elements and decoration operation objects and outputting structured location information; the task generation module 103 is used to execute S3 and Example 5, retrieving process rules and generating task assignments; the registration and positioning module 104 is used to execute S4, Example 6 and Example 7, completing the registration without drawing and pose fusion during the movement process; the navigation operation module 105 is used to execute S5, S6 and Examples 8 and 9, completing path planning, coordinate transformation, arrival verification and operation control; the storage module 106 is used to store the process rule library, prior operation map, image recognition model parameters and programs. Each module can be implemented by software, hardware or a combination of software and hardware, and its implementation principle and technical effect are the same as those of the above method embodiments, and will not be repeated here.
[0084] like Figure 7As shown, this embodiment also provides an electronic device 800, including a processor 801, a memory 802, and a bus 803 and an input / output interface connecting the two; the memory 802 stores a computer program that can run on the processor 801, and when the processor 801 executes the program, it implements the steps of any of the above method embodiments. The electronic device 800 can be a controller 8 on the robot body, or a host computer or server, and the two communicate via a bus or network.
[0085] The present invention also provides an indoor decoration robot, including a mobile chassis 1, a work execution mechanism 2, an environmental sensing device 3, a memory and a processor, wherein the processor executes a computer program to implement the steps of any of the above method embodiments.
[0086] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above method embodiments. The computer-readable storage medium includes, but is not limited to, a USB flash drive, a portable hard drive, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
[0087] Other embodiments and engineering applications It should be noted that although this invention uses the wall grooving of a typical unfinished residential house in Shanghai as an example, it is applicable to various interior decoration scenarios such as residential, office, and commercial spaces, and is also applicable to various operations such as wall grooving, spraying, drilling, and sanding. In one embodiment, drawing semantic recognition and task generation can be completed offline on the server side, and the "prior task map" and task are sent to the robot; on-site registration, navigation, and operation are completed in real time on the robot side. In a multi-robot collaborative implementation, the same semantic drawing can be used to assign different wall surfaces or different processes of work tasks to multiple robots.
[0088] In one embodiment, the image recognition model of the present invention can use the results of manual review (Example 4 of 3) as new samples during field use for continuous training and iteration of the model, so that the system becomes more and more accurate in its application to the drawing specifications of a specific design unit.
[0089] The thresholds (e.g., identification confidence threshold, registration residual threshold, registration confidence threshold, visual verification deviation threshold) and process parameters (trench depth, trench width, height from the ground, etc.) in each step of this invention can be determined and adjusted based on engineering experience and field tests. The specific values given in this invention are only exemplary values and do not constitute a limitation on this invention.
[0090] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for autonomous operation of an indoor decoration robot based on semantic recognition of engineering drawings, characterized in that, The indoor decoration robot includes a mobile chassis, a work execution mechanism mounted on the mobile chassis, and an environmental sensing device; the method includes: S1. Obtain engineering drawings of the target renovation area, wherein the engineering drawings contain graphic representations of architectural structural elements; S2. Perform image analysis and semantic recognition on the engineering drawings to identify the architectural structural elements and decoration work objects in the engineering drawings, and determine the object type of the decoration work objects and their position information in the drawing world coordinate system; wherein, the architectural structural elements include at least one of walls, door openings, window openings, and columns, and the decoration work objects include at least one of electrical points, pipeline points, hanging points, and finishing work areas; S3. Based on the object type of the decoration work object, retrieve the decoration work process rules corresponding to the object type, and generate a work task based on the decoration work process rules and the location information; the work task includes the work location and work parameters, the work location includes the work point and / or work area, and the work parameters include at least one of the work trajectory, work range, and work size; S4. Using the engineering drawings and the work task as a priori work map, after the robot enters the target decoration area, the environmental perception device collects on-site environmental data, extracts the first structural feature from the engineering drawings, extracts the second structural feature from the on-site environmental data, registers the second structural feature with the first structural feature, and determines the robot's initial pose in the world coordinate system of the drawings, without the need for pre-surveying and mapping on-site. S5. Based on the work task and the initial pose, plan a navigation path, control the mobile chassis to move to the work station, and convert the work position into the end work coordinates of the work execution mechanism; S6. Control the work execution mechanism to perform the decoration work according to the work task.
2. The method according to claim 1, characterized in that, The S2 step involves image parsing and semantic recognition of the engineering drawings, including: The engineering drawings are divided into image slices according to the drawing space or drawing sheet. A trained image recognition model is used to detect and classify the image slices. The image recognition model includes a deep neural network and / or a multimodal large model. For the drawing symbols in the image slices, the model simultaneously outputs the object category, detection box, and symbol area. The drawing symbols include graphic elements or blocks that represent at least one of the following: switches, sockets, distribution boxes, lamps, water supply and drainage points, equipment terminals, and text annotations. The image recognition model is trained using a multi-task joint loss function that includes drawing symbol category classification loss, symbol detection box regression loss, and symbol region segmentation loss. in, Loss due to the classification of drawing symbol categories For the symbol detection bounding box regression loss, For symbolic region segmentation loss, , , These are the weighting coefficients; The loss for classifying drawing symbols uses focus loss: in, The number of training samples. For the number of object categories, For the first Category weights of drawing symbols To focus parameters, For the first The drawing symbol was predicted to be the first... The probability of a class The category label value.
3. The method according to claim 2, characterized in that, S2 further includes: determining the object type of the decoration work object and the wall or finish to which it belongs based on the spatial relationship between the drawing symbols and the building structural elements, including: Calculate the distances from the drawing symbols to adjacent walls and to adjacent doorways. Based on the image features and spatial relationships of the drawing symbols, calculate the posterior probability of each object type using the following formula: in, For object type, For the first Image features of a drawing symbol This refers to the distance from the symbol on the drawing to the adjacent wall. This represents the distance from the symbol on the drawing to the adjacent doorway. The prior probability of the object type. For the first Statistical distribution of image features or spatial distances corresponding to class objects; The object type with the highest posterior probability is determined as the object type of the drawing symbol, and it is assigned to the wall or finish with the highest posterior probability.
4. The method according to claim 1, characterized in that, S4 includes: The wall lines, door opening lines, window opening lines, and column lines are extracted from the engineering drawings as the first structural features; Line features and / or surface features are extracted from the field environment data as the second structural features; The second structural feature is matched with the first structural feature to obtain a coarse registration candidate pose. Then, the candidate pose is iteratively fine-registered to obtain the initial pose of the robot.
5. The method according to claim 4, characterized in that: The process of obtaining the coarsely registered candidate pose includes: projecting the point cloud collected by the environmental sensing device onto a horizontal plane along the height direction to obtain a two-dimensional scan point set; randomly selecting multiple matching pairs from the matching pairs of the first and second structural features, solving for the candidate pose parameters according to the planar rigid body transformation model, and counting the number of interior points. in, Two-dimensional scan points for the second structural feature. The point is the transformed point of the two-dimensional scan point. As a scale factor, The rotation angle is... The translation amount is used; the inlier is a pair of matching points whose residuals after transformation are less than a preset residual threshold; through random sampling consensus iteration, the candidate pose parameters with the most inlier are selected as the coarse registration result. The candidate poses are iteratively registered, including: using the wall lines extracted from the engineering drawings as a reference, in each iteration, the pose that minimizes the distance from the weighted point to the line is calculated using the following formula. : in, For on-site two-dimensional scanning points, To and Matching wall trim, This refers to the matching relationship between points and wall lines. Let be a rotation matrix. It is a translation vector. The feature saliency weights for the matching pairs; The wall line The equation of the straight line is and ,point to the wall line The vertical distance is: In each iteration, the rotation matrix is linearized at the current pose, and the rotation angle increment is solved using least squares. With translation increment The process is iterated until the weighted residuals converge.
6. The method according to claim 1, characterized in that, In step S5, during the movement of the mobile chassis, the environmental data collected by the environmental perception device is continuously matched with the prior work map. An extended Kalman filter is used to fuse the dead reckoning predictions and map feature registration observations to correct the pose of the mobile chassis. The robot pose state vector is... ; The prediction step is as follows: The observation update step is as follows: in, The displacement increment and rotation increment measured by the wheel speed gauge and / or inertial measurement unit; The pose observations are obtained by registering the first structural feature and the second structural feature. Let Jacobian be the state transition matrix. To observe the Jacobian matrix, For process noise covariance, To observe the noise covariance, For Kalman gain, , These are the predicted and updated state covariances, respectively.
7. The method according to claim 1, characterized in that, The step S5, which converts the work position into the end-effector coordinates of the work execution mechanism, includes: The operation location is transformed from the drawing world coordinate system to the end coordinate system using a homogeneous coordinate transformation chain: in, The coordinates of the work location in the world coordinate system of the drawing are homogeneous. This is the transformation matrix from the drawing world coordinate system to the mobile chassis base coordinate system, determined by the registration pose. The transformation matrix is the transformation matrix from the mobile chassis base coordinate system to the end coordinate system. The coordinates of the end-of-line operation; It is determined by a kinematic model that includes the height of the telescopic column and the degrees of freedom of the operating mechanism.
8. An indoor decoration robot operation system based on semantic recognition of engineering drawings, characterized in that, include: The drawing acquisition module is used to acquire engineering drawings of the target renovation area; The semantic recognition module is used to perform image analysis and semantic recognition on the engineering drawings, identify building structural elements and decoration work objects, and determine the object type of the decoration work objects and their position information in the world coordinate system of the drawings; The task generation module is used to retrieve the decoration operation process rules according to the object type of the decoration operation object and generate a task containing the operation location and operation parameters. The registration and positioning module is used to use engineering drawings and work tasks as a prior work map, and to register the second structural features extracted from the on-site environment data with the first structural features extracted from the engineering drawings to determine the robot's initial pose in the drawing world coordinate system. The navigation module is used to plan navigation paths, control the mobile chassis to move to the work station and convert the work position into end-point work coordinates, and control the work execution mechanism to perform decoration work. The storage module is used to store the decoration operation process rules, the prior operation map, and the image recognition model parameters; The system is also used to perform the method described in any one of claims 1 to 7.
9. An indoor decoration robot, characterized in that, It includes a mobile chassis, a work execution mechanism mounted on the mobile chassis, an environmental sensing device, a memory, and a processor; The environmental sensing device is used to collect on-site environmental data; The memory contains computer programs; The processor is connected to the mobile chassis, the work execution mechanism, the environmental sensing device, and the memory respectively. When the processor executes the computer program, it implements the method described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 7.
