Adaptive filter control method and system for servo instruction of spray robot teleoperation

By identifying the servo control scenario of the remote-operated spraying robot through an adaptive filtering switching model and switching the filtering mode to process the remote operation commands, the problem of balancing dynamic tracking and stable spraying in the servo control system of the remote-operated spraying robot is solved, achieving high precision and coating uniformity.

CN123169136APending Publication Date: 2026-11-27SHENZHEN HUACHENG IND CONTROL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611680046.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing servo control systems for remotely operated spraying robots, a single fixed filter cannot simultaneously meet the requirements of dynamic tracking and stable spraying, resulting in operator hand tremors causing mechanical vibration in the servo drive or lag in the spray gun response.

Method used

An adaptive filtering switching model is adopted to identify the current servo control scenario based on the characteristics of command changes and trajectory curvature. It then switches to either a high-pass filter mode or a strong smoothing filter mode to handle scenarios with rapid command changes and uniform spraying speeds, respectively, while retaining or suppressing the corresponding frequency components.

Benefits of technology

It ensures dynamic tracking accuracy and coating thickness uniformity during remote operation, reducing mechanical vibration and coating unevenness issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169136A_ABST
    Figure CN123169136A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of robot spraying servo control, and provides a spraying robot remote operation servo instruction adaptive filtering control method.The method receives a robot motion instruction sequence issued by a remote operation end, extracts an instruction change rate, an instruction change duration and a trajectory curvature feature of an expected motion trajectory, inputs an adaptive filtering switching model to identify a tracking scene with rapid instruction change and a stable scene with uniform spraying, switches to a high-pass filtering mode in the tracking scene to retain the rapid change component of the motion instruction, switches to a strong smoothing filtering mode in the stable scene to suppress the high-frequency jitter component, and sends the filtered motion instruction to a servo driver to control the spraying robot to perform a spraying operation.The method takes into account the dynamic tracking accuracy and the uniform spraying stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of robot spraying servo control technology, and in particular to an adaptive filtering control method and system for remote operation servo commands of a spraying robot. Background Technology

[0002] Existing servo control systems for remotely operated spraying robots mostly use a single fixed filter to filter remote operation motion commands. Fixed filter parameters make it difficult to simultaneously meet the requirements of dynamic tracking and stable spraying. When the filter cutoff frequency is high, the operator's hand tremors directly affect the servo drive, resulting in significant mechanical vibration and uneven coating thickness under uniform spraying conditions. When the filter cutoff frequency is low, the response is lagging under rapidly changing command conditions, and the spray gun cannot keep up with the operator's rapid movements. Summary of the Invention

[0003] This application provides an adaptive filtering control method and system for teleoperated servo commands of a painting robot, aiming to solve the problem that existing servo control systems for teleoperated painting robots often use a single fixed filter to filter teleoperated motion commands.

[0004] In a first aspect, embodiments of this application provide an adaptive filtering control method for teleoperated servo commands of a painting robot, applied to the servo control system of a teleoperated painting robot, comprising: The system receives a sequence of robot motion commands from a remote control terminal, extracts the command change features of the motion commands cycle by cycle, including the command change rate and the duration of the command change. At the same time, it calculates the expected motion trajectory based on the motion command sequence and extracts the trajectory curvature features of the expected motion trajectory. The command change features and trajectory curvature features are input into an adaptive filtering switching model. The adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features. The current servo control scenario includes a tracking scenario with rapidly changing commands and a stable scenario with uniform spraying speed. When the tracking scene is identified as a rapidly changing command, the adaptive filtering switching model switches to the high-pass filtering mode, using a high-pass filter to filter the motion command and retain the rapidly changing components in the motion command; when the scene is identified as a stable scene of uniform spraying, the adaptive filtering switching model switches to the strong smoothing filtering mode, using a strong smoothing filter to filter the motion command and suppress the high-frequency jitter components in the motion command. The filtered motion commands are sent to the servo drive of the painting robot, which controls the painting robot to move according to the filtered motion commands and perform the painting operation.

[0005] In some embodiments, the process of receiving a sequence of robot motion commands from a remote control terminal and extracting command change features of the motion commands cycle by cycle, including command change rate and command change duration, includes: receiving robot motion commands from the remote control terminal according to a control cycle, the robot motion commands including position increment commands and speed commands; caching the robot motion commands into a sequence of robot motion commands in the order of receipt time; performing differential calculation between the robot motion commands of the current control cycle and the robot motion commands of the previous control cycle to obtain the command change rate of the current control cycle; continuously counting the number of control cycles whose command change rates are within the same change range from the current control cycle forward, and multiplying the number of control cycles by the control cycle duration to obtain the command change duration.

[0006] In some embodiments, the step of calculating the expected motion trajectory based on the motion command sequence and extracting the trajectory curvature features of the expected motion trajectory includes: starting from the current position of the spray gun end, accumulating the position increment commands in the robot motion command sequence cycle by cycle to obtain the expected trajectory point sequence; fitting a local expected motion trajectory based on a continuously preset number of expected trajectory points; calculating the trajectory curvature of each expected trajectory point based on the local expected motion trajectory, and binding the trajectory curvature with the corresponding control cycle to obtain the trajectory curvature features of the expected motion trajectory.

[0007] In some embodiments, the step of inputting command change features and trajectory curvature features into an adaptive filtering switching model, and the adaptive filtering switching model identifying the current servo control scenario based on the command change rate and trajectory curvature features, includes: inputting the command change rate, command change duration, and trajectory curvature into the adaptive filtering switching model; when the command change rate is higher than a preset rapid change threshold and the command change duration is shorter than a preset rapid duration, it is identified as a tracking scenario with rapid command change, and a tracking scenario identifier is output; when the command change rate is lower than a preset stable change threshold, the command change duration is longer than a preset stable duration, and the trajectory curvature is lower than a preset stable curvature threshold, it is identified as a stable scenario with uniform spraying, and a stable scenario identifier is output; when neither of the two scenario identification conditions is met, the servo control scenario identification result of the previous control cycle is maintained.

[0008] In some embodiments, before inputting the command change features and trajectory curvature features into the adaptive filtering switching model, and before the adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features, the method further includes: collecting robot motion command samples during historical teleoperated spraying operations, wherein the robot motion command samples carry operation stage labeling information; labeling the command samples during the operator's rapid movement of the spray gun stage as tracking scenario samples, and labeling the command samples during the uniform speed spraying stage as stable scenario samples; extracting the command change rate, command change duration, and trajectory curvature of the tracking scenario samples and stable scenario samples as training features, performing training on the scenario classification model, and determining preset rapid change threshold, preset rapid duration, preset stable change threshold, preset stable duration, and preset stable curvature threshold; determining the filtering parameters of the high-pass filter based on the command frequency band of the tracking scenario samples, determining the filtering parameters of the strong smoothing filter based on the frequency band of hand tremors in the stable scenario samples, and integrating the scenario classification model, the high-pass filter, and the strong smoothing filter into an adaptive filtering switching model.

[0009] In some embodiments, when a tracking scenario with rapidly changing instructions is identified, the adaptive filtering switching model switches to a high-pass filtering mode, and a high-pass filter is used to perform filtering processing on the motion instructions to retain the rapidly changing components in the motion instructions. This includes: when a tracking scenario identifier is received, the adaptive filtering switching model switches to a high-pass filtering mode; the high-pass filter performs filtering processing on the robot motion instructions of the current control cycle according to the filtering parameters corresponding to the tracking scenario, allowing rapidly changing components higher than the high-pass cutoff frequency to pass through, and filtering out low-frequency drift components in the robot motion instructions; the filtering delay in the high-pass filtering mode is limited to within a preset tracking delay limit, and a motion instruction retaining the rapidly changing components is output.

[0010] In some embodiments, when a stable scene of uniform spraying is identified, the adaptive filtering switching model switches to a strong smoothing filter mode, and a strong smoothing filter is used to perform filtering processing on the motion commands to suppress high-frequency jitter components in the motion commands. This includes: when a stable scene identifier is received, the adaptive filtering switching model switches to a strong smoothing filter mode; the strong smoothing filter performs filtering processing on the robot motion commands of the current control cycle according to the filtering parameters corresponding to the stable scene; the strong smoothing filter uses a sliding window weighted average method to allow uniform motion components below the smoothing cutoff frequency to pass through, and filters out high-frequency jitter components corresponding to operator hand tremors; a weighted average calculation is performed on the robot motion commands within the sliding window, and the output motion commands with motion speed fluctuations limited to within a preset stable fluctuation limit are generated.

[0011] In some embodiments, sending the filtered motion commands to the servo driver of the painting robot to control the painting robot to move according to the filtered motion commands and perform the painting operation includes: converting the filtered motion commands into joint control commands corresponding to each joint according to the kinematic relationship of the painting robot; sending the joint control commands to the servo driver of the painting robot, which drives the servo motor corresponding to each joint to move; collecting the actual operating data of the servo motors and feeding it back to the servo control system to perform closed-loop adjustment; and controlling the spray gun to turn on and perform uniform speed painting operation according to the filtered motion commands when the robot motion command indicates that the spray gun is in the painting area.

[0012] In some embodiments, the method further includes: a high-pass filter and a strong smoothing filter operating in parallel in the servo control system, with the high-pass filter result and the strong smoothing filter result being output simultaneously in each control cycle; when the servo control scene identification result of the adaptive filter switching model changes, a filter mode switching transition period is entered, and during the filter mode switching transition period, the high-pass filter result and the strong smoothing filter result are weighted and fused, with the fusion weight gradually changing along the switching direction within a consecutive preset number of control cycles; when the filter mode switching transition period ends, the fusion weight is completely switched to the filter output corresponding to the servo control scene after the switch; the vibration feedback quantity of the servo driver is collected, and when the vibration feedback quantity exceeds a preset vibration limit, the passband of the strong smoothing filter is automatically narrowed and the narrowed filter parameters are used for filtering processing of subsequent stable scenes.

