A non-target specific spray control method and system
By employing a non-target-specific spraying control method, based on the semantic priority of the three-dimensional surface position target and the constraint region, an adaptive gradient spraying coverage is generated, which solves the problems of excessive deposition and edge accumulation in complex curved surface spraying and achieves high-quality repair results.
Patent Information
- Application Number
- CN202611318740.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies struggle to simultaneously achieve target deposition contribution, prohibition of spraying, and motion protection in complex curved surface spraying, leading to problems such as excessive deposition, edge buildup, and visible ring banding.
By employing a non-target-specific spraying control method, an adaptive gradient spraying cover is generated based on the semantic priority of the three-dimensional surface position target and constraint region. The process attribute field is used to perform position-by-position verification and cover generation to ensure that the spraying process meets process requirements and safety constraints.
It achieves continuous and non-sprayed protection for target deposition on complex curved surfaces, reduces the risk of over-deposition and edge buildup, and improves the fusion quality and appearance of the repaired area with the original coating.
Smart Images

Figure CN123156591A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automated surface coating technology, and more specifically to a non-target spraying control method and system. Background Technology
[0002] In surface coating and repair operations, the shape of the target to be coated, the original coating state, and the process environment often vary. Existing technologies can identify local areas to be coated through images, point clouds, or preset regions, form multi-layer coating areas according to preset extension distances, plan the coverage trajectory using spray width or deposition models, and set start and end compensation based on the gun switching response time. These methods solve the problems of local area identification, geometric expansion, coverage uniformity, or boundary transients, respectively. However, if fixed extension distances, trajectory centerlines, single geometric boundaries, or preset gradients are still used as the main planning basis, it is difficult to simultaneously express the target deposition contribution at various locations on complex curved surfaces, the constraints of prohibited spraying / movement prohibition / invalid data, and the contribution relationships already formed between multiple coverages. The candidate trajectory center being located within the allowed area does not necessarily mean that its actual spray width will not intrude into the constrained area. Especially in multi-layer local repairs, if subsequent coverages only copy or equidistantly extend the previous boundary, excessive deposition or insufficient protection can easily occur in local curvature, occlusion edges, and gradient areas. Therefore, a spraying control scheme is needed that is based on the three-dimensional surface position target, performs position-by-position constraint verification of the actual spray width or equivalent deposition contribution, and generates subsequent coverage based on the prior coverage contribution and remaining requirements. Summary of the Invention
[0003] The purpose of this invention is to provide a non-target-specific spraying control method and system. This invention can adapt to complex curved surface topologies, achieve adaptive gradual transitions, and reduce visible ring bands and edge buildup.
[0004] The technical solution of the present invention: a method for controlling non-target spraying, comprising:
[0005] The surface representation of the target to be sprayed is obtained, and based on data generated by a non-target-specific spraying control system or external task indication data, the target area to be sprayed, at least one constraint area, and their boundaries are determined. The external task indication data includes at least one of image coordinates, model coordinates, component local coordinates, sensor coordinates, marker relative coordinates, robot coordinates, region, mask, boundary, overlay, trajectory, or robot task. The boundary includes explicit geometric boundaries or implicit boundaries formed by region state transitions. When the external task indication data already includes overlay, trajectory, or robot task, the target area to be sprayed and the constraint area are inversely calculated, generated, or bound according to the spray footprint, equivalent deposition support range, or position contribution corresponding to the overlay, trajectory, or robot task, and the input source, target or component identity, coordinate system or relative reference, surface version, and task version are saved.
[0006] Determine positional metrics relative to the boundary for multiple locations in the surface representation;
[0007] Based on the location metric, a process attribute field bound to the surface representation is established to assign location targets to multiple locations, wherein the location targets include at least one of target deposition contribution or target coverage level;
[0008] The permitted spraying area is determined based on the semantic priority between the area to be sprayed and the constrained area.
[0009] Based on the position-related coverage contribution on the surface representation using the spray footprint or equivalent deposition contribution model and the position target, at least one candidate spray cover is generated within the allowed spraying area. The effective deposition support range of each candidate spray cover is used to verify its contribution to the position target of the area to be sprayed and its relationship with the constrained area, thus filtering to form an executable spray cover. When multiple executable spray covers are generated, subsequent spray covers are determined at least partially based on the remaining demand between the planned contribution or executed contribution of the previous spray cover and the position target. Furthermore, the multiple executable spray covers form a non-complete overlap relationship in at least one of the following: geometric boundaries, effective deposition support range, or position contribution distribution.
[0010] The spraying actuator is controlled to perform the executable spraying coverage according to the process attribute field.
[0011] The above-described non-target spraying control method includes a constraint region comprising at least one of a negative spraying region, a prohibited spraying region, a motion restricted region, or a data invalid region; the negative spraying region is used to indicate a location range where spraying is not required or where spraying contribution needs to be reduced.
[0012] The location metrics include Euclidean distance, geodesic distance, signed distance, weighted distance, anisotropic distance, or equivalent location quantities obtained directly from potential field, interpolation weights, radial basis functions, level sets, partitioning functions, parametric coordinates, regular mapping, or verified models based on boundary or regional relationships.
[0013] The permitted spraying area is determined based on the semantic priority between the area to be sprayed and the constrained area, including:
[0014] The safe expansion amount is determined for the prohibited spraying area to obtain the expansion prohibited area;
[0015] The extended prohibited area is subtracted from the positive area to be sprayed to obtain the allowed spraying area; wherein, the semantic priority of the motion prohibited area and the prohibited spraying area is higher than that of the positive area to be sprayed, and the invalid data area does not generate the spraying coverage; the semantic priority is achieved by at least one of set subtraction, mask coverage, feasible domain intersection, rule short-circuiting, assigning a prohibited state, assigning an infeasible cost or a high penalty cost.
[0016] In the aforementioned non-target spraying control method, the safe expansion amount is determined position-by-position along the local normal of the boundary or the equivalent direction related to the spray width diffusion, and is based on at least two of the following: spray width half-width, spray diffusion, parameterized switch gun distance, robot positioning error, boundary input error, and surface reconstruction error; the safe expansion amount is allowed to vary with the spray width direction, local curvature of the boundary, and error state.
[0017] The spray width half-width is the radius for a near-circular spray footprint, and the direction-related support distance along the direction of expansion for a directional, flattened elliptical or spindle-shaped spray footprint; the spray footprint or equivalent deposition contribution model can be characterized by at least one of the following: measured or calibrated geometric footprint, deposition kernel or weight kernel, spray beam or particle projection, probability distribution, direction-related support function or validated deposition model.
[0018] The adjacent row break distance or target overlap rate is determined based on at least two of the following: the effective size of the spray footprint in the trajectory normal direction, the paint solid content, the target wet or dry film thickness, the spray distance, the speed, the atomization state, and the test spray results. The paint solid content and the target overlap rate are not set to a fixed one-to-one correspondence.
[0019] The intersection of the straight spray trajectory and the allowed spray area yields one or more core intervals to be repaired. When the undulation of the boundary does not exceed the direction-related effective spray width threshold and the spray width footprint does not enter the expansion prohibition zone, the undulation is absorbed into the straight coverage. When the protrusion exceeds the effective spray width threshold, interval-type targeted spraying is generated from the spray trajectory line corresponding to the end of the protrusion.
[0020] In the aforementioned non-target-specific spraying control method, the non-complete overlap relationship occurs in at least one of the geometric boundaries, effective deposition support range, or location contribution distributions of multiple sprayed covers, and includes at least one of inclusion, intersection, misalignment, local scaling, local expansion, or different contribution gradients; wherein, the different contribution gradients include different location contribution distributions formed due to different location targets, prior cover contributions, or constraint states when the geometric boundaries are the same or partially the same; the local boundaries or contribution distributions of subsequent sprayed covers are determined by at least one of the following: a threshold of remaining demand, an isopleth relation, a partitioning rule, or a validated model.
[0021] The process attribute field stores the gradient start point, transition length, terminal attenuation ratio, and spray start-over-line distance or spray end-over-line distance within the edge transition zone, so that the position targets at different locations in the surface representation change according to a continuous function, piecewise function, lookup table, or discrete level.
[0022] When achieving a gradual transition, at least one of the following is changed: speed, flow rate, spray width overlap, spray distance, spray gun tilt angle, trigger advance, or trigger lag; or the trajectory density or pass coverage boundary is changed. Each parameter changes within the verification range of the corresponding process configuration, and the spray width footprint is checked position by position against the positive area to be sprayed, the negative area to be sprayed, and the valid data status. Over-line spraying occurs within the permissible transition area, and the negative area to be sprayed, the hole exclusion area, or the invalid area preferentially blocks the over-line spraying.
[0023] In the aforementioned non-target-specific spraying control method, when generating multiple spraying covers, the first coat of paint preferentially covers the initial area. The coverage range of subsequent coats of paint or pearlescent paint is determined by the position target in the process attribute field, the planned or executed contribution of previous spraying covers, and the constraint area. It can be gradually expanded, locally scaled, or misaligned according to the confirmed distance level, and does not require the use of a fixed extension distance. At the outermost edge transition zone, the flow rate is reduced, the speed is increased, the overlap is reduced, or the spraying distance is increased.
[0024] For each core section to be repaired, a parameterized advance gun opening distance is set upstream of the inlet boundary and a parameterized delayed gun closing distance is set downstream of the end boundary, so that the spray gun establishes a stable spraying state before entering the core section to be repaired and closes only after passing the end of the core section to be repaired, and no switching between the opening and closing states of the spraying medium occurs inside the core section to be repaired.
[0025] The parameterized advance firing distance is determined by the product of the current nozzle path velocity at the inlet boundary and the stable spray establishment time, and is superimposed with valve response, air path delay, spray flight, spray width half-width and safety margin compensation.
[0026] The parameterized delayed shut-off distance is determined by the current nozzle path velocity at the end boundary, the parameterized tailing hold time, and the shut-off response compensation.
[0027] When a pre-established segment or an out-of-bounds ending segment conflicts with the expansion prohibition zone, the expansion prohibition zone takes priority, and at least one of the following treatments is adopted: pre-spraying outside the workpiece, physically shielding the transition zone, changing the trajectory, setting up separate short lines, or an unexecutable state.
[0028] In the aforementioned non-target-specific spraying control method, the boundary, the area to be sprayed, or the constraint area are obtained by the human-machine interface through selection on a pre-scanned image or task map, machine vision segmentation, computer-aided design data, external masks, external task instruction data, or external marker recognition results. These are then attached to or re-associated with the current 3D surface, and the input source, target or component identity, coordinate system or relative reference, confidence level, surface version, boundary version, and task version are saved. For externally input coordinates, regions, coverage, trajectories, or robot tasks, the system analyzes their spatial reference and verifies... For the current vehicle or component; when the spatial reference is missing, version conflict, or cannot be confirmed to correspond to the same physical target, it is not executed directly, but re-associated using at least one of the current observation, natural features, external markers, vehicle or fixture references; the selection includes freehand closed lines, approximately closed lines, automatically closed open strokes, lasso, polygons, rectangles, ellipses, spline curves, brushes, positive and negative strokes, seed point region growth, two-dimensional or three-dimensional mask editing or combinations thereof, and the resulting selection is represented as a three-dimensional boundary, surface mask, three-dimensional point set, semantic region or combinations thereof;
[0029] The brush, positive and negative strokes, or mask editing includes continuous smearing, brushing, erasing, or correction via fingers, styluses, mice, or equivalent input devices; the area to be sprayed and the edge transition zone can be determined separately through the same or successive human-computer interactions, and the two are allowed to be adjacent, partially overlapping, containing, or nested, and form different positional targets or process attributes respectively; for the fill mask formed by smearing, the explicit geometric boundary is extracted from the edge of the mask, or the implicit boundary is formed directly according to the area state transformation;
[0030] When the external mask originates from colored tape attached to a disposable cover, the two edges of the colored tape are identified respectively, and the cover side and the side to be repaired are determined.
[0031] Candidate boundaries are attached to the three-dimensional surface only after at least three of the following conditions are met: width or coding of the colored tape, edge continuity, surface geometry, consistency with the outline of the masking object, and manual confirmation. Boundary compensation is then performed based on the lateral direction of the masking object and the width of the colored tape.
[0032] The aforementioned non-target spraying control method, wherein boundary compensation is performed based on the lateral direction of the masking object and the width of the colored tape, includes:
[0033] Based on the width of the colored tape, the lateral application direction, the half-width of the spray pattern, the boundary error, and the physical shielding coverage, the candidate boundary is offset as the boundary of the area to be sprayed and the boundary of the constraint area.
[0034] Save the source image, recognition confidence level, manual confirmation record, and version;
[0035] When the verification fails, the obscured side is unclear, or the same color object causes a misjudgment, the spraying task will not be automatically issued, and the task will enter the rejection, retest, or manual processing state.
[0036] For targets executed at multiple stations, the process attribute field, the area to be sprayed, and the constraint area retain the same surface version. Changing the station only affects the executable path and the current serviceable footprint, and does not change the location target.
[0037] In the aforementioned non-target spraying control method, the process attribute field is associated with the surface version, boundary version, and spraying configuration version, and is associated with at least one of the following: external task data source version, target or component version, coordinate or relative reference version, and input coverage or trajectory version.
[0038] When the individual spray gun status, area mask, or spraying configuration version changes, the affected process attributes or remaining spraying coverage are recalculated; when the vehicle coordinates or surface coordinates version becomes invalid and is restored or corrected based on the current reproducible positioning features and prior features—coordinate records, a new coordinate version is established; the reproducible positioning features include at least one of image features, depth or point cloud features, geometric contour or surface features, artificial marking features, structured light or laser observation features, and other features that can establish a spatial correspondence between the current observation and the historical task; after reprojecting or migrating the area to be sprayed, the constraint area, and the process attribute field to the same physical target surface, the executable path and the current serviceable footprint are recalculated;
[0039] When the target identity, coordinate reference, surface version, or task version of the externally input area, coverage, trajectory, or robot task changes, is missing, or conflicts, the corresponding process attribute field and executable spraying coverage are set to invalid or pending verification; after re-association, the position target, constraint relationship, and remaining requirements are recalculated based on the effective deposition support range of the external data, and the calculation and verification are not skipped on the grounds that the external data already contains robot coordinates or gun switching commands.
[0040] The cumulative contribution of the planned spray footprint or equivalent deposition contribution model at each location is within the preset tolerance to meet the location target of the process attribute field, whether the corresponding number of spray layers has reached the preset value, and whether the robot execution feedback confirms that all planned paths have been completed, together form the state of single-layer or full spraying completion.
[0041] The determination of the delineated area, the status of the spray gun, or the status of the solenoid valve do not constitute a complete confirmation on their own.
[0042] When any required data is missing, there is a version conflict, the applicable domain is exceeded, the model confidence is insufficient, or the execution result is uncertain, the system will enter a state of rejection, retesting, or manual processing, and will not continue spraying based on unverified inferences.
[0043] A non-target spraying control system, comprising:
[0044] The external task data input and normalization module is used to receive coordinates, regions, coverage, trajectories or robot tasks formed by external sensing or detection, automatic or semi-automatic identification, manual measurement or coordinate input, external marker identification, vehicle or component models, maintenance task systems, offline programming systems, external files or application interfaces, and to parse their target or component identity, coordinate system or relative reference, surface version and task version, and to attach or reassociate them to the current three-dimensional surface.
[0045] The surface representation module is used to acquire the surface representation of the target to be sprayed, and to determine the positive region to be sprayed, at least one constrained region, and the explicit geometric boundaries of the positive region to be sprayed and the constrained region, or the implicit boundaries formed by the state transitions of a mask, label field, implicit function, state field, or region rule.
[0046] A position measurement module is used to determine a position measurement relative to the boundary for multiple locations in the surface representation;
[0047] The attribute field establishment module is used to establish a process attribute field bound to the surface representation based on the location metric, so as to assign location targets to the multiple locations, wherein the location targets include at least one of target deposition contribution or target coverage level;
[0048] The region calculation module is used to determine the allowed spraying area based on the semantic priority between the area to be sprayed and the constraint area;
[0049] The coverage generation module is used to generate at least one candidate spray coverage within the allowed spraying area based on the location-related coverage contribution on the surface representation and the location target, according to the spray footprint or equivalent deposition contribution model. Based on the effective deposition support range of the candidate spray coverage, the module verifies its contribution to the location target of the area to be sprayed and its relationship with the constrained area position by position to filter and form executable spray coverages. When multiple executable spray coverages are generated, subsequent spray coverages are determined at least partially based on the remaining demand between the planned contribution or executed contribution of the previous spray coverage and the location target, and the multiple executable spray coverages form a non-complete overlap relationship in at least one of the geometric boundaries, effective deposition support range, or location contribution distribution.
[0050] The execution control module is used to control the spraying actuator to perform the executable spraying coverage according to the process attribute field.
[0051] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the non-target spraying control method as described above.
[0052] Compared to existing technologies, this invention does not rely on local area identification, fixed expansion, multiple boundary staggering, or a single gradient parameter as the control core. Instead, it unifies the location target, constraint semantics, and spray width or equivalent deposition contribution bound to the 3D surface into a single process attribute field and coverage generation closed loop. Candidate spray coverages are checked against the target contribution and constraint relationship position by position based on their actual effective deposition support range, avoiding misjudgment of execution solely based on the trajectory centerline being within the allowable area. In multiple spraying operations, subsequent coverages can be generated based on the remaining demand between the planned or executed contribution of the previous coverage and the location target, without relying on fixed-distance replication or equidistant expansion of the previous boundary. Therefore, in complex curved surfaces, occluded edges, and locally gradient areas, it can simultaneously consider target deposition, non-spray protection, and the continuity of multiple contributions, reducing the risks of excessive deposition, edge accumulation, visible rings, and spray width intrusion into constraint areas.
[0053] Furthermore, by generating multiple spray coatings that form a non-completely overlapping relationship in at least one of the geometric boundaries, effective deposition support range, or location contribution distribution, the traditional pattern of strict boundary alignment or concentric nesting in multi-pass spraying is broken. By utilizing spatial relationships such as inclusion, intersection, misalignment, or local scaling, the edge accumulation effect is dispersed, effectively reducing the probability of visible rings and step marks, and improving the naturalness and appearance quality of the fusion between the repaired area and the original coating.
[0054] Meanwhile, the introduction of semantic priority and safety expansion mechanisms ensures the strict implementation of safety protection and process constraints when dealing with the relationship between the area to be sprayed and the prohibited spraying area and the prohibited movement area. In particular, when facing directional spray footprints, the safety expansion calculation is performed using directional related support distance, avoiding the problem of over-protection or under-protection of fixed radius expansion at irregular boundaries, thus improving the accuracy and safety of path planning.
[0055] Furthermore, by implementing restricted input verification of tape candidate boundaries, a version-related recalculation mechanism, and completion status confirmation based on multi-dimensional feedback, the robustness and traceability of the system in unstructured environments are enhanced, ensuring the reliability of process execution and the consistency of data, and avoiding spraying defects caused by misjudgment of a single sensor or asynchronous status. Attached Figure Description
[0056] Figure 1 This is a flowchart of the non-target spraying control method of the present invention;
[0057] Figure 2 This is a schematic diagram of non-specific target surface partitioning and boundary field according to an embodiment of the present invention;
[0058] Figure 3 This is a schematic diagram of the three-fold non-completely overlapping nested coverage boundary of an embodiment of the present invention;
[0059] Figure 4 This is a schematic diagram of the linear spraying trajectory and the switching gun interval of the irregular core area to be repaired in an embodiment of the present invention.
[0060] Among them, 110-outer boundary, 120-transition zone, 130-core area, 210-first layer coverage, 220-second layer staggered coverage, and 230-third layer core coverage. Detailed Implementation
[0061] The present invention will be further described below with reference to the accompanying drawings and embodiments, but this should not be construed as limiting the present invention.
[0062] Example 1: This example provides a non-target-specific spraying control method. This method achieves adaptive control of complex surface repair operations by constructing a surface coordinate attribute field and a non-perfectly overlapping coverage generation mechanism. For example... Figure 1 As shown, the method mainly includes the following steps.
[0063] Step S1: Obtain the surface representation of the target to be sprayed, and based on data generated by the non-target-specific spraying control system or external task indication data provided by external sensing or detection devices, automatic or semi-automatic identification, manual measurement or coordinate input, external marker identification, vehicle or component models, maintenance task systems, computer-aided design systems, offline programming systems, external files, or application programming interfaces, determine the area to be sprayed, at least one constrained area, and its boundary; the external task indication data includes at least one of the following: image coordinates, model coordinates, component local coordinates, sensor coordinates, marker relative coordinates, robot coordinates, area, mask, boundary, coverage, trajectory, or robot task. One approach; the boundary includes explicit geometric boundaries or implicit boundaries formed by region state transformations; when external task indication data already includes coverage, trajectory, or robot tasks, based on the spray footprint, equivalent deposition support range, or positional contribution corresponding to the coverage, trajectory, or robot task, the target area and constraint area to be sprayed are calculated, generated, or bound, and the input source, target or component identity, coordinate system or relative reference, surface version, and task version are saved; in this step, the surface representation is a digital description of the physical surface of the target to be sprayed, which can be in the form of a three-dimensional point cloud, triangular mesh model, parametric surface, or voxel representation, etc., containing not only geometric coordinate information but also semantic partitioning information. The target area to be sprayed refers to the target area where paint deposition is required, for example... Figure 2The core area 130 shown is included; the constraint area includes areas to be sprayed (negative), areas where spraying is prohibited, areas where movement is prohibited, or areas with invalid data, etc. The areas to be sprayed (negative) represent locations where spraying is not required or where spraying contribution needs to be reduced. The constraint area defines the safety boundaries and effective range of the operation. Boundaries include explicit geometric boundaries and implicit boundaries formed by state transitions from masks, label fields, implicit functions, state fields, or region rules. Their function is to delineate the boundaries of different functional areas and provide a reference for subsequent location measurements.
[0064] Step S2 involves determining positional metrics relative to the boundary for multiple locations in the surface representation. A positional metric is a quantitative indicator characterizing the spatial or equivalent positional relationship of a surface location relative to its boundary. Unlike traditional two-dimensional planar projection distances, positional metrics respect the actual geometry of the surface. For example, at complex geometric features such as curved surface reflections, hole edges, or adjacent cross-surface areas, positional metrics accurately reflect the true distance relationship along the surface path, avoiding erroneous over-judgments caused by excessively close three-dimensional Euclidean distances, thus ensuring the topological continuity of process control. Positional metrics include Euclidean distance, geodesic distance, signed distance, weighted distance, anisotropic distance, or equivalent positional quantities directly obtained from potential fields, interpolation weights, radial basis functions, level sets, partitioning functions, parametric coordinates, regular mappings, or validated models based on boundary or region relationships.
[0065] Step S3 involves establishing a process attribute field bound to the surface representation based on position metrics, thereby assigning position targets to multiple locations. The process attribute field is the core data object of this invention; its essence is a function or data structure that binds process requirements to the topological locations of a three-dimensional surface, rather than an offline fixed parameter table. Specifically, the process attribute field uses position metrics as independent variables to assign corresponding position targets to multiple locations in the surface representation. These targets include at least one of target deposition contribution or target coverage level, and may further include color contribution, clear coat contribution, spray pass, path density, spray direction, speed range, or prohibited states, etc. For example, in... Figure 2 Within the transition zone 120 shown, the process attribute field can be adjusted according to changes in location metrics to allow the target deposition contribution to decay smoothly from the core region 130 to the outer boundary 110 as a continuous or piecewise function. This allows for the definition of location-related targets that meet repair quality requirements at the data level, rather than using a fixed outer boundary to represent all process requirements.
[0066] Step S4: Determine the permitted spraying area based on the semantic priority between the area to be sprayed and the constraint area. Semantic priority defines the logical hierarchy and safety constraint level between different areas. In this embodiment, the semantic priority of constraint areas (such as prohibited spraying areas or restricted movement areas) is higher than that of the area to be sprayed. Semantic priority can be implemented through at least one of set subtraction, mask overlay, feasible domain intersection, rule short-circuiting, assigning a prohibited state, assigning an infeasibility cost, or a high penalty cost; the software rule name or data structure is not limited. This mechanism ensures that even when the area to be sprayed and the constraint area are adjacent or overlap, safety protection and process constraints are strictly enforced, preventing the spraying medium from accidentally entering the restricted spraying area or the robot from entering the dangerous area.
[0067] Step S5: Based on the location-related coverage contribution and location target on the surface representation using the spray footprint or equivalent deposition contribution model, at least one candidate spray cover is generated within the allowed spraying area. The effective deposition support range of each candidate spray cover is used to verify its location target contribution to the area to be sprayed and its relationship with the constraint area, thus selecting executable spray covers. The verification here focuses on the actual support range and contribution distribution of the spray on the target surface, not just whether the spray gun centerline or trajectory point is located within the allowed spraying area. Therefore, even if the trajectory centerline is within the allowed area, if the spray edge or equivalent deposition contribution intrudes into the high-priority constraint area, the candidate cover must still be truncated, adjusted, or deemed unexecutable. When multiple spray covers are required, subsequent covers are determined at least partially based on the remaining demand between the planned or executed contribution of the previous cover and the location target. New local boundaries or contribution distributions can be formed through remaining demand thresholds, equivalence relationships, zoning rules, or validated models, without requiring fixed-distance replication or equidistant expansion of the previous cover boundary. Therefore, multiple coatings can contain, intersect, misalign, locally scale, or expand on geometric boundaries, or form different effective deposition support ranges or location contribution gradients when the geometric boundaries are the same or partially the same. Multiple executable spray coatings may form a non-complete overlap relationship in at least one of the geometric boundaries, effective deposition support ranges, or location contribution distributions.
[0068] Step S6: Control the spraying actuator to perform spraying coverage based on the process attribute field. During the execution phase, the control system reads the position targets at each location in the process attribute field and adjusts parameters such as the motion trajectory, speed, flow rate, spray pattern, or gun switching sequence of the spraying actuator accordingly, so that the actual spraying process accurately reproduces the preset process attribute distribution.
[0069] Through the above steps, this embodiment establishes a complete control link from three-dimensional surface topology to process attributes and then to the generation of non-complete overlapping coverage. This makes the spraying control no longer dependent on fixed two-dimensional trajectories or empirical parameters, but can be adaptively adjusted according to the actual geometric relationship of the surface and process requirements. Thus, under the premise of ensuring operational safety, it can achieve a high-quality gradient repair effect on complex curved surfaces with reduced visible traces.
[0070] Preferably, the constraint region includes at least one of the following: a negative area to be sprayed, a prohibited spraying area, a motion-restricted area, or a data-invalid area. The negative area to be sprayed represents the location range where spraying is not required or where the spraying contribution needs to be reduced. The prohibited spraying area refers to an area where the robot or spray gun can pass through while maintaining a safe clearance, but the spraying medium must be closed, such as vehicle windows, lights, or masked areas. The motion-restricted area refers to a physical space where the robot body, spray gun, or hose envelope must not enter under any circumstances, typically corresponding to an interference zone inside the workpiece or an external fence. The data-invalid area refers to an area where the surface representation is unreliable due to missing scans, low confidence levels, or registration failures; the system does not generate any automatic spraying coverage in this area to prevent accidental spraying or collisions caused by model errors.
[0071] For multiple positions in a surface representation, the positional measure relative to the boundary can take various forms, including Euclidean distance, geodesic distance, signed distance, weighted distance, anisotropic distance, or equivalent positional quantities obtained from potential fields, interpolation weights, radial basis functions, level sets, partitioning functions, or parametric coordinates. For example, when dealing with complex surfaces with deep grooves, folds, or holes, using only three-dimensional Euclidean distance can result in two points that are geometrically close in space but topologically far apart being classified as "nearest neighbors," leading to incorrect extension of the transition zone across physical grooves. In contrast, geodesic distance strictly calculates the shortest path along the surface manifold, accurately reflecting the actual accessibility and gradual continuity of the coating on the surface. Furthermore, when the spraying process is sensitive to the direction of gravity (e.g., to prevent sagging) or has specific requirements for the orientation of metal particles, anisotropic distance can be used. This allows the distance weights along the direction of gravity or feature lines to differ from those in the vertical direction, thus creating a physically consistent directional gradient in the process property field. In addition, potential fields or level sets can be used as equivalent positional quantities without explicitly calculating distance values. They can directly generate smooth transition fields by solving partial differential equations or energy minimization problems, making them particularly suitable for scenarios involving multi-boundary fusion or dynamic changes in topology.
[0072] To more intuitively understand the impact of location metric selection on process quality, a comparative illustration is provided below. Assume the target to be coated is a panel with a slit or hole, the core area to be repaired is located on one side of the slit or hole, and the transition zone needs to extend to the other side. If a two-dimensional projected distance or a three-dimensional Euclidean distance is used, spatially adjacent points on both sides of the slit or hole will be assigned extremely small distance values, causing the system to misjudge them as being within the same transition zone, thus generating a continuous coating trajectory that crosses the slit or hole. However, on the actual physical surface, the surface path between the two points cannot directly cross the slit or hole, and the coating transition should not traverse this non-target area. Conversely, if a geodesic distance is used, the distance values between the points on both sides of the slit or hole will increase (it needs to bypass the slit end or hole edge along the surface). Based on this, the system identifies this as a high-gradient change area or an area that should be separated, thereby automatically inserting breakpoints or adjusting the transition strategy in the process property field, avoiding invalid or harmful coating behavior.
[0073] After determining the location metrics, this embodiment determines the permissible spraying area based on the semantic priority between the area to be sprayed and the constraint area. The specific steps include: first, determining the safe expansion amount for the prohibited spraying area to obtain the expanded prohibited area; then, subtracting the expanded prohibited area from the area to be sprayed to obtain the permissible spraying area. In this logic, the semantic priority of the motion-restricted area and the prohibited spraying area is higher than that of the area to be sprayed. This means that no matter how urgent the process requirements of the area to be sprayed are, if it conflicts with a high-priority constraint, safety avoidance takes precedence. Invalid data areas are directly excluded from the valid computation domain and do not participate in subsequent coverage generation. This set operation mechanism ensures that the generated spraying path is inherently safe, eliminating the need to rely on additional real-time obstacle avoidance algorithms to correct planning errors during the execution phase, thus improving the robustness and execution efficiency of the system.
[0074] The determination of the safe expansion amount is not a fixed constant, but rather dynamically calculated based on at least two of the following: spray width (half-width), spray diffusion, parametric switch-on distance, robot positioning error, boundary input error, and surface reconstruction error. This design considers the coupling effect of multiple uncertainties in actual operation. It should be noted that the definition of spray width (half-width) is differentiated according to the actual shape of the spray footprint: for a near-circular spray footprint, the spray width (half-width) is the radius; while for a directional, flattened elliptical or spindle-shaped spray footprint, the spray width (half-width) specifically refers to the direction-related support distance along the direction to be expanded. This is because in actual spraying, the coverage capability of the flattened elliptical spray formed by the fan-shaped nozzle differs significantly in the major and minor axes. If a fixed radius is uniformly used for safe expansion, when the radius is large (e.g., covering the major axis), an excessive no-spray protection zone will be formed in the minor axis direction, leading to unnecessary loss of repairable area; conversely, if the radius is small (e.g., only covering the minor axis), insufficient protection may occur in the major axis direction, causing the spray edge to intrude into the no-spray zone. By introducing directionally correlated support distance, the system can accurately calculate the expansion amount based on the actual projected size of the spray pattern in the current boundary normal direction, achieving an optimal balance between safety and operational efficiency. The spray pattern footprint or equivalent depositional contribution model can be characterized by at least one of the following: measured or calibrated geometric footprint, depositional core or weighted core, spray beam or particle projection, probability distribution, directionally correlated support function, or validated depositional model.
[0075] When generating a specific spraying path, the adjacent row wrapping distance or target overlap rate is determined based on at least two of the following: the effective size of the spray footprint in the trajectory normal, the paint solids content, the target wet or dry film thickness, the spray distance, the speed, the atomization state, and the test spray results. This invention explicitly states that the paint solids content and the target overlap rate are not set to a fixed one-to-one correspondence. Existing technologies often simply set the overlap rate based on the percentage of solids content (e.g., 50% solids content corresponds to 50% overlap), but this ignores complex factors such as wet film leveling, solvent evaporation, uneven spray distribution, and nonlinear accumulation of the target film thickness. This embodiment determines the overlap rate through multi-parameter comprehensive decision-making or test spray calibration, ensuring a uniform film thickness distribution under different paint systems and process conditions.
[0076] Furthermore, the system intersects the straight-line spraying trajectory with the allowed spraying area to obtain one or more core regions to be repaired. When handling irregular boundaries, this embodiment employs an adaptive undulation absorption strategy: when the boundary undulation does not exceed the direction-related effective spray width threshold and the spray width footprint does not enter the expansion prohibition zone, the undulation is absorbed into the straight-line coverage; however, when the protrusion exceeds the effective spray width threshold, interval-based targeted spraying is generated from the spraying trajectory line corresponding to the end of the protrusion. The significance of this strategy is that the spray width itself has a certain width redundancy. For minor boundary fluctuations, there is no need to frequently adjust the robot trajectory to follow; the natural coverage of the spray width can ensure quality, which helps maintain the stability of robot movement and reduces film thickness unevenness caused by acceleration and deceleration. Only when the boundary deviation exceeds the self-adjustment capability of the spray width is local trajectory correction or re-spraying triggered, thereby maximizing the efficiency and stability of path execution while ensuring coverage integrity.
[0077] Preferably, the paint spray gun can form two types of spray footprints. The first type of spray jet is approximately conical, forming a near-circular footprint on the target surface. For example, with a diameter of about 20 cm, its effective radial width is approximately 20 cm. This shape is less commonly used but can be considered as an alternative implementation. The second type of spray jet is fan-shaped, forming a flattened rugby ball, flattened ellipse, or spindle-shaped footprint on the target surface, with a major axis L and a minor axis W. This is the preferred shape in this embodiment. The distinction between these two types of spray footprints is not merely a geometric description but a key parameter that directly affects subsequent calculations of the wrap-around distance, determination of the safe expansion amount, and assessment of coverage contribution.
[0078] For the preferred flat elliptical or spindle-shaped spray pattern, it can be formed and calibrated by adjusting the nozzle, air cap, and control knob of the spray gun. In the normal installation position of the spray gun, the major axis of the spray pattern is aligned with the vertical direction of the spray gun body and projects onto the vertical direction of the target surface; the major axis L is preferably adjusted to approximately 20 cm. The minor axis is approximately perpendicular to the major axis and projects onto the horizontal direction of the target surface; the minor axis W is generally 6 to 10 cm, with a typical value of approximately 8 cm. The design ratio of the major axis L to the minor axis W is preferably approximately 2.5:1 to 4:1. When the major axis is approximately 20 cm and the aforementioned ratio and the minor axis range are both constraints, the minor axis is preferably approximately 6 to 8 cm; 6 to 10 cm represents a wider calibrable range considering the effectiveness threshold of the spray pattern edge, spray distance, paint, and differences in calibration methods. The major axis direction can also be rotated with the air cap, nozzle, or spray gun posture, including adjusting to a less common posture close to 90 degrees relative to the normal vertical direction of the spray gun; near-circular spray patterns are also not excluded. The aforementioned shapes, orientations, and dimensions are parameters that can be reconfigured or calibrated according to spray distance, paint type, curvature, and process requirements, and do not constitute a fixed limitation on all paint spray guns.
[0079] After determining the spray pattern, the system calculates the area of the area to be repaired on the three-dimensional curved surface, and then determines the row break distance based on the effective dimension B⊥ of the spray pattern in the normal direction of the spray trajectory, the target overlap rate, curvature, and spray distance. The row break distance can be calculated as s=B⊥×(1-ρ) or calibrated through trial spraying, where ρ is the target overlap rate of adjacent rows. In the preferred embodiment where the nozzles are arranged vertically along the major axis and sweep horizontally, the effective dimension B⊥ of the trajectory normal corresponds to the major axis L, which is approximately 20 cm; when spraying is performed vertically along the target surface while maintaining the same spray pattern direction, B⊥ corresponds to the minor axis W, which is generally 6 to 10 cm. If the spray pattern direction is rotated or a near-circular footprint is used, the dimensions related to the direction after rotation or the diameter of the near-circular footprint are recalculated, and the effective width of a single row for both horizontal and vertical spraying movements is not fixed at 20 cm. The horizontal or vertical direction referred to in this paragraph refers to the spray trajectory direction of the nozzle relative to the target surface, and does not indicate the movement direction of the vision module or the image stitching direction. This direction-dependent effective size calculation ensures that regardless of the spray pattern configuration, the line break step can accurately match the actual coverage capability of the current trajectory direction, avoiding missed sprays or excessive overlap due to size misuse.
[0080] In actual spraying, adjacent rows are overlapped to eliminate any gaps that may form between the two spray paths and to improve the consistency of film thickness, color, and appearance in the area to be repaired. The target overlap rate can be set parametrically based on at least two of the following: paint solids content, viscosity, target wet or dry film thickness, spray pattern distribution, spray distance, nozzle speed, atomization state, curvature, and paint technical data or test spray calibration results. For example, a paint with a solids content of approximately 50% can use an overlap rate of approximately 50% between adjacent rows as a starting point for the process. However, there is no fixed one-to-one correspondence between solids content and overlap rate; the actual value is determined by the spray configuration and test spray results.
[0081] When the target single-layer wet film thickness is thin, the overlap rate cannot be mechanically applied based on the solid content ratio. For example, if the target wet film thickness is no more than approximately 10 micrometers, the overlap rate can be significantly reduced, the single-row deposition amount reduced, the speed changed, or other thin-spray parameters used, based on the test spray results, to avoid an excessively thick overlap band. Approximately 10 micrometers is only an example for judgment in the current process specification; the actual boundary value and adjustment range are stored in the versioned gun paint process configuration and are not used as a fixed threshold. Spray pattern type, major axis, minor axis, axial direction, line break distance, overlap rate, and inlet / outlet control method can be called from the static configuration table before spraying; the standard on-site process does not require mechanical gun adjustment, but it is not excluded that the nozzle, air cap, or control knob may be changed after a re-test spray and the release of a new configuration version.
[0082] In the current baseline embodiment, the carrier performs a side scan along the X-axis at a speed of approximately 200 mm / s, while the carrier stops during spraying; the reference movement speed of the nozzle at the end of the robotic arm is approximately 200 mm / s, the reference spray distance is approximately 200 mm, and the minimum stable single-pass deposition is approximately 10 micrometers. The nozzle speed and spray distance can be adjusted within a dynamically permissible range according to the target wet film thickness. In the current embodiment, the carrier remains stopped and reliably braked after reaching the spraying station, and the robotic arm performs spraying according to the process attribute field and approved parameters. When the target deposition changes, a new speed, spray distance, overlap ratio, or a complete additional pass can be returned via an independent process parameter adaptation function.
[0083] When the local target deposition amount at certain locations in the process attribute field is lower than the minimum executable single-pass deposition amount, the system does not forcibly generate unexecutable spraying instructions. Instead, it handles the situation through various strategies. Specifically, it may expand the coverage area at that location to distribute the deposition amount over a larger area, merge adjacent low-target units into one executable unit, adjust the weight allocation of each pass to ensure that the single-pass deposition amount is not lower than the lower limit, or mark the location as an area requiring manual respraying. This processing mechanism ensures that all generated spraying instructions are within the physical executable range of the spray gun, avoiding process defects such as poor atomization, unstable flow rate, or uncontrollable film thickness caused by excessively low target deposition amounts. The minimum executable single-pass deposition amount participates in the path executableization process as a subordinate constraint, but it does not constitute a limitation of the process attribute field itself—the attribute field can still express arbitrarily small target values, but it needs to be filtered and adjusted by the above processing logic when converted into executable coverage.
[0084] The process attribute field is not limited to a single two-dimensional or three-dimensional raster field; it can also be encoded as mesh vertex / face attributes, vector boundaries and partitioning rules, parametric surface functions, implicit functions, trajectory segment labels, database query results, or values directly calculated at runtime. Even if the coverage target, prohibited state, or dynamic range at different surface locations are still generated by the positional relationship of their relative boundaries / regions, and the cumulative spray footprint satisfies the positional target, they belong to the equivalent implementation path. This encoding neutrality ensures that the technical essence of the process attribute field does not change due to differences in data structure. Regardless of whether raster, point cloud attributes, mesh vertex attributes, surface textures, function parameters, rules, partitioning labels, or neural network outputs are used, the data form does not limit the technical application.
[0085] When multiple sprays use the same nominal trajectory envelope or the same geometric boundary, but the effective deposition support range or contribution distribution is not completely consistent due to different effective spray widths, deposition nuclei, parameter gradients, local coverage weights, or positional contributions, it also falls under the category of "non-perfect overlap" as referred to in this invention; therefore, whether or not different geometric contour lines are drawn is not the sole criterion for judgment.
[0086] Similarly, the boundaries, semantic priority, and spray coverage contribution in this invention are defined using a functionally neutral approach. Boundaries can be explicit curves, surface profiles, or state transition interfaces in masks, label fields, implicit functions, or state fields. Semantic priority can be achieved through set operations, overlay writing, feasible region intersection, rule short-circuiting, or infeasibility cost. Spray coverage contribution can be expressed by geometric footprint, deposition kernel, probability or weight kernel, spray beam or particle projection, directional support function, or a validated model. These changes in implementation do not affect the technical effectiveness of utilizing regional relationships to constrain physical spray coverage.
[0087] Preferably, the non-perfect overlap relationship includes at least one of the following: inclusion, intersection, misalignment, local scaling, local expansion, or different contribution gradients. For example... Figure 3 As shown, this non-perfectly overlapping design is not a simple geometric offset, but a spatial distribution strategy constructed based on the purpose of dispersing the cumulative effect of edges. For example, the first layer of coverage 210 can cover the core area and most of the transition zone, the boundary of the second layer of staggered coverage 220 is spatially staggered or partially intersecting with the first layer of coverage 210, and the third layer of core coverage 230 only covers the core high-target area or adopts a locally scaled form. It should be understood that, although Figure 3 The diagram illustrates the boundaries of three coats, but in practical applications, the number of coats, boundary shapes, and relative positions can be adaptively adjusted based on the repair area, paint characteristics, and appearance quality requirements. By spatially staggering the boundaries of multiple coats, potential edge thickness steps or color demarcation lines from each coat fall on different surface locations, preventing defects from all coats from overlapping in the same spot. This effectively reduces the probability of visible banding and improves the naturalness of the fusion between the repaired area and the original coating.
[0088] To support the precise execution of the aforementioned non-overlapping coverage, the process attribute field stores the gradient start point, transition length, terminal attenuation ratio, and spray initiation / retraction distance within the edge transition zone. This allows the positional targets at different locations in the surface representation to vary according to continuous, piecewise, lookup table, or discrete levels. Specifically, the gradient start point defines the spatial location of the transition from the constant deposition zone to the transition zone; the transition length determines the smoothness of the gradient, with longer transition lengths typically corresponding to a smoother appearance blending effect; the terminal attenuation ratio sets the remaining proportion of the target deposition amount at the outer edge of the transition zone relative to the baseline value, for example, setting it to 0% to achieve complete feathering, or retaining a certain proportion to maintain wet edge connection; the spray initiation and retraction distances define the additional travel of the spray gun while remaining open when crossing the boundary, ensuring stable atomization and sufficient blending of the paint at the boundary. At the data encoding level, for high-precision surface repair, the location target can be described using continuous functions (such as polynomials, Gaussian functions, or spline curves) to ensure the mathematical smoothness of film thickness variations. For scenarios with limited computational resources or wide process windows, piecewise linear functions, discrete-level lookup tables, or neural network outputs can also be used. Regardless of the encoding method used, the core is to establish a deterministic mapping relationship between the surface topology location and the process target, rather than relying on fixed global parameters.
[0089] When translating positional targets into actual actions, to achieve gradual changes, at least one of the following can be altered: speed, flow rate, spray overlap, spray distance, spray gun tilt angle, trigger lead, or trigger hysteresis; or the trajectory density or pass coverage boundary can be changed. For example, when approaching the outer edge of the transition zone, the system can reduce the deposition per unit area by increasing the nozzle movement speed or reducing the paint flow rate; it can also expand the spray footprint and reduce the center concentration by increasing the spray distance or adjusting the spray gun tilt angle; and it can achieve a macroscopic deposition gradient by reducing the overlap rate of adjacent trajectories or thinning the path density. It should be noted that each parameter varies within the verification range of the corresponding process configuration, and the spray footprint is checked position by position against the positive area to be sprayed, the negative area to be sprayed, and the valid data state. This is because the spraying process has a high degree of nonlinearity and coupling. Simply pursuing a mathematically perfect gradual curve that exceeds the physical limits of the paint or equipment (such as poor atomization due to excessively low flow rate, dry spray due to excessively large spray distance, or stringing due to excessively high speed) will introduce new quality defects. Therefore, this invention requires that all parameter adjustments used to achieve the gradient must be performed within a process window that has been pre-calibrated by test spraying or simulation verification, and that the validity of the spray pattern footprint must be verified position by position when generating the path to ensure that the theoretical gradient target is physically feasible and of controllable quality.
[0090] Furthermore, special treatment is provided for edge transition areas. Over-line spraying occurs within the permitted transition area, prioritizing blocking over-line spraying in the negative area to be sprayed, the hole exclusion area, or the invalid area. In actual spraying operations, to ensure seamless integration between the repair area edge and the original coating, the spray gun typically needs to maintain a certain spraying distance after crossing the theoretical boundary (i.e., over-line spraying) to avoid under-spraying at the edges due to valve response delays or changes in the spray cone angle. However, this over-line behavior must be subject to strict spatial constraints. During control execution, the system continuously determines whether the over-line segment falls within the permitted transition area. If the over-line path extends into the negative area to be sprayed (such as a car window or lamp), the hole exclusion area, or the invalid data area, the system will immediately trigger a blocking mechanism, forcibly shutting off the spraying medium or cutting off the trajectory, even if this means sacrificing some edge fusion effect, prioritizing ensuring that non-sprayed areas are not contaminated. This "negative area priority blocking" logic reflects the design principle of this invention, which prioritizes safety and process compliance while pursuing aesthetic quality.
[0091] In another application scenario, different attributes in the process attribute field can employ different variation functions to satisfy the synergistic constraints of the deposition target and the spraying direction in metallic paint application. Specifically, when using paint containing metallic particles (such as silver paint or pearlescent paint) for repair, the deposition target continuously changes position along the surface to form a smooth film thickness transition, while the spraying direction attribute is set segmentally according to the vehicle feature line. This is because the arrangement direction of the metallic particles in the paint directly affects the visual color and gloss performance of the coating: on one side of the feature line, the spray gun sprays at a certain angle to align the particles in a specific orientation; after crossing the feature line, the spray gun direction switches according to a preset angle to ensure that the particle arrangement remains consistent with the metallic effect of the original coating. By setting the deposition amount as a continuous function and the spraying direction as a segmented function in the same process attribute field, the system can simultaneously satisfy both the film thickness gradient and color transition constraints, avoiding the limitations of adjusting only a single parameter (such as only changing the speed or flow rate) and failing to consider the particle orientation. This design reflects the core advantage of the process attribute field—different process attributes can independently adopt their own optimal variation laws, rather than being forced to be bound to a unified parameter curve.
[0092] Preferably, when generating multiple spray coats, the first coat of paint prioritizes covering the initial area. The coverage of subsequent coats or pearlescent coats is determined by the location target in the process attribute field, the planned or executed contribution of previous spray coats, and the constraint area. This coverage can be progressively expanded, locally scaled, or offset according to a confirmed distance level, without requiring a fixed extension distance. The distance level is simply one implementation method for discretizing the location target or remaining requirements; its value can vary depending on the surface topology, color or film thickness target, spray width contribution, and constraint status. In the outermost edge transition zone, the system can reduce the flow rate, increase the nozzle movement speed, reduce the overlap rate of adjacent trajectories, or appropriately increase the spray distance to smoothly attenuate the deposition contribution. The core of this strategy is not simply expanding the construction area, but rather ensuring that the effective contribution of each coat collectively approximates the location target defined by the process attribute field, and avoiding repeated accumulation at the same boundary.
[0093] To ensure the stability and uniformity of the spraying process, a parameterized advance spraying distance is set upstream of the inlet boundary and a parameterized delayed spraying distance is set downstream of the end boundary for each core area to be repaired. This ensures that the spray gun establishes a stable spraying state before entering the core area to be repaired and only closes after passing the end of the core area, preventing any switching between the on and off states of the spraying medium within the core area to be repaired. Figure 4 As shown, the core area to be repaired is the critical region requiring constant film thickness and controlled quality during the spraying operation. The inlet and end markers define the start and end boundaries of this area. The continuous spray gun trajectory shows that the actual gun activation point is located upstream of the inlet marker, i.e., the early activation distance; while the actual gun deactivation point is located downstream of the end marker, i.e., the delayed deactivation distance. The core constraint of this design is that "no state transition occurs within the core area to be repaired," meaning the spray gun must complete the entire process from triggering to atomization stabilization before crossing the inlet marker, and the deactivation is only permitted after crossing the end marker. This avoids spraying pulses, uneven atomization, or film thickness fluctuations caused by valve start-stop transients directly affecting the repair core area, thus ensuring consistent coating quality within the core area. The gun deactivation phase serves only as a transitional stroke for the spray gun to reset or move to the next path starting point and does not participate in the effective coating construction.
[0094] The specific calculation of the parameterized pre-firing distance is not a fixed empirical value, but is determined by the product of the current nozzle path velocity at the inlet boundary and the stable spray setup time, plus valve response, air path delay, spray flight, spray width at half-width, and safety margin compensation. Specifically, this distance can be expressed by the following formula:
[0095] ;
[0096] in, The actual or commanded velocity of the nozzle along the current path when it reaches the vicinity of the inlet boundary; The parameterized time required from issuing the firing command to the spray pattern, flow rate, and atomization pressure entering a stable process window; For response lag compensation of mechanical action of solenoid valves or needle valves; Establish delay compensation for the pressure transmission of compressed air and coatings in the pipeline; Compensation for the flight time of droplets from the nozzle to the workpiece surface and the formation of effective deposition; To compensate for the half-width of the spray pattern, ensure that the spray pattern effectively covers the leading edge rather than the center point, which is exactly at the entrance to achieve stability. To account for safety margins related to sensor errors, robot positioning deviations, and environmental disturbances, the system employs multi-factor dynamic calculations to adapt to stable build-up requirements under varying spraying speeds, paint viscosities, and spray gun hardware characteristics, rather than relying on a single fixed lead time. This ensures film quality at the core area entrance under all operating conditions.
[0097] Similarly, the parameterized delayed shut-off distance is determined by the current nozzle path velocity at the end boundary, the parameterized tail hold time, and the shut-off response compensation. The calculation logic for this distance corresponds to the early firing distance, aiming to ensure that the effective coverage edge of the spray pattern is completely removed from the core area to be repaired before the spray medium is cut off. The tail hold time considers the additional coverage time required to prevent underspray at the edges, while the shut-off response compensation covers the physical processes of valve closure and residual paint discharge. This parameterized two-way distance control, combined with the constraint of no state transition within the core area, constitutes a complete steady-state spraying guarantee mechanism.
[0098] In actual working environments, the area to be repaired often has prohibited painting zones or restricted movement zones such as vehicle windows, lights, and trim strips. When a pre-established section or an out-of-bounds finishing section conflicts with the expansion prohibited zone, the expansion prohibited zone takes priority, and at least one of the following methods is used: pre-spraying outside the workpiece, physically masking the transition zone, changing the trajectory, setting separate short lines, or an unexecutable state. Specifically, when the system calculates that the theoretically premature firing distance or delayed firing distance will cause the spray pattern to intrude into the expansion prohibited zone, it will not simply cut off that distance, resulting in damage to the quality of the core area's edge, nor will it ignore the prohibition and forcibly spray. Instead, it will trigger a conflict handling strategy. For example, if there is insufficient space at the entrance but there is safe space outside the workpiece, a pre-spraying method can be used outside the workpiece. That is, the spray gun is fired in advance in the safe area outside the workpiece to establish a stable state, and then the workpiece is moved into the core area to be repaired with a stable spraying posture. If the conflict area is located between two areas to be repaired and cannot be avoided, the trajectory can be changed or the long trajectory can be divided into multiple short lines so that the switching point of each short line falls within the permitted area. If the site conditions permit, physical shielding can also be temporarily added in the conflict area to expand the permitted transition area. When all the above alternatives are not feasible, the system will mark the path segment as unexecutable and suspend the task, waiting for manual intervention or replanning. The system will never sacrifice safety for the continuity of the process.
[0099] Preferably, the boundary, the area to be sprayed, or the constraint area are selected by the human-machine interface on a pre-scanned image or task map, segmented by machine vision, obtained from computer-aided design data, or external masks, and attached to the 3D surface, saving the input source, confidence level, surface version, and boundary version. For example, for workpieces with regular shapes and standard digital models, computer-aided design data can be directly used as a reference; while for repair parts with varying damage morphologies and no original digital model, it relies more on manual selection by the operator on the visual interface or real-time segmentation by machine vision. Regardless of the input method, the system treats it as a "candidate source" rather than an absolute truth value, and establishes a complete data traceability system by saving the input source identifier, confidence score, and version number. This design allows subsequent processing modules to dynamically adjust strategies based on the confidence level of the data, and also provides a key basis for quality traceability and problem investigation. The selection method used in this invention is not limited to drawing complete circles, but includes freehand closed lines, approximately closed lines, automatically closed open strokes, lasso, polygons, rectangles, ellipses, spline curves, brush smearing, eraser, multiple discrete points, positive and negative strokes, region growth triggered by seed points, 2D or 3D mask editing, and their Boolean combinations. Input can come from a combination of mouse, touch screen, stylus, spatial indicator, voice or rule-triggered selection commands, machine vision candidate results, and manual confirmation; the appearance, device, or whether it is closed at once is not a necessary limitation. For boundary-type input, the system maps stroke sampling points or display primitive edges to 3D boundaries using reverse indexing; for region-type input, the system batch maps pixels, display primitives, or masks within the region to 3D point sets, surface masks, or semantic regions. The 3D results save the source image, original pixels or rays, depth candidates, sampling pose, common reference coordinates, semantics, confidence level, and version, and sequentially participate in constraint region calculations, position measurements, process attribute fields, spray footprint coverage, robot execution, and completion confirmation. Therefore, changing the circle shape, input device, or the operation sequence of segmentation followed by confirmation will not deviate from the technical chain from the physical three-dimensional area to spray control.
[0100] In one implementation of direct interactive spraying, the operator first uses their finger to continuously smear and define the area to be sprayed on a pre-scanned vehicle image, then circles, brushes, or smears to define the edge transition zone between the old and new coatings. The system attaches both selection results to the same three-dimensional surface, configuring the main deposition target for the area to be sprayed and configuring a position-wise decaying deposition target for the edge transition zone. After verifying the source, boundary, surface version, and data validity, the system generates the corresponding executable spraying coverage and controls the spraying actuator operation. Whether to display the closed contour, whether to save it as a pixel mask, and whether to automatically extract the boundary from the filled area does not change the technical relationship between the area input to the process attribute field and the spraying coverage.
[0101] When the external mask originates from colored tape attached to a disposable masking material, the system identifies both edges of the colored tape and determines the masking side and the side to be repaired. In practice, colored tape is typically attached to masking film or masking paper to visually indicate the edges of the area to be repaired. However, the tape itself has a physical width, and its attachment position may deviate due to manual operation; therefore, the center line or one edge of the tape cannot be simply equated to the process boundary. The system extracts the two long-side contours of the tape using image processing algorithms and combines this with color contrast, texture features, or preset machine-readable codes to determine which side covers the masking material and which side faces the surface to be repaired. This combination of dual-sided edge extraction and lateral determination not only provides a geometric benchmark for subsequent boundary compensation but also effectively eliminates false edge interference caused by objects or stains of the same color in the background.
[0102] To ensure the reliability of boundary recognition, candidate boundaries are only attached to the 3D surface after at least three of the following conditions are met: width or encoding of the colored tape, edge continuity, surface geometry, consistency with the contour of the obscured object, and manual verification. Boundary compensation is then performed based on the lateral orientation of the obscured object and the width of the colored tape. Specifically, width verification eliminates non-standard tape or recognition errors; edge continuity verification ensures the tape is not broken or curled; surface geometry verification verifies whether the identified 2D edges conform to manifold characteristics on the 3D surface, avoiding misjudgments due to viewpoint distortion; consistency with the contour of the obscured object further filters noise using prior knowledge; and manual verification serves as a final cognitive fallback, compensating for the limitations of pure algorithms in understanding complex semantics. Only when at least three of the above conditions are met simultaneously does the system consider the candidate boundary sufficiently credible to proceed to the next stage. This strategy significantly reduces the risk of process accidents caused by perceptual misjudgments while ensuring efficiency.
[0103] After successful verification, the system performs boundary compensation based on the lateral orientation of the masking object and the width of the colored tape. Specifically, based on the width of the colored tape, the lateral orientation of application, the half-width of the spray pattern, boundary errors, and the physical masking coverage area, the candidate boundaries are offset as the boundaries of the area to be sprayed and the boundaries of the constraint area. For example, if the tape is applied to the side of the masking object, and the process requires that the spray edge not extend beyond the inner edge of the tape, the system offsets the inner edge of the tape towards the area to be repaired by a safety margin as the boundary of the constraint area; conversely, if it is necessary to ensure that the repair coating completely covers a certain area outside the tape, the outer edge is offset outward as the boundary of the area to be sprayed. The calculation of the offset amount comprehensively considers factors such as the manufacturing tolerance of the tape itself, the tensile deformation during application, the effective coverage radius of the spray pattern, and the robot positioning error, thereby eliminating the alignment deviation between the physical masking and the digital model at the data level. Meanwhile, the system saves source images, recognition confidence levels, manual confirmation records, and version information, ensuring the traceability of each boundary generation. Even if boundary anomalies are found in subsequent processes, the original perception data and decision nodes can be quickly traced back for analysis.
[0104] In cases where verification fails, such as when verification fails, the obscured side is unclear, or a misjudgment is caused by an object of the same color, the painting task is not automatically issued, and the system enters a state of rejection, retesting, or manual processing. This is the bottom line of safety that this invention adheres to in unstructured sensing environments. Existing technologies often tend to forcibly fill in missing or questionable data through interpolation or smoothing algorithms to maintain process continuity, but this can easily lead to overspray contamination or missed spraying and rework in precision painting. This embodiment explicitly prohibits such "operating with defects" behavior. Once the sensing data fails to meet the preset confidence threshold, the system immediately suspends the task and prompts the operator to intervene. Although this fail-safe design may reduce the automation cycle time in the short term, in the long run, it avoids the scrapping of expensive workpieces or equipment damage caused by a single sensing error.
[0105] Furthermore, for targets executed at multiple stations, the process attribute field, the area to be sprayed, and the constraint area retain the same surface version. Changes in station location only affect the executable path and the current serviceable footprint, without altering the target location. In repair operations on large workpieces (such as vehicle bodies), it is often necessary to move between different stations to complete multi-angle spraying. During this process, although the robot's reachable space, spray gun posture, and local path planning are regenerated with station changes, the process attribute field and area boundaries defining "what to spray, how much to spray, and where to avoid spraying" remain bound to the initial surface version. This means that regardless of which station the workpiece is moved to, the spatial definition of its repair target will not drift or reset, thus ensuring data consistency and process continuity across stations. This mechanism effectively solves the repair misalignment problem caused by accumulated errors from coordinate transformations or repeated manual teaching in traditional solutions, improving the accuracy and efficiency of multi-station collaborative operations.
[0106] Preferably, the process attribute field is associated with the surface version, boundary version, and spray configuration version. The essence of this association mechanism is to establish a dynamic binding relationship between process decision data and the physical world state. In non-target-specific repair operations, the actual pose of the workpiece may change slightly due to fixture adjustments (corresponding to a surface version update), masking tape may be reapplied or corrected (corresponding to a boundary version update), or a different model of spray gun may be used on-site, or the paint formula may be adjusted (corresponding to a spray configuration version update). Any change in these states means that the original process attribute field is no longer applicable to the current physical reality. By explicitly anchoring the process attribute field to these three key versions, the system can accurately perceive changes in the environment or configuration, thereby avoiding spray deviations or quality accidents caused by outdated data. When the vehicle's X-axis, path arc length, or other coordinate components are lost, or the surface coordinate version becomes invalid, the system can obtain the currently reproducible positioning features and match them with previously saved feature records bound to common reference coordinates, task area, and surface version. These reproducible positioning features include at least one of the following: images, depth or point clouds, geometric contours or surfaces, manual markings, structured light or laser observations, and other features capable of establishing a spatial correspondence between the current observation and historical task data. The system then combines feature geometric relationships, movement sequence, depth or scale consistency, and reprojection or registration residuals to recover or correct the coordinates. Upon successful recovery, a new coordinate version is established, migrating or reprojecting the area to be sprayed, the constraint area, and the process attribute field to the same physical target surface. Changes in station position only require recalculating the executable path and the current serviceable footprint. If recovery evidence is insufficient or there is a version conflict, spraying is prohibited, and the system proceeds to retesting or manual processing.
[0107] When the individual spray gun status, area mask, or spray configuration version changes, the affected process attributes or remaining spray coverage are recalculated. During recalculation, the system retains the confirmed planned or actual contributions and recalculates the unmet remaining requirements for the location targets under the new version. Candidate coverages for the affected areas are then generated, and the effective deposition support range and constraint area are re-verified. This process can be a local incremental update or a recalculation when the version change has a significant impact. By retaining the distinction between "contributions already made" and "remaining requirements," the system avoids simply clearing historical results after a version change, which could lead to duplicate spraying. It also avoids using old coverages that could cause mismatches between the new spray width, boundaries, or process conditions and the current physical state.
[0108] In the verification phase of the execution results, this invention employs a joint confirmation mechanism to determine the task completion status. Specifically, the system determines the single-layer or full-layer coating completion status based on whether the cumulative contribution of the planned spray footprint or equivalent deposition contribution model at each location meets the location target of the process attribute field within a preset tolerance, whether the corresponding number of sprayed layers reaches a preset value, and whether the robot execution feedback confirms that all planned paths have been traversed. These three conditions represent verification in three dimensions: geometric coverage integrity, process formulation compliance, and physical execution authenticity. The cumulative contribution meeting the location target is a contribution verification based on the three-dimensional surface location, which considers the influence of surface curvature, spray distance variation, and spray pattern on the actual deposition range, making it more reliable than area estimation on a two-dimensional plane. Meeting the target number of sprayed layers ensures that the coating structure conforms to the preset process specifications, preventing corrosion or appearance degradation due to missed spraying. The robot execution feedback provides confirmation at the underlying hardware level, proving that the planned path has been actually traversed without interruption or anomaly. Only when the verification results of these three dimensions are simultaneously true does the system recognize that the layer or the task has been completed, thereby effectively eliminating the risk of false alarms from a single sensor or logic errors in the counter.
[0109] To further enhance the robustness of the confirmation mechanism, this embodiment explicitly states that the estimated demarcation area, spray gun status, or solenoid valve status do not constitute a complete confirmation on their own. This is because these single indicators have inherent limitations in unstructured repair scenarios. The estimated demarcation area is typically based on two-dimensional images or simplified models, which cannot reflect the actual coverage on complex curved surfaces and is highly susceptible to false "covered" judgments due to projection distortion or occlusion. The spray gun status or solenoid valve status only reflects the on / off state of the control signal, but cannot detect whether the nozzle is blocked, whether there are air bubbles in the pipeline, or whether the paint viscosity is abnormal—in other words, "a signal does not equal paint presence." Relying solely on these weak pieces of evidence for confirmation could easily lead to missed spray defects being allowed to proceed. Therefore, this invention, by negating the sufficiency of these isolated indicators, forces the system to rely on a multi-dimensional, strong chain of evidence for comprehensive judgment, logically blocking the loophole of misjudgment.
[0110] Furthermore, the system has established a strict failure safety handling mechanism. When any necessary data is missing, there is a version conflict, the applicable domain is exceeded, the model confidence level is insufficient, or the execution result is uncertain, the system enters a rejection, retest, or manual processing state, preventing continued painting based on unverified inferences. For example, when the vision system's confidence level in recognizing the tape boundary is below a threshold, or when the path execution error reported by the robot exceeds the allowable range, the system will not attempt to forcibly complete the data through interpolation or smoothing algorithms to maintain process operation. Instead, it will immediately suspend the current task and trigger an alarm. This design embodies the safety principle of "better to stop and wait for investigation than to operate with defects," avoiding expensive workpiece scrapping or equipment damage caused by algorithmic guessing or data contamination. Simultaneously, all abnormal states, version change records, and confirmation results are fully saved, providing detailed data support for subsequent quality traceability and process optimization, making each painting operation process reproducible, analyzable, and improveable.
[0111] At the system implementation level, the control software can be implemented using local controllers, industrial PCs, robot controllers, edge servers, or a combination thereof. Data objects between modules can be exchanged via databases, message buses, files, application programming interfaces (APIs), or controller variables, without being limited to specific communication protocols or deployment topologies. Crucially, each key data object (including but not limited to surface representations, boundary definitions, process attribute fields, spray coverage plans, execution status, and completion confirmation records) retains a unique identifier, version number, timestamp, data source, validity status, and error reason. This data management mechanism enables the system to accurately trace the basis of every process decision at any time, supports rollback to a specific historical version for replanning when anomalies are detected, and provides an immutable chain of process evidence for quality audits. Process control authorization does not replace independent emergency stop, door, ventilation, explosion protection, air pressure, collision, and personnel safety chains; hazardous location safety chains and overall machine explosion protection compliance are implemented independently of the aforementioned process algorithms.
[0112] Preferably, for each straight spray trajectory along the horizontal or vertical direction of the target surface, the system calculates the relationship between the spray pattern and the area to be sprayed, the expansion prohibition zone, the allowed pre-spray / finishing transition zone, and the physical masking zone. If the variation of the irregular boundary does not exceed the effective spray pattern threshold, and the straightened actual spray pattern does not cross into the unmasked non-repair zone or the expansion prohibition zone, then it is covered according to the preset straight trajectory; if the protrusion exceeds the threshold, it starts from the spray trajectory line corresponding to the uppermost or outermost end of the protrusion and moves continuously along a straight line. Each continuous interval intersecting with the area to be sprayed is defined as the core interval to be repaired. The spray gun completes the opening and stabilization state establishment before entering the core interval, and only closes after passing the end of the core interval. Continuous and stable spraying is maintained inside the core interval.
[0113] When there is a non-repair interval between two core areas to be repaired on the same straight trajectory, a gun-off-start transition is allowed within the interval only if the interval length is sufficient to complete gun shut-off, medium cut-off, early gun restart, and stabilization, and the spray footprint does not enter the expansion prohibition zone. If the interval is insufficient, the system maintains continuous spraying, but requires that the interval be in an allowable transition zone or physically masked, or the trajectory is changed, the task is split, or it is marked as not automatically executable. Prohibited spraying areas always take precedence over early gun restart and delayed gun shut-off requirements. The completion of a single layer or the overall task is jointly determined by whether the cumulative contribution of the planned spray footprint or equivalent deposition contribution model at each location meets the location target within the preset tolerance, whether the corresponding number of spray layers reaches the preset value, and whether the robotic arm feedback confirms that all planned paths have been executed.
[0114] Edge control at the inlet and outlet is parameterized based on coating pass, target film thickness, and repair edge quality requirements. For thin, single-layer coverage, the spray gun can establish a stable spray pattern upstream of the core area to be repaired, ensuring the leading edge of the spray pattern reaches a stable state before entering the core area, and closing after the trailing edge of the spray pattern crosses the end of the core area. For multi-layer, thicker deposition processes or processes requiring feathering transition, the spray gun axis can initially face outwards near the inlet, gradually turning towards the target surface normal at a preset angle, distance, or time gradient after crossing the initial boundary; near the outlet, it can gradually turn outwards at the opposite gradient to reduce the cumulative edge thickness. Linear stabilization triggering and gradual attitude change are optional and combinable implementation methods, both predetermined by the gun paint configuration table, without any single method being written as the sole process for all operating conditions.
[0115] The pathfinding mechanism can also constrain spray gun attitude, spray distance window, robot reachability, collision, container attitude with the spray gun, spray gun on / off distance, edge accumulation limit, color tolerance, and particle orientation. When a constraint cannot be satisfied, it outputs an infeasible region instead of forcibly generating a path. This comprehensive list of geometric and mass constraints ensures that path planning satisfies process objectives while also considering robot kinematic feasibility and physical safety boundaries, avoiding collision risks or quality defects caused by forcibly generating unworkable paths.
[0116] In one embodiment, a W-71 spray gun and water-based paint can be used. The operator selects the irregular core area and the outer transition boundary, and sets the target wet film thickness of the core area to 15 micrometers. The system calculates signed geodesic distances on the curved surface, generating a target deposition field that decreases from the core target to the outer boundary using a continuous function. If measured quality data is obtained at the corresponding surface coordinates, it is used as input for subsequent quality verification. Before obtaining the measured data, it is not considered that closed-loop verification has been completed. Spray-off restrictions or low cumulative weights are set at sharp edges and holes, and weighted distance is used to prevent gradients from crossing the two-dimensional projection shortcuts of the holes.
[0117] If any necessary data is missing, there is a version conflict, the applicable domain is exceeded, the model confidence is insufficient, or the execution result is uncertain, the process control module will enter a rejection, retest, or manual processing state, and will not continue spraying based on unverified inferences. Process control permission does not replace independent emergency stop, door, ventilation, explosion protection, air pressure, collision, and personnel safety chains. Hazardous location safety chains and overall machine explosion protection compliance are implemented independently of the above process algorithm, and the software functions do not constitute a statement that specific area certification has been obtained.
[0118] It is recommended to select specimens containing straight edges, protrusions, notches, holes, and occluded edges, and generate at least two non-completely overlapping covers for both near-circular and directional spray patterns. Save the region / boundary version, distance or equivalent position quantity, attribute field, candidate trajectory, footprint of each spray pattern, cumulative coverage, expansion prohibition zone, and final permission; verify that the expansion amount and line break step distance update with direction after rotating the spray pattern direction, and set out out-of-bounds counterexamples. This systematic verification method ensures the consistency of the behavior of the process attribute field under different geometric features and spray pattern configurations, providing a specific reference system covering multiple dimensions such as boundary processing, direction-related expansion, and coverage integrity for infringement determination.
[0119] Example 2: This example provides a non-target-specific spraying control system. This system is a device-based embodiment of the aforementioned method embodiments, achieving adaptive control of complex curved surface spraying operations through a modular architecture. It should be understood that each module in this example refers to a logical unit or functional component used to perform a specific function. Its specific implementation can be a software program, firmware, application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or any combination thereof running on a processor, and is not limited to a specific hardware carrier or physical deployment method. For example, all modules can be integrated into a single industrial control computer, or distributed among edge computing nodes, robot controllers, and cloud servers, as long as the following functional definitions and data interaction can be achieved. The system mainly includes an external task data input and normalization module, a surface representation module, a position measurement module, an attribute field establishment module, a region calculation module, a coverage generation module, and an execution control module.
[0120] The external task data input and normalization module is used to receive coordinates, regions, coverage, trajectories or robot tasks formed by external sensing or detection, automatic or semi-automatic identification, manual measurement or coordinate input, external marker identification, vehicle or component models, maintenance task systems, offline programming systems, external files or application interfaces, and to parse their target or component identity, coordinate system or relative reference, surface version and task version, and to attach or reassociate them to the current three-dimensional surface.
[0121] The surface representation module acquires the surface representation of the target to be sprayed and determines the sprayable area, at least one constraint area, and the boundaries between the sprayable area and the constraint area. Specifically, this module is not only a data receiving port but also a unit for parsing and constructing semantic information. It can acquire raw geometric data from 3D scanners, computer-aided design (CAD) systems, human-computer interfaces, or external storage media and transform it into a digital surface model containing topological structure and semantic partitioning. Within this module, through image registration, coordinate transformation, or manual selection mapping, abstract geometric coordinates are assigned process semantic labels such as "to be repaired," "no spraying," and "transition," thus providing a structured input benchmark for subsequent calculations. For example, when an operator selects a damaged area on the workstation, the surface representation module is responsible for back-projecting this two-dimensional selection onto a three-dimensional curved surface mesh, generating a precise core area 130 and outer boundary 110, and recording data source and version information to ensure the entire system operates based on a unified spatiotemporal benchmark.
[0122] The position measurement module is used to determine the positional measurement relative to the boundary for multiple locations in the surface representation. This module acts as a bridge between the geometric space and the process space. In its implementation, the position measurement module incorporates various distance calculation engines or equivalent field solvers, capable of automatically selecting or combining Euclidean distance, geodesic distance, signed distance, weighted distance, anisotropic distance, or generating equivalent positional quantities through potential fields, level sets, and other methods based on surface characteristics. For example, when processing workpieces with deep grooves or folded surfaces, this module prioritizes the geodesic distance algorithm to ensure that the calculated "distance" more reasonably reflects the topological proximity of the surface, rather than a spurious proximity on a straight line in space. This multi-dimensional measurement capability enables the system to adapt to various irregular surface shapes, avoiding erroneous extension or breakage of transition zones due to geometric distortion.
[0123] The attribute field establishment module is used to establish a process attribute field based on location metrics to assign location targets to multiple locations. As the core data hub of this system, the attribute field establishment module transforms the geometric quantities output by the location metric module into specific process control parameters. Based on preset process rules, lookup tables, or mathematical models, this module assigns attribute values such as target deposition amount, color contribution, spraying direction, pass weight, or prohibited state to each discrete point or continuous region in the surface representation. For example, within the transition zone 120, this module can generate a target wet film thickness field that decays according to a Gaussian function with increasing geodesic distance, while simultaneously generating a piecewise varying spraying direction field on both sides of the feature line. The encoding form of the attribute field is flexible and diverse; it can be an attribute array attached to mesh vertices, a texture map in UV space, an analytical function on a parametric surface, or even an implicit field inferred by a neural network, as long as it accurately expresses the "location-target" mapping relationship.
[0124] The region calculation module determines the permissible spraying area based on the semantic priority between the area to be sprayed and the constraint areas. This module is responsible for safety protection and feasible domain trimming. In practice, the region calculation module reads the semantic tags in the surface representation and performs set operations according to predefined priority rules (e.g., no movement > no spraying > area to be sprayed). It first performs a safety expansion on the high-priority constraint areas (considering factors such as spray width and error budget), generating an expanded prohibited area. Then, it subtracts the expanded prohibited area and invalid data areas from the area to be sprayed, finally outputting a permissible spraying area that meets both process coverage requirements and strictly complies with safety constraints. This process ensures that the subsequently generated paths meet avoidance and overspray prevention constraints at the region level and reduces the reliance on real-time corrections during the execution phase.
[0125] The coverage generation module is used to generate at least one candidate spray cover within the allowed spraying area based on the location-related coverage contribution and location target on the surface representation using the spray footprint or equivalent deposition contribution model. The module then verifies the target contribution and its relationship with the constraint area location by location using the effective deposition support range of the candidate spray covers, and selects executable spray covers. When multiple covers are required, subsequent covers are determined at least partially based on the remaining demand between the planned contribution or executed contribution of the previous covers and the location target, ensuring that each cover has a non-complete overlap in at least one of the following: geometric boundary, effective deposition support range, or location contribution distribution. This module can employ iterative optimization, constructive algorithms, lookup tables, or validated models, or it can directly form local coverage boundaries based on the remaining demand threshold or equivalence relationship; the algorithm name is not limited.
[0126] The execution control module controls the spraying actuator to perform executable spraying coverage based on the process property field. Serving as the interface between digital planning and physical execution, the execution control module converts the trajectory output by the coverage generation module and dynamic parameters in the property field into low-level control quantities such as robot joint commands, spray gun on / off signals, flow control valve opening, and atomizing air pressure. During execution, this module can also receive real-time feedback from encoders, flow meters, or vision sensors to monitor and perform closed-loop correction of the spraying status. For example, when the actual flow rate deviates from the target value, the execution control module can dynamically adjust the moving speed or valve opening based on the tolerance range of that location in the property field to ensure consistency between the actual deposition effect and the preset target position. Furthermore, this module is responsible for recording execution logs and completion status, providing data support for quality traceability and version recalculation.
[0127] Furthermore, in the system of this invention, the accompanying supply or wiring mechanism for the power, control signals, data, compressed air, paint, or other media required by the vehicle, robot, measuring unit, or tool can adopt suspended chutes or cable chains, curved track cable trolleys, passive single or multi-section rotating booms, safety zone reels with universal cable guides, electrostatic conductive three-dimensional energy chains, ground or sidewall protected channels, energy or medium sources set on the vehicle, or combinations of two or more of these, and can be arranged in straight lines, L-shapes, U-shapes, arcs, or other operating routes. The mechanism should meet the requirements for bending radius, tension release, electrostatic discharge, grounding, fire prevention, and mechanical protection according to the actual environment. Unless otherwise expressly defined, the supply or wiring mechanism only undertakes the functions of medium transmission, cable bearing, stress release, or safe accompanying, and is not a necessary reference for vehicle positioning, navigation, or turning. This invention does not necessarily limit any particular wiring structure.
[0128] Example 3: This example provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the non-target spraying control method described in the foregoing examples.
[0129] Specifically, the medium may include read-only memory, random access memory, flash memory, hard disk drive, solid-state drive, optical disk, digital versatile optical disk, magnetic tape, or other magnetic storage devices. When the processor loads and executes a computer program stored on the medium, the processor is configured to perform operations such as acquiring surface representation, determining positional measurements, establishing process property fields, generating non-perfectly overlapping coverage, and controlling the spraying actuator. The processor here can be a general-purpose processor, digital signal processor, application-specific integrated circuit, field-programmable gate array, or other programmable logic device, or it can be a processing unit in a robot controller, industrial computer, or edge computing device.
[0130] In some embodiments, the aforementioned spraying control steps are executed by an industrial computer, a robot controller, a spraying actuator controller, or a combination thereof; the program instructions may be stored in a non-transitory computer-readable storage medium or provided as a computer program product. When the processor executes the program instructions, it converts the three-dimensional region and process attribute field of the target surface into the robot arm trajectory, the spray gun pose, and the start / stop or flow control of the spraying medium, thereby forming an actual spraying coverage of the physical target, rather than merely performing image display or information classification.
[0131] Example 4: This example provides a specific application of a non-target-specific spraying control method in a partial automotive repair scenario, aiming to demonstrate the collaborative operation mechanism of the technical features in the aforementioned examples under actual complex working conditions. It should be understood that although this example uses the repair of a car door or fender as an example, this technical solution is also applicable to bumpers, hoods, or other targets with irregular curved surfaces to be sprayed, and is not dependent on specific vehicle models, paint brands, or spray gun models. The spraying control process in this application scenario mainly includes the following steps.
[0132] Step 1: Locating the area to be repaired. The operator manually delineates the damage center, areas requiring masking, or areas where painting is prohibited on a multi-view visualization interface. The system converts this manual selection into the core repair area R0 of the actual surface of the target workpiece through reverse indexing of display primitives and 3D inverse mapping, saving the source observation, coordinate system, version, and manual confirmation status. Specifically, this positioning process does not require automatic identification of damage color or automatic judgment of vehicle model or panel type; instead, it precisely aligns manual perception with the digital model. The operator's selected trajectory recorded by the system is considered a candidate boundary, which is only converted into the formal boundary of the area to be painted after surface geometry verification and secondary manual confirmation. This human-machine collaborative positioning method effectively avoids the risk of misjudgment in the face of unstructured damage due to pure visual recognition. Simultaneously, version management ensures that all subsequent process decisions are based on the same spatiotemporal reference, avoiding data drift caused by repeated adjustments to the selection area.
[0133] Step 2: Define the spraying range for each layer. The system establishes geodesic or signed distances on the task surface to the R0 boundary, panel edge, feature line, and prohibited spraying boundary, and generates the first color paint area R1, the subsequent color paint or pearlescent transition area R2, and the clear coat complete coverage area R3. Each layer and each pass saves independent coverage boundaries, spraying direction, speed, spray distance, spray width overlap, edge deposition targets, and trigger lead. Notably, areas such as R1 and R2 are not simply obtained by expanding the previous area outwards at a fixed distance; the system can compare the location targets in the process attribute field with the planned or executed contributions of previous coverages to obtain the remaining requirements, and then determine the coverage range for this pass through distance levels, thresholds, isotropic relationships, or partitioning rules. For example, R1 covers the damaged core to form basic masking, R2 expands outwards, partially offsets, or scales locations still requiring color or deposition, and R3 covers the entire panel or a confirmed group of adjacent panels based on the clear coat location target. Each region is ultimately checked based on the spray width or equivalent deposition contribution rather than simply the geometric boundary, thereby dispersing the edge effect of the multilayer coating to different locations and preventing the spray width from intruding into prohibited areas.
[0134] Step 3: Controlling Wet Film and Edge Range. The system reads the target wet film thickness and dynamic parameter domain from the validated spray gun-nozzle-coating-process configuration. It prioritizes calculating the deposition amount using speed, flow rate, spray overlap, and number of complete passes, while limiting the spray distance within the validated range. The system calculates the projected footprint of the spray pattern on the task surface along the path. When the projected footprint crosses the current layer mask, prohibited spray boundaries, or masking edges, it adjusts the path centerline, sector, trigger advance / lag, or edge parameters to ensure effective coverage within the allowed range without shifting the entire spray center out of the allowed area. During this process, over-line spraying only occurs within the permitted transition area. If a section of the trajectory might intrude into prohibited areas such as windows or lights, the system will prioritize blocking or truncation, even if this means a slight loss in edge blending, to ensure that non-sprayed areas are not invaded by the spray medium. This footprint-based validated edge control mechanism ensures that the theoretically varying property field remains within a compliant and safe envelope at the physical execution level.
[0135] Step 4: Identify multi-layer processes. The system determines the current layer based on the task version, formulation identity, required number of passes, actual coverage completion event, and inter-layer timing in the area-coating status record. Permission for the next layer is only issued when the required coverage unit of the previous layer is complete, the spray gun triggering is consistent with robot feedback, and the flash-dry window is met. Visual color changes can serve as one form of quality evidence, but do not independently determine layer identity or completion status. Specifically, the confirmation of single-layer completion status employs a joint verification mechanism: the cumulative contribution of the planned spray footprint or equivalent deposition contribution model at each location must meet the location target of the process attribute field within a preset tolerance, the corresponding number of sprayed layers must reach a preset value, and the robot execution feedback must confirm that all planned paths have been completed. Delineated area estimation, spray gun status, or solenoid valve status do not constitute completion confirmation independently. For example, even if the solenoid valve indicates it is open and the robot has completed the path, if the actual sprayed volume reported by the flow meter is lower than the threshold, resulting in a failure to meet the cumulative contribution standard, the system still determines that the layer is not completed and triggers a retest or respray process. This multi-dimensional status confirmation mechanism effectively prevents latent underspray defects caused by sensor failure or pipeline abnormalities from flowing into the next process.
[0136] Step 5: Apply clear coat. The controller does not reuse the center area path of the color paint, but regenerates the clear coat path with the complete R3 coverage area. It covers the entire target panel or confirmed adjacent panel groups in a continuous wet-edge sequence, compensating for speed and overlap at corners, curvature changes, edges, and turning sections. The gun-on and gun-off positions are placed in the masked area outside the panel or a dedicated trigger area. After the first clear coat is completed and meets the interlayer conditions, the final clear coat covers all necessary R3 coverage units again. If an interruption causes the wet edge or time window to fail, the corresponding complete clear coat group is redone according to the task rules, instead of defaulting to full coverage for partial spraying. The independent generation of the clear coat path ensures that it can be specifically optimized for high-gloss appearance requirements, such as adjusting the spray gun angle at feature lines to avoid paint buildup, or reducing the movement speed in deep recesses to prevent dry spraying. Simultaneously, moving the gun-on / off points outside the panel or to a dedicated trigger area reduces the risk of gun marks or paint buildup in the repair area, contributing to a harmonious appearance with the original paint finish.
[0137] Throughout the entire process described above, the process attribute field, the area to be sprayed, and the constraint area always retain the same surface version. Changes in the station position only affect the executable path and the current serviceable footprint, without altering the target location. Furthermore, the safety chain for hazardous locations and the overall explosion-proof compliance of the machine are implemented independently of the aforementioned process algorithm, and the software functions do not constitute a claim of having obtained certification for a specific area. This embodiment, by deeply integrating abstract attribute field theory with specific repair procedures, demonstrates the completeness and robustness of the technical solution in solving practical engineering problems. It also provides a concrete reference system for determining equivalent infringement, covering multiple dimensions such as layering strategies, edge control, status confirmation, and clear coat execution.
[0138] Example 5: In a distributed implementation, the first node acquires or generates the coordinates, region, coverage, or trajectory of the area to be repaired; the second node establishes the process attribute field and calculates the constraint relationships and remaining requirements; and the third node controls the robot to execute and transmits the actual contribution back. Messages between nodes carry at least two of the following: task identifier, target or component identifier, coordinate system or relative reference, surface version, boundary or trajectory version, spray pattern or tool version, location target, permission status, and execution contribution. Each node can exchange data via network, offline files, removable storage media, one-way transmission devices, or application programming interfaces (APIs).
[0139] In one implementation of external trajectory import, the upstream offline programming system directly outputs the robot trajectory and the switch gun sequence. The spray control system projects the spray footprint at each trajectory position onto the current physical surface to form the actual effective deposition support range. It then intersects the target area and the constrained area position by position and redetermines the executable segment based on the existing contribution and position target. If the coordinate reference or surface version cannot be verified, execution is rejected instead of forwarding the trajectory to the robot controller as is.
[0140] This invention can also be implemented as a control device, robot controller, robot system, or spraying work unit including a processor, memory, external task data interface, surface data interface, robot execution interface, and physical execution feedback interface; it can also be implemented as a non-transitory computer-readable storage medium, computer program product, or distributed processing system. The program instructions enable the processor to perform external task data normalization, surface correlation, process attribute field establishment, spray width contribution verification, remaining demand calculation, coverage screening, and execution control, and actually change the robot's trajectory, tool pose, spray medium switching, and material deposition.
[0141] The technical effects of the above processing include: preventing external coordinates, coverage, or trajectories from bypassing the three-dimensional surface constraints and actual spray pattern verification; reducing spray pattern intrusion into the no-spray zone; mismatch between external trajectory and current vehicle; repeated contributions from multiple passes; and uncontrolled edge deposition; and improving the consistency and traceability of distributed spraying tasks on the physical surface.
[0142] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for controlling non-target spraying, characterized in that, include: The surface representation of the target to be sprayed is obtained, and based on data generated by a non-target-specific spraying control system or external task indication data, the target area to be sprayed, at least one constraint area, and their boundaries are determined. The external task indication data includes at least one of image coordinates, model coordinates, component local coordinates, sensor coordinates, marker relative coordinates, robot coordinates, region, mask, boundary, overlay, trajectory, or robot task. The boundary includes explicit geometric boundaries or implicit boundaries formed by region state transitions. When the external task indication data already includes overlay, trajectory, or robot task, the target area to be sprayed and the constraint area are inversely calculated, generated, or bound according to the spray footprint, equivalent deposition support range, or position contribution corresponding to the overlay, trajectory, or robot task, and the input source, target or component identity, coordinate system or relative reference, surface version, and task version are saved. Determine the positional metrics of multiple locations relative to the boundary in the surface representation, and establish a process attribute field bound to the surface representation accordingly, assigning positional targets, including target deposition contribution or target coverage level, to the multiple locations; The allowed spraying area is determined based on the semantic priority between the area to be sprayed and the constraint area; Based on the location-related coverage contribution of the spray footprint or equivalent deposition contribution model and the location target, candidate spray coverages are generated within the allowed spraying area, and executable spray coverages are selected by checking their target contribution and relationship with the constraint area according to their location. When generating multiple executable spray covers, subsequent covers are determined at least in part based on the planned contribution or executed contribution of the previous cover and the remaining demand between the location target, and the multiple executable spray covers form a non-complete overlap relationship in at least one of the geometric boundaries, effective deposition support range or location contribution distribution; The spraying actuator is controlled to perform the executable spraying coverage according to the process attribute field.
2. The non-target spraying control method according to claim 1, characterized in that, The constraint region includes at least one of the following: a negative region to be sprayed, a prohibited spraying region, a motion restricted region, or a data invalid region; the negative region to be sprayed is used to indicate the location range where spraying is not required or where the spraying contribution needs to be reduced. The location metrics include Euclidean distance, geodesic distance, signed distance, weighted distance, anisotropic distance, or equivalent location quantities obtained directly from potential field, interpolation weights, radial basis functions, level sets, partitioning functions, parametric coordinates, regular mapping, or verified models based on boundary or regional relationships. The permitted spraying area is determined based on the semantic priority between the area to be sprayed and the constrained area, including: The safe expansion amount is determined for the prohibited spraying area to obtain the expansion prohibited area; The extended prohibited area is subtracted from the positive area to be sprayed to obtain the allowed spraying area; wherein, the semantic priority of the motion prohibited area and the prohibited spraying area is higher than that of the positive area to be sprayed, and the invalid data area does not generate the spraying coverage; the semantic priority is achieved by at least one of set subtraction, mask coverage, feasible domain intersection, rule short-circuiting, assigning a prohibited state, assigning an infeasible cost or a high penalty cost.
3. The non-target spraying control method according to claim 2, characterized in that, The safety expansion amount is determined positionally along the local normal of the boundary or the equivalent direction related to the spray spread, and is based on at least two of the following: spray spread half-width, spray spread, parameterized switch gun distance, robot positioning error, boundary input error, and surface reconstruction error; the safety expansion amount is allowed to vary with the spray spread direction, local curvature of the boundary, and error state; The spray width half-width is the radius for a near-circular spray footprint, and the direction-related support distance along the direction of expansion for a directional, flattened elliptical or spindle-shaped spray footprint; the spray footprint or equivalent deposition contribution model can be characterized by at least one of the following: measured or calibrated geometric footprint, deposition kernel or weight kernel, spray beam or particle projection, probability distribution, direction-related support function or validated deposition model. The adjacent row break distance or target overlap rate is determined based on at least two of the following: the effective size of the spray footprint in the trajectory normal direction, the paint solid content, the target wet or dry film thickness, the spray distance, the speed, the atomization state, and the test spray results. The paint solid content and the target overlap rate are not set to a fixed one-to-one correspondence. The intersection of the straight spray trajectory and the allowed spray area yields one or more core intervals to be repaired. When the undulation of the boundary does not exceed the direction-related effective spray width threshold and the spray width footprint does not enter the expansion prohibition zone, the undulation is absorbed into the straight coverage. When the protrusion exceeds the effective spray width threshold, interval-type targeted spraying is generated from the spray trajectory line corresponding to the end of the protrusion.
4. The non-target spraying control method according to claim 3, characterized in that, The non-perfect overlap relationship occurs in at least one of the geometric boundaries, effective deposition support range, or location contribution distribution of multiple sprayed covers, and includes at least one of inclusion, intersection, misalignment, local scaling, local expansion, or different contribution gradients; wherein, the different contribution gradients include different location contribution distributions formed due to different location targets, prior cover contributions, or constraint states when the geometric boundaries are the same or partially the same; the local boundaries or contribution distributions of subsequent sprayed covers are determined by at least one of the following: a threshold of remaining demand, an isopleth relation, a zoning rule, or a validated model. The process attribute field stores the gradient start point, transition length, terminal attenuation ratio, and spray start-over-line distance or spray end-over-line distance within the edge transition zone, so that the position targets at different locations in the surface representation change according to a continuous function, piecewise function, lookup table, or discrete level. When achieving a gradual transition, at least one of the following is changed: speed, flow rate, spray width overlap, spray distance, spray gun tilt angle, trigger advance, or trigger lag; or the trajectory density or pass coverage boundary is changed. Each parameter changes within the verification range of the corresponding process configuration, and the spray width footprint is checked position by position against the positive area to be sprayed, the negative area to be sprayed, and the valid data status. Over-line spraying occurs within the permissible transition area, and the negative area to be sprayed, the hole exclusion area, or the invalid area preferentially blocks the over-line spraying.
5. The non-target spraying control method according to claim 4, characterized in that, When generating multiple spray coatings, the first coat of paint prioritizes covering the initial area. The coverage of subsequent coats of paint or pearlescent paint is determined by the position target in the process attribute field, the planned or executed contribution of previous spray coatings, and the constraint area. It can be gradually expanded, locally scaled, or misaligned according to the confirmed distance level, and a fixed extension distance is not required. At the outermost edge transition zone, the flow rate is reduced, the speed is increased, the overlap is reduced, or the spray distance is increased. For each core section to be repaired, a parameterized advance gun opening distance is set upstream of the inlet boundary and a parameterized delayed gun closing distance is set downstream of the end boundary, so that the spray gun establishes a stable spraying state before entering the core section to be repaired and closes only after passing the end of the core section to be repaired, and no switching between the opening and closing states of the spraying medium occurs inside the core section to be repaired. The parameterized advance firing distance is determined by the product of the current nozzle path velocity at the inlet boundary and the stable spray establishment time, and is superimposed with valve response, air path delay, spray flight, spray width half-width and safety margin compensation. The parameterized delayed shut-off distance is determined by the current nozzle path velocity at the end boundary, the parameterized tailing hold time, and the shut-off response compensation. When a pre-established segment or an out-of-bounds ending segment conflicts with the expansion prohibition zone, the expansion prohibition zone takes priority, and at least one of the following treatments is adopted: pre-spraying outside the workpiece, physically shielding the transition zone, changing the trajectory, setting up separate short lines, or an unexecutable state.
6. The non-target spraying control method according to claim 1, characterized in that, The boundary, the area to be sprayed, or the constraint area are obtained by the human-machine interface through selection on a pre-scanned image or task map, machine vision segmentation, computer-aided design data, external masks, external task instruction data, or external marker recognition results. These are then attached to or re-associated with the current 3D surface, and the input source, target or component identity, coordinate system or relative reference, confidence level, surface version, boundary version, and task version are saved. For externally input coordinates, regions, coverage, trajectories, or robot tasks, the system parses their spatial reference and verifies the current vehicle or component. When the spatial reference is missing, has a version conflict, or cannot be confirmed to correspond to the same physical target, it is not executed directly, but rather re-associated using at least one of the current observation, natural features, external markers, vehicle, or fixture references. The selection includes freehand closed lines, approximately closed lines, automatically closed open strokes, lassos, polygons, rectangles, ellipses, spline curves, brushes, positive and negative strokes, seed point region growth, 2D or 3D mask editing, or combinations thereof. The resulting selection is represented as a 3D boundary, surface mask, 3D point set, semantic region, or a combination thereof. The brush, positive and negative strokes, or mask editing includes continuous smearing, brushing, erasing, or correction via fingers, styluses, mice, or equivalent input devices; the area to be sprayed and the edge transition zone can be determined separately through the same or successive human-computer interactions, and the two are allowed to be adjacent, partially overlapping, containing, or nested, and form different positional targets or process attributes respectively; for the fill mask formed by smearing, the explicit geometric boundary is extracted from the edge of the mask, or the implicit boundary is formed directly according to the area state transformation; When the external mask originates from colored tape attached to a disposable cover, the two edges of the colored tape are identified respectively, and the cover side and the side to be repaired are determined. Candidate boundaries are attached to the three-dimensional surface only after at least three of the following conditions are met: width or coding of the colored tape, edge continuity, surface geometry, consistency with the outline of the masking object, and manual confirmation. Boundary compensation is then performed based on the lateral direction of the masking object and the width of the colored tape.
7. The non-target spraying control method according to claim 6, characterized in that, The boundary compensation based on the lateral direction of the shielding object and the width of the colored tape includes: Based on the width of the colored tape, the lateral application direction, the half-width of the spray pattern, the boundary error, and the physical shielding coverage, the candidate boundary is offset as the boundary of the area to be sprayed and the boundary of the constraint area. Save the source image, recognition confidence level, manual confirmation record, and version; When the verification fails, the obscured side is unclear, or the same color object causes a misjudgment, the spraying task will not be automatically issued, and the task will enter the rejection, retest, or manual processing state. For targets executed at multiple stations, the process attribute field, the area to be sprayed, and the constraint area retain the same surface version. Changing the station only affects the executable path and the current serviceable footprint, and does not change the location target.
8. The non-target spraying control method according to claim 1, characterized in that, The process attribute field is associated with the surface version, boundary version, and spray configuration version, and is associated with at least one of the following: external task data source version, target or part version, coordinate or relative reference version, and input coverage or trajectory version; When the individual spray gun status, area mask, or spraying configuration version changes, the affected process attributes or remaining spraying coverage are recalculated; when the vehicle coordinates or surface coordinates version becomes invalid and is restored or corrected based on the current reproducible positioning features and prior features—coordinate records, a new coordinate version is established; the reproducible positioning features include at least one of image features, depth or point cloud features, geometric contour or surface features, artificial marking features, structured light or laser observation features, and other features that can establish a spatial correspondence between the current observation and the historical task; after reprojecting or migrating the area to be sprayed, the constraint area, and the process attribute field to the same physical target surface, the executable path and the current serviceable footprint are recalculated; When the externally inputted region, coverage, trajectory, or robot task target identity, coordinate reference, surface version, or task version changes, is missing, or conflicts, its corresponding process attribute field and executable spraying coverage are set to invalid or pending verification. After re-association, the location target, constraint relationship and remaining requirements are recalculated based on the effective deposition support range of the external data, without skipping the calculation and verification on the grounds that the external data already contains robot coordinates or gun switching commands; The cumulative contribution of the planned spray footprint or equivalent deposition contribution model at each location is within the preset tolerance to meet the location target of the process attribute field, whether the corresponding number of spray layers has reached the preset value, and whether the robot execution feedback confirms that all planned paths have been completed, together form the state of single-layer or full spraying completion. The determination of the delineated area, the status of the spray gun, or the status of the solenoid valve do not constitute a complete confirmation on their own. When any required data is missing, there is a version conflict, the applicable domain is exceeded, the model confidence is insufficient, or the execution result is uncertain, the system will enter a state of rejection, retesting, or manual processing, and will not continue spraying based on unverified inferences.
9. A non-target-specific spraying control system, characterized in that, include: The external task data input and normalization module is used to receive coordinates, regions, coverage, trajectories or robot tasks formed by external sensing or detection, automatic or semi-automatic identification, manual measurement or coordinate input, external marker identification, vehicle or component models, maintenance task systems, offline programming systems, external files or application interfaces, and to parse their target or component identity, coordinate system or relative reference, surface version and task version, and to attach or reassociate them to the current three-dimensional surface. The surface representation module is used to acquire the surface representation of the target to be sprayed, and to determine the positive region to be sprayed, at least one constrained region, and the explicit geometric boundaries of the positive region to be sprayed and the constrained region, or the implicit boundaries formed by the state transitions of a mask, label field, implicit function, state field, or region rule. A position measurement module is used to determine a position measurement relative to the boundary for multiple locations in the surface representation; The attribute field establishment module is used to establish a process attribute field bound to the surface representation based on the location metric, so as to assign location targets to the multiple locations, wherein the location targets include at least one of target deposition contribution or target coverage level; The region calculation module is used to determine the allowed spraying area based on the semantic priority between the area to be sprayed and the constraint area; The coverage generation module is used to generate at least one candidate spray coverage within the allowed spraying area based on the location-related coverage contribution on the surface representation and the location target, according to the spray footprint or equivalent deposition contribution model. Based on the effective deposition support range of the candidate spray coverage, the module verifies its contribution to the location target of the area to be sprayed and its relationship with the constrained area position by position to filter and form executable spray coverages. When multiple executable spray coverages are generated, subsequent spray coverages are determined at least partially based on the remaining demand between the planned contribution or executed contribution of the previous spray coverage and the location target, and the multiple executable spray coverages form a non-complete overlap relationship in at least one of the geometric boundaries, effective deposition support range, or location contribution distribution. The execution control module is used to control the spraying actuator to perform the executable spraying coverage according to the process attribute field.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the non-target spraying control method as described in any one of claims 1 to 8.
