Incremental updating method, device and computer equipment for cabinet door handle operation strategy library
By identifying and decomposing the operation strategies of unknown cabinet door handles, an operation strategy library is formed, which solves the safety risks of robots operating unknown handles in substations and improves the automation and safety of inspection operations.
Patent Information
- Application Number
- CN202611509631.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-28
- Publication Date
- 2026-11-20
AI Technical Summary
When mobile inspection robots encounter new cabinet door handles not covered by the template or variations with structural parameters that exceed the template range in substations, there are safety risks such as accidental pressing, empty gripping, excessive torque, or damage to the cabinet door. Traditional methods are difficult to meet the engineering requirements.
By identifying the type, category confidence level, and structural parameters of cabinet door handles, the robotic arm is controlled to perform demonstration operations, obtain demonstration trajectories and real-time visual features, and decompose the trajectory into multiple operation stages to form an operation strategy library, which is used to instruct the robotic arm to safely operate unknown handles.
It improves the automation level and safety of substation inspection operations, ensuring that the robotic arm can reliably operate unknown cabinet door handles and avoid safety risks.
Smart Images

Figure CN123129175A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power system technology, and in particular to an incremental update method, apparatus and computer equipment for a cabinet door handle operation strategy library. Background Technology
[0002] When mobile inspection robots perform cabinet door opening and closing tasks in substations, they typically rely on a pre-set handle type library and operation template library. They obtain the robotic arm's operating parameters by visual recognition and template matching, thereby completing the cabinet door opening and closing action.
[0003] However, significant differences in the structure of cabinet door handles arise from variations in manufacturers, batches, and modification histories. When robots encounter new handles not covered by the preset library, or variations with structural parameters significantly exceeding the template range, directly using existing template libraries carries safety risks such as accidental pressing, empty gripping, excessive torque, or damage to the cabinet door. Therefore, traditional methods are insufficient to meet the engineering requirements of this vertical scenario of substation cabinet door operation. Summary of the Invention
[0004] Therefore, it is necessary to provide an incremental update method, device, computer equipment, computer-readable storage medium, and computer program product for a cabinet door handle operation strategy library to address the above-mentioned technical problems. This method can meet the engineering needs of the vertical scenario of substation cabinet door operation and ensure the safety of cabinet door handle operation.
[0005] Firstly, this application provides an incremental update method for a cabinet door handle operation strategy library, including:
[0006] Based on the handle images of the target cabinet door handles in the substation, determine the handle category, category confidence level, and handle structural parameters;
[0007] If the target cabinet door handle is determined to be an unknown handle based on the handle type, category confidence, and handle structure parameters, the robotic arm is controlled to perform a demonstration operation on the target cabinet door handle, and the demonstration trajectory of the robotic arm end and the real-time visual features of the target cabinet door handle are obtained during the demonstration operation.
[0008] The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features and handle structure parameters of the robotic arm end effector in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
[0009] In one embodiment, the demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage, including:
[0010] Based on the velocity, attitude, end contact force and instrument clamping force of each trajectory point in the demonstration trajectory, determine the corresponding operation stage for each trajectory point.
[0011] Based on each operational stage, the demonstration trajectory is decomposed into multiple trajectory segments.
[0012] In one embodiment, based on the velocity, attitude, end-effector contact force, and instrument clamping force of each trajectory point in the demonstration trajectory, the corresponding operation stage for each trajectory point is determined, including:
[0013] Determine the corresponding operating conditions for each operational stage;
[0014] If the velocity, attitude, end contact force, and instrument clamping force of multiple consecutive trajectory points in the demonstration trajectory meet the operating conditions corresponding to any operating stage, the corresponding trajectory point is determined to be the current operating stage.
[0015] In one embodiment, when the velocity, attitude, end-effector contact force, and instrument clamping force of multiple consecutive trajectory points in the demonstration trajectory satisfy the operating conditions corresponding to any operating stage, the corresponding trajectory point is determined to correspond to the current operating stage, including:
[0016] When the speed of multiple consecutive trajectory points is greater than the preset speed, the speed direction is towards the target cabinet door handle, and the end contact force is not greater than the preset contact force, the corresponding approach stage of the trajectory point is determined.
[0017] If the end contact force of any trajectory point changes abruptly, the end contact force of multiple consecutive trajectory points after the current trajectory point is greater than the preset contact force, and the instrument clamping force is less than the preset clamping force, the corresponding contact stage of the trajectory point is determined.
[0018] When the clamping force at multiple consecutive trajectory points is greater than the preset clamping force and the rate of change of attitude is not greater than the preset rate of change, the corresponding clamping stage of the trajectory point is determined.
[0019] When the clamping force at multiple consecutive trajectory points is greater than the preset clamping force and the rate of change of attitude is greater than the preset rate of change, the corresponding trajectory point is determined to be in the unlocking stage.
[0020] If the speed of multiple consecutive trajectory points is greater than the preset speed, the speed direction is away from the target cabinet door handle, and the end contact force is not greater than the preset contact force, then the corresponding trajectory point is determined to exit the stage.
[0021] In one embodiment, the method further includes:
[0022] Obtain a reference image of the handle to be operated;
[0023] Extract the reference visual features and reference structural parameters of the handle to be operated from the reference image;
[0024] Based on the operation strategy library, reference operation parameters that match the reference visual features and reference structural parameters are determined to control the robotic arm to operate the handle to be operated according to the reference operation parameters.
[0025] In one embodiment, reference operation parameters matching the reference visual features and reference structural parameters are determined according to an operation strategy library, including:
[0026] Candidate operational parameters that match the reference visual features and reference structural parameters are identified from the operational strategy library;
[0027] Candidate operating parameters are tested and verified using reference contact force and reference clamping force, and response data of the robotic arm end effector are obtained during the testing and verification process.
[0028] If the response data meets the preset conditions, the candidate operation parameters will be used as the reference operation parameters.
[0029] In one embodiment, the method further includes:
[0030] If the response data does not meet the preset conditions, the robotic arm is prohibited from performing operations on the handle that exceed the preset force.
[0031] Secondly, this application also provides an incremental update device for a cabinet door handle operation strategy library, comprising:
[0032] The determination module is used to determine the handle category, category confidence level, and handle structural parameters based on the handle images of target cabinet door handles in the substation.
[0033] The control module is used to control the robotic arm to perform a demonstration operation on the target cabinet door handle when the target cabinet door handle is determined to be an unknown handle based on the handle type, category confidence, and handle structure parameters. The module also acquires the demonstration trajectory of the robotic arm end effector and the real-time visual features of the target cabinet door handle during the demonstration operation.
[0034] The writing module is used to decompose the demonstration trajectory into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features and handle structure parameters of the robotic arm end effector in each trajectory segment, the module determines the operation strategy corresponding to the current trajectory segment and stores it in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
[0035] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0036] Based on the handle images of the target cabinet door handles in the substation, determine the handle category, category confidence level, and handle structural parameters;
[0037] If the target cabinet door handle is determined to be an unknown handle based on the handle type, category confidence, and handle structure parameters, the robotic arm is controlled to perform a demonstration operation on the target cabinet door handle, and the demonstration trajectory of the robotic arm end and the real-time visual features of the target cabinet door handle are obtained during the demonstration operation.
[0038] The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features and handle structure parameters of the robotic arm end effector in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
[0039] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0040] Based on the handle images of the target cabinet door handles in the substation, determine the handle category, category confidence level, and handle structural parameters;
[0041] If the target cabinet door handle is determined to be an unknown handle based on the handle type, category confidence, and handle structure parameters, the robotic arm is controlled to perform a demonstration operation on the target cabinet door handle, and the demonstration trajectory of the robotic arm end and the real-time visual features of the target cabinet door handle are obtained during the demonstration operation.
[0042] The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features and handle structure parameters of the robotic arm end effector in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
[0043] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0044] Based on the handle images of the target cabinet door handles in the substation, determine the handle category, category confidence level, and handle structural parameters;
[0045] If the target cabinet door handle is determined to be an unknown handle based on the handle type, category confidence, and handle structure parameters, the robotic arm is controlled to perform a demonstration operation on the target cabinet door handle, and the demonstration trajectory of the robotic arm end and the real-time visual features of the target cabinet door handle are obtained during the demonstration operation.
[0046] The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features and handle structure parameters of the robotic arm end effector in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
[0047] The aforementioned incremental update method, apparatus, computer equipment, computer-readable storage medium, and computer program product for the cabinet door handle operation strategy library determine the handle category, category confidence level, and handle structural parameters based on the handle image of the target cabinet door handle in the substation. If the target cabinet door handle is determined to be an unknown handle based on the handle category, category confidence level, and handle structural parameters, a robotic arm is controlled to perform a demonstration operation on the target cabinet door handle. The demonstration trajectory of the robotic arm's end effector and the real-time visual features of the target cabinet door handle are acquired during the demonstration operation. The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features, and handle structural parameters of the robotic arm's end effector in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters. In this way, when an unknown handle is detected in a target cabinet door in a substation, the robotic arm is controlled to perform a remote operation demonstration on the target cabinet door handle, which is divided into multiple operation stages. For each operation stage, operation parameters bound to real-time visual features and handle structural parameters are extracted to form a structured and reusable operation strategy, which is stored in the initial strategy library. When the robot inspects the same type of handle to be operated again, it can reuse the operation parameters in the operation strategy library. The operation strategy library can continuously evolve, improving the automation level and safety of substation inspection operations. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 This is an application environment diagram of the incremental update method for the cabinet door handle operation strategy library in one embodiment.
[0050] Figure 2 This is a flowchart illustrating the incremental update method for the cabinet door handle operation strategy library in one embodiment;
[0051] Figure 3 This is a schematic diagram of the overall process of the incremental update method for the cabinet door handle operation strategy library in one embodiment;
[0052] Figure 4 This is a structural block diagram of an incremental update device for a cabinet door handle operation strategy library in one embodiment.
[0053] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0054] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0055] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0056] The incremental update method for the cabinet door handle operation strategy library provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with inspection robot 104 via a network. Inspection robot 104 includes a robotic arm with an end effector for operating cabinet door handles in the substation. A data storage system can store the data that terminal 102 needs to process. The data storage system can be integrated into terminal 102 or placed in the cloud or other network servers. Terminal 102 determines the handle category, category confidence, and handle structure parameters based on the handle image of the target cabinet door handle in the substation. If the target cabinet door handle is determined to be an unknown handle based on the handle category, category confidence, and handle structure parameters, terminal 102 controls the robotic arm to perform a demonstration operation on the target cabinet door handle, acquiring the demonstration trajectory of the robotic arm end effector and the real-time visual features of the target cabinet door handle during the demonstration operation. The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features, and handle structure parameters of the robotic arm end effector in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, drones, low-altitude aircraft, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, and projection equipment. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses.
[0057] In one exemplary embodiment, such as Figure 2 As shown, an incremental update method for a cabinet door handle operation strategy library is provided, which is then applied to... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps 202 to 206. Wherein:
[0058] Step 202: Based on the handle image of the target cabinet door handle in the substation, determine the handle category, category confidence level, and handle structural parameters.
[0059] The target cabinet door handle refers to the handle of the target cabinet door in the substation. Different cabinet doors in the substation may have handles with different shapes, materials, colors, and other characteristics. During the inspection process, the inspection robot needs to control the robotic arm to perform operations such as clamping, pulling, and pushing open each cabinet door handle.
[0060] The inspection robot is equipped with a camera device. When inspecting a target cabinet door, it takes a picture of the door handle to obtain an image of the handle. The handle image may include at least one image.
[0061] The terminal uses an image recognition algorithm to identify the handle image and determine the handle category, category confidence, and handle structural parameters of the target cabinet door handle.
[0062] The handle category indicates the type of the target cabinet door handle. For example, handle categories include horizontal handles, vertical push-pull handles, and round knob handles. The robotic arm operates the handle differently depending on the handle type. For instance, for a horizontal handle, the robotic arm can grip the handle and push or pull the target cabinet door back and forth. For a vertical push-pull handle, the robotic arm can grip the handle and push or pull the target cabinet door to the sides. For a round knob handle, the robotic arm can grip and rotate the handle to open or close the target cabinet door.
[0063] Category confidence indicates the probability that a target cabinet door handle belongs to each handle category, and is typically a decimal between 0 and 1. A higher confidence level indicates a greater probability that the target cabinet door handle belongs to the corresponding handle category.
[0064] The handle structure parameters are the physical geometric quantification values of the target cabinet door handle, including but not limited to length, width, height, depth, coordinates of the center point of the rotation axis, and handle rod diameter.
[0065] For example, an object detection model is used to identify the handle in the handle image, and the position of the target cabinet door handle in the handle image, the handle category, and the category confidence corresponding to each handle category are obtained.
[0066] For example, based on the position of the target cabinet door handle in the handle image, the handle region in the handle image is determined. Geometric key points are extracted from the handle region, including the handle end corners, root center points, and edge intersection points. According to the transformation relationship between the image coordinate system and the camera coordinate system, the two-dimensional coordinates of each geometric key point in the handle image are transformed to the camera coordinate system, obtaining the three-dimensional coordinates of each geometric key point in the camera coordinate system. Based on the three-dimensional coordinates of each geometric key point, the structural parameters in the camera coordinate system are obtained through geometric calculations. Using a pre-calibrated hand-eye transformation matrix, the structural parameters in the camera coordinate system are transformed to the robot base coordinate system, obtaining the handle structural parameters in the robot base coordinate system. According to the pre-calibrated transformation relationship between the robot base coordinate system and the cabinet door coordinate system, the handle structural parameters in the robot base coordinate system are transformed to the handle structural parameters in the cabinet door coordinate system.
[0067] Step 204: If the target cabinet door handle is determined to be an unknown handle based on the handle type, category confidence, and handle structure parameters, control the robotic arm to perform a demonstration operation on the target cabinet door handle, and obtain the demonstration trajectory of the robotic arm end and the real-time visual features of the target cabinet door handle during the demonstration operation.
[0068] Specifically, if any one of the handle category, category confidence level, or handle structural parameters meets the preset conditions, the target cabinet door handle is determined to be an unknown handle; if none of the preset conditions are met, the target cabinet door handle is determined to be a known handle. An unknown handle is one that the robot has not learned. Operating the robotic arm on an unknown handle according to the operating parameters in the operation strategy library poses safety risks such as accidental pressing, empty gripping, excessive torque, or damage to the cabinet door.
[0069] For example, the preset conditions could be that the category confidence level for each handle category is less than a preset confidence level, and the difference between the handle structural parameters and the preset structural parameters is greater than a preset difference. Preset conditions could also include failure of pre-execution simulation verification, the number of failed operations on similar handles in the past exceeding a threshold, or remote personnel actively marking the handle as an unknown handle.
[0070] A demonstration operation refers to the process of controlling a robotic arm to completely operate the target cabinet door handle via a master control handle. During the demonstration operation, the end effector of the robotic arm moves in space, forming a demonstration trajectory.
[0071] For example, the motion path of the robotic arm's end effector in space during a demonstration operation is recorded at a sampling rate exceeding a preset frequency, forming a demonstration trajectory. The demonstration trajectory includes multiple trajectory points.
[0072] Real-time visual features refer to the visual characteristics of the target cabinet door handle during the demonstration operation. These can be captured by the robot's camera device. Real-time visual features may include handle surface texture, edge contour deformation, and other characteristics.
[0073] Understandably, all operational parameters in the demonstration trajectory were converted to the cabinet door coordinate system.
[0074] Step 206: Decompose the demonstration trajectory into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features and handle structure parameters of the robotic arm end effector in each trajectory segment, determine the operation strategy corresponding to the current trajectory segment and store it in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
[0075] The robotic arm's demonstration operation process includes multiple operational phases, each with distinct dynamic characteristics. These phases include, for example, approach, contact, gripping, unlocking, and exit phases.
[0076] Operational parameters refer to the quantified parameters of the actions performed by the robotic arm's end effector during the demonstration operation. For example, operational parameters include speed, posture, gripping force, rotation angle, peak torque protection value, end-effector contact force, and instrument gripping force. The terminal can record the operational parameters corresponding to each trajectory point.
[0077] The terminal decomposes the demonstration trajectory into multiple trajectory segments based on the operation parameters corresponding to each trajectory point in the demonstration trajectory and the dynamic characteristics of each of the multiple operation stages. Each trajectory segment corresponds to a different operation stage.
[0078] The operation strategy refers to a structured data set obtained by combining the operation parameters of the robotic arm's end effector, real-time visual features, and handle structural parameters. Each trajectory segment has a corresponding operation strategy.
[0079] The initial strategy library refers to a pre-built strategy library. It can be an empty database or a database storing multiple operation strategies. The operation strategies corresponding to each trajectory segment are stored in the initial strategy library, forming the operation strategy library, thus enabling incremental updates to the strategy library.
[0080] Understandably, the above method can be used to continuously update the operation library for any unknown handles in a substation. Handles to be operated refer to cabinet door handles in the substation that require inspection. Operating these handles based on a continuously updated operation strategy library can improve the automation level and safety of substation inspection operations.
[0081] In the incremental update method of the cabinet door handle operation strategy library mentioned above, the handle category, category confidence, and handle structure parameters are determined by the handle image of the target cabinet door handle in the substation. If the target cabinet door handle is determined to be an unknown handle based on the handle category, category confidence, and handle structure parameters, the robotic arm is controlled to perform a demonstration operation on the target cabinet door handle. The demonstration trajectory of the robotic arm end effector and the real-time visual features of the target cabinet door handle are obtained during the demonstration operation. The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features, and handle structure parameters of the robotic arm end effector in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters. In this way, when an unknown handle is detected in a target cabinet door in a substation, the robotic arm is controlled to perform a remote operation demonstration on the target cabinet door handle, which is divided into multiple operation stages. For each operation stage, operation parameters bound to real-time visual features and handle structural parameters are extracted to form a structured and reusable operation strategy, which is stored in the initial strategy library. When the robot inspects the same type of handle to be operated again, it can reuse the operation parameters in the operation strategy library. The operation strategy library can continuously evolve, improving the automation level and safety of substation inspection operations.
[0082] In an exemplary embodiment, the demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage, including: determining the operation stage corresponding to each trajectory point based on the velocity, attitude, end contact force and instrument clamping force of each trajectory point in the demonstration trajectory; and decomposing the demonstration trajectory into multiple trajectory segments according to each operation stage.
[0083] The terminal determines the operation stage corresponding to each trajectory point based on the operation parameters of each trajectory point and the dynamic characteristics of each operation stage. Based on each operation stage, the demonstration trajectory is decomposed into multiple trajectory segments.
[0084] The operating parameters include at least velocity, attitude, end-effector contact force, and instrument clamping force. Based on the operating parameters of multiple trajectory points and the dynamic characteristics of multiple operating stages, the corresponding operating stage for each trajectory point is determined. For each trajectory point, if the operating parameters of the current trajectory point match the dynamic characteristics of any operating stage, the operating stage corresponding to the current trajectory point is determined.
[0085] Understandably, the operational parameters of multiple trajectory points can be filtered before determining the operational phase. Alternatively, the operational phase corresponding to each trajectory point can be verified after the operational phase is determined to improve the accuracy of the operational phase division.
[0086] The terminal decomposes the demonstration trajectory into multiple trajectory segments according to the operation stage corresponding to each trajectory point, and the multiple trajectory segments correspond one-to-one with multiple operation stages.
[0087] In this embodiment, the operation stage is determined by the operation parameters. The decomposition process depends entirely on the robot's operation parameters and is not affected by visual interference such as ambient light in the substation. It remains stable and reliable in the complex lighting environment of the substation, improving the accuracy of trajectory segmentation.
[0088] In an exemplary embodiment, the operation stage corresponding to each trajectory point is determined based on the velocity, attitude, end contact force, and instrument clamping force of each trajectory point in the demonstration trajectory. This includes: determining the operation conditions corresponding to each operation stage; and determining the current operation stage corresponding to the corresponding trajectory point when the velocity, attitude, end contact force, and instrument clamping force of each of the multiple consecutive trajectory points in the demonstration trajectory meet the operation conditions corresponding to any operation stage.
[0089] Here, the operating conditions refer to the quantitative thresholds used to determine whether each trajectory point belongs to a specific operating stage. For example, the operating conditions can be the dynamic characteristics corresponding to each operating node.
[0090] Each operation stage includes multiple consecutive trajectory points. Therefore, this application proposes to determine whether the operation parameters of each of the multiple consecutive trajectory points in the demonstration trajectory meet the operation conditions corresponding to any operation stage. If the operation parameters of each of the multiple consecutive trajectory points meet the operation conditions corresponding to any operation stage, the current operation stage is determined to be represented by the multiple consecutive trajectory points.
[0091] For example, if the demonstration trajectory includes 1000 trajectory points, and the operation parameters of the 300th to 500th trajectory points meet the operation conditions corresponding to the clamping stage, then the clamping stage is determined to be the 300th to 500th trajectory points.
[0092] In this embodiment, the operation stage is determined by the joint operation parameters of multiple consecutive trajectory points. The operation parameters include at least speed, attitude, end contact force and instrument clamping force, which avoids the susceptibility to interference and misjudgment caused by relying on a single type of parameter, and improves the reliability of inspection under complex working conditions in substations.
[0093] In an exemplary embodiment, when the velocity, attitude, end-effector contact force, and instrument clamping force of multiple consecutive trajectory points in the demonstration trajectory meet the operating conditions corresponding to any operating stage, the corresponding trajectory point is determined to correspond to the current operating stage. This includes: determining the approach stage when the velocity of multiple consecutive trajectory points is greater than a preset velocity, the velocity direction is towards the target cabinet door handle, and the end-effector contact force is not greater than a preset contact force; determining the contact stage when the end-effector contact force of any trajectory point changes abruptly, the end-effector contact force of multiple consecutive trajectory points after the current trajectory point is greater than a preset contact force, and the instrument clamping force is less than a preset clamping force; determining the clamping stage when the clamping force of multiple consecutive trajectory points is greater than a preset clamping force, and the rate of change of attitude is not greater than a preset rate of change; determining the unlocking stage when the clamping force of multiple consecutive trajectory points is greater than a preset clamping force, and the rate of change of attitude is greater than a preset rate of change; and determining the exit stage when the velocity of multiple consecutive trajectory points is greater than a preset velocity, the velocity direction is away from the target cabinet door handle, and the end-effector contact force is not greater than a preset contact force.
[0094] The velocity of each trajectory point includes both magnitude and direction. If the magnitude of the velocity of multiple consecutive trajectory points is greater than the preset velocity, the velocity direction is towards the target cabinet door handle, and the end contact force is not greater than the preset contact force, it indicates that the end of the robotic arm is moving in the direction of the target cabinet door handle but has not yet made contact with it, thus determining the contact stage for the corresponding trajectory point.
[0095] If the clamping force at multiple consecutive trajectory points is greater than the preset clamping force, and the rate of change of attitude is not greater than the preset rate of change, it indicates that the end effector of the robotic arm is clamping the target cabinet door handle, and the corresponding trajectory point is determined to be the clamping stage.
[0096] If the clamping force at multiple consecutive trajectory points is greater than the preset clamping force, and the rate of change of attitude is greater than the preset rate of change, it indicates that the end effector of the robotic arm clamps and rotates the target cabinet door handle, thus determining the unlocking stage corresponding to the corresponding trajectory point.
[0097] If the speed of multiple consecutive trajectory points is greater than the preset speed, the speed direction is away from the target cabinet door handle, and the end contact force is not greater than the preset contact force, it indicates that the end of the robotic arm is moving in a direction away from the target cabinet door handle and has not contacted the target cabinet door handle. The corresponding trajectory point is then determined to be in the exit phase.
[0098] In some embodiments, if any trajectory point simultaneously satisfies the operational conditions of multiple operational stages, the operational stage corresponding to the current trajectory point is determined according to the timing of each operational stage and the adjacent trajectory points of the current trajectory point.
[0099] In this embodiment, the operation stage corresponding to each trajectory point is determined by the operation conditions of each operation stage, eliminating the need for complex iterative calculations and improving the efficiency and accuracy of stage decomposition.
[0100] In an exemplary embodiment, the method further includes: acquiring a reference image of the handle to be operated; extracting reference visual features and reference structural parameters of the handle to be operated from the reference image; and determining reference operation parameters that match the reference visual features and reference structural parameters according to an operation strategy library, so as to control the robotic arm to operate the handle to be operated according to the reference operation parameters.
[0101] The reference image refers to the image captured by the robot's camera device during the inspection process of the handle to be operated.
[0102] A feature extraction network is used to extract the visual features of the handle to be operated in the reference image, which are then used as reference visual features. Optionally, the reference image is preprocessed to determine the area of the handle to be operated in the preprocessed reference image. A reference handle image corresponding to the area of the handle to be operated is cropped from the preprocessed reference image, and the visual features of the reference handle image are extracted using a feature extraction network, which are then used as reference visual features.
[0103] Optionally, reference geometric key points are extracted from the reference handle image. Based on the transformation relationship between the image coordinate system and the camera coordinate system, the two-dimensional coordinates of each reference geometric key point in the reference handle image are transformed to the camera coordinate system, obtaining the three-dimensional coordinates of each reference geometric key point in the camera coordinate system. Based on the three-dimensional coordinates of each reference geometric key point, reference structural parameters in the camera coordinate system are obtained through geometric calculations. Using a pre-calibrated hand-eye transformation matrix, the reference structural parameters in the camera coordinate system are transformed to the robot base coordinate system, obtaining the reference structural parameters in the robot base coordinate system. Finally, based on the pre-calibrated transformation relationship between the robot base coordinate system and the cabinet door coordinate system, the reference structural parameters in the robot base coordinate system are transformed to the reference structural parameters in the cabinet door coordinate system.
[0104] The operation strategy library includes multiple operation strategies, each of which includes at least operation parameters, visual features, and structural parameters. Reference visual features and reference structural parameters are compared with the visual features and structural parameters of each of the multiple operation strategies. A matching reference operation strategy is determined from among the multiple strategies, and the operation parameters corresponding to this reference operation strategy are used as reference operation parameters. In this way, the robotic arm can be controlled to move according to the reference operation parameters to operate the handle to be manipulated.
[0105] For example, comparing reference visual features and reference structural parameters with the visual features and structural parameters of each of multiple operation strategies to determine a matching reference operation strategy among the multiple operation strategies includes: determining the similarity between the reference visual features and the visual features of each of the multiple operation strategies; determining multiple candidate operation strategies with a similarity greater than a preset similarity among the multiple operation strategies in the operation strategy library; determining the parameter differences between the reference structural parameters and the structural parameters of each of the multiple candidate operation strategies; and determining reference candidate strategies with parameter differences less than a preset difference among the multiple candidate operation strategies.
[0106] In this embodiment, by determining reference operation parameters that match the reference visual features and reference structural parameters of the handle to be operated in the reference image from the operation strategy library, and since the operation strategy library is continuously updated, operating the handle to be operated based on the continuously updated operation strategy library can improve the automation level and safety of substation inspection operations.
[0107] In an exemplary embodiment, determining reference operation parameters that match reference visual features and reference structural parameters according to an operation strategy library includes: determining candidate operation parameters that match reference visual features and reference structural parameters in the operation strategy library; using reference contact force and reference clamping force to test and verify the candidate operation parameters, and obtaining response data of the robotic arm end effector during the test and verification process; and using the candidate operation parameters as reference operation parameters if the response data meets preset conditions.
[0108] The candidate operation parameters are those from the operation strategy library that match the reference visual features and reference structural parameters. To ensure the operational safety of the candidate operation parameters, they are tested and verified.
[0109] The reference contact force is less than the end-effector contact force in the candidate operating parameters, and the reference clamping force is less than the instrument clamping force in the candidate operating parameters. The reference contact force and reference clamping force are used to replace the end-effector contact force and instrument clamping force in the candidate operating parameters, respectively, to obtain updated operating parameters. The robotic arm is then controlled to operate the handle according to the updated operating parameters to achieve trial verification. Response data of the robotic arm's end effector is acquired during the trial verification process. This response data may include the change curve of the end-effector contact force, the change curve of the instrument clamping force, the actual tracking error of the end-effector pose, and the fluctuation of the joint current.
[0110] The preset conditions are acceptance criteria to ensure the safety of the robotic arm operation. For example, preset conditions include no torque alarms being triggered and the end-effector pose tracking error being less than a preset error. If the response data meets the preset conditions, it indicates that the candidate operating parameters have passed trial verification and are used as reference operating parameters.
[0111] In this embodiment, through trial and verification, reference operating parameters that meet operational safety standards can be determined, thus ensuring the operational safety of the robotic arm.
[0112] In one exemplary embodiment, the method further includes: if the response data does not meet preset conditions, prohibiting the robotic arm from performing an operation on the handle that exceeds a preset force.
[0113] If the response data does not meet the preset conditions, it indicates that the candidate operation parameters have not passed the trial verification, and there is a safety risk in using the candidate operation parameters to operate the handle. Therefore, it is prohibited for the robotic arm to operate the handle according to the candidate operation parameters.
[0114] The preset force is the maximum contact force and / or maximum gripping force that the robotic arm is allowed to output. The preset force is less than the reference contact force or less than the reference gripping force.
[0115] The terminal sets constraints on the robotic arm to prevent it from performing operations on the handles exceeding preset forces. This eliminates candidate operation parameters that exceed the preset forces, ensuring the safety of the robotic arm's inspections.
[0116] In this embodiment, by prohibiting the robotic arm from performing operations exceeding the preset force on the handle when the response data at the end of the robotic arm does not meet the preset conditions during the trial and verification process, the safety of the robotic arm inspection can be improved.
[0117] To illustrate in detail the incremental update method and effects of the cabinet door handle operation strategy library in this solution, a detailed embodiment is provided below:
[0118] This is for scenarios where inspection robots are used to inspect substations. For example... Figure 3 The diagram shows the overall process flow of the incremental update method for the cabinet door handle operation strategy library.
[0119] Based on the handle images of the target cabinet door handles in the substation, determine the handle recognition results, including handle category, category confidence, and handle structural parameters.
[0120] Based on the handle recognition result, determine whether the target cabinet door handle is an unknown handle. If the target cabinet door handle is a known handle, use the operation parameters in the initial strategy library to control the robotic arm to operate the target cabinet door handle. If the target cabinet door handle is an unknown handle, control the robotic arm to perform a demonstration operation on the target cabinet door handle. Acquire the demonstration trajectory of the robotic arm end effector and the real-time visual features of the target cabinet door handle during the demonstration operation, and decompose the demonstration trajectory into multiple trajectory segments according to the operation stage. Extract parameters for each trajectory segment, and determine the operation strategy corresponding to the current trajectory segment based on the operation parameters of the robotic arm end effector, real-time visual features, and handle structure parameters in each trajectory segment. Store this strategy in the initial strategy library to obtain the operation strategy library, which is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
[0121] In one embodiment, the demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage, including: determining the operation stage corresponding to each trajectory point based on the velocity, attitude, end contact force and instrument clamping force of each trajectory point in the demonstration trajectory; and decomposing the demonstration trajectory into multiple trajectory segments according to each operation stage.
[0122] In one embodiment, the operation stage corresponding to each trajectory point is determined based on the velocity, attitude, end contact force, and instrument clamping force of each trajectory point in the demonstration trajectory. This includes: determining the operation conditions corresponding to each operation stage; and determining the current operation stage corresponding to the corresponding trajectory point when the velocity, attitude, end contact force, and instrument clamping force of each of the multiple consecutive trajectory points in the demonstration trajectory meet the operation conditions corresponding to any operation stage.
[0123] In one embodiment, when the velocity, attitude, end-effector contact force, and instrument clamping force of multiple consecutive trajectory points in the demonstration trajectory meet the operating conditions corresponding to any operating stage, the corresponding trajectory point is determined to correspond to the current operating stage. This includes: determining the approach stage when the velocity of multiple consecutive trajectory points is greater than a preset velocity, the velocity direction is towards the target cabinet door handle, and the end-effector contact force is not greater than a preset contact force; determining the contact stage when the end-effector contact force of any trajectory point changes abruptly, the end-effector contact force of multiple consecutive trajectory points after the current trajectory point is greater than a preset contact force, and the instrument clamping force is less than a preset clamping force; determining the clamping stage when the clamping force of multiple consecutive trajectory points is greater than a preset clamping force, and the rate of change of attitude is not greater than a preset rate of change; determining the unlocking stage when the clamping force of multiple consecutive trajectory points is greater than a preset clamping force, and the rate of change of attitude is greater than a preset rate of change; and determining the exit stage when the velocity of multiple consecutive trajectory points is greater than a preset velocity, the velocity direction is away from the target cabinet door handle, and the end-effector contact force is not greater than a preset contact force.
[0124] In one embodiment, the method further includes: acquiring a reference image of the handle to be operated; extracting reference visual features and reference structural parameters of the handle to be operated from the reference image; and determining reference operation parameters that match the reference visual features and reference structural parameters according to an operation strategy library, so as to control the robotic arm to operate the handle to be operated according to the reference operation parameters.
[0125] In one embodiment, determining reference operation parameters that match reference visual features and reference structural parameters according to an operation strategy library includes: determining candidate operation parameters that match reference visual features and reference structural parameters in the operation strategy library; using reference contact force and reference clamping force to test and verify the candidate operation parameters, and obtaining response data of the end effector of the robotic arm during the test and verification process; and using the candidate operation parameters as reference operation parameters if the response data meets preset conditions.
[0126] In one embodiment, the method further includes: if the response data does not meet the preset conditions, prohibiting the robotic arm from performing an operation on the handle that exceeds the preset force.
[0127] The incremental update method for the cabinet door handle operation strategy library described above determines the handle category, category confidence, and handle structure parameters by using the handle image of the target cabinet door handle in the substation. If the target cabinet door handle is determined to be an unknown handle based on the handle category, category confidence, and handle structure parameters, the robotic arm is controlled to perform a demonstration operation on the target cabinet door handle. The demonstration trajectory of the robotic arm end effector and the real-time visual features of the target cabinet door handle are obtained during the demonstration operation. The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features, and handle structure parameters of the robotic arm end effector in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters. In this way, when an unknown handle is detected in a target cabinet door in a substation, the robotic arm is controlled to perform a remote operation demonstration on the target cabinet door handle, which is divided into multiple operation stages. For each operation stage, operation parameters bound to real-time visual features and handle structural parameters are extracted to form a structured and reusable operation strategy, which is stored in the initial strategy library. When the robot inspects the same type of handle to be operated again, it can reuse the operation parameters in the operation strategy library. The operation strategy library can continuously evolve, improving the automation level and safety of substation inspection operations.
[0128] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0129] Based on the same inventive concept, this application also provides an incremental update device for a cabinet door handle operation strategy library, which implements the incremental update method for the cabinet door handle operation strategy library described above. The solution provided by this device is similar to the implementation described in the above method. Therefore, the specific limitations of one or more embodiments of the incremental update device for the cabinet door handle operation strategy library provided below can be found in the limitations of the incremental update method for the cabinet door handle operation strategy library described above, and will not be repeated here.
[0130] In one exemplary embodiment, such as Figure 4 As shown, an incremental update device 400 for a cabinet door handle operation strategy library is provided, comprising: a determination module 402, a control module 404, and a writing module 406, wherein:
[0131] The determination module 402 is used to determine the handle category, category confidence level and handle structural parameters based on the handle image of the target cabinet door handle in the substation.
[0132] The control module 404 is used to control the robotic arm to perform a demonstration operation on the target cabinet door handle when the target cabinet door handle is determined to be an unknown handle based on the handle type, category confidence level and handle structure parameters, and to obtain the demonstration trajectory of the robotic arm end and the real-time visual features of the target cabinet door handle during the demonstration operation.
[0133] The writing module 406 is used to decompose the demonstration trajectory into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features and handle structure parameters of the robotic arm end in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
[0134] The incremental update device for the cabinet door handle operation strategy library described above determines the handle category, category confidence, and handle structure parameters by using the handle image of the target cabinet door handle in the substation. If the target cabinet door handle is determined to be an unknown handle based on the handle category, category confidence, and handle structure parameters, the device controls the robotic arm to perform a demonstration operation on the target cabinet door handle. During the demonstration operation, the device acquires the demonstration trajectory of the robotic arm end effector and the real-time visual features of the target cabinet door handle. The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters, real-time visual features, and handle structure parameters of the robotic arm end effector in each trajectory segment, the device determines the operation strategy corresponding to the current trajectory segment and stores it in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters. In this way, when an unknown handle is detected in a target cabinet door in a substation, the robotic arm is controlled to perform a remote operation demonstration on the target cabinet door handle, which is divided into multiple operation stages. For each operation stage, operation parameters bound to real-time visual features and handle structural parameters are extracted to form a structured and reusable operation strategy, which is stored in the initial strategy library. When the robot inspects the same type of handle to be operated again, it can reuse the operation parameters in the operation strategy library. The operation strategy library can continuously evolve, improving the automation level and safety of substation inspection operations.
[0135] In one embodiment, the demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. The writing module 406 is also used to: determine the operation stage corresponding to each trajectory point according to the speed, attitude, end contact force and instrument clamping force of each trajectory point in the demonstration trajectory; and decompose the demonstration trajectory into multiple trajectory segments according to each operation stage.
[0136] In one embodiment, based on the velocity, attitude, end contact force and instrument clamping force of each of the multiple trajectory points in the demonstration trajectory, the operation stage corresponding to each trajectory point is determined. The writing module 406 is also used to: determine the operation conditions corresponding to each operation stage; and determine the current operation stage corresponding to the corresponding trajectory point when the velocity, attitude, end contact force and instrument clamping force of each of the multiple consecutive trajectory points in the demonstration trajectory meet the operation conditions corresponding to any operation stage.
[0137] In one embodiment, when the velocity, attitude, end-effector contact force, and instrument clamping force of multiple consecutive trajectory points in the demonstration trajectory meet the operating conditions corresponding to any operating stage, the corresponding trajectory point is determined to correspond to the current operating stage. The writing module 406 is further configured to: determine the approach stage when the velocity of multiple consecutive trajectory points is greater than a preset velocity, the velocity direction is towards the target cabinet door handle, and the end-effector contact force is not greater than a preset contact force; determine the contact stage when the end-effector contact force of any trajectory point changes abruptly, the end-effector contact force of multiple consecutive trajectory points after the current trajectory point is greater than a preset contact force, and the instrument clamping force is less than a preset clamping force; determine the clamping stage when the clamping force of multiple consecutive trajectory points is greater than a preset clamping force, and the rate of change of attitude is not greater than a preset rate of change; determine the unlocking stage when the clamping force of multiple consecutive trajectory points is greater than a preset clamping force, and the rate of change of attitude is greater than a preset rate of change; and determine the exit stage when the velocity of multiple consecutive trajectory points is greater than a preset velocity, the velocity direction is away from the target cabinet door handle, and the end-effector contact force is not greater than a preset contact force.
[0138] In one embodiment, the writing module 406 is further configured to: acquire a reference image of the handle to be operated; extract reference visual features and reference structural parameters of the handle to be operated from the reference image; and determine reference operation parameters that match the reference visual features and reference structural parameters according to the operation strategy library, so as to control the robotic arm to operate the handle to be operated according to the reference operation parameters.
[0139] In one embodiment, reference operation parameters matching reference visual features and reference structural parameters are determined according to the operation strategy library. The writing module 406 is further configured to: determine candidate operation parameters matching reference visual features and reference structural parameters in the operation strategy library; test and verify the candidate operation parameters using reference contact force and reference clamping force, and obtain response data of the end effector of the robotic arm during the test and verification process; and use the candidate operation parameters as reference operation parameters if the response data meets preset conditions.
[0140] In one embodiment, the writing module 406 is further configured to: prohibit the robotic arm from performing an operation exceeding a preset force on the handle when the response data does not meet the preset conditions.
[0141] Each module in the incremental update device of the cabinet door handle operation strategy library can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0142] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When executed by the processor, the computer program implements an incremental update method for a cabinet door handle operation strategy library. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0143] Those skilled in the art will understand that Figure 5 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 computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0144] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0145] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0146] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0147] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0148] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0149] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0150] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. An incremental update method for a cabinet door handle operation strategy library, characterized in that, The method includes: Based on the handle images of the target cabinet door handles in the substation, determine the handle category, category confidence level, and handle structural parameters; If the target cabinet door handle is determined to be an unknown handle based on the handle type, the type confidence level, and the handle structure parameters, the robotic arm is controlled to perform a demonstration operation on the target cabinet door handle, and the demonstration trajectory of the robotic arm end and the real-time visual features of the target cabinet door handle are obtained during the demonstration operation. The demonstration trajectory is decomposed into multiple trajectory segments according to the operation stage. Based on the operation parameters of the robotic arm end effector, the real-time visual features, and the handle structure parameters in each trajectory segment, the operation strategy corresponding to the current trajectory segment is determined and stored in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
2. The method according to claim 1, characterized in that, The step of decomposing the demonstration trajectory into multiple trajectory segments according to the operation stage includes: Based on the velocity, attitude, end contact force, and instrument clamping force of each trajectory point in the demonstration trajectory, the corresponding operation stage for each trajectory point is determined. Based on each operational stage, the demonstration trajectory is decomposed into multiple trajectory segments.
3. The method according to claim 2, characterized in that, The step of determining the corresponding operation stage for each trajectory point based on its velocity, attitude, end-effector contact force, and instrument clamping force in the demonstration trajectory includes: Determine the corresponding operating conditions for each operational stage; If the velocity, attitude, end contact force, and instrument clamping force of multiple consecutive trajectory points in the demonstration trajectory meet the operating conditions corresponding to any operating stage, the corresponding trajectory point is determined to correspond to the current operating stage.
4. The method according to claim 3, characterized in that, When the velocity, attitude, end-effector contact force, and instrument clamping force of multiple consecutive trajectory points in the demonstration trajectory satisfy the operating conditions corresponding to any operating stage, the process of determining the current operating stage corresponding to the corresponding trajectory point includes: When the speed of multiple consecutive trajectory points is greater than the preset speed, the speed direction is towards the target cabinet door handle, and the end contact force is not greater than the preset contact force, the corresponding approach stage of the trajectory point is determined. If the end contact force at any trajectory point changes abruptly, and the end contact force at multiple consecutive trajectory points after the current trajectory point is greater than the preset contact force, and the instrument clamping force is less than the preset clamping force, the corresponding contact stage of the trajectory point is determined. When the clamping force at multiple consecutive trajectory points is greater than the preset clamping force and the rate of change of attitude is not greater than the preset rate of change, the corresponding clamping stage of the trajectory point is determined. When the clamping force at multiple consecutive trajectory points is greater than the preset clamping force and the rate of change of attitude is greater than the preset rate of change, the corresponding trajectory point is determined to be in the unlocking stage. If the speed of multiple consecutive trajectory points is greater than the preset speed, the speed direction is away from the target cabinet door handle, and the end contact force is not greater than the preset contact force, then the corresponding trajectory point is determined to exit the stage.
5. The method according to claim 1, characterized in that, The method further includes: Obtain a reference image of the handle to be operated; Extract the reference visual features and reference structural parameters of the handle to be operated from the reference image; Based on the operation strategy library, reference operation parameters that match the reference visual features and the reference structural parameters are determined to control the robotic arm to operate the handle to be operated according to the reference operation parameters.
6. The method according to claim 5, characterized in that, The step of determining reference operation parameters that match the reference visual features and the reference structural parameters according to the operation strategy library includes: Candidate operation parameters that match the reference visual features and the reference structural parameters are determined from the operation strategy library; The candidate operating parameters are tested and verified using reference contact force and reference clamping force, and the response data of the end effector of the robotic arm is obtained during the testing and verification process. If the response data meets the preset conditions, the candidate operation parameters are used as reference operation parameters.
7. The method according to claim 6, characterized in that, The method further includes: If the response data does not meet the preset conditions, the robotic arm is prohibited from performing an operation on the handle to be operated that exceeds the preset force.
8. An incremental update device for a cabinet door handle operation strategy library, characterized in that, The device includes: The determination module is used to determine the handle category, category confidence level, and handle structural parameters based on the handle images of target cabinet door handles in the substation. The control module is used to control the robotic arm to perform a demonstration operation on the target cabinet door handle when the target cabinet door handle is determined to be an unknown handle based on the handle type, the type confidence level and the handle structure parameters, and to obtain the demonstration trajectory of the robotic arm end and the real-time visual features of the target cabinet door handle during the demonstration operation. The writing module is used to decompose the demonstration trajectory into multiple trajectory segments according to the operation stage. Based on the operation parameters of the robotic arm end effector, the real-time visual features, and the handle structure parameters in each trajectory segment, the module determines the operation strategy corresponding to the current trajectory segment and stores it in the initial strategy library to obtain the operation strategy library. The operation strategy library is used to instruct the robotic arm to operate the handle to be operated according to the operation parameters.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