[0013] Secondly, this application provides an adaptive filtering control system for teleoperated servo commands of a painting robot, the system comprising: The sequence receiving unit is used to receive the robot motion command sequence issued by the remote control terminal, extract the command change features of the motion command on a control cycle basis, including the command change rate and the duration of the command change, and calculate the expected motion trajectory based on the motion command sequence and extract the trajectory curvature features of the expected motion trajectory; input the command change features and trajectory curvature features into the adaptive filtering switching model, and the adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features. The current servo control scenario includes a tracking scenario with rapidly changing commands and a stable scenario with uniform spraying. The component suppression unit is used to switch the adaptive filtering switching model to high-pass filtering mode when the tracking scene is identified as having rapidly changing instructions. The high-pass filter is used to perform filtering processing on the motion instructions, retaining the rapidly changing components in the motion instructions. When the scene is identified as having a stable scene of uniform spraying, the adaptive filtering switching model is switched to strong smoothing filtering mode. The strong smoothing filter is used to perform filtering processing on the motion instructions, suppressing the high-frequency jitter components in the motion instructions. The work execution unit is used to send the filtered motion commands to the servo drive of the painting robot, and control the painting robot to move according to the filtered motion commands and perform the painting operation.

[0014] The method provided in this application has the following beneficial effects: 1. Automatically identify tracking scenarios and stable scenarios based on command change characteristics and trajectory curvature characteristics, and switch filtering modes online; 2. In scenarios where commands change rapidly, a high-pass filter is used to retain rapidly changing components, ensuring the accuracy of teleoperation tracking; 3. In the uniform spraying scenario, a strong smoothing filter is used to suppress high-frequency jitter components, ensuring uniform coating thickness and surface quality.

[0015] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1 This is a schematic flowchart illustrating the steps of an adaptive filtering control method for remote operation servo commands of a painting robot according to an embodiment of this application; Figure 2 This is a schematic diagram illustrating the principle of an adaptive filtering control method for remote operation servo commands of a painting robot provided in one embodiment of this application; Figure 3 This is a schematic block diagram of a teleoperation servo command adaptive filtering control system for a painting robot provided in one embodiment of this application; Figure 4 This is a schematic block diagram of the servo control system provided in one embodiment of this application.

[0018] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0020] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.

[0021] It should be understood that, in order to clearly describe the technical solutions of the embodiments of the present invention, the terms "first" and "second" are used in the embodiments of the present invention to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0022] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0023] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0024] Existing servo control systems for remotely operated spraying robots mostly use a single fixed filter to filter remote operation motion commands. Fixed filter parameters make it difficult to simultaneously meet the requirements of dynamic tracking and stable spraying. When the filter cutoff frequency is high, the operator's hand tremors directly affect the servo drive, resulting in significant mechanical vibration and uneven coating thickness under uniform spraying conditions. When the filter cutoff frequency is low, the response is lagging under rapidly changing command conditions, and the spray gun cannot keep up with the operator's rapid movements.

[0025] To solve the above problem, please refer to Figure 1This application provides an adaptive filtering control method for remote-operated servo commands of a painting robot, applied to the servo control system of a remotely operated painting robot. The servo control system includes a remote operating terminal, a servo controller, and a servo driver. The remote operating terminal includes a handheld remote control gun and a command acquisition device. The servo controller includes a processor and a memory. The memory stores an adaptive filtering switching model, filtering parameters for a high-pass filter and a strong smoothing filter. The processor executes the computer program in the memory to implement the method steps provided in this application. The servo driver drives the servo motors of each joint of the painting robot to move. It should be noted that all information involved in the method provided in this application is extracted with the authorization of the relevant user and in accordance with relevant regulations, and will not infringe on user privacy.

[0026] Please refer to Figure 2 The servo command processing chain involved in this application includes a remote control terminal, a motion command sequence input stage, a command feature extraction stage, a scene judgment stage, a high-pass filtering mode, a strong smoothing filtering mode, a servo driver, and a painting robot. The remote control terminal issues robot motion commands. After motion command sequence input and command feature extraction, the scene judgment stage identifies the current servo control scene. For rapidly changing tracking scenes, a high-pass filtering mode is selected for output; for stable scenes with uniform spraying speed, a strong smoothing filtering mode is selected for output. The filtered motion commands drive the painting robot to move via the servo driver. The vibration feedback from the servo driver and the operating status of the painting robot are fed back to the scene judgment stage and the remote control terminal, participating in the adjustment of filtering parameters and display on the remote control terminal.

[0027] The provided adaptive filtering control method for teleoperated servo commands of a painting robot includes steps S101 to S103. Details are as follows: Step S101. Receive the robot motion command sequence sent by the remote control terminal, extract the command change features of the motion commands cycle by cycle. The command change features include the command change rate and the duration of the command change. At the same time, calculate the expected motion trajectory based on the motion command sequence and extract the trajectory curvature features of the expected motion trajectory. Input the command change features and trajectory curvature features into the adaptive filtering switching model. The adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features. The current servo control scenario includes a tracking scenario with rapidly changing commands and a stable scenario with uniform spraying.

[0028] Specifically, step S101 is the instruction receiving, feature extraction, and scene recognition stage. The operator holds the remote control gun to demonstrate or directly remotely operate the spraying action. The remote control terminal collects the pose changes of the remote control gun according to the control cycle and generates robot motion instructions. The robot motion instructions include position increment instructions and speed instructions. The servo controller receives the robot motion instructions one control cycle at a time and caches them into a robot motion instruction sequence according to the receiving time order.

[0029] The servo controller extracts two types of command-side features per control cycle: The first type is command variation features, which include the command variation rate and the duration of command variation. The command variation rate is obtained by the difference between the command of the current control cycle and the command of the previous control cycle, reflecting the speed of the remote operation. The duration of command variation is the length of time that the command variation rate remains within the same variation range, used to distinguish between the operator's momentary jitter and conscious, continuous rapid movements. The second type is trajectory curvature features. Starting from the current position of the spray gun end, the servo controller accumulates the position increment command cycle by cycle to obtain the expected trajectory point sequence. The local expected motion trajectory is fitted by a continuously preset number of expected trajectory points, and the trajectory curvature is calculated. The trajectory curvature reflects the degree of curvature of the expected motion trajectory; uniform linear spraying corresponds to low curvature, and rapid turning corresponds to high curvature.

[0030] The adaptive filtering switching model takes the command change rate, command change duration, and trajectory curvature as input. It identifies the current servo control scenario according to preset threshold rules or a trained scenario classification model: actions with a high command change rate and short duration correspond to tracking scenarios with rapidly changing commands, such as an operator quickly moving the spray gun across an empty stroke, making a rapid turn, or adjusting the gun position on the spot; actions with a low command change rate, long duration, and low trajectory curvature correspond to stable scenarios with uniform spraying, such as an operator moving the gun at a constant speed along the workpiece surface. The scenario recognition results are output in the form of scenario identifiers, serving as the basis for switching the filtering mode in step S102.

[0031] Step S102. When the tracking scene is identified as having rapidly changing instructions, the adaptive filtering switching model switches to the high-pass filtering mode, and uses the high-pass filter to perform filtering processing on the motion instructions, retaining the rapidly changing components in the motion instructions; when the scene is identified as having a stable scene of uniform spraying, the adaptive filtering switching model switches to the strong smoothing filtering mode, and uses the strong smoothing filter to perform filtering processing on the motion instructions, suppressing the high-frequency jitter components in the motion instructions.

[0032] Specifically, step S102 is the adaptive switching stage of the filtering mode. The high-pass filter and the strong smoothing filter in the servo controller run in parallel. In each control cycle, the high-pass filter result and the strong smoothing filter result are output for the same motion command, respectively. The adaptive filtering switching model selects the output of the corresponding filter according to the scene recognition result.

[0033] When the tracking scenario is identified as one with rapidly changing instructions, the adaptive filtering switching model switches to high-pass filtering mode: the high-pass filter allows rapidly changing components above the high-pass cutoff frequency to pass through, retaining the operator's conscious rapid movements, while filtering out low-frequency drift components in the motion commands (such as slow drift of the remote gun zero point, low-frequency offset caused by the operator's arm slowly sinking). In high-pass filtering mode, the filtering delay is limited to within the preset tracking delay limit, ensuring that the spray gun follows the operator's rapid movements in a timely manner. When the scenario is identified as a stable scenario of uniform speed spraying, the adaptive filtering switching model switches to strong smoothing filtering mode: the strong smoothing filter uses a sliding window weighted average method to achieve low-pass filtering, allowing uniform speed motion components below the smoothing cutoff frequency to pass through, filtering out high-frequency jitter components corresponding to the operator's hand tremors, and outputting smooth motion commands with motion speed fluctuations limited to within the preset stable fluctuation limit, so that the spray gun moves smoothly, with little mechanical vibration and uniform coating thickness under uniform speed spraying conditions.

[0034] When the scene recognition results are not met in both scene conditions, the recognition results of the previous control cycle are maintained to avoid frequent changes in scene identifiers near the threshold. When the scene recognition results switch, a filter mode switching transition period is set. During the transition period, the two filter results are weighted and fused, and the fusion weights are gradually changed to achieve seamless switching of filter modes.

[0035] Step S103. Send the filtered motion command to the servo drive of the painting robot to control the painting robot to move according to the filtered motion command and perform the painting operation.

[0036] Specifically, step S103 is the instruction issuance and closed-loop execution stage. The servo controller converts the filtered motion instructions into joint control instructions for each joint according to the kinematic relationship of the painting robot. The joint control instructions include joint position instructions and joint speed instructions. The joint control instructions are sent to the servo drivers of each joint. The servo drivers drive the servo motors to move according to the joint control instructions. The servo motors drive the end of the spray gun to move along the trajectory remotely operated by the operator via the transmission mechanism. The servo drivers feed back the actual operating data of the servo motors (actual position, actual speed, motor current, vibration feedback) to the servo controller. The servo controller performs position closed-loop and speed closed-loop adjustment to reduce the deviation between the instructions and the actual movement.

[0037] When the robot's motion command instructs the spray gun to be in the spraying area, the servo controller activates the spray gun, which then performs a uniform spraying operation according to the filtered, smooth motion command. The spray gun is deactivated when it is in the idle travel area. The vibration feedback from the servo drive is also used for adaptive adjustment of the filter parameters. When the vibration feedback exceeds the preset vibration limit, the servo controller automatically narrows the passband of the strong smoothing filter to enhance the suppression of high-frequency jitter. Through scene recognition and filter mode switching, the remote-operated servo control system ensures dynamic following during rapid movements and stability during uniform spraying, simultaneously addressing two conflicting control requirements within a single system.

