A control method and system for a building spraying robot
By acquiring building parameters, dividing spraying areas, and optimizing spraying control parameters and generation strategies in the building spraying robot control system, the problem of difficulty in improving spraying efficiency and quality in the existing technology is solved, and efficient and intelligent spraying operations are achieved.
Patent Information
- Application Number
- CN202410279652.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-03-12
AI Technical Summary
The existing control methods of construction spraying robots lack adaptability to different building parameters, spraying environment parameters and coating parameters, resulting in spraying efficiency and quality that cannot meet expectations.
By obtaining building parameter information based on the construction planning drawing, dividing the spraying area and marking the spraying sequence, collecting environmental and coating parameters, using the visual simulation platform for simulation modeling, optimizing the spraying control parameters, generating a spraying control strategy, and embedding it in the spraying twin model and synchronous monitoring for subsequent optimization and adjustment.
The spraying efficiency and quality are improved, the problem of difficulty in efficient spraying in the existing technology is solved, and a more intelligent, stable and efficient spraying operation is achieved.
Smart Images

Figure CN118143937B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot control, and in particular to a control method and system for a building spraying robot. Background Art
[0002] With the rapid development of the construction industry, spraying operations, as an important part of building surface treatment, have a direct impact on the overall quality and construction cycle of the building due to their efficiency and quality. In recent years, with the continuous advancement of robotics technology, construction spraying robots have gradually become a new choice for spraying operations. In the prior art, the control methods of construction spraying robots often rely on pre-set spraying control parameters, lacking the adaptive adjustment to different building parameters, spraying environment parameters, and coating parameters. At the same time, the division of the spraying area and the determination of the spraying sequence also lack scientificity and rationality, resulting in the work efficiency and spraying quality of the spraying robot being difficult to achieve the expected results. Summary of the invention
[0003] The embodiments of the present application provide a control method and system for a building spraying robot, which solves the technical problem in the prior art that it is difficult to use a spraying robot for efficient spraying.
[0004] In view of the above problems, an embodiment of the present application provides a control method and system for a building spraying robot.
[0005] A first aspect of an embodiment of the present application provides a control method for a building spraying robot, the method comprising:
[0006] Acquire architectural parameter information of the building to be sprayed based on the construction planning drawing;
[0007] Perform spraying area division according to the building parameter information to determine a plurality of spraying areas, wherein the spraying areas are marked with spraying sequence identifiers;
[0008] Collect spraying environment parameters and paint parameters, and perform simulation modeling based on the building parameter information, the spraying environment parameters, the paint parameters, and the multiple spraying areas in a visual simulation platform to generate a building simulation model;
[0009] Reading a spraying control parameter of the spraying robot, optimizing the spraying control parameter based on the multiple spraying areas in the building simulation model, and determining multiple optimal spraying control parameters, wherein the optimal spraying control parameter corresponds to the spraying area one by one;
[0010] Generate a spraying control strategy based on the multiple optimal spraying control parameters and the spraying sequence identifier, and embed the spraying control strategy into a spraying twin model of the spraying robot;
[0011] The spraying robot is controlled to perform the spraying operation according to the spraying control strategy, and synchronous monitoring is performed based on the spraying twin model, and the subsequent spraying control strategy is optimized and adjusted based on the synchronous monitoring results.
[0012] A second aspect of an embodiment of the present application provides a control system for a building spray painting robot, the system comprising:
[0013] An information acquisition module, the information acquisition module is used to acquire architectural parameter information of the building to be sprayed based on the construction planning diagram;
[0014] An area division module, the area division module is used to perform spraying area division according to the building parameter information, and determine a plurality of spraying areas, the spraying areas are marked with spraying sequence;
[0015] A modeling module, wherein the modeling module is used to collect spraying environment parameters and paint parameters, and to perform simulation modeling based on the building parameter information, the spraying environment parameters, the paint parameters, and the multiple spraying areas in a visual simulation platform to generate a building simulation model;
[0016] An optimization module, the optimization module is used to read the spraying control parameters of the spraying robot, optimize the spraying control parameters based on the multiple spraying areas in the building simulation model, and determine multiple optimal spraying control parameters, wherein the optimal spraying control parameters correspond to the spraying areas one by one;
[0017] A strategy generation module, the strategy generation module is used to generate a spray control strategy based on the multiple optimal spray control parameters and the spray sequence identifier, and embed the spray control strategy into the spray twin model of the spray robot;
[0018] A monitoring module, which is used to control the spraying robot to perform the spraying operation according to the spraying control strategy, and to perform synchronous monitoring based on the spraying twin model, and to optimize and adjust the subsequent spraying control strategy based on the synchronous monitoring results.
[0019] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0020] The architectural parameter information of the building to be sprayed is obtained through the construction planning map, and then the spraying area is divided and multiple spraying areas are determined, and the respective spraying orders are marked on these areas. Next, the spraying environment parameters and paint parameters are collected, and the architectural parameter information, spraying environment parameters, paint parameters and multiple spraying areas are used in the visual simulation platform for simulation modeling to generate a building simulation model. After that, the spraying control parameters of the spraying robot are read, and the spraying control parameters are optimized based on multiple spraying areas in the building simulation model to determine multiple optimal spraying control parameters. These optimal spraying control parameters correspond to the spraying areas one by one. Next, the spraying control strategy is generated using multiple optimal spraying control parameters and spraying sequence identification, and the strategy is embedded in the spraying twin model of the spraying robot. Finally, the spraying robot is controlled to perform the spraying operation, operate according to the spraying control strategy, and perform synchronous monitoring based on the spraying twin model. The subsequent spraying control strategy is optimized and adjusted according to the synchronous monitoring results. The technical problem that it is difficult to use the spraying robot for efficient spraying in the prior art is solved, and the technical effect of improving the spraying efficiency and spraying quality is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 A schematic flow chart of a control method for a building spraying robot provided in an embodiment of the present application;
[0023] Figure 2 A schematic diagram of the control system structure of a building spraying robot provided in an embodiment of the present application.
[0024] Explanation of the reference numerals: information acquisition module 11 , region division module 12 , modeling module 13 , optimization module 14 , strategy generation module 15 , monitoring module 16 . DETAILED DESCRIPTION
[0025] The embodiments of the present application solve the technical problem in the prior art that it is difficult to use a spray robot for efficient spraying by providing a control method and system for a building spraying robot.
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0027] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or are inherent to these processes, methods, products or devices. Embodiment 1
[0028] like Figure 1 As shown, an embodiment of the present application provides a control method for a building spraying robot, wherein the method includes:
[0029] Acquire architectural parameter information of the building to be sprayed based on the construction planning drawing;
[0030] The construction plan details the key information of the building, such as structure, size, material, etc. The architectural parameter information of the building to be sprayed is obtained from the construction plan, including structural characteristics, size, material (steel structure, wall, stone, etc.), which provides basic data for subsequent spraying operations.
[0031] Perform spraying area division according to the building parameter information to determine a plurality of spraying areas, wherein the spraying areas are marked with spraying sequence identifiers;
[0032] According to the building parameter information such as the structure, size and shape of the building, the building to be sprayed can be divided into multiple spraying areas, and a spraying sequence mark is added to each spraying area. The spraying sequence mark indicates the order in which the spraying robot should perform the spraying operation to ensure the consistency and continuity of the spraying effect.
[0033] Furthermore, the spraying area division is performed according to the building parameter information to determine a plurality of spraying areas, including:
[0034] Acquire a plurality of historical spraying data, wherein the historical spraying data includes historical building parameters, a plurality of historical spraying areas with spraying sequence identifiers, and historical spraying results;
[0035] The historical spraying results are evaluated for quality using preset evaluation indicators, and a spraying quality coefficient is determined by weighted calculation, wherein the preset evaluation indicators at least include spraying efficiency, uniformity, smoothness, and thickness deviation;
[0036] Selecting historical spraying data whose spraying quality coefficient is greater than a predetermined coefficient threshold as sample training data to obtain a sample training set, and performing supervised training of the region division channel based on the sample training set to obtain a region division channel that meets the expected training constraints;
[0037] The building parameter information is input into the area division channel, and the multiple spraying areas are output.
[0038] After obtaining the architectural parameter information of the building to be sprayed, in order to improve the accuracy of the division of the spraying area and the spraying quality, the historical spraying data can be used as a reference. Specifically, by collecting historical spraying data including historical building parameters, historical spraying areas with spraying sequence identification, and historical spraying results, and using preset evaluation indicators (such as spraying efficiency, uniformity, smoothness, thickness deviation, etc.), the quality of the historical spraying results is evaluated. Then, based on the evaluation results, the spraying quality coefficient is determined by weighted calculation for subsequent model training. The historical spraying data with a spraying quality coefficient greater than the predetermined coefficient threshold is selected as the sample training data set. Based on the sample training set, supervised training of the area division channel is performed to obtain the area division channel that meets the expected training constraints. The architectural parameter information of the building to be sprayed is input into the trained area division channel, thereby outputting multiple spraying areas that meet the expected quality requirements.
[0039] Collect spraying environment parameters and paint parameters, and perform simulation modeling based on the building parameter information, the spraying environment parameters, the paint parameters, and the multiple spraying areas in a visual simulation platform to generate a building simulation model;
[0040] In the spraying operation, the spraying environment parameters and paint parameters have an important influence on the spraying effect. In order to ensure the quality and efficiency of the spraying operation, it is necessary to collect the spraying environment parameters and paint parameters before spraying. The spraying environment parameters include temperature, humidity, wind speed, etc., and the paint parameters include the type, viscosity, color, drying time, etc. of the paint. The collected parameters are used for simulation modeling in the visual simulation platform. First, a three-dimensional model of the building is constructed according to the building parameter information to ensure the accuracy and precision of the model. Then, the spraying environment parameters and paint parameters are input into the simulation model to simulate various conditions in the spraying process. Finally, a building simulation model containing building parameter information, spraying environment parameters, paint parameters and multiple spraying areas is generated for subsequent spraying operation planning, optimization and control, helping to improve the efficiency and quality of the spraying operation.
[0041] Reading a spraying control parameter of the spraying robot, optimizing the spraying control parameter based on the multiple spraying areas in the building simulation model, and determining multiple optimal spraying control parameters, wherein the optimal spraying control parameter corresponds to the spraying area one by one;
[0042] The current spray control parameters are read from the control system of the spray robot, including spray speed, spray distance, spray angle, paint flow rate, etc. By optimizing the spray control parameters in the building simulation model, multiple optimal spray control parameters corresponding to the spraying areas can be determined, thereby improving the working efficiency and spraying quality of the spray robot.
[0043] Furthermore, in the building simulation model, the spraying control parameters are optimized based on the multiple spraying areas to determine multiple optimal spraying control parameters, including:
[0044] Select a first spraying area among the multiple spraying areas, where the first spraying area is any one of the multiple spraying areas;
[0045] According to the spraying control parameters, matching analysis is performed on the architectural parameter information of the first spraying area to determine conventional spraying control parameters;
[0046] Expanding the conventional spraying control parameters based on a weed optimization algorithm to construct a control parameter set that meets a preset quantity constraint;
[0047] In the building simulation model, with the goal of balancing the improvement of spraying quality and spraying efficiency and with the initial spraying quality requirement as a constraint, the spraying control parameters are optimized based on the control parameter set to obtain a first optimal spraying control parameter, and the first optimal spraying control parameter is added to the multiple optimal spraying control parameters.
[0048] After determining multiple spraying areas, it is necessary to determine the optimal spraying control parameters for each spraying area. Specifically, any one of the multiple spraying areas can be selected as the first spraying area, and then detailed parameter matching and optimization are performed for this area. According to the selected first spraying area, the spraying control parameters are used to match and analyze the building parameter information to determine the conventional spraying control parameters. Conventional spraying control parameters can basically meet the spraying requirements of the spraying area, but they are not the best choice. In order to find a better parameter combination, the weed optimization algorithm can be used to expand the parameters of the conventional spraying control parameters to construct a control parameter set that meets the preset quantity constraints. The control parameter set contains a variety of possible spraying control parameter combinations. The weed optimization algorithm simulates the growth and competition process of weed populations in nature and searches for the global optimal solution through iterative search. In the optimization of conventional spraying control parameters, the weed optimization algorithm can be used to expand the parameters to make a control parameter set that meets the preset quantity constraints. In the building simulation model, the initial spraying quality requirement is used as a constraint condition, and the spraying control parameters are optimized based on the control parameter set with the goal of balancing the spraying quality and spraying efficiency. After the optimization process is completed, the first optimal spraying control parameter is obtained and added to multiple optimal spraying control parameters to ensure that it is recorded and applied to the corresponding spraying area.
[0049] Furthermore, optimizing the spraying control parameters based on the control parameter set to obtain first optimal spraying control parameters includes:
[0050] randomly selecting a first control parameter and a second control parameter from the set of control parameters without replacement;
[0051] In the building simulation model, based on the first control parameter and the second control parameter, respectively, a simulated spraying operation is performed to obtain a first simulated spraying image, a first simulated spraying time, and a second simulated spraying image, and a second simulated spraying time;
[0052] Performing a spray quality assessment on the first simulated spray image and the second simulated spray image based on a preset spray quality assessment strategy to obtain a first spray quality coefficient and a second spray quality coefficient;
[0053] When both the first spraying quality coefficient and the second spraying quality coefficient meet the initial spraying quality requirement, weighted calculations are performed based on the first simulated spraying time, the first spraying quality coefficient, the second simulated spraying time, and the second spraying quality coefficient to obtain a first spraying fitness and a second spraying fitness;
[0054] If the first spraying fitness is less than or equal to the second spraying fitness, the second control parameter is used as the current optimal control parameter. Conversely, if the first spraying fitness is greater than the second spraying fitness, the second control parameter is used as the current optimal control parameter according to probability, and the probability decreases as the number of optimization times increases;
[0055] Iterative optimization is continuously performed until a preset optimization number constraint is met, and the current optimal control parameter is output and set as the first optimal spraying control parameter.
[0056] The first control parameter and the second control parameter are randomly selected from the control parameter set without replacement. In the building simulation model, the selected first control parameter and the second control parameter are used to perform simulated spraying operations, respectively, to obtain the first simulated spraying image, the first simulated spraying time, the second simulated spraying image, and the second simulated spraying time. The quality of the simulated spraying image is evaluated based on the preset spraying quality evaluation strategy. The evaluation strategy includes multiple aspects such as spraying uniformity, color consistency, and coating thickness. According to the evaluation results, a spraying quality coefficient is assigned to each simulated spraying image, namely, the first spraying quality coefficient and the second spraying quality coefficient. If the first and second spraying quality coefficients both meet the initial spraying quality requirements, a weighted calculation is performed based on the first and second simulated spraying times and the spraying quality coefficients to obtain the first and second spraying fitnesses. The first and second spraying fitnesses are compared. If the first spraying fitness is less than or equal to the second spraying fitness, the second control parameter is used as the current optimal control parameter; otherwise, the second control parameter is used as the current optimal control parameter according to probability, where the probability decreases as the number of optimizations increases. Iterative optimization is continued until the preset number of optimizations is met. The final output current optimal control parameter is set as the first optimal spraying control parameter.
[0057] Furthermore, performing spray quality assessment on the first simulated spray image and the second simulated spray image based on a preset spray quality assessment strategy includes:
[0058] Performing image grayscale processing on the first simulated spraying image and the second simulated spraying image to obtain a first simulated grayscale image and a second simulated grayscale image;
[0059] Dividing the first simulated grayscale image and the second simulated grayscale image according to a preset image window to obtain a first grayscale region set and a second grayscale region set;
[0060] Taking the grayscale value of the center area of the grayscale area as a judgment basis, judging the grayscale value of the surrounding area, and obtaining a first grayscale feature set of the first grayscale area set and a second grayscale feature set of the second grayscale area set according to the judgment result;
[0061] The first grayscale feature set and the second grayscale feature set are quality evaluated based on a preset spraying quality evaluation strategy to obtain the first spraying quality coefficient and the second spraying quality coefficient.
[0062] When performing spraying quality assessment, the first and second simulated spraying images can be converted into grayscale images to obtain a first simulated grayscale image and a second simulated grayscale image. According to a preset image window, such as a 3×3 pixel area, the first and second simulated grayscale images are divided to obtain a first grayscale area set and a second grayscale area set. The grayscale value of the central area of the grayscale area is used as a judgment basis to judge the grayscale value of the surrounding area, thereby obtaining a first grayscale feature set of the first grayscale area set and a second grayscale feature set of the second grayscale area set. Based on the preset spraying quality assessment strategy, the first and second grayscale feature sets are quality assessed to obtain a first spraying quality coefficient and a second spraying quality coefficient.
[0063] Furthermore, performing quality assessment on the first grayscale feature set and the second grayscale feature set based on a preset spraying quality assessment strategy includes:
[0064] The preset spraying quality assessment strategy includes uniformity index, defect index and convex point index;
[0065] Calculating the variance of the grayscale feature deviations in the first grayscale feature set and the second grayscale feature set respectively, and obtaining a first uniformity coefficient and a second uniformity coefficient based on the variance calculation results;
[0066] Obtaining a preset defect grayscale feature value, respectively counting the number of grayscale features in the first grayscale feature set and the second grayscale feature set whose grayscale features are greater than the preset defect grayscale feature value, and determining a first defect coefficient and a second defect coefficient according to the quantitative statistical results;
[0067] Obtaining a preset convex point grayscale feature value, respectively counting the number of grayscale features in the first grayscale feature set and the second grayscale feature set whose grayscale features are less than the preset convex point grayscale feature value, and determining a first convex point coefficient and a second convex point coefficient according to the number statistical results;
[0068] Configure a preset weight coefficient, and perform weighted calculations on the first uniformity coefficient, the first defect coefficient, the first bump coefficient and the second uniformity coefficient, the second defect coefficient, and the second bump coefficient based on the preset weight coefficient to obtain the first spraying quality coefficient and the second spraying quality coefficient.
[0069] The preset spraying quality evaluation strategy includes uniformity index, defect index and convex point index, which can comprehensively reflect the spraying quality of the sprayed image. The variance of the grayscale feature deviation in the first and second grayscale feature sets is calculated respectively, and the first uniformity coefficient and the second uniformity coefficient are obtained based on the inverse of the variance calculation result. The preset defect grayscale feature value represents the acceptable defect threshold in the grayscale feature, and the number of features whose grayscale features are greater than the preset value in the first grayscale feature set and the second grayscale feature set is counted respectively, and the first defect coefficient and the second defect coefficient are determined according to the quantitative statistical results. The preset convex point grayscale feature value represents the acceptable convex point threshold in the grayscale feature, and the number of features whose grayscale features are less than the preset value in the first grayscale feature set and the second grayscale feature set is counted respectively, and the first convex point coefficient and the second convex point coefficient are determined according to the quantitative statistical results. According to actual spraying requirements and evaluation focus, corresponding preset weight coefficients are configured for uniformity index, defect index and convex point index, and the preset weight coefficients are used to perform weighted calculation on the first uniformity coefficient, the first defect coefficient, the first convex point coefficient and the second uniformity coefficient, the second defect coefficient and the second convex point coefficient. The result of the weighted calculation is the first spraying quality coefficient and the second spraying quality coefficient, which respectively reflect the spraying quality of the simulated spraying image under the two sets of control parameters.
[0070] Generate a spraying control strategy based on the multiple optimal spraying control parameters and the spraying sequence identifier, and embed the spraying control strategy into a spraying twin model of the spraying robot;
[0071] Through iterative optimization, multiple optimal spraying control parameters that meet the spraying quality requirements are obtained. Combining multiple optimal spraying control parameters and spraying sequence identifiers, a complete spraying control strategy can be generated. The generated spraying control strategy is embedded in the spraying twin model of the spraying robot to achieve more intelligent, stable and efficient spraying operations.
[0072] Furthermore, a spray control strategy is generated based on the multiple optimal spray control parameters and the spray sequence identifier, and then the method further includes:
[0073] Determine a mapping association between the paint parameter, the spraying environment parameter, the building parameter information and the spraying control strategy;
[0074] storing the mapping association into a control strategy matching library;
[0075] A matching tolerance interval and a matching strategy are configured, the matching tolerance interval and the matching strategy are embedded in the control strategy matching library, and subsequent control strategy matching is performed through the control strategy matching library.
[0076] In order to ensure that the spraying robot can select the most appropriate spraying control strategy under different paint parameters, spraying environment parameters and building parameter information, a control strategy matching library can be established. Specifically, by analyzing the influence of paint parameters, spraying environment parameters and building parameter information on the spraying control strategy, and based on the analysis results, a mapping relationship between paint parameters, spraying environment parameters, building parameter information and spraying control strategy is established. For example, some paints may require specific spraying pressure and temperature, and the roughness of the building surface may determine the movement speed of the spraying robot. The determined parameter associations are stored in the control strategy matching library, which is used to store the relationship between different parameter combinations and corresponding spraying control strategies. In order to adapt to changes and fault tolerance in different situations, matching tolerance intervals and matching strategies can be configured. The tolerance interval defines the allowable range of each parameter to allow a certain degree of deviation. The matching strategy defines how to match according to the parameter value, such as using the closest match, weighted matching, etc. The configured tolerance interval and matching strategy are embedded in the control strategy matching library to ensure that they are effective in the subsequent control strategy matching process. When it is necessary to execute the spray control strategy, the control strategy matching library is used to find the best matching control strategy and execute it based on the matching tolerance range and matching strategy according to the current paint parameters, spray environment parameters and building parameter information.
[0077] The spraying robot is controlled to perform the spraying operation according to the spraying control strategy, and synchronous monitoring is performed based on the spraying twin model, and the subsequent spraying control strategy is optimized and adjusted based on the synchronous monitoring results.
[0078] The designed spray control strategy is applied to the spray robot so that it can perform the spraying operation according to the specified parameters and paths. While the spray robot is performing the spraying operation, the spraying twin model is used for synchronous monitoring. The spraying twin model can obtain key data in the spraying process in real time, such as the spraying quality, spraying thickness, surface flatness, etc. of the paint. The accuracy and quality of the spraying can be evaluated by comparing with the ideal state or preset target. According to the synchronous monitoring results, the deviations and problems in the spraying process are analyzed, and the subsequent spraying control strategy is optimized and adjusted in a targeted manner.
[0079] Furthermore, the subsequent spraying control strategy is optimized and adjusted based on the synchronous monitoring results, including:
[0080] At a preset time node, reading the real-time spraying control parameters of the spraying robot;
[0081] The deviation between the real-time spray control parameters and the spray control strategy of the spray twin model at the same time node is calculated to determine the control deviation value.
[0082] When the control deviation value is greater than a preset deviation threshold, the subsequent spraying control strategy is optimized and adjusted based on the control deviation value.
[0083] At the preset time node, read the real-time spray control parameters of the spray robot, including spray pressure, spray speed, spray gun position and other related parameters. Compare the real-time spray control parameters with the spray control strategy of the spray twin model at the same time node, and calculate the control deviation value. Compare the calculated control deviation value with the preset deviation threshold. If the deviation value exceeds the preset threshold, it means that there is a large deviation in the spray process and optimization adjustment is required.
[0084] In summary, the embodiments of the present application have at least the following technical effects:
[0085] The architectural parameter information of the building to be sprayed is obtained through the construction planning map, and then the spraying area is divided and multiple spraying areas are determined, and the respective spraying orders are marked on these areas. Next, the spraying environment parameters and paint parameters are collected, and the architectural parameter information, spraying environment parameters, paint parameters and multiple spraying areas are used in the visual simulation platform for simulation modeling to generate a building simulation model. After that, the spraying control parameters of the spraying robot are read, and the spraying control parameters are optimized based on multiple spraying areas in the building simulation model to determine multiple optimal spraying control parameters. These optimal spraying control parameters correspond to the spraying areas one by one. Next, the spraying control strategy is generated using multiple optimal spraying control parameters and spraying sequence identification, and the strategy is embedded in the spraying twin model of the spraying robot. Finally, the spraying robot is controlled to perform the spraying operation, operate according to the spraying control strategy, and perform synchronous monitoring based on the spraying twin model. The subsequent spraying control strategy is optimized and adjusted according to the synchronous monitoring results. The technical problem that it is difficult to use the spraying robot for efficient spraying in the prior art is solved, and the technical effect of improving the spraying efficiency and spraying quality is achieved. Embodiment 2
[0086] Based on the same inventive concept as the control method of a building spraying robot in the aforementioned embodiment, Figure 2 As shown, the present application provides a control system for a construction spraying robot, and the system and method embodiments in the present application are based on the same inventive concept. The system includes:
[0087] An information acquisition module 11, the information acquisition module 11 is used to acquire architectural parameter information of the building to be sprayed based on the construction planning diagram;
[0088] An area division module 12, the area division module 12 is used to perform spraying area division according to the building parameter information, and determine a plurality of spraying areas, the spraying areas are marked with spraying sequence;
[0089] A modeling module 13, wherein the modeling module 13 is used to collect spraying environment parameters and paint parameters, and to perform simulation modeling based on the building parameter information, the spraying environment parameters, the paint parameters, and the multiple spraying areas in a visual simulation platform to generate a building simulation model;
[0090] An optimization module 14, the optimization module 14 is used to read the spraying control parameters of the spraying robot, optimize the spraying control parameters based on the multiple spraying areas in the building simulation model, and determine multiple optimal spraying control parameters, wherein the optimal spraying control parameters correspond to the spraying areas one by one;
[0091] A strategy generation module 15, the strategy generation module 15 is used to generate a spray control strategy based on the multiple optimal spray control parameters and the spray sequence identifier, and embed the spray control strategy into the spray twin model of the spray robot;
[0092] The monitoring module 16 is used to control the spraying robot to perform the spraying operation according to the spraying control strategy, and to perform synchronous monitoring based on the spraying twin model, and to optimize and adjust the subsequent spraying control strategy based on the synchronous monitoring results.
[0093] Furthermore, the region division module 12 is used to perform the following method:
[0094] Acquire a plurality of historical spraying data, wherein the historical spraying data includes historical building parameters, a plurality of historical spraying areas with spraying sequence identifiers, and historical spraying results;
[0095] The historical spraying results are evaluated for quality using preset evaluation indicators, and a spraying quality coefficient is determined by weighted calculation, wherein the preset evaluation indicators at least include spraying efficiency, uniformity, smoothness, and thickness deviation;
[0096] Selecting historical spraying data whose spraying quality coefficient is greater than a predetermined coefficient threshold as sample training data to obtain a sample training set, and performing supervised training of the region division channel based on the sample training set to obtain a region division channel that meets the expected training constraints;
[0097] The building parameter information is input into the area division channel, and the multiple spraying areas are output.
[0098] Furthermore, the optimization module 14 is used to execute the following method:
[0099] Select a first spraying area among the multiple spraying areas, where the first spraying area is any one of the multiple spraying areas;
[0100] According to the spraying control parameters, matching analysis is performed on the architectural parameter information of the first spraying area to determine conventional spraying control parameters;
[0101] Expanding the conventional spraying control parameters based on a weed optimization algorithm to construct a control parameter set that meets a preset quantity constraint;
[0102] In the building simulation model, with the goal of balancing the improvement of spraying quality and spraying efficiency and with the initial spraying quality requirement as a constraint, the spraying control parameters are optimized based on the control parameter set to obtain a first optimal spraying control parameter, and the first optimal spraying control parameter is added to the multiple optimal spraying control parameters.
[0103] Furthermore, the optimization module 14 is used to execute the following method:
[0104] randomly selecting a first control parameter and a second control parameter from the set of control parameters without replacement;
[0105] In the building simulation model, based on the first control parameter and the second control parameter, respectively, a simulated spraying operation is performed to obtain a first simulated spraying image, a first simulated spraying time, and a second simulated spraying image, and a second simulated spraying time;
[0106] Performing a spray quality assessment on the first simulated spray image and the second simulated spray image based on a preset spray quality assessment strategy to obtain a first spray quality coefficient and a second spray quality coefficient;
[0107] When both the first spraying quality coefficient and the second spraying quality coefficient meet the initial spraying quality requirement, weighted calculations are performed based on the first simulated spraying time, the first spraying quality coefficient, the second simulated spraying time, and the second spraying quality coefficient to obtain a first spraying fitness and a second spraying fitness;
[0108] If the first spraying fitness is less than or equal to the second spraying fitness, the second control parameter is used as the current optimal control parameter. Conversely, if the first spraying fitness is greater than the second spraying fitness, the second control parameter is used as the current optimal control parameter according to probability, and the probability decreases as the number of optimization times increases;
[0109] Iterative optimization is continuously performed until a preset optimization number constraint is met, and the current optimal control parameter is output and set as the first optimal spraying control parameter.
[0110] Furthermore, the optimization module 14 is used to execute the following method:
[0111] Performing image grayscale processing on the first simulated spraying image and the second simulated spraying image to obtain a first simulated grayscale image and a second simulated grayscale image;
[0112] Dividing the first simulated grayscale image and the second simulated grayscale image according to a preset image window to obtain a first grayscale region set and a second grayscale region set;
[0113] Taking the grayscale value of the center area of the grayscale area as a judgment basis, judging the grayscale value of the surrounding area, and obtaining a first grayscale feature set of the first grayscale area set and a second grayscale feature set of the second grayscale area set according to the judgment result;
[0114] The first grayscale feature set and the second grayscale feature set are quality evaluated based on a preset spraying quality evaluation strategy to obtain the first spraying quality coefficient and the second spraying quality coefficient.
[0115] Furthermore, the optimization module 14 is used to execute the following method:
[0116] The preset spraying quality assessment strategy includes uniformity index, defect index and convex point index;
[0117] Calculating the variance of the grayscale feature deviations in the first grayscale feature set and the second grayscale feature set respectively, and obtaining a first uniformity coefficient and a second uniformity coefficient based on the variance calculation results;
[0118] Obtaining a preset defect grayscale feature value, respectively counting the number of grayscale features in the first grayscale feature set and the second grayscale feature set whose grayscale features are greater than the preset defect grayscale feature value, and determining a first defect coefficient and a second defect coefficient according to the quantitative statistical results;
[0119] Obtaining a preset convex point grayscale feature value, respectively counting the number of grayscale features in the first grayscale feature set and the second grayscale feature set whose grayscale features are less than the preset convex point grayscale feature value, and determining a first convex point coefficient and a second convex point coefficient according to the number statistical results;
[0120] Configure a preset weight coefficient, and perform weighted calculations on the first uniformity coefficient, the first defect coefficient, the first bump coefficient and the second uniformity coefficient, the second defect coefficient, and the second bump coefficient based on the preset weight coefficient to obtain the first spraying quality coefficient and the second spraying quality coefficient.
[0121] Furthermore, the strategy generation module 15 is used to execute the following method:
[0122] Determine a mapping association between the paint parameter, the spraying environment parameter, the building parameter information and the spraying control strategy;
[0123] storing the mapping association into a control strategy matching library;
[0124] A matching tolerance interval and a matching strategy are configured, the matching tolerance interval and the matching strategy are embedded in the control strategy matching library, and subsequent control strategy matching is performed through the control strategy matching library.
[0125] Furthermore, the monitoring module 16 is used to perform the following method:
[0126] At a preset time node, reading the real-time spraying control parameters of the spraying robot;
[0127] The deviation between the real-time spray control parameters and the spray control strategy of the spray twin model at the same time node is calculated to determine the control deviation value.
[0128] When the control deviation value is greater than a preset deviation threshold, the subsequent spraying control strategy is optimized and adjusted based on the control deviation value.
[0129] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0130] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
[0131] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. A control method for a building spraying robot, characterized in that: The method comprises: Acquire architectural parameter information of the building to be sprayed based on the construction planning drawing; Perform spraying area division according to the building parameter information to determine a plurality of spraying areas, wherein the spraying areas are marked with spraying sequence identifiers; Collect spraying environment parameters and paint parameters, and perform simulation modeling based on the building parameter information, the spraying environment parameters, the paint parameters, and the multiple spraying areas in a visual simulation platform to generate a building simulation model; Reading a spraying control parameter of the spraying robot, optimizing the spraying control parameter based on the multiple spraying areas in the building simulation model, and determining multiple optimal spraying control parameters, wherein the optimal spraying control parameter corresponds to the spraying area one by one; Generate a spraying control strategy based on the multiple optimal spraying control parameters and the spraying sequence identifier, and embed the spraying control strategy into a spraying twin model of the spraying robot; Control the spraying robot to perform the spraying operation according to the spraying control strategy, perform synchronous monitoring based on the spraying twin model, and optimize and adjust the subsequent spraying control strategy based on the synchronous monitoring result; The performing of spraying area division according to the building parameter information to determine a plurality of spraying areas comprises: Acquire a plurality of historical spraying data, wherein the historical spraying data includes historical building parameters, a plurality of historical spraying areas with spraying sequence identifiers, and historical spraying results; The historical spraying results are evaluated for quality using preset evaluation indicators, and a spraying quality coefficient is determined by weighted calculation, wherein the preset evaluation indicators at least include spraying efficiency, uniformity, smoothness, and thickness deviation; Selecting historical spraying data whose spraying quality coefficient is greater than a predetermined coefficient threshold as sample training data to obtain a sample training set, and performing supervised training of the region division channel based on the sample training set to obtain a region division channel that meets the expected training constraints; Inputting the building parameter information into the area division channel, and outputting the multiple spraying areas; The step of optimizing the spraying control parameters based on the multiple spraying areas in the building simulation model to determine multiple optimal spraying control parameters includes: Select a first spraying area among the multiple spraying areas, where the first spraying area is any one of the multiple spraying areas; According to the spraying control parameters, matching analysis is performed on the architectural parameter information of the first spraying area to determine conventional spraying control parameters; Based on the weed optimization algorithm, the conventional spraying control parameters are expanded to construct a control parameter set that meets the preset quantity constraints; In the building simulation model, with the goal of balancing the improvement of spraying quality and spraying efficiency and with the initial spraying quality requirement as a constraint, the spraying control parameters are optimized based on the control parameter set to obtain a first optimal spraying control parameter, and the first optimal spraying control parameter is added to the multiple optimal spraying control parameters.
2. The method according to claim 1, characterized in that The optimizing the spraying control parameter based on the control parameter set to obtain a first optimal spraying control parameter includes: randomly selecting a first control parameter and a second control parameter from the set of control parameters without replacement; In the building simulation model, based on the first control parameter and the second control parameter, respectively, a simulated spraying operation is performed to obtain a first simulated spraying image, a first simulated spraying time, and a second simulated spraying image, and a second simulated spraying time; Performing a spray quality assessment on the first simulated spray image and the second simulated spray image based on a preset spray quality assessment strategy to obtain a first spray quality coefficient and a second spray quality coefficient; When both the first spraying quality coefficient and the second spraying quality coefficient meet the initial spraying quality requirement, weighted calculations are performed based on the first simulated spraying time, the first spraying quality coefficient, the second simulated spraying time, and the second spraying quality coefficient to obtain a first spraying fitness and a second spraying fitness; If the first spraying fitness is less than or equal to the second spraying fitness, the second control parameter is used as the current optimal control parameter. Conversely, if the first spraying fitness is greater than the second spraying fitness, the second control parameter is used as the current optimal control parameter according to probability, and the probability decreases as the number of optimization times increases; Iterative optimization is continuously performed until a preset optimization number constraint is met, and the current optimal control parameter is output and set as the first optimal spraying control parameter.
3. The method according to claim 2, characterized in that The performing spray quality assessment on the first simulated spray image and the second simulated spray image based on a preset spray quality assessment strategy includes: Performing image grayscale processing on the first simulated spraying image and the second simulated spraying image to obtain a first simulated grayscale image and a second simulated grayscale image; Dividing the first simulated grayscale image and the second simulated grayscale image according to a preset image window to obtain a first grayscale region set and a second grayscale region set; Taking the grayscale value of the center area of the grayscale area as a judgment basis, judging the grayscale value of the surrounding area, and obtaining a first grayscale feature set of the first grayscale area set and a second grayscale feature set of the second grayscale area set according to the judgment result; The first grayscale feature set and the second grayscale feature set are quality evaluated based on a preset spraying quality evaluation strategy to obtain the first spraying quality coefficient and the second spraying quality coefficient.
4. The method according to claim 3, characterized in that The performing quality assessment on the first grayscale feature set and the second grayscale feature set based on a preset spraying quality assessment strategy includes: The preset spraying quality assessment strategy includes uniformity index, defect index and convex point index; Calculating the variance of the grayscale feature deviations in the first grayscale feature set and the second grayscale feature set respectively, and obtaining a first uniformity coefficient and a second uniformity coefficient based on the variance calculation results; Obtaining a preset defect grayscale feature value, respectively counting the number of grayscale features in the first grayscale feature set and the second grayscale feature set whose grayscale features are greater than the preset defect grayscale feature value, and determining a first defect coefficient and a second defect coefficient according to the quantitative statistical results; Obtaining a preset convex point grayscale feature value, respectively counting the number of grayscale features in the first grayscale feature set and the second grayscale feature set whose grayscale features are less than the preset convex point grayscale feature value, and determining a first convex point coefficient and a second convex point coefficient according to the number statistical results; Configure a preset weight coefficient, and perform weighted calculations on the first uniformity coefficient, the first defect coefficient, the first bump coefficient and the second uniformity coefficient, the second defect coefficient, and the second bump coefficient based on the preset weight coefficient to obtain the first spraying quality coefficient and the second spraying quality coefficient.
5. The method according to claim 1, characterized in that The step of generating a spray control strategy based on the plurality of optimal spray control parameters and the spray sequence identifier further comprises: Determine a mapping association between the paint parameter, the spraying environment parameter, the building parameter information and the spraying control strategy; storing the mapping association into a control strategy matching library; A matching tolerance interval and a matching strategy are configured, the matching tolerance interval and the matching strategy are embedded in the control strategy matching library, and subsequent control strategy matching is performed through the control strategy matching library.
6. The method according to claim 1, characterized in that The optimization and adjustment of the subsequent spraying control strategy based on the synchronous monitoring results includes: At a preset time node, reading the real-time spraying control parameters of the spraying robot; The deviation between the real-time spray control parameters and the spray control strategy of the spray twin model at the same time node is calculated to determine the control deviation value. When the control deviation value is greater than a preset deviation threshold, the subsequent spraying control strategy is optimized and adjusted based on the control deviation value.
7. A control system for a building spraying robot, characterized in that: A control method for a building spraying robot for implementing any one of claims 1 to 6, the system comprising: An information acquisition module, the information acquisition module is used to acquire architectural parameter information of the building to be sprayed based on the construction planning diagram; An area division module, the area division module is used to perform spraying area division according to the building parameter information, and determine a plurality of spraying areas, the spraying areas are marked with spraying sequence; A modeling module, wherein the modeling module is used to collect spraying environment parameters and paint parameters, and to perform simulation modeling based on the building parameter information, the spraying environment parameters, the paint parameters, and the multiple spraying areas in a visual simulation platform to generate a building simulation model; An optimization module, the optimization module is used to read the spraying control parameters of the spraying robot, optimize the spraying control parameters based on the multiple spraying areas in the building simulation model, and determine multiple optimal spraying control parameters, wherein the optimal spraying control parameters correspond to the spraying areas one by one; A strategy generation module, the strategy generation module is used to generate a spray control strategy based on the multiple optimal spray control parameters and the spray sequence identifier, and embed the spray control strategy into the spray twin model of the spray robot; A monitoring module, which is used to control the spraying robot to perform the spraying operation according to the spraying control strategy, and to perform synchronous monitoring based on the spraying twin model, and to optimize and adjust the subsequent spraying control strategy based on the synchronous monitoring results.