[0038] In some embodiments, the process of receiving a sequence of robot motion commands from a remote control terminal and extracting command change features of the motion commands cycle by cycle, including command change rate and command change duration, includes: receiving robot motion commands from the remote control terminal according to a control cycle, the robot motion commands including position increment commands and speed commands; caching the robot motion commands into a sequence of robot motion commands in the order of receipt time; performing differential calculation between the robot motion commands of the current control cycle and the robot motion commands of the previous control cycle to obtain the command change rate of the current control cycle; continuously counting the number of control cycles whose command change rates are within the same change range from the current control cycle forward, and multiplying the number of control cycles by the control cycle duration to obtain the command change duration.

[0039] Specifically, the teleoperation terminal sends robot motion commands to the servo controller at fixed control cycles (e.g., milliseconds). Position increment commands represent the desired position increment of the spray gun's end effector within the current control cycle (this can be a three-dimensional position increment in Cartesian space), and speed commands represent the desired motion speed. The teleoperation terminal can also send spray gun on / off commands and attitude commands simultaneously. The servo controller sets up a command buffer in its memory, caching robot motion commands in the order of their reception time as a sequence of robot motion commands. The command buffer stores command data from the most recent control cycles for use in calculating command change rate, statistically analyzing command change duration, and solving the expected motion trajectory. For commands arriving with communication delays, the servo controller inserts them into the command buffer according to their timestamps. For lost commands, it uses the command from the previous cycle to hold or interpolate to fill in the gaps.

[0040] The command change rate is calculated as follows: The servo controller performs a differential calculation between the robot motion command of the current control cycle and the robot motion command of the previous control cycle. For position increment commands, the difference between the current cycle position increment and the previous cycle position increment is divided by the control cycle duration to obtain the command change rate (i.e., the first-order rate of change of the command, reflecting acceleration characteristics); for velocity commands, the difference between the current cycle velocity command and the previous cycle velocity command is divided by the control cycle duration to obtain the velocity change rate. The servo controller can calculate the command change rate for each motion direction separately and take the modulus value to obtain the comprehensive command change rate.

[0041] The calculation method for the duration of command change is as follows: The servo controller pre-divides several command change intervals (e.g., rapid change intervals, stable change intervals). Starting from the current control cycle, it backtracks cycle by cycle, counting the number of control cycles in which the command change rate continuously falls within the same interval. Counting stops when a cycle is encountered where the command change rate crosses out of that interval. The counted number of control cycles is multiplied by the control cycle duration to obtain the duration of the command change. The duration of the command change is used to distinguish between two different types of command changes: extremely short-duration (one or two control cycles) high-rate changes are usually caused by hand tremors or accidental touches; high-rate changes lasting for several cycles or more are conscious, rapid actions by the operator; and long-duration low-rate changes correspond to uniform gun movement. The command change rate and the duration of the command change are stored in a bound sequence according to the control cycle, forming a command change characteristic sequence.

[0042] In some embodiments, the step of calculating the expected motion trajectory based on the motion command sequence and extracting the trajectory curvature features of the expected motion trajectory includes: starting from the current position of the spray gun end, accumulating the position increment commands in the robot motion command sequence cycle by cycle to obtain the expected trajectory point sequence; fitting a local expected motion trajectory based on a continuously preset number of expected trajectory points; calculating the trajectory curvature of each expected trajectory point based on the local expected motion trajectory, and binding the trajectory curvature with the corresponding control cycle to obtain the trajectory curvature features of the expected motion trajectory.

[0043] Specifically, the servo controller takes the current position of the spray gun end (obtained by forward kinematics calculation from the feedback of each joint encoder) as the starting point and accumulates the position increment commands in the robot motion command sequence cycle by cycle according to the control cycle order: the first expected trajectory point is the current position plus the position increment of the first cycle, the second expected trajectory point is the first expected trajectory point plus the position increment of the second cycle, and so on, to obtain the expected trajectory point sequence for several future control cycles. The expected trajectory point sequence describes the path that the spray gun end will take if it moves according to the current command sequence.

[0044] For each expected trajectory point, the servo controller fits a local expected motion trajectory by taking a preset number of consecutive expected trajectory points before and after that point (e.g., several points before and after). The local expected motion trajectory is fitted using a cubic parametric spline curve or a quadratic curve. After obtaining the first-order and second-order guide values ​​of the spline curve, the servo controller calculates the trajectory curvature of that expected trajectory point according to the curvature formula. The trajectory curvature is equal to the modulus of the cross product of the first-order and second-order guide values ​​divided by the cube of the modulus of the first-order guide value. The reciprocal of the curvature is the radius of curvature. The servo controller binds and stores the trajectory curvature of each expected trajectory point with the corresponding control cycle and trajectory point number, thus obtaining the trajectory curvature characteristics of the expected motion trajectory.

[0045] Trajectory curvature features are used to assist in scene recognition: when the gun moves at a constant speed in a straight line, the expected trajectory point sequence is approximately a straight line, and the trajectory curvature is close to zero; when the gun follows the spraying at a constant speed in a circular arc or curved surface, the trajectory curvature is stable and the value is small; when the operator makes rapid turns or cornering movements, the local trajectory curvature increases significantly. Combining trajectory curvature with the command change rate can distinguish between "rapid translation with high command change rate but low curvature" (rapid movement during idle travel, belonging to tracking scenarios), "uniform linear motion with low command change rate and low curvature" (smooth spraying scenarios), and "turning movements with high curvature" (transitional conditions that require both following and smoothness), improving the accuracy of scene recognition and avoiding misjudgments caused by relying solely on the command change rate.

[0046] In some embodiments, the step of inputting command change features and trajectory curvature features into an adaptive filtering switching model, and the adaptive filtering switching model identifying the current servo control scenario based on the command change rate and trajectory curvature features, includes: inputting the command change rate, command change duration, and trajectory curvature into the adaptive filtering switching model; when the command change rate is higher than a preset rapid change threshold and the command change duration is shorter than a preset rapid duration, it is identified as a tracking scenario with rapid command change, and a tracking scenario identifier is output; when the command change rate is lower than a preset stable change threshold, the command change duration is longer than a preset stable duration, and the trajectory curvature is lower than a preset stable curvature threshold, it is identified as a stable scenario with uniform spraying, and a stable scenario identifier is output; when neither of the two scenario identification conditions is met, the servo control scenario identification result of the previous control cycle is maintained.

[0047] Specifically, the adaptive filtering switching model presets five sets of scene judgment thresholds: a preset rapid change threshold to determine whether the command change rate reaches the level of rapid action; a preset rapid duration to limit the upper limit of the duration of rapid action in the tracking scene; a preset stable change threshold to determine whether the command change rate is at the level of stable motion; a preset stable duration to require the stable state to last for a sufficient time before confirming the stable scene, preventing frequent switching caused by instantaneous stability; and a preset stable curvature threshold to limit the degree of trajectory curvature in the stable scene.

[0048] The tracking scenario determination conditions are: the command change rate is higher than the preset rapid change threshold, and the duration of the command change is shorter than the preset rapid duration (conscious rapid actions are manifested as short-term high change rate in command change rate; for continuous high-speed movement, the servo controller determines the scenario by combining the speed command amplitude. When the speed command amplitude is higher than the high-speed movement threshold, it is also identified as a tracking scenario). When the conditions are met, the adaptive filtering switching model outputs a tracking scenario identifier.

[0049] The conditions for determining a stable scene are: the command change rate is lower than the preset stable change threshold, the duration of the command change is longer than the preset stable duration, and the trajectory curvature of the expected motion trajectory is lower than the preset stable curvature threshold. When all three conditions are met, a stable scene identifier is output. A stable scene corresponds to the operator moving the gun along the workpiece surface at a constant speed, in a straight line, or with a small curvature.

[0050] When neither of the two scene recognition conditions is met (e.g., the command change rate is between two thresholds, the curvature is moderate, or the duration is insufficient), the adaptive filtering switching model maintains the scene recognition result of the previous control cycle unchanged, and the scene identifier exhibits hysteresis characteristics. The servo controller simultaneously sets a scene lock time; after the scene identifier switches, it no longer responds to reverse switching conditions within the scene lock time, further suppressing scene identifier jitter at threshold boundaries. A hysteresis interval is set between the preset rapid change threshold and the preset stable change threshold. After the command change rate rises and crosses the higher threshold to enter the tracking scene, it must fall and cross a lower recovery threshold before being allowed to exit, avoiding frequent switching of the filtering mode under critical operating conditions.

[0051] In some embodiments, before inputting the command change features and trajectory curvature features into the adaptive filtering switching model, the method further includes: collecting robot motion command samples during historical teleoperated spraying operations, wherein the robot motion command samples carry operation stage labeling information; labeling command samples during the operator's rapid movement of the spray gun stage as tracking scene samples, and labeling command samples during the uniform speed spraying stage as stable scene samples; extracting the command change rate, command change duration, and trajectory curvature of the tracking scene samples and stable scene samples as training features, training the scene classification model, and determining preset rapid change threshold, preset rapid duration, preset stable change threshold, preset stable duration, and preset stable curvature threshold; determining the filtering parameters of the high-pass filter based on the command frequency band of the tracking scene samples, determining the filtering parameters of the strong smoothing filter based on the hand tremor frequency band in the stable scene samples, and integrating the scene classification model, the high-pass filter, and the strong smoothing filter into an adaptive filtering switching model.

[0052] Specifically, the judgment threshold and filtering parameters of the adaptive filtering switching model are obtained through calibration using historical operation data. The servo controller collects robot motion command samples from multiple operators during historical remote-controlled spraying operations. The command samples carry annotation information according to the operation stage. The operation stage annotation can be manually annotated by process personnel based on the synchronously recorded operation video and the spray gun switch status, or it can be automatically annotated according to the spray gun switch and movement speed rules and then manually verified: the command samples of the stage where the operator moves the spray gun quickly across the empty stroke and quickly adjusts the gun position when the spray gun is off are labeled as tracking scene samples; the command samples of the stage where the operator moves the gun at a constant speed along the workpiece surface when the spray gun is on are labeled as stable scene samples; the samples of the stages such as turning and cornering are labeled as transition samples.

[0053] The servo controller extracts command change rate, command change duration, and trajectory curvature from all samples cycle by cycle as training features. Statistical distribution analysis is performed on the training features of two types of samples: the lower bound of the command change rate distribution for tracking scene samples is used to determine the preset rapid change threshold, and the rapid action duration distribution is used to determine the preset rapid duration; the upper bound of the command change rate distribution for stationary scene samples is used to determine the preset stationary change threshold, the shortest duration of the stationary state is used to determine the preset stationary duration, and the upper bound of the curvature distribution of the stationary spray trajectory is used to determine the preset stationary curvature threshold. When training the scene classification model using a data-driven approach, the scene classification model can employ a support vector machine, decision tree, or lightweight neural network classifier. It takes three types of training features as input and scene category as output, completing training and cross-validation on labeled samples. The trained classifier is deployed on the servo controller, outputting the scene category and category confidence score in each control cycle.

[0054] The filter parameter calibration method is as follows: The servo controller performs spectrum analysis on the tracked scene samples to obtain the command frequency band corresponding to the operator's conscious rapid movements. The high-pass cutoff frequency of the high-pass filter is set between the lower boundary of the rapid movement frequency band and the upper boundary of the low-frequency drift frequency band, allowing rapidly changing components to pass while filtering out low-frequency drift components. The filtering delay is also checked according to the preset tracking delay limit. The servo controller performs spectrum analysis on the stable scene samples to identify the frequency band of the operator's hand tremors (hand tremors usually manifest as periodic fluctuations in a higher frequency band of the command signal). The smoothing cutoff frequency of the strong smoothing filter is set between the upper boundary of the uniform motion frequency band and the lower boundary of the hand tremor frequency band. The sliding window length is determined according to the period of the tremor frequency band, ensuring that the hand tremor component falls into the stopband while the uniform motion component passes through without attenuation. The scene classification model, high-pass filter, strong smoothing filter, and switching logic are integrated into an adaptive filtering switching model, which is deployed on the servo controller. When the operator, spray gun, or workpiece type is changed, samples can be re-acquired for calibration, and the thresholds and filtering parameters can be updated.

[0055] In some embodiments, when a tracking scenario with rapidly changing instructions is identified, the adaptive filtering switching model switches to a high-pass filtering mode, and a high-pass filter is used to perform filtering processing on the motion instructions to retain the rapidly changing components in the motion instructions. This includes: when a tracking scenario identifier is received, the adaptive filtering switching model switches to a high-pass filtering mode; the high-pass filter performs filtering processing on the robot motion instructions of the current control cycle according to the filtering parameters corresponding to the tracking scenario, allowing rapidly changing components higher than the high-pass cutoff frequency to pass through, and filtering out low-frequency drift components in the robot motion instructions; the filtering delay in the high-pass filtering mode is limited to within a preset tracking delay limit, and a motion instruction retaining the rapidly changing components is output.

[0056] Specifically, when the adaptive filtering switching model receives a tracking scene identifier, the output channel switches to a high-pass filter. The high-pass filter can be implemented using a first-order or higher-order digital high-pass filter. The filtering parameters include the high-pass cutoff frequency and the filter order. The high-pass cutoff frequency is calibrated based on the command frequency band of the tracking scene sample. After the robot motion commands (position increment commands and velocity commands) of the current control cycle are input to the high-pass filter, the filter performs recursive calculations according to the difference equation, allowing rapidly changing components above the high-pass cutoff frequency to pass through, while suppressing signal components below the high-pass cutoff frequency. During teleoperation, the operator's arm slowly sinks, and the remote gun's zero-point temperature drift manifests as low-frequency drift components in the command signal. If these low-frequency drift components are not filtered out, the spray gun will slowly deviate from the target trajectory during uniform operation. The high-pass filter filters out the low-frequency drift components, while rapidly changing components such as the operator quickly moving the spray gun and turning are fully preserved.

[0057] In tracking scenarios, dynamic following is the primary objective. The servo controller limits the filtering delay in high-pass filter mode to a preset tracking delay limit. The filtering delay is determined by the filter order and cutoff frequency. The servo controller selects the lowest filter order that meets the delay limit and overlays a command with a duration equal to the filtering delay at the command output for synchronous alignment processing. This ensures that the time difference between the filtered command and the remote control action is within the operator's conscious range. The servo controller also continuously monitors the phase lag of the high-pass filter output relative to the original command. When the time delay calculated from the phase lag approaches the preset tracking delay limit, it automatically reduces the filter order or fine-tunes the high-pass cutoff frequency. The high-pass filter output retains the motion command with rapidly changing components, enabling the spray gun to follow the operator's rapid movements promptly and without significant lag. This is suitable for conditions such as rapid movement during idle travel and rapid on-site adjustments.

[0058] In some embodiments, when a stable scene of uniform spraying is identified, the adaptive filtering switching model switches to a strong smoothing filter mode, and a strong smoothing filter is used to perform filtering processing on the motion commands to suppress high-frequency jitter components in the motion commands. This includes: when a stable scene identifier is received, the adaptive filtering switching model switches to a strong smoothing filter mode; the strong smoothing filter performs filtering processing on the robot motion commands of the current control cycle according to the filtering parameters corresponding to the stable scene; the strong smoothing filter uses a sliding window weighted average method to allow uniform motion components below the smoothing cutoff frequency to pass through, and filters out high-frequency jitter components corresponding to operator hand tremors; a weighted average calculation is performed on the robot motion commands within the sliding window, and the output motion commands with motion speed fluctuations limited to within a preset stable fluctuation limit are generated.

[0059] Specifically, when the adaptive filtering switching model receives a stable scene identifier, the output channel switches to the strong smoothing filter. The strong smoothing filter uses a sliding window weighted average method to achieve low-pass filtering. The sliding window covers the robot motion commands of the current control cycle and several previous control cycles. The window length is determined according to the period of the hand tremor frequency band in the stable scene samples (the time span corresponding to the window length is 1 to several times the tremor period). The weighting coefficients of the commands in each cycle within the window can be equal weighted average, triangular weighted, or Gaussian weighted. The commands closer to the current control cycle have a larger weight, which reduces phase lag while smoothing tremors.

[0060] The robot motion commands within the sliding window are weighted and averaged before outputting: Uniform motion components below the smoothing cutoff frequency are approximately constant within the window, passing through without attenuation after weighted averaging; high-frequency jitter components corresponding to operator hand tremors fluctuate positively and negatively within the window, canceling each other out after weighted averaging, thus suppressing the high-frequency jitter components. The servo controller statistically analyzes the motion speed fluctuations of the strongly smoothed filter output, calculating the standard deviation or maximum deviation of the output speed within the sliding window. When the motion speed fluctuation exceeds the preset stable fluctuation limit, the sliding window length is automatically increased or the weighting coefficient is adjusted to further enhance smoothing until the output motion speed fluctuation is limited within the preset stable fluctuation limit. When the operator's intentional slow acceleration / deceleration is over-smoothed, increasing output lag, the servo controller appropriately shortens the window length. The motion commands output by the strongly smoothed filter have stable speeds and continuous directions. When the servo driver drives the spray gun to move uniformly along the workpiece surface, mechanical vibration is significantly reduced, the coating deposition per unit area is stable, and the coating thickness is uniform under uniform spraying conditions.

[0061] In some embodiments, sending the filtered motion commands to the servo driver of the painting robot to control the painting robot to move according to the filtered motion commands and perform the painting operation includes: converting the filtered motion commands into joint control commands corresponding to each joint according to the kinematic relationship of the painting robot; sending the joint control commands to the servo driver of the painting robot, which drives the servo motor corresponding to each joint to move; collecting the actual operating data of the servo motors and feeding it back to the servo control system to perform closed-loop adjustment; and controlling the spray gun to turn on and perform uniform speed painting operation according to the filtered motion commands when the robot motion command indicates that the spray gun is in the painting area.

[0062] Specifically, the filtered motion commands are Cartesian space commands (position increments and velocities of the spray gun tip). The servo controller performs inverse kinematics calculations based on the kinematic relationships of the painting robot, converting the Cartesian space commands into joint control commands for each joint. These joint control commands include joint position and velocity commands, generated through interpolation according to each control cycle. For attitude commands, the servo controller synchronously calculates the attitude components of each joint and superimposes them into the joint control commands. The joint control commands are sent to the servo drivers of each joint of the painting robot via the servo bus. The servo drivers drive the corresponding servo motors according to the joint position and velocity commands, and the servo motors, via reducers, move the robot joints and the spray gun tip.

[0063] The closed-loop adjustment process is as follows: the encoders on the servo motors of each joint collect the actual joint position and speed, and the servo driver also collects motor current and torque data. The actual operating data is fed back to the servo control system. The servo control system converts the actual joint position and speed into the actual pose of the spray gun end through forward kinematics calculation. It compares this with the filtered command pose and eliminates tracking deviation through multi-loop adjustment of position loop, speed loop, and current loop. Vibration sensor or motor current fluctuation is used as vibration feedback to participate in the adjustment. When the robot motion command indicates that the spray gun is in the spraying area (judged according to the spray gun switch command issued by the remote operation terminal or the position of the spray gun end in the area to be sprayed), the servo controller controls the spray gun to turn on, and the paint is sprayed out at the set flow rate. The spray gun moves at a constant speed according to the smooth motion command after strong smoothing filtering, performing uniform speed spraying. The paint is turned off when the spray gun is in the idle stroke. Scene recognition and filtering switching continue to operate during the operation. When the operator alternates between rapid gun movement and uniform speed spraying in the same remote operation, the filtering mode automatically switches, without the need for the operator to manually set the filter parameters.

[0064] In some embodiments, the method further includes: a high-pass filter and a strong smoothing filter operating in parallel in the servo control system, with the high-pass filter result and the strong smoothing filter result being output simultaneously in each control cycle; when the servo control scene identification result of the adaptive filter switching model changes, a filter mode switching transition period is entered, and during the filter mode switching transition period, the high-pass filter result and the strong smoothing filter result are weighted and fused, with the fusion weight gradually changing along the switching direction within a consecutive preset number of control cycles; when the filter mode switching transition period ends, the fusion weight is completely switched to the filter output corresponding to the servo control scene after the switch; the vibration feedback quantity of the servo driver is collected, and when the vibration feedback quantity exceeds a preset vibration limit, the passband of the strong smoothing filter is automatically narrowed and the narrowed filter parameters are used for filtering processing of subsequent stable scenes.

[0065] Specifically, to avoid command jumps caused by hard switching of filtering modes, the high-pass filter and the strong smoothing filter run in parallel in the servo control system. The two filters receive the same robot motion command at the same time in each control cycle and output the high-pass filter result and the strong smoothing filter result respectively. The output of the adaptive filtering switching model directly selects the corresponding filter result when the scene is stable, and performs weighted fusion when the scene changes.

[0066] When the scene recognition result switches from a stable scene to a tracking scene (or vice versa), the servo controller enters a filter mode switching transition period, which lasts for a preset number of control cycles. During the transition period, each control cycle performs a weighted sum of the high-pass filter result and the strong smoothing filter result according to a gradually changing fusion weight. The fusion weight gradually changes along the switching direction from a weight of 1 for the original scene filter and a weight of 0 for the target scene filter to a weight of 0 for the original scene filter and a weight of 1 for the target scene filter. At the end of the transition period, the fusion weight is completely switched to the filter output corresponding to the switched scene. Gradual fusion ensures that the output command is continuous at the switching point and that the first derivative is continuous, so the spray gun will not experience any stuttering due to the filter mode switching. During the switching transition period, the scene identifier is locked and does not respond to new switching conditions to prevent repeated switching during the transition period.

[0067] The vibration feedback adaptive adjustment process is as follows: A vibration detection device (vibration sensor, or vibration estimated using servo motor current fluctuations and encoder speed fluctuations) is installed on the servo drive or robot end effector. The servo controller collects the vibration feedback in real time. In stable scenarios, when the root mean square value or peak value of the vibration feedback exceeds the preset vibration limit, it indicates that the passband of the current strong smoothing filter is too wide, or that hand tremors or mechanical resonances are not sufficiently suppressed. The servo controller automatically narrows the passband of the strong smoothing filter, i.e., lowers the smoothing cutoff frequency and increases the sliding window length, and uses the narrowed filter parameters for subsequent filtering in stable scenarios. After the vibration feedback falls back to within the limit and stabilizes for a period of time, the servo controller can gradually restore the default passband to avoid unnecessary increases in filtering delay. The vibration feedback parameter adaptation enables the strong smoothing filter to automatically adjust the smoothing intensity for different spray gun qualities, different mechanical wear conditions, and different operator tremor intensities.

[0068] In some embodiments, please refer to Figure 2 The remote control terminal allows the operator to demonstrate and directly operate the spraying action by holding the remote control gun. The remote control terminal issues robot motion commands according to the control cycle. The robot motion commands include position increment commands, speed commands, and spray gun switch commands. The motion command sequence input stage receives the robot motion commands and caches them into a robot motion command sequence according to the order of receipt time.

[0069] Please refer to Figure 2 The instruction feature extraction stage extracts the instruction change rate, instruction change duration, and trajectory curvature features from the robot motion instruction sequence for each control cycle: the instruction change rate is obtained by the difference between instructions in adjacent cycles; the instruction change duration is obtained by counting the number of consecutive cycles where the instruction change rate is within the same change range; and the trajectory curvature feature is calculated by fitting a local expected motion trajectory to the expected trajectory point sequence obtained by accumulating position increment instructions. Please refer to [reference needed]. Figure 2 The three types of features are output in parallel to the scene judgment stage during the instruction feature extraction stage.

[0070] Please refer to Figure 2 The scene judgment stage identifies the current servo control scene based on the command change rate, the duration of the command change, and the trajectory curvature: it outputs a tracking scene judgment when the command change condition is met, and an orderly scene judgment when the conditions of uniform speed, stability, and low curvature are met; if neither condition is met, it retains the judgment result from the previous cycle. Please refer to... Figure 2The high-pass filtering mode and the strong smoothing filtering mode run in parallel before the scene judgment stage: the high-pass filtering mode is for tracking scenes with rapidly changing instructions, retaining the rapidly changing components of the motion instructions and filtering out the low-frequency drift components; the strong smoothing filtering mode is for stable scenes with uniform spraying, suppressing the high-frequency jitter components of the motion instructions and outputting stable instructions; the scene judgment stage selects the output of the corresponding filtering mode according to the scene judgment result, and the two outputs are weighted and fused during the transition period when the scene is switched.

[0071] Please refer to Figure 2 The selected filtered output is sent to the servo driver, which converts the motion commands into joint control commands and drives the servo motors of each joint of the painting robot. The painting robot moves the end of the spray gun according to the filtered motion commands. When the spray gun is in the spraying area, it is activated and performs a uniform spraying operation. Please refer to... Figure 2 The feedback loop in the system feeds the vibration feedback from the servo drive to the scene judgment stage. When the vibration feedback exceeds the preset vibration limit, the passband of the strong smoothing filter mode is automatically narrowed. The actual operating status of the painting robot is transmitted back to the remote control terminal via the feedback loop. The remote control terminal displays the actual position, speed, and current filter mode of the spray gun to the operator, who then adjusts the remote control actions accordingly. Figure 2 The instruction feature extraction, scene judgment, parallel switching of dual filtering modes and vibration feedback link shown enable the remotely operated spraying robot to follow in a timely manner under rapid action conditions and move smoothly under uniform speed spraying conditions. A single device can simultaneously meet the requirements of dynamic tracking and stable spraying without manual switching of filters.

[0072] In some embodiments, the adaptive filtering switching model sets an intermediate filtering mode between the high-pass filtering mode and the strong smoothing filtering mode, and the filtering parameters are continuously adjusted according to the scene confidence level to achieve multi-level adaptive filtering.

[0073] Specifically, in addition to typical rapid movement and typical uniform speed spraying, spraying operations also include intermediate conditions such as uniform speed spraying on curves, corner following, and fine trimming. These intermediate conditions involve both a certain rate of change of command or trajectory curvature and require high stability, making it difficult to accurately adapt between the two filtering modes. The servo controller sets one or more intermediate filtering modes between the high-pass filtering mode and the strong smoothing filtering mode. The cutoff frequency of the intermediate filtering mode is between the high-pass cutoff frequency and the smoothing cutoff frequency, and the sliding window length is between the two modes. The scene classification model outputs the scene confidence and the stable scene confidence. The servo controller uses the two confidence levels as interpolation coefficients to continuously interpolate and schedule the filtering parameters (cutoff frequency, window length, filter order) of the high-pass filter, intermediate filter, and strong smoothing filter, so that the actual filtering intensity changes continuously between "strong smoothing - medium smoothing - high-pass" according to the working conditions, rather than just switching between two levels.

[0074] For uniform-speed curve spraying, the trajectory curvature is stable and the command change rate is low. The servo controller selects an intermediate filtering mode that is slightly stronger than the strong smoothing mode, suppressing jitter while retaining the command bandwidth required to follow the curvature change. For corner following, the servo controller gradually increases the filtering bandwidth as it approaches the corner and gradually restores smoothness after passing the corner, with the filtering intensity being look-ahead and scheduled along the trajectory. The multi-level continuous scheduling and weighted fusion of the switching transition period ensure that the spray gun obtains a filtering intensity that matches the working condition throughout all operation stages, further reducing coating thickness fluctuations in intermediate working conditions.

[0075] In some embodiments, the servo controller establishes a personalized model of operator hand tremors, learns the tremor frequency band and operating habits online based on the current operator's instruction characteristics, and adaptively adjusts the filtering parameters.

[0076] Specifically, there are significant differences in the frequency band, amplitude, and operating speed habits of different operators' hand tremors. Using uniformly calibrated filtering parameters may not be sufficient to smooth the motion for some operators, while it may filter out effective actions for others. The servo controller establishes an operation feature profile for each operator. After an operator logs in via a remote control terminal or is automatically identified by their operating habits, the servo controller continuously collects the spectrum and statistical characteristics of the input commands of the strong smoothing filter in a stable scenario where the operator is performing uniform spraying. It identifies the center frequency, bandwidth, and amplitude of the operator's hand tremors online, and simultaneously statistically analyzes the operator's typical uniform gun movement speed, typical rapid movement speed, and acceleration / deceleration habits to form a personalized hand tremor model for each operator.

[0077] The servo controller adjusts the smoothing cutoff frequency and sliding window length of the strong smoothing filter based on the personalized model, ensuring the stopband precisely covers the operator's jitter frequency band. Simultaneously, it adjusts the scene judgment threshold to match the preset rapid change threshold and preset stable change threshold with the operator's speed distribution. The personalized model parameters are updated online with each job cycle; when the jitter frequency band and amplitude change due to operator fatigue, the filter parameters adjust accordingly. For novice operators with significant jitter, the servo controller automatically enhances smoothing and extends the scene confirmation time; for experienced operators with stable movements, the bandwidth is appropriately widened to improve tracking sensitivity. Personalized filtering allows the same remotely operated painting robot to adapt to the operating characteristics of different operators, reducing the skill level requirements for operators.

[0078] In some embodiments, the servo controller performs feedforward compensation for the filtering delay by combining the trend prediction of the robot's motion commands, ensuring both stability and real-time following performance in a strong smoothing filtering mode.

[0079] Specifically, the strong smoothing filter inevitably introduces phase lag when suppressing high-frequency jitter. When the operator consciously changes the constant speed of the gun (e.g., begins to decelerate and approaches the end of the trajectory), the filtered output lags behind the original command. The servo controller introduces command trend prediction in the filtering stage: based on the robot motion command sequence of the most recent control cycles, it performs short-term prediction on the changing trends of position increment commands and speed commands. The prediction algorithm can use linear extrapolation, polynomial fitting prediction, or recursive prediction models, and the prediction time domain corresponds to the phase lag time of the strong smoothing filter. The servo controller superimposes the predicted leading command component onto the strong smoothing filter output in a feedforward manner to compensate for the filter phase lag. The feedforward coefficient is calibrated according to the filter delay, so that the compensated output is aligned with the original command in the constant speed acceleration / deceleration transition section, while not destroying the suppression effect on high-frequency jitter (high-frequency jitter does not have a trend, and the prediction model does not generate feedforward for jitter components).

[0080] In tracking scenarios, the servo controller also performs a small amount of feedforward compensation for the residual delay of the high-pass filter. The amount of feedforward compensation is continuously adjusted between the two modes according to the scenario confidence level; the amount of feedforward compensation is larger in the strong smoothing mode and smaller in the high-pass mode. Through the combination of filtering and predictive feedforward, the servo control system achieves both strong smoothing jitter suppression in stable scenarios and avoids uneven coating thickness in the trajectory segment caused by the spray gun response lag when the speed changes.

[0081] In some embodiments, the servo controller performs decoupling differential filtering on motion commands for different motion directions and different joints, and different filtering intensities are used for the spray gun direction and the spray distance adjustment direction.

[0082] Specifically, in remote-operated spraying, the movement of the spray gun along the workpiece surface directly determines the coating thickness, requiring highly stable speed. The spray distance adjustment direction perpendicular to the workpiece surface has a small movement amplitude, mainly used to maintain the spray gun height; it is sensitive to vibration but has different bandwidth requirements. The spray gun attitude adjustment direction requires a faster response at corners and curved surfaces. Using the same filtering parameters for all directions cannot simultaneously meet the process requirements of each direction. The servo controller decomposes the robot motion commands into a tool coordinate system that moves with the spray gun: the speed command along the spray gun direction uses the strongest smoothing filter (lowest cutoff frequency, longest window) to ensure stable spray speed and uniform coating thickness; the spray distance command perpendicular to the workpiece surface uses a medium-strength filter to suppress vibration while retaining the operator's ability to adjust the spray distance; the attitude command around the spray gun's spray axis and the rapid turning direction command use a high-bandwidth filter to ensure timely attitude tracking.

[0083] In joint space, the servo controller can further allocate filtering intensity based on the contribution of each joint to the end effector motion in the current pose. Joints primarily responsible for uniform gun movement receive enhanced smoothing, while joints responsible for rapid adjustments retain bandwidth. Directional decoupling is achieved by decomposing the unified filter into independent filters for each axis of the tool coordinate system through coordinate transformation, followed by recombining. Filtering parameters for each axis can be set and adjusted independently. Differential filtering ensures maximum stability in the gun movement direction, which is most sensitive to coating thickness, without sacrificing the flexibility of spray distance and attitude adjustment. It is suitable for various spraying areas, including flat surfaces, curved surfaces, and edges.

[0084] In some embodiments, the servo control system uses the vibration feedback of the servo driver and the coating quality detection result as dual feedback to perform process closed-loop self-tuning of the filtering parameters of the high-pass filter and the strong smoothing filter.

[0085] Specifically, vibration feedback reflects the effect of filtering parameters on suppressing mechanical vibration, while coating quality directly reflects the final impact of filtering parameters on the spraying process. Using vibration as feedback alone may result in low mechanical vibration but still slow fluctuations in gun speed and uneven coating thickness. The servo control system introduces coating quality feedback in addition to vibration feedback: after the workpiece is sprayed, the coating thickness detection device collects coating thickness data. The servo control system unfolds the coating thickness along the spraying trajectory, statistically analyzes the standard deviation of thickness, thickness deviation, and locations of runs and thin coating defects in the uniform spraying section, and correlates the defect locations with the filtering mode, filtering parameters, and command fluctuation statistics during spraying.

[0086] The servo control system aims for optimal coating thickness uniformity and vibration feedback below preset limits. It performs offline self-tuning on the smoothing cutoff frequency, sliding window length, and scene judgment threshold of the strong smoothing filter: for locations with excessive thickness corresponding to slow gun movement or premature deceleration, the self-tuning algorithm adjusts the filter parameters and feedforward compensation for the corresponding working conditions; for locations with insufficient thickness corresponding to speed fluctuations caused by excessive speed or insufficient smoothing, the algorithm enhances the smoothing intensity in the corresponding direction. Self-tuning can employ an iterative optimization method based on batch data, updating parameters after each batch of workpieces, forming a dual closed loop of "online vibration adjustment and batch process tuning" with the online rapid adjustment of vibration feedback. After several batches of self-tuning, the filter parameters achieve optimal matching with the current coating characteristics, spray gun status, workpiece type, and operator habits, continuously improving coating thickness consistency.

[0087] In some embodiments, the servo controller performs abnormal command identification and safety limiting on robot motion commands while adaptively filtering, and automatically enters a strong smoothing state of contact condition when the spray gun approaches or contacts the workpiece.

[0088] Specifically, during remote operation, operators may accidentally touch the remote-controlled gun, experience significant hand tremors, or receive impact commands due to abnormal command communication. If these impact commands are directly sent to the servo drive, they can cause the spray gun to move abruptly or even collide with the workpiece. The servo controller incorporates abnormal command identification in its command feature extraction stage: when the command change rate exceeds the maximum change rate limit for normal operator movement, the single-cycle position increment exceeds the maximum increment limit, or there are abrupt changes in the command change characteristics and trajectory curvature characteristics that do not conform to the laws of human hand movement, it is determined to be an abnormal command. The servo controller does not execute the full amplitude of the abnormal command, but instead limits the speed and amplitude of the command according to the maximum acceleration and maximum speed allowed by the servo drive, causing the spray gun to decelerate or maintain its position in the smoothest way, and sends an abnormality warning to the remote control terminal; when communication is interrupted, the servo controller decelerates and stops the spray gun according to the valid command of the previous cycle and shuts it off.

[0089] When the spray gun approaches the workpiece surface or enters a confined cavity for spraying, the servo controller identifies contact-sensitive conditions based on the distance detection information between the spray gun tip and the workpiece surface (which can be obtained from a distance detection device or the geometric relationship between the expected trajectory and the workpiece model). It then automatically enters a strong smoothing state for contact conditions: the filtering intensity is higher than in normal stable scenarios under contact conditions, and the limit of the spray distance direction command is further tightened to prevent hand tremors from causing the spray gun to touch the workpiece surface. Normal adaptive filtering resumes after the spray gun leaves the contact-sensitive area. Abnormal command safety limiting and strong smoothing for contact conditions serve as a safety outer layer for the adaptive filtering switching model, ensuring the safety of the equipment and workpiece during remote operation spraying.

[0090] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0091] Please see Figure 3 As shown, Figure 3 This is a schematic diagram of the structure of a paint spraying robot teleoperation servo command adaptive filtering control system 200 provided in this application embodiment. The paint spraying robot teleoperation servo command adaptive filtering control system 200 is used to execute the steps of the paint spraying robot teleoperation servo command adaptive filtering control method shown in the above embodiments. The paint spraying robot teleoperation servo command adaptive filtering control system 200 can be a single server or a server cluster, or it can be a terminal, such as a handheld terminal, a laptop computer, a wearable device, or a robot.

[0092] like Figure 3 As shown, the adaptive filtering control system 200 for remote operation servo commands of the painting robot includes: The sequence receiving unit 201 is used to receive the robot motion command sequence issued by the remote control terminal, extract the command change features of the motion command on a control cycle basis, the command change features include the command change rate and the duration of the command change, and calculate the expected motion trajectory based on the motion command sequence and extract the trajectory curvature features of the expected motion trajectory; input the command change features and trajectory curvature features into the adaptive filtering switching model, the adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features, the current servo control scenario includes a tracking scenario with rapidly changing commands and a stable scenario with uniform spraying; The component suppression unit 202 is used to switch the adaptive filtering switching model to high-pass filtering mode when the tracking scene is identified as having rapidly changing instructions, and to use a high-pass filter to perform filtering processing on the motion instructions to retain the rapidly changing components in the motion instructions; when the scene is identified as having a stable scene of uniform spraying, the adaptive filtering switching model switches to strong smoothing filtering mode, and to use a strong smoothing filter to perform filtering processing on the motion instructions to suppress the high-frequency jitter components in the motion instructions. The job execution unit 203 is used to send the filtered motion commands to the servo driver of the painting robot, and control the painting robot to move according to the filtered motion commands and perform the painting operation.

[0093] In some embodiments, the process of receiving a sequence of robot motion commands from a remote control terminal and extracting command change features of the motion commands cycle by cycle, including command change rate and command change duration, includes: receiving robot motion commands from the remote control terminal according to a control cycle, the robot motion commands including position increment commands and speed commands; caching the robot motion commands into a sequence of robot motion commands in the order of receipt time; performing differential calculation between the robot motion commands of the current control cycle and the robot motion commands of the previous control cycle to obtain the command change rate of the current control cycle; continuously counting the number of control cycles whose command change rates are within the same change range from the current control cycle forward, and multiplying the number of control cycles by the control cycle duration to obtain the command change duration.

[0094] In some embodiments, the step of calculating the expected motion trajectory based on the motion command sequence and extracting the trajectory curvature features of the expected motion trajectory includes: starting from the current position of the spray gun end, accumulating the position increment commands in the robot motion command sequence cycle by cycle to obtain the expected trajectory point sequence; fitting a local expected motion trajectory based on a continuously preset number of expected trajectory points; calculating the trajectory curvature of each expected trajectory point based on the local expected motion trajectory, and binding the trajectory curvature with the corresponding control cycle to obtain the trajectory curvature features of the expected motion trajectory.

[0095] In some embodiments, the step of inputting command change features and trajectory curvature features into an adaptive filtering switching model, and the adaptive filtering switching model identifying the current servo control scenario based on the command change rate and trajectory curvature features, includes: inputting the command change rate, command change duration, and trajectory curvature into the adaptive filtering switching model; when the command change rate is higher than a preset rapid change threshold and the command change duration is shorter than a preset rapid duration, it is identified as a tracking scenario with rapid command change, and a tracking scenario identifier is output; when the command change rate is lower than a preset stable change threshold, the command change duration is longer than a preset stable duration, and the trajectory curvature is lower than a preset stable curvature threshold, it is identified as a stable scenario with uniform spraying, and a stable scenario identifier is output; when neither of the two scenario identification conditions is met, the servo control scenario identification result of the previous control cycle is maintained.

[0096] In some embodiments, before inputting the command change features and trajectory curvature features into the adaptive filtering switching model, and before the adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features, the method further includes: collecting robot motion command samples during historical teleoperated spraying operations, wherein the robot motion command samples carry operation stage labeling information; labeling the command samples during the operator's rapid movement of the spray gun stage as tracking scenario samples, and labeling the command samples during the uniform speed spraying stage as stable scenario samples; extracting the command change rate, command change duration, and trajectory curvature of the tracking scenario samples and stable scenario samples as training features, performing training on the scenario classification model, and determining preset rapid change threshold, preset rapid duration, preset stable change threshold, preset stable duration, and preset stable curvature threshold; determining the filtering parameters of the high-pass filter based on the command frequency band of the tracking scenario samples, determining the filtering parameters of the strong smoothing filter based on the frequency band of hand tremors in the stable scenario samples, and integrating the scenario classification model, the high-pass filter, and the strong smoothing filter into an adaptive filtering switching model.

[0097] In some embodiments, when a tracking scenario with rapidly changing instructions is identified, the adaptive filtering switching model switches to a high-pass filtering mode, and a high-pass filter is used to perform filtering processing on the motion instructions to retain the rapidly changing components in the motion instructions. This includes: when a tracking scenario identifier is received, the adaptive filtering switching model switches to a high-pass filtering mode; the high-pass filter performs filtering processing on the robot motion instructions of the current control cycle according to the filtering parameters corresponding to the tracking scenario, allowing rapidly changing components higher than the high-pass cutoff frequency to pass through, and filtering out low-frequency drift components in the robot motion instructions; the filtering delay in the high-pass filtering mode is limited to within a preset tracking delay limit, and a motion instruction retaining the rapidly changing components is output.

[0098] In some embodiments, when a stable scene of uniform spraying is identified, the adaptive filtering switching model switches to a strong smoothing filter mode, and a strong smoothing filter is used to perform filtering processing on the motion commands to suppress high-frequency jitter components in the motion commands. This includes: when a stable scene identifier is received, the adaptive filtering switching model switches to a strong smoothing filter mode; the strong smoothing filter performs filtering processing on the robot motion commands of the current control cycle according to the filtering parameters corresponding to the stable scene; the strong smoothing filter uses a sliding window weighted average method to allow uniform motion components below the smoothing cutoff frequency to pass through, and filters out high-frequency jitter components corresponding to operator hand tremors; a weighted average calculation is performed on the robot motion commands within the sliding window, and the output motion commands with motion speed fluctuations limited to within a preset stable fluctuation limit are generated.

[0099] In some embodiments, sending the filtered motion commands to the servo driver of the painting robot to control the painting robot to move according to the filtered motion commands and perform the painting operation includes: converting the filtered motion commands into joint control commands corresponding to each joint according to the kinematic relationship of the painting robot; sending the joint control commands to the servo driver of the painting robot, which drives the servo motor corresponding to each joint to move; collecting the actual operating data of the servo motors and feeding it back to the servo control system to perform closed-loop adjustment; and controlling the spray gun to turn on and perform uniform speed painting operation according to the filtered motion commands when the robot motion command indicates that the spray gun is in the painting area.

[0100] In some embodiments, the method further includes: a high-pass filter and a strong smoothing filter operating in parallel in the servo control system, with the high-pass filter result and the strong smoothing filter result being output simultaneously in each control cycle; when the servo control scene identification result of the adaptive filter switching model changes, a filter mode switching transition period is entered, and during the filter mode switching transition period, the high-pass filter result and the strong smoothing filter result are weighted and fused, with the fusion weight gradually changing along the switching direction within a consecutive preset number of control cycles; when the filter mode switching transition period ends, the fusion weight is completely switched to the filter output corresponding to the servo control scene after the switch; the vibration feedback quantity of the servo driver is collected, and when the vibration feedback quantity exceeds a preset vibration limit, the passband of the strong smoothing filter is automatically narrowed and the narrowed filter parameters are used for filtering processing of subsequent stable scenes.

[0101] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the above-described adaptive filtering control system for remote operation servo commands of the painting robot and its various modules can be referred to the corresponding contents in the various embodiments of the above-described adaptive filtering control method for remote operation servo commands of the painting robot, and will not be repeated here.

[0102] The aforementioned adaptive filtering control method for teleoperated servo commands of the painting robot can be implemented as a computer program, which can be used in, for example... Figure 3 It runs on the system shown.

[0103] Please see Figure 4 , Figure 4 This is a schematic block diagram of the servo control system provided in an embodiment of this application. The servo control system includes a processor, a memory, and a network interface connected via a device bus, wherein the memory may include a storage medium and internal memory.

[0104] The storage medium can store operating devices and computer programs. The computer program includes program instructions that, when executed, cause the processor to perform any adaptive filtering control method for the teleoperated servo commands of the painting robot.

[0105] The processor provides computing and control capabilities to support the operation of the entire servo control system.

[0106] The internal memory provides an environment for the execution of computer programs in non-volatile storage media. When the computer program is executed by the processor, it enables the processor to execute any kind of adaptive filtering control method for teleoperated servo commands of the painting robot.

[0107] This network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that... Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the terminal to which the present application is applied. The specific servo control system may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0108] It should be understood that the processor can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among these, a general-purpose processor can be a microprocessor or any conventional processor.

[0109] In one embodiment, the processor is configured to run a computer program stored in memory to perform the following steps: The system receives a sequence of robot motion commands from a remote control terminal, extracts the command change features of the motion commands cycle by cycle, including the command change rate and the duration of the command change. At the same time, it calculates the expected motion trajectory based on the motion command sequence and extracts the trajectory curvature features of the expected motion trajectory. The command change features and trajectory curvature features are input into an adaptive filtering switching model. The adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features. The current servo control scenario includes a tracking scenario with rapidly changing commands and a stable scenario with uniform spraying speed. When the tracking scene is identified as a rapidly changing command, the adaptive filtering switching model switches to the high-pass filtering mode, using a high-pass filter to filter the motion command and retain the rapidly changing components in the motion command; when the scene is identified as a stable scene of uniform spraying, the adaptive filtering switching model switches to the strong smoothing filtering mode, using a strong smoothing filter to filter the motion command and suppress the high-frequency jitter components in the motion command. The filtered motion commands are sent to the servo drive of the painting robot, which controls the painting robot to move according to the filtered motion commands and perform the painting operation.

[0110] In some embodiments, the process of receiving a sequence of robot motion commands from a remote control terminal and extracting command change features of the motion commands cycle by cycle, including command change rate and command change duration, includes: receiving robot motion commands from the remote control terminal according to a control cycle, the robot motion commands including position increment commands and speed commands; caching the robot motion commands into a sequence of robot motion commands in the order of receipt time; performing differential calculation between the robot motion commands of the current control cycle and the robot motion commands of the previous control cycle to obtain the command change rate of the current control cycle; continuously counting the number of control cycles whose command change rates are within the same change range from the current control cycle forward, and multiplying the number of control cycles by the control cycle duration to obtain the command change duration.

[0111] In some embodiments, the step of calculating the expected motion trajectory based on the motion command sequence and extracting the trajectory curvature features of the expected motion trajectory includes: starting from the current position of the spray gun end, accumulating the position increment commands in the robot motion command sequence cycle by cycle to obtain the expected trajectory point sequence; fitting a local expected motion trajectory based on a continuously preset number of expected trajectory points; calculating the trajectory curvature of each expected trajectory point based on the local expected motion trajectory, and binding the trajectory curvature with the corresponding control cycle to obtain the trajectory curvature features of the expected motion trajectory.

[0112] In some embodiments, the step of inputting command change features and trajectory curvature features into an adaptive filtering switching model, and the adaptive filtering switching model identifying the current servo control scenario based on the command change rate and trajectory curvature features, includes: inputting the command change rate, command change duration, and trajectory curvature into the adaptive filtering switching model; when the command change rate is higher than a preset rapid change threshold and the command change duration is shorter than a preset rapid duration, it is identified as a tracking scenario with rapid command change, and a tracking scenario identifier is output; when the command change rate is lower than a preset stable change threshold, the command change duration is longer than a preset stable duration, and the trajectory curvature is lower than a preset stable curvature threshold, it is identified as a stable scenario with uniform spraying, and a stable scenario identifier is output; when neither of the two scenario identification conditions is met, the servo control scenario identification result of the previous control cycle is maintained.

[0113] In some embodiments, before inputting the command change features and trajectory curvature features into the adaptive filtering switching model, and before the adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features, the method further includes: collecting robot motion command samples during historical teleoperated spraying operations, wherein the robot motion command samples carry operation stage labeling information; labeling the command samples during the operator's rapid movement of the spray gun stage as tracking scenario samples, and labeling the command samples during the uniform speed spraying stage as stable scenario samples; extracting the command change rate, command change duration, and trajectory curvature of the tracking scenario samples and stable scenario samples as training features, performing training on the scenario classification model, and determining preset rapid change threshold, preset rapid duration, preset stable change threshold, preset stable duration, and preset stable curvature threshold; determining the filtering parameters of the high-pass filter based on the command frequency band of the tracking scenario samples, determining the filtering parameters of the strong smoothing filter based on the frequency band of hand tremors in the stable scenario samples, and integrating the scenario classification model, the high-pass filter, and the strong smoothing filter into an adaptive filtering switching model.

[0114] In some embodiments, when a tracking scenario with rapidly changing instructions is identified, the adaptive filtering switching model switches to a high-pass filtering mode, and a high-pass filter is used to perform filtering processing on the motion instructions to retain the rapidly changing components in the motion instructions. This includes: when a tracking scenario identifier is received, the adaptive filtering switching model switches to a high-pass filtering mode; the high-pass filter performs filtering processing on the robot motion instructions of the current control cycle according to the filtering parameters corresponding to the tracking scenario, allowing rapidly changing components higher than the high-pass cutoff frequency to pass through, and filtering out low-frequency drift components in the robot motion instructions; the filtering delay in the high-pass filtering mode is limited to within a preset tracking delay limit, and a motion instruction retaining the rapidly changing components is output.

[0115] In some embodiments, when a stable scene of uniform spraying is identified, the adaptive filtering switching model switches to a strong smoothing filter mode, and a strong smoothing filter is used to perform filtering processing on the motion commands to suppress high-frequency jitter components in the motion commands. This includes: when a stable scene identifier is received, the adaptive filtering switching model switches to a strong smoothing filter mode; the strong smoothing filter performs filtering processing on the robot motion commands of the current control cycle according to the filtering parameters corresponding to the stable scene; the strong smoothing filter uses a sliding window weighted average method to allow uniform motion components below the smoothing cutoff frequency to pass through, and filters out high-frequency jitter components corresponding to operator hand tremors; a weighted average calculation is performed on the robot motion commands within the sliding window, and the output motion commands with motion speed fluctuations limited to within a preset stable fluctuation limit are generated.

[0116] In some embodiments, sending the filtered motion commands to the servo driver of the painting robot to control the painting robot to move according to the filtered motion commands and perform the painting operation includes: converting the filtered motion commands into joint control commands corresponding to each joint according to the kinematic relationship of the painting robot; sending the joint control commands to the servo driver of the painting robot, which drives the servo motor corresponding to each joint to move; collecting the actual operating data of the servo motors and feeding it back to the servo control system to perform closed-loop adjustment; and controlling the spray gun to turn on and perform uniform speed painting operation according to the filtered motion commands when the robot motion command indicates that the spray gun is in the painting area.

[0117] In some embodiments, the method further includes: a high-pass filter and a strong smoothing filter operating in parallel in the servo control system, with the high-pass filter result and the strong smoothing filter result being output simultaneously in each control cycle; when the servo control scene identification result of the adaptive filter switching model changes, a filter mode switching transition period is entered, and during the filter mode switching transition period, the high-pass filter result and the strong smoothing filter result are weighted and fused, with the fusion weight gradually changing along the switching direction within a consecutive preset number of control cycles; when the filter mode switching transition period ends, the fusion weight is completely switched to the filter output corresponding to the servo control scene after the switch; the vibration feedback quantity of the servo driver is collected, and when the vibration feedback quantity exceeds a preset vibration limit, the passband of the strong smoothing filter is automatically narrowed and the narrowed filter parameters are used for filtering processing of subsequent stable scenes.

[0118] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the steps of the adaptive filtering control method for teleoperated servo commands of a painting robot as provided in any embodiment of this application.

[0119] The computer-readable storage medium can be an internal storage unit of the servo control system described in the foregoing embodiments, such as a hard disk or memory of the servo control system. Alternatively, the computer-readable storage medium can be an external storage device of the servo control system, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the servo control system.

[0120] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An adaptive filtering control method for remote operation servo commands of a painting robot, applied to the servo control system of a remotely operated painting robot, characterized in that, include: The system receives a sequence of robot motion commands from a remote control terminal, extracts the command change features of the motion commands cycle by cycle, including the command change rate and the duration of the command change. At the same time, it calculates the expected motion trajectory based on the motion command sequence and extracts the trajectory curvature features of the expected motion trajectory. The command change features and trajectory curvature features are input into an adaptive filtering switching model. The adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features. The current servo control scenario includes a tracking scenario with rapidly changing commands and a stable scenario with uniform spraying speed. When the tracking scene is identified as a rapidly changing command, the adaptive filtering switching model switches to the high-pass filtering mode, using a high-pass filter to filter the motion command and retain the rapidly changing components in the motion command; when the scene is identified as a stable scene of uniform spraying, the adaptive filtering switching model switches to the strong smoothing filtering mode, using a strong smoothing filter to filter the motion command and suppress the high-frequency jitter components in the motion command. The filtered motion commands are sent to the servo drive of the painting robot, which controls the painting robot to move according to the filtered motion commands and perform the painting operation.

2. The method according to claim 1, characterized in that, The sequence of robot motion commands received from the remote control terminal is used to extract command change features of the motion commands on a cycle-by-cycle basis. These features include the command change rate and the duration of the command change, including: Receive robot motion commands sent by the remote control terminal according to the control cycle. The robot motion commands include position increment commands and speed commands. Cache the robot motion commands into a robot motion command sequence according to the order of receipt time. The robot motion command in the current control cycle is compared with the robot motion command in the previous control cycle by performing a differential calculation to obtain the command change rate in the current control cycle. Count the number of control cycles whose command change rate falls within the same range forward from the current control cycle. Multiply the number of control cycles by the control cycle duration to obtain the duration of the command change.

3. The method according to claim 2, characterized in that, The step of calculating the expected motion trajectory based on the motion command sequence and extracting the trajectory curvature features of the expected motion trajectory includes: Starting from the current position of the spray gun tip, the position increment commands in the robot motion command sequence are accumulated cycle by cycle to obtain the expected trajectory point sequence; Fit a local expected motion trajectory based on a continuously preset number of expected trajectory points; The trajectory curvature of each expected trajectory point is calculated based on the local expected motion trajectory, and the trajectory curvature is bound to the corresponding control cycle to obtain the trajectory curvature characteristics of the expected motion trajectory.

4. The method according to claim 1, characterized in that, The process involves inputting command change characteristics and trajectory curvature characteristics into an adaptive filtering switching model. The adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature characteristics, including: Input the command change rate, command change duration, and trajectory curvature into the adaptive filtering switching model; When the command change rate is higher than the preset rapid change threshold and the duration of the command change is shorter than the preset rapid duration, it is identified as a tracking scenario with rapid command change, and a tracking scenario identifier is output. When the command change rate is lower than the preset stable change threshold, the duration of the command change is longer than the preset stable duration, and the trajectory curvature is lower than the preset stable curvature threshold, it is identified as a stable scene of uniform spraying and a stable scene identifier is output. If neither of the two scene recognition conditions is met, the servo control scene recognition result of the previous control cycle is retained.

5. The method according to claim 4, characterized in that, Before the process of inputting command change characteristics and trajectory curvature characteristics into the adaptive filtering switching model, and before the adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature characteristics, the process further includes: Collect robot motion command samples from historical remote-operated spraying operations. The robot motion command samples carry operation stage annotation information. The instruction samples during the operator's rapid movement of the spray gun phase are labeled as tracking scene samples, and the instruction samples during the uniform speed spraying phase are labeled as stable scene samples. Extract the command change rate, command change duration, and trajectory curvature of the tracking scene samples and the stationary scene samples as training features, perform training on the scene classification model, and determine the preset rapid change threshold, preset rapid duration, preset stationary change threshold, preset stationary duration, and preset stationary curvature threshold. The filtering parameters of the high-pass filter are determined based on the instruction frequency band of the tracked scene samples, and the filtering parameters of the strong smoothing filter are determined based on the frequency band of hand tremors in the stable scene samples. The scene classification model, the high-pass filter, and the strong smoothing filter are integrated into an adaptive filtering switching model.

6. The method according to claim 1, characterized in that, When a tracking scenario with rapidly changing instructions is identified, the adaptive filtering switching model switches to high-pass filtering mode, using a high-pass filter to filter the motion instructions and retain the rapidly changing components in the motion instructions, including: When a tracking scene identifier is received, the adaptive filtering switching model switches to high-pass filtering mode; The high-pass filter performs filtering on the robot motion command of the current control cycle according to the filtering parameters corresponding to the tracking scenario, allowing fast-changing components above the high-pass cutoff frequency to pass through, and filtering out low-frequency drift components in the robot motion command; The filtering delay in high-pass filtering mode is limited to a preset tracking delay limit, and the output motion command retains the rapidly changing components.

7. The method according to claim 1, characterized in that, When the scene is identified as a stable scene with uniform spraying speed, the adaptive filtering switching model switches to a strong smoothing filtering mode. A strong smoothing filter is used to filter the motion commands, suppressing high-frequency jitter components in the motion commands, including: When a stable scene is received, the adaptive filtering switching model switches to the strong smoothing filtering mode. The strong smoothing filter performs filtering processing on the robot motion command of the current control cycle according to the filtering parameters corresponding to the stable scene. The strong smoothing filter adopts the sliding window weighted average method, allowing uniform motion components below the smoothing cutoff frequency to pass through, and filtering out the high-frequency jitter components corresponding to the operator's hand tremors. The robot motion commands within the sliding window are calculated using a weighted average, and the output motion commands are limited to a preset stable fluctuation limit.

8. The method according to claim 1, characterized in that, The step of sending the filtered motion commands to the servo driver of the painting robot, controlling the painting robot to move according to the filtered motion commands and perform the painting operation, includes: The filtered motion commands are converted into joint control commands for each joint according to the kinematic relationship of the painting robot. The joint control commands are sent to the servo drive of the painting robot, and the servo drive drives the servo motor corresponding to each joint to move. The actual operating data of the servo motor is collected and fed back to the servo control system to perform closed-loop regulation. When the robot's motion command instructs the spray gun to be in the spraying area, the spray gun is turned on and performs a uniform spraying operation according to the filtered motion command.

9. The method according to claim 1, characterized in that, The method further includes: The high-pass filter and the strong smoothing filter operate in parallel in the servo control system, and the high-pass filter result and the strong smoothing filter result are output simultaneously in each control cycle. When the servo control scene recognition result of the adaptive filtering switching model changes, the filtering mode switching transition period is entered. During the filtering mode switching transition period, the high-pass filtering result and the strong smoothing filtering result are weighted and fused. The fusion weight changes gradually along the switching direction within a number of consecutive preset control cycles. When the filter mode switching transition period ends, the fusion weights will be completely switched to the filter output corresponding to the servo control scenario after the switch; The vibration feedback of the servo drive is collected. When the vibration feedback exceeds the preset vibration limit, the passband of the strong smoothing filter is automatically narrowed and the narrowed filter parameters are used for subsequent filtering of stable scenes.

10. A teleoperated servo command adaptive filtering control system for a painting robot, used to implement the method as described in any one of claims 1-9, characterized in that, A servo control system for remotely operated painting robots includes: The sequence receiving unit is used to receive the robot motion command sequence issued by the remote control terminal, extract the command change features of the motion command on a control cycle basis, including the command change rate and the duration of the command change, and calculate the expected motion trajectory based on the motion command sequence and extract the trajectory curvature features of the expected motion trajectory; input the command change features and trajectory curvature features into the adaptive filtering switching model, and the adaptive filtering switching model identifies the current servo control scenario based on the command change rate and trajectory curvature features. The current servo control scenario includes a tracking scenario with rapidly changing commands and a stable scenario with uniform spraying. The component suppression unit is used to switch the adaptive filtering switching model to high-pass filtering mode when the tracking scene is identified as having rapidly changing instructions. The high-pass filter is used to perform filtering processing on the motion instructions, retaining the rapidly changing components in the motion instructions. When the scene is identified as having a stable scene of uniform spraying, the adaptive filtering switching model is switched to strong smoothing filtering mode. The strong smoothing filter is used to perform filtering processing on the motion instructions, suppressing the high-frequency jitter components in the motion instructions. The work execution unit is used to send the filtered motion commands to the servo drive of the painting robot, and control the painting robot to move according to the filtered motion commands and perform the painting operation.