Intelligent dual-arm force control detection method and system with two levels of electrolytic cell body

By combining dual-arm segmented clamping and multi-sensor data, the problem of synchronous horizontal measurement of the upper and lower dividing lines of the measuring rod in electrolytic aluminum production has been solved. This has enabled high-precision and safe two-level detection of the electrolytic cell, meeting industry standards and reducing maintenance workload.

CN123169151APending Publication Date: 2026-11-27杭州艾铂特智能科技有限公司
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies struggle to achieve synchronous horizontal measurement of the upper and lower boundary lines of the measuring rod in electrolytic aluminum production. This results in problems such as large measurement errors, equipment damage, lagging control algorithms, and insufficient adaptive capabilities, failing to meet the requirements for unmanned online inspection of two horizontal levels in electrolytic cells.

Method used

A closed kinematic chain is formed by segmented clamping with dual arms. Data is collected synchronously by multiple sensors, and reasoning is performed by combining a lightweight embodied model and a temporal world model to generate coarse-grained basic motion vectors and drift compensation vectors. A hierarchical reinforcement learning network is used to achieve independent leveling of the measuring probe based on dual references, and the measurement accuracy and safety are ensured by the execution of the underlying impedance force control servo.

Benefits of technology

It achieves precise leveling of the upper and lower dividing lines of the measuring rod, with a measurement error of less than 0.1mm, improving equipment safety and automation level, meeting the YS/T 784-2024 standard, reducing maintenance workload, and improving the accuracy and safety of two-level detection of electrolytic cells.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169151A_ABST
    Figure CN123169151A_ABST
Patent Text Reader

Abstract

The application discloses a kind of electrolytic cell two horizontal body intelligent double-arm force control detection method and system.For the defects that single push rod cannot realize double-reference leveling, closed-chain internal force cannot be decoupled and there is no segmented force control protection in the existing electrolytic cell two horizontal measurement, the application adopts four-layer architecture of light-weight body model constructed by double-arm robot, parallel reasoning with time sequence world model, hierarchical PPO reinforcement learning fine adjustment and bottom-layer impedance force control servo execution, decomposes six-dimensional force into external contact force and closed-chain internal force through closed-chain dynamics solution, realizes independent leveling of upper and lower demarcation line through upper-layer global coarse adjustment and lower-layer left and right arm independent fine adjustment, identifies demarcation line through multi-frame optimization and brightness contrast analysis after double-arm locking, and uploads aluminum level and electrolyte level converted in combination with physical calibration scale.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the technical fields of intelligent detection in high-temperature, high-magnetic electrolytic aluminum workshops, embodied robots, multimodal VLA large-scale models, temporal world models, robot force control reinforcement learning, and machine vision. In particular, it relates to a two-level embodied intelligent dual-arm force control detection method and system for electrolytic cells. This invention also relates to the detection equipment and storage medium for implementing the above method and system. Background Technology

[0002] In the electrolytic aluminum production process, aluminum level (aluminum melt height) and electrolyte level (electrolyte layer height) are two key parameters for electrolytic cell process control, directly affecting the thermal balance stability, current efficiency, and anode consumption rate of the electrolytic cell. The essential requirement for measuring these two levels is that the upper boundary line (electrolyte-air boundary) and the lower boundary line (aluminum melt-electrolyte boundary) on the measuring probe must be synchronously horizontal during measurement. If the measuring probe is tilted, the upper and lower boundary lines will not be on the same horizontal plane, and pixel calibration will introduce nonlinear distortion, directly leading to measurement errors. However, electrolytic aluminum workshops generally experience extreme and harsh conditions such as high temperatures (electrolyte temperature exceeding 900℃), strong magnetic fields (approximately 500 Gauss), dense smoke and dust, and furnace hole deformation, placing extremely high demands on the reliability, safety, and automation level of measuring equipment.

[0003] Currently, the following are the main methods used for two-level detection of electrolytic cells:

[0004] 1. Single-push-rod AGV visual inspection solution (closest existing technology) This type of solution uses a single-axis rigid push rod as the actuator and is paired with a vision system to achieve two-level measurement. Representative technologies include the Chinese utility model patent "Mobile data acquisition vehicle for two-level measurement of aluminum electrolytic cell based on infrared thermal imager" (patent publication number: CN223976713U) and the Chinese invention patent "Measurement system for aluminum liquid and electrolyte level in electrolytic aluminum production based on machine vision" (patent publication number: CN109211201B). Among them, the Chinese utility model patent "Aluminum electrolytic cell two-level measurement mobile data acquisition vehicle based on infrared thermal imager" (patent publication number: CN223976713U) uses X-axis and Y-axis push rods to insert and pull the measuring rod into and out of the electrolytic cell, uses an infrared thermal imager to obtain the temperature distribution on the surface of the measuring rod, and determines the liquid level height through the temperature boundary point; the Chinese invention patent "Aluminum liquid and electrolyte level measurement system in electrolytic aluminum production based on machine vision" (patent publication number: CN109211201B) uses a monocular fixed-focus camera to collect images after the measuring rod is retracted, and uses the difference between dark gray and bright red on the surface of the measuring rod of aluminum liquid and electrolyte for image recognition and pixel calibration.

[0005] The common defects of this type of solution are as follows: it adopts a single-axis rigid push rod, which can only control the overall position of the measuring probe, and has no independent attitude adjustment structure for the upper and lower split arms, so it cannot simultaneously correct the two references of the upper and lower dividing lines; under the conditions of furnace hole deformation, aluminum liquid buoyancy, and thermal deformation of the measuring probe, the measuring probe tilts, and the measurement error reaches 8mm to 12mm, which exceeds the ±5mm limit specified in the YS / T 784-2024 standard; there is no segmented six-dimensional force closed loop, and excessive thrust will scratch the refractory material of the furnace hole, while insufficient thrust will cause the measuring probe to float, and there is no real-time force feedback throughout the process; it only has monocular global vision, which cannot separate the upper and lower edge deviations, and the compensation directly fails in the high temperature environment of smoke and dust.

[0006] 2. Other existing technical solutions The Chinese invention patent "Nonlinear Displacement Compensation Device and Method for Furnace Front Robot" (Patent Publication No.: CN119910691B) only performs global linkage deformation compensation for furnace eye blockage scenarios and lacks the ability to independently level the upper and lower dual references; the Chinese invention patent "Identification Method, Identification Device, and Measuring Mechanism for Two Horizontal Boundary Lines" (Patent Publication No.: CN120259214A) only performs image recognition based on brightness and contrast at the back end, lacking the front-end attitude leveling and force control protection links, resulting in a significant drop in recognition accuracy when the measuring rod is tilted; the traditional fixed PID dual-arm leveling scheme lacks a layered embodied intelligent architecture, cannot predict the temporal attitude drift caused by high-temperature thermal expansion and aluminum liquid buoyancy, and lacks online reinforcement learning adaptive iteration capabilities; the general VLA embodied robot solution has not been adapted to the specific needs of electrolytic aluminum workshops such as high temperature, strong magnetism, and narrow furnace holes, and the native π0.5 model has a high inference latency, making it difficult to meet the real-time requirements of 40ms-level high-speed servo closed loop.

[0007] In summary, existing technologies generally suffer from the following common defects:

[0008] 1. Lack of a two-level attitude protection mechanism. The essential requirement of two-level measurement is that the upper and lower dividing lines of the measuring probe are synchronously horizontal during measurement. A single push rod, a single arm, or a rigid limiting structure can only constrain the overall position of the measuring probe and cannot control the upper and lower parts of the measuring probe in segments. This failure to achieve synchronous horizontal division lines is the core source of measurement error.

[0009] 2. The internal and external forces of the closed-chain double arms cannot be decoupled. The double arms clamp the same slender measuring rod to form a closed kinematic chain. The existing solution only monitors the external lateral force and clamping force, and cannot identify the internal force generated by the mutual compression between the double arms. The internal force generated during calibration and leveling can directly bend the measuring rod.

[0010] 3. Lack of segmented six-dimensional force closed-loop protection. It lacks real-time clamping, lateral force, internal force sensing and dynamic adjustment logic. Excessive force can damage the furnace hole and measuring probe, while insufficient force can cause the measuring probe to float and the layered interface to become blurred.

[0011] 4. The control algorithm is lagging and lacks adaptive capability. Fixed PID only corrects for lag deviation, does not predict time-varying disturbances, lacks online strategy iteration, and measurement accuracy rapidly decreases after changes in operating conditions.

[0012] 5. Lack of embodied intelligence architecture and chaotic layer boundaries. The complete chain of high-level semantic planning-temporal feedforward-reinforcement learning fine-tuning-low-level servo execution is not established. The large model directly outputs servo commands, which are affected by inference latency and cause closed-loop oscillations. Perception and motion control are disconnected from each other.

[0013] 6. Poor robustness under harsh operating conditions. Lack of adaptive threshold adjustment in scenarios involving dense smoke and dust, probe creep, and furnace hole wear makes the closed-loop system prone to jamming.

[0014] 7. Disconnection between front-end and back-end systems. The front-end measuring probe attitude control and the back-end image recognition are independent of each other. The tilt of the measuring probe causes image distortion, which directly reduces the accuracy of boundary line recognition.

[0015] The aforementioned shortcomings make it difficult for existing solutions to meet the actual needs of unmanned online inspection at two levels in electrolytic aluminum workshops in terms of measurement accuracy, safety, adaptability, and automation level. Summary of the Invention

[0016] This invention addresses the technical problems in existing technologies, such as the inability of single push rod or single arm structures to achieve independent leveling of the upper and lower boundary lines of the measuring rod with dual references, the inability to decouple the internal and external forces of the closed-chain double arm, the lack of segmented six-dimensional force closed-loop protection, the lag in the control algorithm and its inability to predict time-varying disturbances, the excessively high inference delay of the general embodied model making it unsuitable for high-speed servo closed loops, and the disconnect between the front-end attitude control and the back-end image recognition link. It provides a two-level embodied intelligent double-arm force control detection method and system for electrolytic cells.

[0017] This invention achieves independent leveling of the upper and lower boundary lines of the measuring rod by forming a closed kinematic chain through segmented clamping with two arms, decoupling the internal forces of the closed chain arms, parallel reasoning of the lightweight embodied model and the temporal world model, fine-tuning of the two branches through hierarchical reinforcement learning, and servo execution of the bottom-level impedance force control. This meets the YS / T784-2024 industry accuracy standard and improves the accuracy, safety and automation level of two-level detection in the electrolysis workshop.

[0018] Therefore, the first objective of this invention is to provide a two-level intelligent dual-arm force control detection method for electrolytic cells, wherein the method is executed by a dual-arm robot system, the dual-arm robot system comprising a left arm and a right arm, and includes the following steps: The left and right arms are controlled to clamp the upper and lower sections of the measuring probe respectively, forming a closed kinematic chain; Under the closed kinematic chain, multimodal data is collected synchronously by multiple sensors to calculate the dual horizontal deviation matrix and the force information of the closed chain arms in the current frame; Inference is performed on the multimodal data using a lightweight embodied model, and inference is performed on the historical time-series observation sequence using a time-series world model, generating coarse-grained basic action vectors and drift compensation vectors. Based on the confidence coefficient of the current working condition, the coarse-grained basic motion vector and the drift compensation vector are weighted and fused to generate a fused reference motion vector; The fused baseline action vector and the dual-level deviation matrix are input into the hierarchical reinforcement learning network, and the desired end pose increment is output through inference. Force control closed-loop leveling and convergence determination are then performed. After the convergence determination is passed, the two arms are locked. The electrolyte-aluminum liquid boundary line is identified through multi-frame selection and brightness contrast analysis. The aluminum level value and electrolyte level value are calculated by combining the physical calibration scale.

[0019] Preferably, the closed-chain double-arm force information is calculated in the following way: The measurements from the six-dimensional force sensor in the left arm and the six-dimensional force sensor in the right arm are decomposed into external environmental contact force vectors and closed-chain internal force vectors. The external environmental contact force includes clamping force and lateral force. The clamping force is the normal force that the jaws press vertically on the surface of the measuring probe. The lateral force is the lateral external force that the measuring probe is subjected to perpendicular to the axis of the measuring probe. The closed-chain internal force is the internal compressive force generated by the mutual squeezing of the measuring probe between the left and right arm jaws. Based on the force balance condition of the closed-chain system, the force / torque components of the left arm sensor measurement value and the right arm sensor measurement value in the same measurement direction are calculated separately: the components in the same direction are added together and the average value is taken as the component of the external environmental contact force in that direction; the components in the same direction are subtracted and the average value is taken as the component of the closed-chain internal force in that direction.

[0020] Preferably, the step of performing inference on the multimodal data using a lightweight embodied model and performing inference on the historical time-series observation sequence using a temporal world model to generate coarse-grained basic action vectors and drift compensation vectors includes: The multimodal data is input into the lightweight embodied model, high-level semantic understanding and coarse-grained task planning are performed, and a coarse-grained basic motion vector is output, which includes coarse adjustment of the pitch angle of both arms, coarse adjustment of the lateral offset, and coarse adjustment reference of the clamping force. The historical time-series observation sequence of multiple consecutive frames in the time-series buffer is input into the time-series world model. The time-series world model performs dynamic deduction on the historical time-series observation sequence and outputs a drift compensation vector containing the pitch angle drift compensation, lateral offset drift compensation, and clamping force drift compensation.

[0021] Preferably, the step of weightedly fusing the coarse-grained basic motion vector and the drift compensation vector based on the confidence coefficient of the current working condition to generate a fused reference motion vector includes: Extract the mean grayscale value and high-frequency information ratio of the tri-view image from the multimodal data, input them into the pre-trained regression model, and output the smoke and dust confidence score. The confidence coefficient is calculated based on the confidence level of the smoke and dust and the deviation of the measured probe temperature from the reference temperature. The larger the confidence level of the smoke and dust or the greater the temperature deviation, the smaller the confidence coefficient. The coarse-grained basic action vector and the drift compensation vector are weighted and summed according to the confidence coefficient to generate the fused baseline action vector.

[0022] Preferably, the force control closed-loop leveling and convergence determination includes: During the leveling process, the external lateral force and closed-chain internal force are monitored in real time through the underlying impedance servo. When the external lateral force or the closed-loop internal force exceeds the preset safety threshold, the underlying servo automatically decelerates and fine-tunes the gripper posture to reduce the force. The specific values ​​of the preset safety thresholds are determined as follows: the lower limit of the clamping force safety range is determined based on the minimum positive pressure required for the measuring probe to maintain stable clamping in the electrolyte and molten aluminum, and the upper limit is determined based on the yield strength of the measuring probe material; the upper limit of the lateral force safety threshold is determined based on the compressive strength of the furnace bore inner wall material and the bending stiffness of the measuring probe; the upper limit of the closed-chain internal force safety threshold is determined based on the critical pressure bar stability load of the measuring probe. The real-time monitoring and over-limit warning of the external lateral force and the closed-loop internal force are independent of the upper-level AI algorithm and are executed by the lower-level impedance servo and hardware force over-limit emergency stop circuit.

[0023] Preferably, the step of inputting the fused baseline action vector and the dual-level deviation matrix into the hierarchical reinforcement learning network, inferring the expected end-effector pose increment, and performing force control closed-loop leveling and convergence determination includes: The fused baseline action vector and the dual-level deviation matrix are input into a hierarchical reinforcement learning network, which includes an upper-layer global coarse-tuning network and a lower-layer independent fine-tuning dual branch for the left and right arms. The upper-layer global coarse adjustment network uses the pitch component of the fused reference motion vector as the initial reference value for the motion, and outputs the synchronous rotation angle of the two arms according to the tilt angle of the upper and lower boundary lines in the dual horizontal deviation matrix, and converges the tilt angle of the upper and lower boundary lines to within the preset tilt angle threshold. The lower left arm fine-tuning branch receives the upper boundary line tilt angle and lateral offset from the dual horizontal deviation matrix, and outputs the left arm lateral fine-tuning action; the lower right arm fine-tuning branch receives the lower boundary line tilt angle and lateral offset from the dual horizontal deviation matrix, and outputs the right arm lateral fine-tuning action. The synchronous rotation angle of the two arms, the lateral fine-tuning action of the left arm, and the lateral fine-tuning action of the right arm are combined into the desired end pose increment. After safety verification, the underlying impedance servo execution force-position hybrid control and collision detection are sent down to output joint servo commands. After the joint servo command is executed, multimodal data is collected and it is determined whether the convergence condition is met. If the condition is met, both arms are locked. If the condition is not met, the process returns to collect multimodal data again and continues leveling.

[0024] Preferably, after the convergence determination is passed, both arms are locked, and the electrolyte-aluminum liquid boundary line is identified through multi-frame selection and brightness contrast analysis. The aluminum and electrolyte levels are then calculated based on the physical calibration scale, including: After the two arms are locked, the tri-lens camera continuously acquires multiple frames of measurement probe images; A brightness contrast curve is constructed for each frame of image. The average brightness contrast between the electrolyte region and the aluminum liquid region is calculated. The image corresponding to the maximum contrast value is selected as the target sampling image. The line connecting the leveled upper and lower boundary lines is used as the standard electrolyte-aluminum liquid boundary line. The aluminum level and electrolyte level are calculated by combining the pixel-to-physical conversion factor of the physical calibration scale of the measuring rod.

[0025] The second objective of this invention is to provide a two-level intelligent dual-arm force control and detection system for electrolytic cells, comprising: The clamping control module is used to control the left arm and the right arm to clamp the upper and lower sections of the measuring rod respectively, forming a closed kinematic chain; A multimodal sensing module is used to synchronously acquire multimodal data through multiple sensors under the closed kinematic chain; The deviation calculation module is used to receive the multimodal data output by the multimodal sensing module and calculate the dual-level deviation matrix of the current frame; The closed-chain dual-arm internal force calculation module is used to receive the multimodal data output by the multimodal sensing module and calculate the closed-chain dual-arm force information. The lightweight embodied model inference module is used to receive multimodal data output by the multimodal perception module, and perform inference on the multimodal data through the lightweight embodied model to generate coarse-grained basic action vectors. The temporal world model inference module is used to receive a series of consecutive historical temporal observation sequences in the temporal buffer, and to perform dynamic deduction based on the historical temporal observation sequences through the temporal world model to generate a drift compensation vector. The confidence calculation and action fusion module is used to receive the coarse-grained basic action vector output by the lightweight embodied model inference module and the drift compensation vector output by the temporal world model inference module, and to weight and fuse the coarse-grained basic action vector and the drift compensation vector according to the confidence coefficient of the current working condition to generate a fused reference action vector. The hierarchical reinforcement learning fine-tuning module is used to receive the fused reference action vector output by the confidence calculation and action fusion module and the dual-level deviation matrix output by the deviation calculation module, input the fused reference action vector and the dual-level deviation matrix into the hierarchical reinforcement learning network, and output the desired end pose increment. The underlying impedance force control servo execution module is used to receive the desired end pose increment output by the layered reinforcement learning fine-tuning module and perform force control closed-loop leveling and convergence determination. The convergence determination and locking module is used to lock both arms after the convergence determination is passed; The boundary identification and numerical conversion module is used to identify the electrolyte-aluminum liquid boundary line through multi-frame selection and brightness contrast analysis, and to convert the aluminum level value and electrolyte level value by combining physical calibration scale.

[0026] The third objective of this invention is to provide a two-level intelligent dual-arm force control detection device for electrolytic cells, comprising: Antimagnetic autonomous mobile chassis, used to support various subsystems and achieve autonomous navigation and electromagnetic locking; The left and right arms together clamp the measuring probe to form a closed kinematic chain, and a six-dimensional force sensor is integrated at the end of each arm. The tri-lens camera system includes a global head camera, a local camera along the upper edge of the left arm, and a local camera along the lower edge of the right arm, used to simultaneously acquire tri-lens images. A measuring probe fixture used to be inserted into an electrolytic cell to collect two horizontal samples; An edge intelligent controller is deployed with the aforementioned electrolytic cell two-level embodied intelligent dual-arm force control detection system, used to execute the steps of any of the aforementioned electrolytic cell two-level embodied intelligent dual-arm force control detection methods.

[0027] The fourth objective of this invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods for the two-level integrated intelligent dual-arm force control detection of an electrolytic cell.

[0028] The beneficial effects of this invention are as follows:

[0029] 1. Dual-baseline independent leveling significantly improves measurement accuracy.

[0030] This invention forms a closed kinematic chain by segmenting the upper and lower sections of the measuring probe with two arms. Combined with a hierarchical reinforcement learning network, which integrates upper-level global coarse adjustment and lower-level independent fine adjustment of the left and right arms, it achieves independent leveling of the upper and lower boundary lines of the measuring probe. This eliminates the non-parallelism error caused by single push rods, single arms, or rigid limiting structures that cannot be segmented for adjustment. The steady-state adjustment error is ≤0.1mm, and the overall measurement error is consistently ≤2.5mm, exceeding the ±5mm industry limit specified in the YS / T 784-2024 standard.

[0031] 2. The internal and external forces of the closed-chain double arms are precisely decoupled to avoid bending of the measuring probe.

[0032] This invention utilizes closed-chain dual-arm dynamics calculation to decompose the measurements from the six-dimensional force sensors in the left and right arms into external environmental contact force vectors and closed-chain internal force vectors. For the first time, it achieves real-time extraction of closed-chain internal forces in two-level measurements within an electrolytic cell. Unlike existing technologies that only monitor external clamping and lateral forces while completely ignoring closed-chain internal forces, this invention incorporates internal forces into the reinforcement learning reward function penalty term, ensuring that the closed-chain internal force is ≤30N during leveling and calibration. This fundamentally avoids the engineering defects of traditional schemes where calibration errors and attitude adjustments cause internal forces to bend the measuring probe.

[0033] 3. Dual internal and external force safety constraints, and dual soft and hard protection to prevent equipment damage.

[0034] This invention simultaneously constrains external contact forces, and the reinforcement learning reward function incorporates both external force over-limit penalties and internal force over-limit penalties into the optimization objective. The underlying impedance servo layer performs safe trimming and compliance processing on the desired pose increment, coupled with a hardware force over-limit emergency stop loop independent of the entire AI algorithm, achieving a dual safeguard of AI strategy optimization and underlying hardware safety. Existing solutions lack real-time perception and early warning of external / lateral forces, resulting in excessive thrust damaging the furnace hole refractory material, and insufficient thrust causing the measuring probe to float. This invention achieves real-time perception and safety early warning of external lateral forces for the first time in two-level measurements in an electrolytic cell, completely solving the problems of measuring probe bending and furnace hole refractory material scratching and damage caused by neglecting closed-loop internal forces and lacking external force perception in traditional solutions.

[0035] 4. The lightweight embodied model and the temporal world model have a clear division of labor, reducing the number of closed-loop iterations.

[0036] This invention designs a lightweight embodied model and a temporal world model as a parallel inference architecture. The former is responsible for high-level task decomposition and multimodal semantic condition recognition, while the latter is responsible for the dynamic deduction of historical temporal observation sequences and the prediction of future attitude drift. The inputs, operations, and outputs of the two are independent of each other and there is no functional overlap. The parallel outputs of the two serve as the prior benchmark actions of the hierarchical PPO, so that a single leveling requires only 1-2 rounds of closed-loop iteration on average, and the overall detection time of a single slot is less than 30 seconds.

[0037] 5. Parallel inference architecture ensures real-time control.

[0038] This invention constructs a four-layer decoupled embodied intelligence architecture, with strict isolation between the functions of each layer, avoiding the high inference latency and uncontrollable policy issues caused by large models directly outputting servo commands. The lightweight embodied model and the temporal world model perform parallel inference without waiting for each other after the arrival of multimodal data. The total closed-loop cycle of AI logic is ≤40ms, and the underlying servo cycle is ≥250Hz, running in hard real-time, fully meeting the real-time requirements of industrial-grade high-speed servo closed loop.

[0039] 6. Adaptive robustness under harsh operating conditions.

[0040] This invention dynamically adjusts the confidence coefficient based on the smoke and dust confidence level and the temperature deviation of the measuring probe. The greater the smoke and dust or the greater the temperature deviation, the smaller the confidence coefficient. Under extreme conditions, the time-series world model compensation weight is automatically suppressed to avoid disturbances introduced by erroneous time-series compensation. When the smoke and dust confidence level is greater than the smoke and dust confidence threshold, it is determined to be a heavy smoke and dust condition, and the attitude weight is automatically reduced to prioritize force and internal force safety. If the closed-loop iteration fails to converge after exceeding the maximum number of iterations, a degradation protection is triggered, the system enters a safety rollback process, and outputs a fault alarm label.

[0041] 7. Leveling the image eliminates distortion and improves backend recognition accuracy.

[0042] This invention adopts a "leveling first, recognition later" link design. After the upper and lower references of the measuring rod are leveled to a horizontal position, the two arms are locked, and then the boundary line recognition calculation is started, eliminating the image perspective distortion caused by the tilt of the measuring rod. After leveling, the peak value of the brightness contrast curve of the measuring rod surface is clear and stable. With the multi-frame brightness contrast optimal frame selection strategy, the boundary line recognition accuracy is improved by 30% compared with the existing technology of directly recognizing tilted images. This solves the core defect of the disconnect between the front-end attitude control and the back-end image recognition link in the traditional solution.

[0043] 8. The entire process is unmanned, avoiding the risks of high-risk manual operations.

[0044] This invention achieves a fully automated operation process integrating autonomous navigation, automatic cleaning of measuring rods, AI adaptive leveling, automatic calculation, and data uploading. Only remote monitoring personnel are required, completely avoiding the personal safety hazards posed by the high temperature, strong magnetic field, and toxic fumes in the electrolysis workshop environment. In terms of operation and maintenance, under scenarios such as equipment aging, furnace hole deformation, dense smoke and dust, and slight deformation of the measuring rods, the reinforcement learning network achieves offline small-batch strategy iteration in the background through an experience playback buffer, enabling online automated control strategies. No manual modification of control parameters or recalibration is required. The operation and maintenance workload is reduced by 85% compared to the traditional fixed PID dual-arm leveling solution, and the average success rate is increased by 40% under extreme operating conditions. Attached Figure Description

[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0046] Figure 1 This is a flowchart illustrating a two-level intelligent dual-arm force control detection method for an electrolytic cell according to an embodiment of the present invention. Figure 2 This is a schematic diagram of the overall structure of an intelligent dual-arm force control and detection system for a two-level electrolytic cell, according to an embodiment of the present invention. Figure 3 This is a flowchart of the sub-steps of the four-layer decoupled embodied intelligence architecture in an embodiment of the present invention.

[0047] The accompanying drawings have illustrated specific embodiments of the invention, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the invention in any way, but rather to illustrate the concept of the invention to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0048] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the described embodiments of the present invention without inventive effort are within the scope of protection of the present invention. Unless otherwise defined, the technical or scientific terms used herein should have the ordinary meaning understood by those skilled in the art to which this invention pertains.

[0049] Terminology Explanation Two levels: These refer to two key process parameters in the electrolytic cell during aluminum production—the aluminum level and the electrolyte level. The molten aluminum settles at the bottom of the electrolytic cell, while the electrolyte (molten cryolite-alumina system) floats on top. The heights of these two liquid levels are called the aluminum level and the electrolyte level, respectively, collectively known as the two levels.

[0050] Measuring probe: A specialized tool used to measure two horizontal heights, typically a slender metal rod (mostly made of cast iron or carbon steel). After being vertically inserted into the furnace hole of the electrolytic cell, electrolyte and molten aluminum at different heights solidify and adhere to the surface of the measuring probe. By identifying the boundary line between the two, the values ​​of the two horizontal levels can be calculated. The measuring probe used in this invention conforms to the YS / T 784-2024 standard.

[0051] Trinocular image: refers to three frames of images captured synchronously by three cameras at the same time. These include a global environment image captured by the head global camera, a local image of the upper edge of the measuring rod captured by the left arm upper edge local camera, and a local image of the lower edge of the measuring rod captured by the right arm lower edge local camera. The three frames are acquired synchronously using a unified hardware clock, ensuring time alignment accuracy that meets the requirements for subsequent image segmentation and deviation calculation. In the following description of this invention, "trinocular image" refers to the set of these three frames, each used for feature extraction at different scales—the global image is used for scene understanding and slot identification, while the upper and lower edge local images are used for independent localization and attitude calculation of the upper and lower boundaries of the measuring rod, respectively.

[0052] Upper boundary line: After the measuring probe is immersed in the electrolytic cell, the boundary between the electrolyte adhering to the surface of the measuring probe and the bare measuring probe, i.e., the position where the measuring probe penetrates the electrolyte surface and enters the electrolyte. The image characteristic corresponding to this position is a sudden change in brightness—the bare section of the measuring probe is bright at high temperature, while the section with electrolyte adhering to it is less bright. In the horizontal brightness accumulation array, this corresponds to the first obvious gradient change extreme point.

[0053] The lower boundary line: the boundary between the electrolyte layer and the molten aluminum layer in the probe immersion section, i.e., the boundary between the electrolyte and the molten aluminum surfaces. The corresponding image feature at this location is a sudden change in brightness—the electrolyte-attached section appears bright red, while the molten aluminum-attached section appears dark gray. In the horizontal brightness accumulation array, this corresponds to the second gradient change extreme point.

[0054] The VLA (Vision-Language-Action Model) is a large-scale multimodal model encompassing vision, language, and action, capable of simultaneously processing images, text, and action commands, and possessing high-level semantic understanding and task decomposition capabilities. This invention is based on the π0.5 model and undergoes distillation.

[0055] Lightweight embodied model: refers to an embodied intelligent model that possesses multimodal perception and action generation capabilities, has reduced parameter count after lightweight processing (such as knowledge distillation, model pruning, etc.), and meets the inference latency requirements of industrial sites; it is used to perform high-level semantic understanding and coarse-grained task planning on multimodal data, outputting coarse-grained basic action vectors, and does not participate in the underlying high-speed servo closed loop. In this invention, the lightweight embodied model is preferably a lightweight VLA model obtained through knowledge distillation, the teacher model is the original π0.5 model, the student model parameter count is preferably 0.8B-1.2B, and the inference frequency is preferably 5-15Hz; those skilled in the art may also use other lightweight embodied models or lightweight VLA models disclosed in the prior art as equivalent replacements.

[0056] PPO (Proximal Policy Optimization): A policy gradient reinforcement learning algorithm that improves training stability by introducing a pruning mechanism during policy updates to limit the magnitude of single-step updates.

[0057] KL divergence (Kullback-Leibler Divergence): An asymmetric measure of the difference between two probability distributions, used in knowledge distillation to constrain the student model output distribution to align with the teacher model output distribution.

[0058] GRU (Gated Recurrent Unit): A recurrent neural network structure that controls the flow of information by updating and resetting gates. It is simpler than LSTM and is suitable for medium-length time series prediction tasks.

[0059] The four-layer decoupled embodied intelligent architecture (L1-L4) constructed in this invention consists of a high-level semantic planning layer (L1), a temporal prediction compensation layer (L2), a hierarchical reinforcement learning fine-tuning layer (L3), and a low-level impedance force control servo execution layer (L4), with each layer's functions strictly isolated. Specifically, layer L1 uses a lightweight embodied model to perform high-level semantic understanding and coarse-grained task planning; layer L2 uses a temporal world model to perform historical temporal dynamics deduction and future pose drift prediction; layer L3 uses a hierarchical PPO reinforcement learning network to perform force control strategy fine-tuning and output the desired end-effector pose increment; and layer L4 uses the low-level impedance force control servo execution layer to perform force-position hybrid control, closed-loop internal force calculation, and safety fallback, outputting joint servo commands. Both the lightweight embodied model and the temporal world model can be models already disclosed in the prior art, and their specific selection does not constitute an innovation of this invention.

[0060] Decoupling refers to the strict isolation of functions among the layers in the four-layer architecture. Layer L1 is responsible for high-level semantic planning, layer L2 for temporal prediction compensation, layer L3 for reinforcement learning fine-tuning, and layer L4 for low-level impedance servo execution. The inputs, operations, and outputs of each layer are independent, with the output of the upper layer serving as the input of the lower layer. However, the internal operations of each layer do not interfere with each other, avoiding functional overlap and coupling. In this invention, "decoupling" also refers to the independence of the observation space and action space between the upper-layer global coarse-tuning network and the lower-layer independent fine-tuning branches of the left and right arms in the hierarchical reinforcement learning network: the left arm fine-tuning branch only receives the upper boundary deviation, and the right arm fine-tuning branch only receives the lower boundary deviation. The two branches do not share inputs and outputs, thereby eliminating motion coupling interference caused by the rigid measurement probe.

[0061] Impedance control: A robot compliance control method that adjusts the dynamic response characteristics between the robot's end position and contact force by establishing a desired second-order mass-damping-stiffness system relationship, thereby enabling the robot to exhibit the desired compliant behavior.

[0062] Closed chain: In robotics, when the ends of two or more kinematic chains are connected to the same object, each kinematic chain and the object together form a closed motion loop. In this invention, the two arms jointly clamping the same measuring rod constitute a closed chain system, and there are mutually constraining internal forces between the two arms.

[0063] Closed-chain internal force: refers to the internal compressive force generated between the kinematic chains in a closed-chain system through the mutual compression of the clamped objects. In this invention, the closed-chain internal force is the internal compressive force generated between the left and right arm grippers through the mutual compression of the measuring pins. The closed-chain internal force is decoupled from the contact forces of the external environment (clamping force, lateral force) through force balance conditions.

[0064] Safe Zone and Penalty Term: In reinforcement learning, the penalty term guides the policy network to avoid entering an unsafe state. This invention encodes the safe boundaries of external and internal forces as part of the reward function, and the penalty term takes a positive value when the safe zone is exceeded. P_F is the penalty term for exceeding the external force limit, and P_Fint is the penalty term for exceeding the closed-loop internal force limit.

[0065] Six-dimensional force refers to the force components (Fx, Fy, Fz) and torque components (Mx, My, Mz) in three-dimensional space in three orthogonal directions, totaling six degrees of freedom, which can completely describe the force and torque state in space. In this invention, a six-dimensional force / torque sensor is integrated at the end of each arm to collect six-dimensional force data from the left and right arms, respectively.

[0066] Knowledge Distillation: A model compression technique that mimics the output behavior of a teacher model with a larger number of parameters by training a 'student model' with fewer parameters, significantly reducing inference latency and computational resource consumption while maintaining similar performance. The lightweight embodied model used in this invention is a lightweight model obtained through such knowledge distillation, with fewer parameters than the teacher model. Those skilled in the art can use such models already disclosed in the prior art.

[0067] Drift: refers to the temporal changes in the attitude and clamping force of the two arms during the leveling process of the measuring probe held by the two arms, caused by time-varying factors such as high-temperature thermal expansion, buoyancy of molten aluminum, creep of the measuring probe, and deformation of the furnace hole. In this invention, drift includes three components: pitch angle drift of the two arms, lateral offset drift, and clamping force drift, which are derived from the time-series world model based on historical time-series observation sequences.

[0068] Confidence coefficient: Characterized by the reliability of the drift compensation vector output by the time-series world model under the current operating conditions, with a value ranging from 0 to 1. The greater the smoke and dust or the greater the deviation of the measuring probe temperature from the reference temperature, the worse the imaging environment and the less reliable the time-series extrapolation, resulting in a smaller confidence coefficient; conversely, the smaller the confidence coefficient, the better. The confidence coefficient is used to weight the drift compensation vector to suppress disturbances introduced by erroneous time-series compensation under extreme operating conditions.

[0069] Smoke Confidence: This quantifies the degree of smoke interference in the current imaging environment, with a value ranging from 0 to 1. A higher smoke confidence indicates denser smoke and poorer image quality. The smoke confidence is derived from the mean grayscale value and the proportion of high-frequency information in the trinocular image using a pre-trained regression model, and is one of the inputs for calculating the confidence coefficient.

[0070] A temporal world model is a time-series prediction model that recursively derives historical temporal states from historical time-series observation sequences and performs dynamic deductions on these historical temporal states to predict future state changes. In this invention, the functional boundary of the temporal world model is limited to performing only temporal dynamic deductions and not image semantic recognition; its output is a drift compensation vector. The temporal world model can employ a time-series prediction model built based on a gated recurrent unit (GRU).

[0071] Pitch angle: refers to the angle of rotation of the end effector of a robotic arm around a horizontal axis, used to describe the pitch component of the end effector's attitude.

[0072] Lateral offset: refers to the amount of horizontal offset of the measuring rod boundary line in the image coordinate system.

[0073] Multimodal data refers to image, force, temperature, and attitude data that are synchronously acquired and time-aligned by a tri-camera, a six-dimensional force sensor, a temperature sensor, and a tilt sensor. In this invention, multimodal data includes at least tri-camera images, dual-arm six-dimensional force data, measuring rod temperature data, and chassis locking status data.

[0074] Preset safety thresholds: These refer to the force thresholds used to ensure the safety of the measuring probe, grippers, and furnace orifice, including the clamping force safety range, lateral force safety threshold, and closed-chain internal force safety threshold. The lower limit of the clamping force safety range is determined based on the minimum normal pressure required to maintain stable clamping of the measuring probe in the electrolyte and molten aluminum, while the upper limit is determined based on the yield strength of the measuring probe material. The upper limit of the lateral force safety threshold is determined based on the compressive strength of the furnace orifice inner wall material and the bending stiffness of the measuring probe. The upper limit of the closed-chain internal force safety threshold is determined based on the critical pressure bar stability load of the measuring probe. When the preset safety thresholds are exceeded, the bottom-level impedance servo automatically decelerates and fine-tunes the gripper posture, or triggers the hardware force over-limit emergency stop circuit.

[0075] Preset tilt angle threshold: refers to the maximum tilt angle value allowed when the tilt angles of the upper and lower boundary lines are leveled and converged. It is determined according to the industry accuracy standard (YS / T 784-2024) for two-level measurement of the electrolytic cell and the physical calibration accuracy of the measuring probe.

[0076] Preset offset threshold: refers to the maximum allowable offset when the lateral offset of the upper boundary line and the lateral offset of the lower boundary line are leveled and converged. It is determined according to the industry accuracy standard (YS / T 784-2024) for the two horizontal measurements of the electrolytic cell and the physical calibration accuracy of the measuring probe.

[0077] Preset maximum number of iterations: This refers to the maximum number of iterations allowed for leveling and closing the loop in a hierarchical reinforcement learning network. It is set based on actual operational efficiency requirements and equipment safety margins. If convergence is not achieved after reaching the preset maximum number of iterations, degradation protection is triggered.

[0078] Preset speed: refers to the insertion speed when the measuring probe is inserted into the electrolytic cell by the two arms working together. It is set according to the diameter of the furnace hole and the fluctuation of the liquid level in the cell. In this embodiment, the value range is 0.2m / s to 0.8m / s.

[0079] Preset time: refers to the time after the measuring probe is inserted into the bottom of the tank and left to stand, based on the formation of a stable layer of aluminum liquid and electrolyte on the surface of the measuring probe. In this embodiment, the value range is 1 second to 5 seconds.

[0080] Preset distance: When constructing the brightness contrast curve, the starting point is a preset distance from the electrolyte-aluminum liquid boundary line. This preset distance is set according to the image resolution and boundary line recognition accuracy requirements.

[0081] Preset interval: refers to the interval at which the unit segment area is divided along the length of the measuring rod when constructing the brightness contrast curve. It is set according to the image resolution and boundary line recognition accuracy requirements.

[0082] Smoke and Dust Confidence Threshold: This refers to the smoke and dust confidence threshold used to determine heavy smoke and dust conditions. When the smoke and dust confidence level exceeds this threshold, the condition is determined to be heavy smoke and dust, and the attitude weight is automatically reduced to prioritize force and internal force safety. This threshold can be pre-calibrated according to the actual working conditions.

[0083] Example 1

[0084] This embodiment provides a two-level embodied intelligent dual-arm force control detection method for electrolytic cells. This embodiment uses a "dual-arm robot system" as the execution entity and a "four-layer decoupled embodied intelligent architecture" as the core to construct a complete detection link from multimodal perception to servo execution.

[0085] In this embodiment, the application scenario is the routine inspection of 200 electrolytic cells in a 600KA standard electrolytic aluminum production workshop. The cell number sequence and two-level measurement task list of the electrolytic cells to be measured have been imported into the edge intelligent control subsystem. Taking one of the electrolytic cells as the detection object, the temperature of the aluminum liquid in the electrolytic cell is about 940°C, the electrolyte temperature is about 960°C, the furnace hole diameter is about 60mm, and the total height of the aluminum liquid and electrolyte in the cell is about 40cm.

[0086] Before the operation begins, the dual-arm robot system in this embodiment has completed the following deployment and calibration:

[0087] 1. The relative pose calibration of the dual-arm base has been completed, and the six-dimensional force residual optimization calibration matrix under multi-pose clamping has been adopted; hand-eye calibration has been completed; external force safety thresholds have been calibrated, including clamping force safety range, external lateral force safety threshold and closed-chain internal force safety threshold. The specific values ​​are set according to the measuring rod material, furnace hole size and operation reliability requirements; pixel-physical conversion coefficient has been calibrated.

[0088] 2. The lightweight embodied model (the lightweight π0.5 embodied model is used in this embodiment), the temporal world model (built using GRU in this embodiment), and the hierarchical PPO reinforcement learning network have been deployed in the edge intelligent control subsystem and have completed sim-to-real pre-training transfer in the simulation environment.

[0089] After completing autonomous navigation and electromagnetic locking, the dual-arm robot begins the measurement process.

[0090] An embodiment of the present invention provides a two-level intelligent dual-arm force control detection method for electrolytic cells, such as... Figure 1 As shown, it includes the following steps:

[0091] S1, the detection method in this embodiment is performed by a dual-arm robot system, which includes a left arm and a right arm.

[0092] Specifically, the chassis uses multi-sensor fusion navigation to the target electrolytic cell and electromagnetic locking; the lightweight embodied model completes cell number OCR recognition and cell position semantic judgment.

[0093] The dual robotic arms remove the measuring probe and send it into a four-stage composite measuring probe cleaning subsystem to remove solidified deposits. The four-stage composite measuring probe cleaning subsystem includes mechanical scraping, high-speed rotary brushing, high-temperature burning and purging, and visual residue detection. The visual residue detection outputs a Boolean flag indicating cleanliness. If the cleanliness does not meet the standard, the probe is prohibited from flowing further.

[0094] After the cleaning is completed and deemed satisfactory, the dual robotic arms will move the measuring probe to the dual-arm clamping station and begin the force-controlled clamping process.

[0095] In this embodiment, the chassis navigates to the target electrolytic cell, and the electromagnetic lock is engaged. The OCR recognition shows that the cell number matches the cell number assigned by the central control system, indicating that the cell is operating normally and the furnace hole is open. The measuring probe surface has a significant amount of residue; after four levels of cleaning, visual inspection determines that the cleanliness is acceptable, and the marker is True.

[0096] S2, control the left arm and right arm to clamp the upper and lower sections of the measuring rod respectively, forming a closed kinematic chain.

[0097] This step is used to control the left and right arms to clamp the upper and lower sections of the measuring probe respectively, forming a closed kinematic chain.

[0098] S21, the left arm and the right arm respectively clamp the upper and lower sections of the measuring rod to form a closed kinematic chain, read the six-dimensional force sensor data and calculate the contact force of the external environment and the internal force of the closed chain.

[0099] This sub-step is used to form a closed kinematic chain by clamping the upper and lower sections of the measuring rod with the left and right arms respectively, reading the data of the six-dimensional force sensor of the two arms and calculating the contact force of the external environment and the internal force of the closed chain, and adjusting the opening of the gripper through the bottom impedance servo to bring the clamping force and the internal force of the closed chain into a safe range.

[0100] The left and right arms respectively clamp the upper and lower sections of the measuring probe, forming a closed kinematic chain by clamping the same measuring probe together. The measurement values ​​from the six-dimensional force sensors of the left and right arms are read, and then the calculation process is executed. Specifically: The closed-chain double-arm force information is calculated in the following way:

[0101] 1. Decompose the six-dimensional force sensor measurements of the left arm and the right arm into external environmental contact force vectors and closed-chain internal force vectors.

[0102] Specifically, based on the rigid body dynamics equations of the two arms, the total force collected by the six-dimensional force sensors of the left and right arms is equal to the external environmental contact force superimposed on the mutual internal force generated by the clamping of the measuring rod by the two arms; using the rigid body dynamics constraints of the measuring rod as the equation conditions, a set of force equations is constructed and solved to separate the external environmental contact force and the closed-chain internal force.

[0103] The external environmental contact force includes clamping force and lateral force. The clamping force is the normal force that the jaws press vertically on the surface of the measuring probe, and the lateral force is the transverse external force that the measuring probe experiences perpendicular to its axial direction. The closed-chain internal force is the internal compressive force generated by the mutual squeezing of the left arm gripper and the right arm gripper through the measuring rod.

[0104] 2. Based on the force balance condition of the closed-chain system, calculate the force / torque components of the left arm sensor measurement value and the right arm sensor measurement value in the same measurement direction respectively: add the components in the same direction and take the average value as the component of the external environmental contact force in that direction; subtract the components in the same direction and take the average value as the component of the closed-chain internal force in that direction.

[0105] The "same measurement direction" refers to the three force directions (Fx, Fy, Fz) and three torque directions (Mx, My, Mz) measured by the six-dimensional force sensor, totaling six dimensions. During left and right arm data fusion, the left arm Fx corresponds to the right arm Fx, the left arm Fy corresponds to the right arm Fy, the left arm Fz corresponds to the right arm Fz, the left arm Mx corresponds to the right arm Mx, the left arm My corresponds to the right arm My, and the left arm Mz corresponds to the right arm Mz; cross-dimensional mixing and calculation are not performed.

[0106] 3. Adjust the clamping force and the closed-chain internal force to a safe range based on the external environmental contact force and the closed-chain internal force.

[0107] The bottom-level impedance servo pre-adjusts the opening of the left and right arm grippers based on the deviation between the current clamping force and the safety threshold, so that the clamping force F_z enters the preset safety range, while monitoring the closed-chain internal force F_int to not exceed the preset internal force threshold; the preset safety range and preset internal force threshold are set according to the measuring rod material, furnace hole size and operational reliability requirements.

[0108] In this embodiment, the initial clamping force exceeds the upper limit of the safe range, and the closed-chain internal force exceeds the preset internal force threshold. The underlying impedance servo adjusts the jaw opening according to the deviation, adjusting the clamping force to within the safe range, and the closed-chain internal force decreases below the safe threshold, thus entering the safe range.

[0109] S22, the two arms work together to vertically insert the measuring probe into the electrolytic cell from the furnace hole at a preset speed, monitor the external lateral force and the closed chain internal force in real time, and automatically decelerate and finely adjust the gripper posture when the limit is exceeded.

[0110] This sub-step follows step S21, where the clamping force and closed-chain internal force are both within a safe range. This is used to monitor the external lateral force and closed-chain internal force in real time through the bottom impedance servo during the dual-arm collaborative insertion measurement probe. When the force exceeds the limit, the system automatically decelerates and finely adjusts the gripper posture to achieve safe and reliable force-controlled insertion.

[0111] After step S21 is completed, both the clamping force and the closed-chain internal force are within a safe range, and the two arms maintain a closed-chain clamping state on the measuring probe. Based on this, the two arms work together to vertically insert the measuring probe into the electrolytic cell through the furnace hole at a preset speed. The preset speed is set according to the furnace hole diameter and the liquid level fluctuation in the cell. The smaller the furnace hole diameter, the lower the preset speed, to avoid collision between the measuring probe and the inner wall of the furnace hole; the greater the liquid level fluctuation, the lower the preset speed, to reduce disturbance to the liquid level stratification during the insertion of the measuring probe. Those skilled in the art can determine the speed within a limited number of experiments within the range of 0.2 m / s to 0.8 m / s based on the specific furnace hole size and the on-site liquid level fluctuation.

[0112] During insertion, the bottom impedance servo monitors the external lateral force F_x and the closed-chain internal force F_int in real time. The external lateral force and the closed-chain internal force each correspond to a preset safety threshold. The specific values ​​of the preset safety thresholds are determined as follows: the lower limit of the clamping force safety range is determined based on the minimum positive pressure required for the measuring probe to maintain stable clamping in the electrolyte and molten aluminum, and the upper limit is determined based on the yield strength of the measuring probe material; the upper limit of the lateral force safety threshold is determined based on the compressive strength of the furnace bore inner wall material; and the upper limit of the closed-chain internal force safety threshold is determined based on the critical pressure bar stabilization load of the measuring probe.

[0113] If the detected external lateral force or closed-chain internal force exceeds the preset safety threshold, the underlying servo automatically decelerates and fine-tunes the gripper posture to reduce the force.

[0114] After the measuring probe is inserted into the bottom of the tank, it is left to stand for a preset time. The preset time is based on the formation of a stable layer of aluminum liquid and electrolyte on the surface of the measuring probe. Those skilled in the art can determine the time within the range of 1 to 5 seconds through prior experiments, depending on the electrolyte composition, aluminum liquid temperature, and ambient temperature of different tank types. After standing, the measuring probe is held by both arms and pulled out of the electrolytic cell, slightly retracted to the imaging field of view of the trinocular camera.

[0115] In this embodiment, after step S21 is completed, both the clamping force and the closed-chain internal force are within a safe range. During insertion, if an external lateral force exceeds a preset safety threshold, the underlying servo automatically decelerates and fine-tunes the gripper posture, reducing the lateral force to within the safety threshold, and the insertion of the measurement probe continues. After resting, the probe is pulled out, retracted to the imaging field of view, and the measurement probe retracted to the imaging field of view is output.

[0116] S23, after the measuring probe is inserted into the bottom of the tank, it is left to stand for a preset time to allow the aluminum liquid and electrolyte to form a stable layered adhesion on the surface of the measuring probe, and the two arms are retracted to the multimodal imaging field of view.

[0117] This sub-step follows the measurement probe output from step S22, which is returned to the imaging field of view. It is used to confirm that the molten aluminum and electrolyte form a stable layered adhesion on the surface of the measurement probe, thus preparing for the multimodal synchronous acquisition in step S3.

[0118] After step S22 is completed, the measuring probe has been pulled out of the electrolytic cell and retracted into the imaging field of the trinocular camera. The measuring probe is left to stand for a preset time after being inserted to the bottom of the cell, allowing the molten aluminum and electrolyte to form a stable layered adhesion on the surface of the measuring probe. After standing, the measuring probe is held by both arms and pulled out of the electrolytic cell, retracting slightly into the imaging field of the trinocular camera, ready to execute the multimodal synchronous acquisition in step S3.

[0119] In this embodiment, after step S22 is completed, the measuring probe has been retracted to the imaging field of view, and the aluminum liquid and electrolyte form a stable layered adhesion on the surface of the measuring probe, ready to enter the multimodal acquisition step S3.

[0120] S3, under the closed kinematic chain, multimodal data is collected synchronously by multiple sensors to calculate the dual horizontal deviation matrix and the force information of the closed chain's two arms in the current frame.

[0121] This step involves synchronously acquiring multimodal data using a tri-camera and multiple sensors under the closed kinematic chain formed by the left and right arms clamping the measuring probe. Based on this multimodal data, the dual-level deviation matrix of the current frame is calculated, and the force information of the two arms of the closed kinematic chain is calculated based on the force balance relationship of the closed kinematic chain. The multimodal data is used for parallel inference of the lightweight embodied model and the temporal world model; the dual-level deviation matrix is ​​used for leveling inference of the hierarchical reinforcement learning network; and the force information of the two arms of the closed chain is used for calculating the force penalty term in the reward function of the hierarchical reinforcement learning network. The specific implementation process is as follows:

[0122] S31, perform noise reduction preprocessing on the trinocular image in the multimodal data, determine the left and right boundaries of the measuring rod by longitudinal brightness accumulation, and crop out the strip area where the measuring rod is located.

[0123] This sub-step is used to trigger synchronous acquisition of multiple sensors through a unified hardware clock, and to perform noise reduction preprocessing on the tri-view images in the multimodal data. The left and right boundaries of the measuring rod are determined by longitudinal brightness accumulation, and the strip area where the measuring rod is located is cropped out, providing time-aligned raw data for subsequent deviation calculation and closed-chain internal force calculation.

[0124] The tri-lens camera is triggered by a unified hardware synchronization clock for synchronous exposure, acquiring tri-lens images; it also synchronously triggers the reading of data from the six-dimensional force sensors at the ends of both arms and the temperature sensor data from the measuring rod; and it synchronously acquires the locking status data of the chassis control system. Each of the two arms is equipped with a six-dimensional force sensor, each outputting three force components and three torque components. All sensor signals are filtered for strong magnetic environmental noise.

[0125] In this embodiment, multimodal data is acquired synchronously, including: trinocular images, data from dual-arm six-dimensional force sensors, measurement rod temperature data, and chassis locking status data.

[0126] S32, perform lateral brightness accumulation on the strip region, determine the position of the upper boundary line and the position of the lower boundary line according to the gradient change of the accumulation array; extract the tilt angle and lateral offset of the upper boundary line and the tilt angle and lateral offset of the lower boundary line to construct a double horizontal deviation matrix.

[0127] This sub-step is used to perform denoising and segmentation processing on the triocular image, extracting the tilt angle and lateral offset of the upper and lower boundary lines of the measurement rod respectively, and constructing a dual horizontal deviation matrix to provide attitude error observation for the hierarchical reinforcement learning network.

[0128] Smoke and dust denoising preprocessing is performed on the trinocular images. The left and right boundaries of the measuring probe in each image are determined by vertical brightness accumulation: the pixel grayscale values ​​of each column are summed along the horizontal direction to obtain a one-dimensional vertical accumulation array. The positions in this array that first exceed the boundary brightness threshold and the positions that last exceed the boundary brightness threshold are searched and determined as the left and right edges of the measuring probe, respectively. This allows the strip-shaped region containing the measuring probe to be cropped from the image, eliminating background interference. The boundary brightness threshold is adaptively determined based on the overall brightness distribution of the image.

[0129] Then, a horizontal brightness accumulation is performed on the strip region: the pixel grayscale values ​​of each row are summed along the vertical direction to obtain a one-dimensional horizontal accumulation array, which reflects the brightness distribution along the length of the measured probe. The gradient changes of this array are analyzed, and the first gradient abrupt change extreme value position is determined as the upper boundary line position, and the second gradient abrupt change extreme value position is determined as the lower boundary line position.

[0130] After extracting the upper and lower boundary lines, calculate the tilt angle θ1 and lateral offset ΔY1 of the upper boundary line in the image coordinate system, and the tilt angle θ2 and lateral offset ΔY2 of the lower boundary line in the image coordinate system, and construct a double horizontal deviation matrix Err=[θ1,ΔY1,θ2,ΔY2]. TIn this dual-level deviation matrix, θ1 and ΔY1 correspond to the upper reference of the measuring rod, and θ2 and ΔY2 correspond to the lower reference of the measuring rod. There is no strong coupling constraint between the upper and lower references, which supports independent optimization of the upper and lower edges during subsequent leveling.

[0131] In this embodiment, after smoke and dust noise reduction preprocessing and brightness accumulation segmentation, the calculated values ​​are θ1=0.72°, ΔY1=0.41mm, θ2=0.65°, and ΔY2=0.46mm.

[0132] S33 decomposes the six-dimensional force sensor measurements of the left and right arms into external environmental contact force vectors and closed-chain internal force vectors, and extracts clamping force, lateral force, and closed-chain internal force.

[0133] This sub-step decomposes the six-dimensional force sensor data collected in step S31 into external environmental contact force and closed-chain internal force, providing real-time force observation for the force penalty term in the reward function of the hierarchical reinforcement learning network. In step S21, the six-dimensional force sensor data during the clamping phase has already been calculated to adjust the clamping force and closed-chain internal force to a safe range. In this sub-step, the measuring probe has been inserted into the electrolytic cell and then removed, resulting in a change in the force state. Therefore, the new frame of six-dimensional force sensor data collected in step S31 needs to be recalculated to obtain the external environmental contact force and closed-chain internal force for the current frame.

[0134] The calculation algorithm for this sub-step is the same as that for step S21. Based on the force balance condition of the closed-chain system, the force / torque components of the six-dimensional force sensor measurements from the left and right arms in the same measurement direction are calculated separately: the components in the same direction are added together and the average value is taken as the component of the external environmental contact force in that direction; the components in the same direction are subtracted and the average value is taken as the component of the closed-chain internal force in that direction. The calculation result also includes the external environmental contact force and the closed-chain internal force. The external environmental contact force includes clamping force and lateral force, and the closed-chain internal force is the internal compressive force generated by the mutual pressing of the left and right arm grippers through the measuring pin. The only difference between this sub-step and step S21 is the data source: step S21 uses six-dimensional force sensor data from the clamping stage, while this sub-step uses a new frame of six-dimensional force sensor data acquired in step S31.

[0135] After obtaining the contact force vector of the external environment, the clamping force component and the lateral force component are extracted from it; at the same time, the internal force vector of the closed chain is extracted.

[0136] The aforementioned clamping force, lateral force, and closed-chain internal force each correspond to a preset safety threshold. The specific values ​​of these preset safety thresholds are determined as follows: the lower limit of the clamping force safety range is determined based on the minimum normal pressure required to maintain stable clamping of the measuring probe in the electrolyte and molten aluminum, while the upper limit is determined based on the yield strength of the measuring probe material; the upper limit of the lateral force safety threshold is determined based on the compressive strength of the furnace bore inner wall material and the bending stiffness of the measuring probe; the upper limit of the closed-chain internal force safety threshold is determined based on the critical pressure bar stability load of the measuring probe. When the corresponding safety threshold is exceeded, a penalty term is activated, which is used for calculating the reward function of the subsequent hierarchical reinforcement learning network.

[0137] In this embodiment, after the left arm sensor measurement value and the right arm sensor measurement value are processed by the above-mentioned calculation logic, the resulting clamping force, lateral force and closed chain internal force are all within their respective safety threshold ranges.

[0138] S4. Perform inference on the multimodal data through a lightweight embodied model and perform inference on the historical time-series observation sequence through a time-series world model to generate coarse-grained basic action vectors and drift compensation vectors.

[0139] This step is used to perform high-level semantic understanding and temporal dynamics deduction on the multimodal data output from step S3, respectively, to generate coarse-grained basic motion vectors and future attitude drift compensation vectors.

[0140] like Figure 3 As shown, the correspondence between each sub-step from S4 to S6 and the four-layer decoupled embodied intelligence architecture is as follows: step S41 corresponds to the L1 high-level semantic planning layer, step S42 corresponds to the L2 temporal prediction compensation layer, step S5 is action fusion, steps S61 and S62 correspond to the L3 hierarchical reinforcement learning fine-tuning layer, step S63 corresponds to the L4 low-level impedance force control servo execution layer, step S64 is convergence determination, and step S65 is sample storage and policy update.

[0141] S41, input the multimodal data into the lightweight embodied model, perform high-level semantic understanding and coarse-grained task planning, and output a coarse-grained basic motion vector including coarse adjustment of the pitch angle of both arms, coarse adjustment of the lateral offset, and coarse adjustment reference of the clamping force.

[0142] This sub-step is the L1 high-level semantic planning layer in the four-layer decoupled embodied intelligence architecture. It is used to perform high-level semantic understanding and coarse-grained task planning on multimodal data through a lightweight embodied model. It outputs coarse-grained basic motion vectors containing coarse adjustment amounts for the pitch angle of the two arms, coarse adjustment amounts for the lateral offset, and coarse adjustment reference amounts for the clamping force. It provides an intermediate interface between semantics and motion between the large model and the high-speed servo closed loop.

[0143] The tri-view image, six-dimensional force data of the two arms (including closed-chain internal force), the measured rod temperature data, the chassis locking status data, and the task text output in step S3 are input into the lightweight embodied model.

[0144] In a preferred embodiment, the lightweight embodied model is a student model obtained through knowledge distillation; the teacher model for knowledge distillation is a native π0.5 model; during distillation, a multimodal sample set from an electrolytic aluminum workshop is used, and the output distribution of the lightweight embodied model is constrained to be consistent with the output distribution of the teacher model using KL divergence loss; the parameter size of the lightweight embodied model is preferably 0.8B-1.2B, smaller than the parameter size of the teacher model; the inference frequency is preferably 5-15Hz, lower than the servo closed-loop control frequency, and does not participate in the high-speed servo closed loop. In this embodiment, the lightweight embodied model is fine-tuned in the domain using a multimodal sample set from an electrolytic aluminum workshop to adapt it to the high temperature, strong magnetic field, and dense smoke and dust conditions of the electrolytic aluminum workshop. Those skilled in the art can also directly use the lightweight VLA model disclosed in the prior art, or use other model compression methods to obtain a lightweight model, all of which are equivalent substitutions of this invention.

[0145] The model performs high-level semantic understanding and coarse-grained task planning, and outputs coarse-grained basic action vectors.

[0146] In this embodiment, the lightweight embodied model identifies the current working condition as a normal measurement working condition, and all components of the coarse-grained basic motion vector are within the safe range, thus the safety filter verification passes.

[0147] S42, input the continuous multi-frame historical time-series observation sequence in the time-series buffer into the time-series world model. The time-series world model performs dynamic deduction on the historical time-series observation sequence and outputs a drift compensation vector containing the double-arm pitch angle drift compensation, lateral offset drift compensation, and clamping force drift compensation.

[0148] This sub-step is the L2 temporal prediction and compensation layer in the four-layer decoupled embodied intelligence architecture. It is used to perform inference on the historical temporal observation sequence through the temporal world model, recursively obtain the historical temporal state based on the historical temporal observation sequence, and perform dynamic deduction on the historical temporal state to predict the attitude drift trend at future moments and output a drift compensation vector containing the pitch angle drift compensation of both arms, the lateral offset drift compensation, and the clamping force drift compensation, so as to provide time-varying disturbance prediction information for subsequent action fusion.

[0149] The sequence of consecutive historical time-series observations from the time-series buffer is input into the time-series world model. As a preferred embodiment, the time-series world model can be constructed using a time-series prediction model based on gated recurrent units, whose functional boundary is limited to performing dynamic deduction of historical time-series states only, without performing image semantic recognition. The historical time-series observation sequence serves as the external input to the time-series world model, consisting of multiple consecutive frames of time-series state data. This time-series state data includes at least the tilt angle of the upper and lower boundary lines, lateral offset, six-dimensional force of both arms, measured drill temperature, and furnace gap, all calculated from historical visual data. The time-series world model recursively derives the historical time-series state frame by frame based on the historical time-series observation sequence. This historical time-series state is the implicit state of the time-series world model. The time-series world model performs dynamic deduction on the historical time-series state, outputting an attitude drift compensation vector for predicting future moments. This attitude drift compensation vector is a 5-dimensional vector, corresponding to the left arm pitch angle drift compensation, right arm pitch angle drift compensation, left arm lateral offset drift compensation, right arm lateral offset drift compensation, and clamping force drift compensation. Those skilled in the art can use publicly available time-series prediction models or other time-series prediction models; all are equivalent substitutions of this invention.

[0150] In a preferred embodiment, the lightweight embodied model and the temporal world model can employ parallel inference, without waiting for each other. That is, multimodal data is simultaneously fed into both the lightweight embodied model and the temporal world model upon arrival. The lightweight embodied model in layer L1 performs inference on the multimodal data, while the temporal world model in layer L2 performs inference on the historical temporal observation sequence in the temporal buffer and recursively obtains the historical temporal state. Layer L2 and layer L1 perform inference in parallel without waiting for the output result of layer L1. The total closed-loop cycle of the AI ​​logic is ≤40ms.

[0151] In this embodiment, the temporal world model extrapolates future attitude drift based on the current temporal window and outputs each component of the drift compensation vector.

[0152] S5. Based on the confidence coefficient of the current working condition, the coarse-grained basic motion vector and the drift compensation vector are weighted and fused to generate a fused reference motion vector.

[0153] This step is used to calculate the confidence coefficient based on the dust concentration and the measured drill temperature under the current operating conditions, and to weightedly fuse the coarse-grained basic action vector output from step S4 with the drift compensation vector to generate a fused baseline action vector, which serves as the prior input to the hierarchical reinforcement learning network.

[0154] S51, extract the grayscale mean and high-frequency information ratio of the tri-view image in the multimodal data, input them into the pre-trained regression model, and output the smoke and dust confidence score.

[0155] This sub-step is used to infer the grayscale features of the trinocular image through a regression model, quantify the degree of smoke and dust interference in the current imaging environment, and provide an environmental perception basis for the calculation of the confidence coefficient.

[0156] Based on the trinocular image acquired in step S3, the mean gray level and the proportion of high-frequency information in the image are extracted, input into a pre-trained regression model, and the smoke and dust confidence score is output. This index is used to quantify the degree of smoke and dust interference in the current imaging environment.

[0157] In a preferred embodiment, the regression model employs a random forest regression model, using the image's grayscale mean and the proportion of high-frequency information as input features, and manually labeled smoke and dust confidence scores as labels for training. The output is a smoke and dust confidence score ranging from 0 to 1. The random forest regression model exhibits good robustness to high-dimensional noisy data and can adapt to the uneven distribution of smoke and dust in electrolysis workshops. Those skilled in the art can also choose other types of regression models (such as support vector regression, neural network regression, etc.) according to the actual application scenario; all of these are equivalent substitutions of the present invention.

[0158] In this embodiment, the mean grayscale value and the proportion of high-frequency information of the tri-view image are extracted and then input into the regression model to output the confidence score of smoke and dust.

[0159] S52, calculate the confidence coefficient based on the confidence level of the smoke and dust and the deviation of the measured probe temperature from the reference temperature. The greater the confidence level of the smoke and dust or the greater the temperature deviation, the smaller the confidence coefficient.

[0160] This sub-step is used to calculate the confidence coefficient based on the smoke and dust confidence and the temperature fluctuation of the measuring probe, so as to realize the dynamic suppression of the compensation weight of the time series world model under extreme working conditions and avoid the introduction of additional disturbances by erroneous time series compensation.

[0161] Based on the confidence level of the flue gas and the real-time temperature of the measuring probe, the confidence coefficient is calculated according to formula (1): η=η0·(1-S_smoke·e^(-k_T·|T_b-T0|))(1) Where η0 is the baseline confidence coefficient, k_T is the temperature fluctuation attenuation coefficient, T0 is the reference temperature of the measuring probe, S_smoke is the smoke and dust confidence level, and T_b is the real-time temperature of the measuring probe. The physical logic of this formula is: the greater the smoke and dust, the higher S_smoke, and the greater the deviation of the measuring probe temperature from the reference temperature, the lower η becomes, thus suppressing the disturbance introduced by error timing compensation under extreme operating conditions.

[0162] In a preferred embodiment, the baseline confidence coefficient η0, temperature fluctuation attenuation coefficient k_T, and reference reference temperature T0 are preset according to specific operating conditions. Those skilled in the art can determine their specific values ​​through a limited number of experiments or on-site calibration. η0 reflects the baseline reliability of the time-series world model under normal operating conditions, k_T reflects the rate of influence of temperature deviation on the confidence level, and T0 is taken as room temperature or the reference temperature of the measuring probe under normal operating conditions. Those skilled in the art can calibrate these values ​​according to the actual measurement environment and equipment characteristics.

[0163] In this embodiment, the confidence coefficient is calculated according to formula (1) based on the real-time temperature of the measuring rod. Further, when the smoke and dust confidence coefficient is greater than the smoke and dust confidence threshold, it is determined to be a heavy smoke and dust condition, thus reducing the confidence coefficient η to prioritize the safety of force and internal forces. In this embodiment, the smoke and dust confidence threshold is 0.7.

[0164] S53, the coarse-grained basic motion vector and the drift compensation vector are weighted and summed according to the confidence coefficient to generate a fused reference motion vector.

[0165] This sub-step is used to sum the coarse-grained base action vector and the drift compensation vector by weighting according to the confidence coefficient, and generate a fused baseline action vector, which provides the hierarchical reinforcement learning network with initial policy guidance with physical priors.

[0166] The coarse-grained base motion vector and the drift compensation vector are weighted and summed according to the confidence coefficient to generate the fused baseline motion vector: A_base=A_π05+η·A_p(2) Where A_π05 is the coarse-grained basic action vector, A_p is the drift compensation vector, and η is the confidence coefficient. The fused baseline action vector is a 5-dimensional vector, with dimensions strictly aligned with the coarse-grained basic action vector and the drift compensation vector. This fused baseline action vector serves as the prior baseline action input for the hierarchical reinforcement learning network, replacing the random initial policy, enabling reinforcement learning to optimize the policy within a search space guided by physical priors. Furthermore, when the condition is determined to be heavy smoke and dust, the confidence coefficient η decreases, thereby reducing the weight of the drift compensation vector in equation (2) to prioritize the safety of force and internal forces.

[0167] In this embodiment, the fusion baseline action vector is generated by weighted fusion according to formula (2).

[0168] S6, input the fused reference action vector and the dual-level deviation matrix into the hierarchical reinforcement learning network, output the expected end pose increment through inference, and perform force control closed-loop leveling and convergence determination.

[0169] This step involves the collaborative execution of the L3 hierarchical reinforcement learning network and the L4 low-level impedance servo in the four-layer decoupled embodied intelligence architecture. Specifically, the L3 hierarchical reinforcement learning network performs policy inference and outputs the desired end-effector pose increment, while the L4 low-level impedance servo receives this increment and performs force-position hybrid control and collision detection.

[0170] The fused baseline action vector and the dual-level deviation matrix are input into a hierarchical reinforcement learning network, which includes an upper-layer global coarse-tuning network and a lower-layer independent fine-tuning dual branch for the left and right arms.

[0171] The specific implementation process is as follows:

[0172] S61, the upper-layer global coarse adjustment network uses the pitch component of the fused reference motion vector as the initial reference value for the motion, and outputs the synchronous rotation angle of the two arms according to the tilt angle of the upper and lower dividing line in the dual horizontal deviation matrix, so as to converge the tilt angle of the upper and lower dividing line to within the preset tilt angle threshold.

[0173] This step is the inference process of the upper-layer global coarse adjustment network of the L3 hierarchical reinforcement learning network. It is used to output the synchronous rotation angle of the two arms through the upper-layer global coarse adjustment network with the pitch component of the fused reference action vector as the prior, and to converge the tilt angle of the upper and lower boundary lines to within the preset tilt angle threshold, thereby realizing the global coarse adjustment of the two horizontal attitudes.

[0174] The fused baseline motion vector generated in step S5, along with the dual-level deviation matrix calculated in step S3, the current clamping force, lateral force, and closed-chain internal force, are input into the L3 hierarchical reinforcement learning network. The upper-layer global coarse-tuning network uses the pitch component of the fused baseline motion vector as the initial reference value for the motion. Based on the current values ​​of the upper and lower boundary tilt angles, it outputs the synchronous rotation angle of both arms, aiming to converge the upper and lower boundary tilt angles to within a preset tilt angle threshold. During inference, the clamping force, lateral force, and closed-chain internal force are monitored in real time. If they exceed the safe range, the penalty term of the reward function is activated.

[0175] In this embodiment, the upper-layer global coarse-tuning network uses the pitch component of the fused reference motion vector as a priori. The current upper and lower boundary tilt angles are 0.72° and 0.65°, respectively, and outputs the synchronous rotation angle of both arms. During execution, the clamping force, lateral force, and closed-chain internal force all remain within a safe range.

[0176] S62, the lower left arm fine-tuning branch receives the upper boundary line tilt angle and lateral offset in the dual horizontal deviation matrix, and outputs the left arm lateral fine-tuning action; the lower right arm fine-tuning branch receives the lower boundary line tilt angle and lateral offset in the dual horizontal deviation matrix, and outputs the right arm lateral fine-tuning action.

[0177] This sub-step is the independent fine-tuning dual-branch inference process of the lower left and right arms of the L3 hierarchical reinforcement learning network. It is used to independently correct the corresponding deviations of the left and right arms through the independent fine-tuning branches, eliminate the motion coupling interference caused by the rigid measuring rod, and realize the fine adjustment of the two horizontal attitudes.

[0178] After the upper coarse adjustment is completed, the lower left arm fine adjustment branch only receives the upper boundary tilt angle and lateral offset from the dual horizontal deviation matrix, and outputs the left arm lateral fine adjustment action; the lower right arm fine adjustment branch only receives the lower boundary tilt angle and lateral offset from the dual horizontal deviation matrix, and outputs the right arm lateral fine adjustment action. The observation space and action space of the two branches are completely decoupled, eliminating motion coupling interference caused by the rigid measurement probe. The upper global coarse adjustment network, the left arm fine adjustment branch, and the right arm fine adjustment branch all adopt a multi-layer fully connected network structure, preferably a 3-layer MLP fully connected network. The number of neurons in each layer decreases layer by layer, preferably 256, 128, and 64 respectively. The activation function is a non-linear activation function, and the output layer uses a linear activation function to output continuous action values. The hyperparameters of the PPO algorithm are preset according to the training stability requirements, including the pruning factor, discount factor, experience replay buffer capacity, and offline update batch size. In a preferred embodiment, the hyperparameters of the PPO algorithm can be set as follows: pruning factor of 0.2, discount factor of 0.95, experience replay buffer capacity of 8000, and offline update batch size of 256.

[0179] In this embodiment, after the upper layer coarse adjustment is completed, the tilt angles of the upper and lower boundary lines have converged to within the preset tilt angle threshold. The left arm fine adjustment branch reads the deviation of the upper boundary line and outputs the left arm lateral fine adjustment action, and the right arm fine adjustment branch reads the deviation of the lower boundary line and outputs the right arm lateral fine adjustment action. The two action outputs are completely decoupled.

[0180] S63, the synchronous rotation angle of the two arms, the lateral fine-tuning action of the left arm and the lateral fine-tuning action of the right arm are combined into the desired end pose increment. After safety verification, the underlying impedance servo execution force-position hybrid control and collision detection are sent down, and the joint servo command is output.

[0181] This sub-step is the L4 bottom-level impedance servo execution process, independent of the L3 layered reinforcement learning network. After the L3 layered reinforcement learning network completes policy inference and outputs the desired end-effector pose increment, the L4 bottom-level impedance servo receives and executes subsequent operations to merge the outputs of the upper-layer coarse adjustment and the lower-layer fine adjustment into the desired end-effector pose increment. After safety verification, the bottom-level impedance servo executes force-position hybrid control and collision detection to achieve a reliable conversion from algorithm commands to joint motion.

[0182] The synchronous rotation angle of both arms output by the upper global coarse adjustment network, the lateral fine adjustment action of the left arm output by the lower left arm fine adjustment branch, and the lateral fine adjustment action of the right arm output by the lower right arm fine adjustment branch are combined into the complete expected end-effector pose increment of both arms in the following way: the synchronous rotation angle of both arms is used as the common posture adjustment amount of both arms, the lateral fine adjustment action of the left arm is superimposed on the end-effector pose of the left arm, and the lateral fine adjustment action of the right arm is superimposed on the end-effector pose of the right arm. The three are combined to obtain the complete expected end-effector pose increment of both arms.

[0183] After the safety verification module checks whether each component exceeds the preset safety threshold, the L4 bottom-level impedance servo is input. The preset safety threshold includes the clamping force safety range, the lateral force safety threshold, and the closed-chain internal force safety threshold. The lower limit of the clamping force safety range is determined based on the minimum positive pressure required to maintain stable clamping of the measuring probe in the electrolyte and molten aluminum, and the upper limit is determined based on the yield strength of the measuring probe material. The upper limit of the lateral force safety threshold is determined based on the compressive strength of the furnace bore inner wall material and the bending stiffness of the measuring probe. The upper limit of the closed-chain internal force safety threshold is determined based on the critical pressure bar stability load of the measuring probe.

[0184] After receiving the desired end-effector pose increment, the L4 low-level impedance servo performs force-position hybrid impedance control, converting the desired pose increment into joint space commands. Simultaneously, it performs closed-chain dual-arm dynamics calculations to update the real-time estimates of clamping force, lateral force, and closed-chain internal forces; and performs dual-arm self-collision detection and online detection of drill bit-furnace hole collision. After all verifications pass, joint servo control commands are output and executed in a hard real-time cycle. The specific value of the hard real-time cycle is determined based on the hardware performance of the servo control system. Those skilled in the art can configure it according to the actual servo driver and control cycle used; this invention does not limit this.

[0185] In this embodiment, the desired end-effector pose increment is generated by merging the data. After passing the safety verification, the L4 low-level impedance servo is sent out. The L4 low-level impedance servo performs force-position hybrid control. The internal force-external force calculation verifies that the clamping force, lateral force, and closed-chain internal force are all within the safe range. There are no abnormalities in self-collision and measurement probe-furnace hole collision detection.

[0186] S64, after the joint servo command is executed, multimodal data is collected and it is determined whether the convergence condition is met; if it is met, both arms are locked; if not, the process returns to collect multimodal data again and continues leveling.

[0187] This sub-step is the convergence determination process of the L3 hierarchical reinforcement learning network. It is used to collect new observation data after execution and determine whether the convergence condition is met. If the condition is met, the arms are locked in a fixed posture. If the condition is not met, it is decided to continue iteration or trigger degradation protection.

[0188] After execution, new sensor observation data is collected, a new dual-level deviation matrix is ​​calculated, and it is determined whether the convergence conditions are met: the inclination angles of the upper and lower boundary lines converge to within a preset inclination angle threshold, and the lateral offsets of the upper and lower boundary lines converge to within a preset offset threshold, and the clamping force, lateral force, and closed-chain internal force are all within their respective safe ranges. The preset inclination angle threshold and preset offset threshold are determined according to the industry accuracy standard (YS / T 784-2024) for two-level measurement of the electrolytic cell and the physical calibration accuracy of the measuring probe, which can be set by those skilled in the art. If the convergence conditions are met, the two arms are locked to fix the upper and lower horizontal postures of the measuring probe; if they are not met and the number of iterations has not reached the preset maximum number of iterations, the process returns to step S3 to continue the next round of iterations; if the preset maximum number of iterations is reached but convergence is still not achieved, leveling is stopped, the lightweight embodied model outputs a fault alarm tag, the system enters a safe rollback process, the downgraded alarm tag is uploaded to the production management system simultaneously, and this measurement is marked as invalid. The preset maximum number of iterations is set according to the actual operating efficiency requirements and equipment safety margin.

[0189] In this embodiment, after execution is completed, new observations are collected, a new double-level deviation matrix is ​​calculated, all of which meet the convergence conditions, and the two arms are locked.

[0190] S65, after locking is completed, the collected multimodal data is stored in the experience playback buffer, and the policy network parameters are updated through the background offline thread.

[0191] This sub-step is the sample storage and policy update process of the L3 hierarchical reinforcement learning network. It is used to store the reinforcement learning samples of this iteration in the experience replay buffer after noise filtering, and update the policy network parameters through the background offline thread to realize the continuous iterative optimization of the online policy.

[0192] The sample set from this iteration {fused baseline motion vector, expected end-effector pose increment, bi-horizontal deviation matrix, new bi-horizontal deviation matrix, lateral force, clamping force, closed-loop internal force, reward function} is filtered for noise and stored in the experience replay buffer. The noise filtering rules are: excluding instantaneous jump noise samples from the six-dimensional force sensor and excluding abnormal samples marked as collisions by collision detection. The background offline thread samples and updates the strategy network parameters from the buffer in small batches.

[0193] The total reward function of the L3 hierarchical reinforcement learning network is: Reward=-ω1·|θ1|-ω2·|θ2|-ω3·|ΔY1|-ω4·|ΔY2|-λ·P_F-λ_int·P_Fint-ω5·A_vib (3) The methods for determining each weight coefficient are as follows: ω1 and ω2 are the weighting coefficients of the inclination angle of the upper and lower dividing lines. The specific values ​​are determined based on the sensitivity of the inclination angle of the upper and lower dividing lines to the measurement accuracy. The higher the sensitivity, the larger the value. ω3 and ω4 are the weighting coefficients for the lateral offset of the upper and lower boundary lines. The specific values ​​are determined based on the sensitivity of the lateral offset of the upper and lower boundary lines to the measurement accuracy. The higher the sensitivity, the larger the value. λ is the external force penalty coefficient, and its specific value is determined according to the degree of impact of the external force exceeding the limit on equipment safety; λ_int is the closed-loop internal force penalty coefficient, and its specific value is determined according to the degree of influence of the excessive closed-loop internal force on the bending of the measuring rod. ω5 is the motion oscillation suppression weight, and its specific value is determined based on the degree of influence of motion oscillation on leveling stability.

[0194] The weighting coefficients are determined as follows: attitude error weights (ω1, ω2, ω3, ω4) take precedence over force safety penalty weights (λ, λ_int), and force safety penalty weights take precedence over motion smoothing weights (ω5). This priority order reflects the multi-objective priority of this invention during the leveling process: "first ensuring attitude accuracy, then ensuring force safety, and finally suppressing motion oscillations." The specific values ​​of each weighting coefficient can be determined through simulation or field experiments based on different electrolytic cell furnace hole sizes, measuring rod stiffness, and operational reliability requirements.

[0195] P_F is the external force over-limit penalty term, P_Fint is the closed-loop internal force over-limit penalty term, and A_vib is the motion oscillation term (the modulus of two adjacent output motion increments, used to suppress high-frequency jitter), with the following expressions: P_F=max(0,|F_z|-F_z_max,F_z_min-|F_z|,|F_x|-F_x_max) / F_z_max(4) P_Fint=max(0,F_int-F_int_max) / F_int_max(5) A_vib=||ΔT_des(t)-ΔT_des(t-1)||2(6)

[0196] Where F_z_min and F_z_max are the lower and upper limits of the safe clamping force range, respectively; F_x_max is the upper limit of the safe threshold for external lateral forces; and F_int_max is the upper limit of the safe threshold for closed-loop internal forces. P_F = 0 when the external force is within the safe range, and P_Fint = 0 when the closed-loop internal force does not exceed the preset internal force threshold. This reward function guides the policy network to simultaneously achieve multiple objectives—attitude convergence, external force safety, closed-loop internal force suppression, and motion oscillation suppression—while maximizing the reward.

[0197] ΔT_des(t) represents the expected end-effector pose increment in the current t-th leveling iteration / control cycle, and ΔT_des(t-1) represents the expected end-effector pose increment in the previous iteration / control cycle. Both are the complete expected end-effector pose increments of both arms, obtained by combining the synchronous rotation angle of both arms output by the upper-layer global coarse adjustment network, the lateral fine-tuning action of the left arm output by the lower-layer left arm fine-tuning branch, and the lateral fine-tuning action of the right arm output by the lower-layer right arm fine-tuning branch. ||·||2 is the L2 norm operation, and A_vib represents the change amplitude between two adjacent action increments. The larger its value, the stronger the motion jitter. The total reward function suppresses high-frequency jitter through -ω5·A_vib.

[0198] The lower and upper limits of the aforementioned preset safety ranges, as well as the values ​​of each preset safety threshold, are calibrated according to the following methods: the lower limit of the clamping force safety range is determined based on the minimum normal pressure required to maintain stable clamping of the measuring probe in the electrolyte and molten aluminum, and the upper limit is determined based on the yield strength of the measuring probe material and the rated clamping force of the clamping mechanism; the upper limit of the lateral force safety threshold is determined based on the compressive strength of the furnace bore inner wall material and the bending stiffness of the measuring probe; the upper limit of the closed-chain internal force safety threshold is determined based on the critical pressure bar stability load of the measuring probe. Based on preliminary theoretical calculations, each of the above thresholds is verified and fine-tuned through on-site clamping experiments and measuring probe insertion experiments. The final calibration value is based on the absence of slippage, plastic deformation, and visible damage to the furnace bore inner wall during the experiment.

[0199] In this embodiment, the sample set is stored in the experience replay buffer after noise filtering, and the strategy network parameters are updated offline in the background with a preset batch size.

[0200] S7. After the convergence determination is passed, the two arms are locked. The electrolyte-aluminum liquid boundary line is identified by multi-frame selection and brightness contrast analysis. The aluminum level value and electrolyte level value are calculated by combining the physical calibration scale.

[0201] This step is used to acquire the measurement probe image after the double arms are locked and the posture is converged. The electrolyte-aluminum liquid boundary line is identified by multi-frame selection and brightness contrast analysis. The aluminum level and electrolyte level values ​​are calculated by combining the physical calibration scale.

[0202] S71, after the double arms are locked, the tri-lens camera continuously acquires multiple frames of measurement probe images.

[0203] This sub-step is used to continuously acquire multiple frames of measurement wire images while the dual arms are locked, and to construct the brightness-contrast curve of each frame, providing a quantitative basis for contrast for subsequent selection of the optimal frame.

[0204] After the arms are locked, the tri-lens camera continuously acquires multiple frames of images of the measurement probe. For each frame, horizontal and vertical brightness accumulation is performed to construct a brightness-contrast curve. Specifically, the length of the measurement probe is divided into unit segments at preset intervals. Starting from a preset distance from the electrolyte-aluminum melt boundary, the first average brightness of each unit segment and the second average brightness from the end point of that unit segment to the end of the measurement probe are calculated. The ratio of these two values ​​is used as the brightness-contrast value for that unit segment, and the entire brightness-contrast curve is constructed segment by segment. The number of consecutively acquired frames is determined based on image stability requirements.

[0205] In this embodiment, after the dual arms are locked, the tri-lens camera continuously acquires 12 frames of measurement wire images.

[0206] S72, construct a brightness contrast curve for each frame of image, calculate the average brightness contrast between the electrolyte region and the aluminum liquid region, select the image corresponding to the maximum contrast value as the target sampling image, and use the line connecting the leveled upper boundary line and the lower boundary line as the standard electrolyte-aluminum liquid boundary line.

[0207] This sub-step is used to calculate the average brightness contrast of each frame and select the optimal frame. On the optimal frame, the line connecting the leveled upper and lower boundary lines is used as the standard electrolyte-aluminum liquid boundary line to achieve accurate determination of the boundary line position.

[0208] Calculate the average brightness contrast between the electrolyte region and the aluminum liquid region in each frame, and select the image corresponding to the maximum contrast value as the target sampling image. On the target sampling image, the line connecting the leveled upper and lower boundary lines is used as the standard electrolyte-aluminum liquid boundary line.

[0209] In this embodiment, brightness contrast curves are constructed for each of the 12 frames and the average brightness contrast is calculated. The frame with the highest contrast is selected as the target sampling image.

[0210] S73 uses the pixel-to-physical conversion factor of the physical calibration scale of the measuring probe to convert aluminum and electrolyte levels.

[0211] This sub-step is used to convert the pixel boundary line position into aluminum level and electrolyte level values ​​by combining the physical calibration scale of the measuring probe, and to perform redundancy verification through infrared thermal imaging to ensure the reliability of the measurement results.

[0212] The pixel-to-physical conversion coefficient of the physical calibration scale on the measuring rod is used to convert aluminum and electrolyte levels, and output the aluminum and electrolyte level values. The pixel-to-physical conversion coefficient is calibrated as follows: the measuring rod is placed vertically within the field of view of a trinocular camera, and the pixel distance between corresponding calibration scales in the image is measured using the known spacing of the physical calibration scale on the measuring rod. The pixel-to-physical conversion coefficient is obtained by dividing the physical distance by the pixel distance.

[0213] Infrared thermal imaging performs redundancy verification on the boundary line position: the location of abrupt temperature gradient changes in the infrared thermal image is used as the infrared identification position of the boundary line. The location of the electrolyte-aluminum melt boundary line obtained by visual identification is compared with the infrared identification position. If the deviation between the two exceeds a set threshold, an alarm is triggered. The deviation threshold is set according to the allowable error range for boundary line identification. This error range is jointly determined by the pixel-to-physical conversion coefficient calibration error and the image noise level, and can be set by those skilled in the art through statistical results of multiple calibration experiments.

[0214] The aluminum level and electrolyte level values ​​are the two level measurement values ​​output in this step.

[0215] As an optional implementation, after step S7, step S8 is also included, in which the aluminum level value and electrolyte level value are uploaded to the production management system, and the measuring rod is recovered and the equipment is reset.

[0216] This step is used to upload the measurement results (aluminum level and electrolyte level) and the entire process data to the production management system, and to complete the recovery of the measuring probe and the reset of the equipment.

[0217] S81 packages aluminum and electrolyte level values, leveling logs, and reinforcement learning samples, and uploads them to the production management system via the industrial communication module.

[0218] This sub-step is used to upload aluminum level values, electrolyte level values, leveling logs, and reinforcement learning samples to the production management system via an industrial communication module, realizing digital archiving and remote monitoring of measurement data, and providing a data closed loop for unmanned inspection throughout the entire process.

[0219] The aluminum level values, electrolyte level values, leveling logs, and reinforcement learning sample data are packaged and uploaded to the production management system (exemplarily, a workshop MES system) via an industrial communication module. If a degradation alarm is triggered during this measurement, an alarm tag is also uploaded, marking this measurement as invalid. The industrial communication module supports at least one of wired and wireless communication; preferably, it uses at least one of a 5G communication module and a WiFi communication module, supporting dual-mode redundant communication.

[0220] In this embodiment, the aluminum level value, electrolyte level value, leveling log, and reinforcement learning sample are packaged and uploaded to the production management system, and this measurement is marked as a valid measurement.

[0221] S82, the double arms release the measuring probe and move it to the cleaning station, and the double arms reset the electrolytic cell cover plate.

[0222] This step is used to loosen the measuring probe and move it to the cleaning station, reset the electrolytic cell cover plate, and complete the final work of single-cell measurement.

[0223] The measuring probe is released by both arms and moved to the cleaning station for future use. The electrolytic cell cover plate is then reset by both arms.

[0224] In this embodiment, the measuring probe is released by both arms and moved to the cleaning station, and the trough cover plate is reset.

[0225] S83, the robot autonomously plans its path and navigates to the next electrolytic cell measurement station.

[0226] This sub-step is used to control the robot to autonomously plan its path and navigate to the next electrolytic cell measurement station, thereby enabling continuous inspection operations.

[0227] The robot autonomously plans its path, navigates to the next electrolytic cell measurement station, and prepares to execute the next measurement cycle.

[0228] In this embodiment, the robot navigates to the next electrolytic cell.

[0229] Measurement results in this embodiment The total measurement time of a single tank meets the requirements of the inspection operation cycle; the leveling closed-loop iterative convergence is achieved; the comprehensive measurement error is better than the limit requirements of YS / T 784-2024 standard; the entire process is force-controlled and safe, with no bending of the measuring probe or damage to the furnace hole.

[0230] Example 2

[0231] This embodiment provides a two-level embodied intelligent dual-arm force control detection system for electrolytic cells. This system is used to execute the two-level embodied intelligent dual-arm force control detection method for electrolytic cells described in Embodiment 1. The system is deployed on the edge intelligent control subsystem of the aluminum electrolysis workshop, and through software modules, it collaboratively controls hardware devices to achieve a complete detection chain from multimodal perception to servo execution.

[0232] The system includes the following software modules deployed on the edge intelligent control subsystem:

[0233] 1. A clamping control module, used to control the left arm and the right arm to clamp the upper and lower sections of the measuring rod respectively, forming a closed kinematic chain.

[0234] Specifically, the clamping control module is used to control the left arm and the right arm to clamp the upper and lower sections of the measuring rod respectively, so that the left arm and the right arm jointly clamp the same measuring rod to form a closed kinematic chain.

[0235] 2. A multimodal sensing module, used to synchronously acquire multimodal data through multiple sensors under the closed kinematic chain.

[0236] Specifically, the multi-sensor system includes a tri-lens camera, a six-dimensional force sensor, a temperature sensor, and a tilt sensor. The multimodal data includes at least tri-lens images, data from the dual-arm six-dimensional force sensors, measurement rod temperature data, and chassis locking status data, with time alignment between the data. This multimodal data is used by subsequent deviation calculation modules, closed-chain dual-arm internal force calculation modules, lightweight embodied model inference modules, and temporal world model inference modules.

[0237] 3. Deviation calculation module, used to receive multimodal data output by the multimodal sensing module and calculate the dual-level deviation matrix of the current frame.

[0238] Specifically, denoising and segmentation processing is performed on the trinocular images in the multimodal data, and the inclination angle and lateral offset of the upper and lower boundary lines of the measurement rod are extracted to construct a dual horizontal deviation matrix.

[0239] 4. Closed-chain double-arm internal force calculation module, used to receive multimodal data output by the multimodal sensing module and calculate the closed-chain double-arm force information.

[0240] Specifically, the data from the dual-arm six-dimensional force sensor is decomposed into external environmental contact force vectors and closed-chain internal force vectors, and the clamping force, lateral force, and closed-chain internal force are extracted to provide real-time force observation for the force penalty term in the reinforcement learning reward function.

[0241] 5. A lightweight embodied model inference module, used to receive multimodal data output by the multimodal perception module, and perform inference on the multimodal data through a lightweight embodied model to generate coarse-grained basic action vectors.

[0242] Specifically, high-level semantic understanding and coarse-grained task planning are performed on multimodal data to output coarse-grained basic action vectors.

[0243] 6. The temporal world model inference module is used to receive multiple consecutive frames of historical temporal observation sequences in the temporal buffer, and to perform dynamic deduction based on the historical temporal observation sequences through the temporal world model to generate a drift compensation vector.

[0244] Specifically, the temporal world model recursively derives the historical temporal state based on the historical temporal observation sequence, performs dynamic deduction on the historical temporal state, and outputs a drift compensation vector. The functional boundary of this module is limited to performing dynamic deduction on the historical temporal state only, without performing image semantic recognition.

[0245] 7. The confidence calculation and action fusion module is used to receive the coarse-grained basic action vector output by the lightweight embodied model inference module and the drift compensation vector output by the temporal world model inference module, and to generate a fused reference action vector by weighting and fusing the coarse-grained basic action vector and the drift compensation vector according to the confidence coefficient of the current working condition.

[0246] Specifically, based on the trinocular images in the multimodal data, the mean gray level and the proportion of high-frequency information in the images are extracted and input into a pre-trained regression model to output the smoke and dust confidence score. The confidence coefficient is calculated based on the smoke and dust confidence score and the deviation of the measured rod temperature from the reference temperature. The coarse-grained basic action vector and the drift compensation vector are weighted and summed according to the confidence coefficient to generate a fused reference action vector, which is used as the prior input of the L3 hierarchical reinforcement learning network.

[0247] 8. A hierarchical reinforcement learning fine-tuning module is used to receive the fused reference action vector output by the confidence calculation and action fusion module and the dual-level deviation matrix output by the deviation calculation module, input the fused reference action vector and the dual-level deviation matrix into the hierarchical reinforcement learning network, and output the desired end pose increment.

[0248] Specifically, the fused reference motion vector and the dual-horizontal deviation matrix are input into a hierarchical reinforcement learning network, which outputs the desired end-effector pose increment. The hierarchical reinforcement learning network includes an upper-layer global coarse-tuning network and lower-layer independent fine-tuning branches for the left and right arms. The upper-layer global coarse-tuning network uses the pitch component of the fused reference motion vector as the initial reference value for the motion and outputs the synchronous rotation angle of both arms. The lower-layer left-arm fine-tuning branch only receives the upper boundary tilt angle and lateral offset, outputting the left-arm lateral fine-tuning motion; the lower-layer right-arm fine-tuning branch only receives the lower boundary tilt angle and lateral offset, outputting the right-arm lateral fine-tuning motion. The left-arm lateral fine-tuning motion and the right-arm lateral fine-tuning motion are combined into the desired end-effector pose increment.

[0249] 9. The underlying impedance force control servo execution module is used to receive the desired end pose increment output by the layered reinforcement learning fine-tuning module and perform force control closed-loop leveling and convergence determination.

[0250] Specifically, the desired end-effector pose increment is received, force-position hybrid impedance control, closed-chain dual-arm dynamics calculation and update, dual-arm self-collision detection and online detection of drill-furnace hole collision are performed, and joint servo control commands are output and executed.

[0251] 10. Convergence determination and locking module, used to lock both arms after the convergence determination is passed.

[0252] Specifically, new observation data is collected and it is determined whether the convergence condition is met. If the condition is met, both arms are locked; if not, the multimodal sensing module is triggered to re-collect multimodal data and continue leveling.

[0253] 11. Boundary recognition and numerical conversion module, used to identify the electrolyte-aluminum liquid boundary line through multi-frame selection and brightness contrast analysis, and to convert the aluminum level value and electrolyte level value by combining physical calibration scale.

[0254] Specifically, the module acquires measurement probe images while the dual arms are locked, identifies the electrolyte-aluminum melt boundary, and calculates the aluminum and electrolyte levels. This module continuously acquires multiple frames of measurement probe images while the dual arms are locked, constructs a brightness-contrast curve for each frame, selects the frame with the highest contrast as the target sampling image, and uses the line connecting the leveled upper and lower boundary lines as the standard electrolyte-aluminum melt boundary. The aluminum and electrolyte levels are calculated using the pixel-to-physical conversion coefficient of the measurement probe's physical calibration scale, and redundancy verification is performed using infrared thermal imaging.

[0255] As an optional implementation, a two-level intelligent dual-arm force control detection system for an electrolytic cell further includes:

[0256] 12. Data Upload and Reset Control Module This module is used to upload measurement data to the production management system and control equipment reset. The data upload and reset control module packages aluminum level values, electrolyte level values, leveling logs, and reinforcement learning samples, uploads them to the production management system via the industrial communication module, and after measurement, controls the dual arms to release the measuring probe and move it to the cleaning station, resets the electrolytic cell cover, and controls the robot to autonomously plan its path and navigate to the next electrolytic cell measurement station. The industrial communication module supports at least one of wired and wireless communication.

[0257] Inter-module collaboration The clamping control module controls the left and right arms to clamp the upper and lower sections of the measuring probe, respectively, forming a closed kinematic chain, which triggers the multimodal sensing module. The multimodal sensing module collects multimodal data under the closed kinematic chain and outputs it to the deviation calculation module, the closed-chain dual-arm internal force calculation module, the lightweight embodied model inference module, and the temporal world model inference module. The deviation calculation module outputs a dual-level deviation matrix to the hierarchical reinforcement learning fine-tuning module. The closed-chain dual-arm internal force calculation module outputs closed-chain dual-arm force information to the hierarchical reinforcement learning fine-tuning module and the low-level impedance force control servo execution module. The lightweight embodied model inference module and the temporal world model inference module perform parallel inference, dividing... The coarse-grained basic motion vector and drift compensation vector are output to the confidence calculation and motion fusion module; the confidence calculation and motion fusion module outputs the fused reference motion vector to the hierarchical reinforcement learning fine-tuning module; the hierarchical reinforcement learning fine-tuning module outputs the desired end pose increment to the bottom impedance force control servo execution module; the bottom impedance force control servo execution module outputs the execution result to the convergence determination and locking module; the convergence determination and locking module locks both arms after the convergence determination is passed and triggers the boundary identification and numerical conversion module; the boundary identification and numerical conversion module performs boundary identification and numerical conversion; finally, the data upload and reset control module completes data upload and device reset.

[0258] Example 3

[0259] This embodiment provides a two-level integrated intelligent dual-arm force control detection device for electrolytic cells. The device is the hardware platform deployed in the two-level integrated intelligent dual-arm force control detection system for electrolytic cells described in Embodiment 2, and is used to execute the two-level integrated intelligent dual-arm force control detection method for electrolytic cells described in Embodiment 1.

[0260] The device includes the following hardware subsystems:

[0261] 1. Antimagnetic autonomous moving chassis system This subsystem is designed to support various subsystems and enable autonomous navigation and electromagnetic locking. It utilizes a four-wheel drive, omnidirectional, non-magnetic stainless steel chassis, with the entire unit encased in an electromagnetic shield to withstand the strong magnetic field environment of an electrolysis workshop. It is equipped with a tightly coupled laser SLAM and visual IMU navigation module, a slot number OCR recognition unit, and a chassis electromagnetic locking mechanism. A high-capacity lithium iron phosphate battery supports continuous inspection operations.

[0262] 2. Upper and lower split six-degree-of-freedom closed-chain dual-arm operation subsystem The device includes a left arm and a right arm, which together clamp the measuring probe to form a closed kinematic chain. Each arm has a six-degree-of-freedom force sensor integrated at its end. Each arm has a six-degree-of-freedom robotic arm, and the ends of both arms integrate a six-dimensional force / torque sensor and an industrial camera with a magnetic shield. The left arm clamps the upper section of the measuring probe, and the right arm clamps the lower section. Both arms together clamp the same measuring probe to form a closed kinematic chain.

[0263] 3. Tri-optical hierarchical multimodal sensing subsystem The tri-lens camera system includes a global head camera, a local camera along the upper edge of the left arm, and a local camera along the lower edge of the right arm, used to simultaneously acquire tri-lens images. Each of the three cameras is equipped with a high-temperature fume automatic purging protective cover; it also includes a dual-axis tilt sensor, a measuring rod temperature acquisition module, and a laser displacement sensor; a unified hardware synchronization clock is set up to synchronously output visual, force, and temperature multimodal data.

[0264] 4. Standard measuring drill tooling subsystem The measuring probe fixture is used to insert into the electrolytic cell to collect two horizontal samples. It is made of carbon steel with an oblique measuring probe conforming to the YS / T 784-2024 standard, and the measuring probe body is engraved with equidistant physical calibration scale.

[0265] 5. Four-level composite measuring probe cleaning subsystem The cleaning station is used to remove solidified deposits from the surface of the measuring probe before and after measurement. It includes a mechanical scraping station, a high-speed rotating brushing station, a high-temperature burning and purging station, and a visual residue detection station. The visual residue detection station outputs a cleanliness Boolean flag; if the cleanliness does not meet the standard, the probe insertion process is prohibited.

[0266] 6. Edge Intelligent Control Subsystem Equipped with an industrial GPU AI acceleration chip; and deployed with the electrolytic cell two-level embodied intelligent dual-arm force control detection system described in Example 2, used to execute the steps of an electrolytic cell two-level embodied intelligent dual-arm force control detection method.

[0267] Connections and coordination between subsystems like Figure 2 As shown, the antimagnetic autonomous mobile chassis system carries all other subsystems and achieves autonomous navigation and electromagnetic locking. The upper and lower split six-degree-of-freedom closed-chain dual-arm operation subsystem is installed above the chassis, with the left and right arms positioned on either side of the chassis, their ends facing forward. The three-lens hierarchical multimodal sensing subsystem has three cameras mounted at the chassis head and the ends of the dual arms. The standard measuring rod tooling subsystem is stored in the measuring rod magazine at the rear of the chassis and is retrieved and placed by the dual arms. The four-level composite measuring rod cleaning subsystem is installed on one side of the middle of the chassis, within the dual-arm operation range. The edge intelligent control subsystem is installed inside the chassis and connects to the chassis, dual arms, sensors, cleaning station, and communication unit via a bus, receiving data from each sensor and outputting control commands.

[0268] Equipment Working Process Overview After the chassis navigates to the target electrolytic cell and is electromagnetically locked, the dual arms retrieve the measuring rods from the measuring rod magazine and transfer them to the cleaning station for cleaning. Then, the dual arms clamp the measuring rods in sections and insert them into the electrolytic cell. After insertion, the tri-lens camera and various sensors synchronously acquire multimodal data and send this data to the edge intelligent control subsystem. The edge intelligent control subsystem performs four-layer decoupled reasoning and force-controlled leveling, and outputs control commands to the upper and lower split six-degree-of-freedom closed-chain dual-arm operation subsystem and the four-level composite measuring rod cleaning subsystem. After leveling and convergence, the dual arms lock, and the tri-lens camera acquires images for boundary identification and numerical conversion. After measurement, the data is uploaded via the communication unit, the dual arms retrieve the measuring rods and reset, and the chassis navigates to the next station.

[0269] The specific composition, parameter specifications, and connection relationships of each hardware subsystem have been described in detail in the deployment and calibration section and steps S1 to S8 of Embodiment 1, in conjunction with the specific working process. Those skilled in the art, in conjunction with the description of Embodiment 1 and this embodiment, are sufficient to implement the present invention.

[0270] Example 4

[0271] This embodiment provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the steps of the two-level intelligent dual-arm force control detection method for an electrolytic cell as described in Embodiment 1. For details on the specific implementation and explanation of each step of the method, please refer to Embodiment 1, which will not be repeated here.

[0272] The computer-readable storage medium can be any tangible medium that contains or stores program instructions, such as: USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.

[0273] The above description is merely an embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the present invention should be included within the scope of the claims of the present invention.

Claims

1. A method for force control detection of a two-level electrolytic cell using a dual-arm intelligent robot system, the method being executed by a dual-arm robot system comprising a left arm and a right arm, characterized in that... include: The left and right arms are controlled to clamp the upper and lower sections of the measuring probe respectively, forming a closed kinematic chain; Under the closed kinematic chain, multimodal data is collected synchronously by multiple sensors to calculate the dual horizontal deviation matrix and the force information of the closed chain arms in the current frame; Inference is performed on the multimodal data using a lightweight embodied model, and inference is performed on the historical time-series observation sequence using a time-series world model, generating coarse-grained basic action vectors and drift compensation vectors. Based on the confidence coefficient of the current working condition, the coarse-grained basic motion vector and the drift compensation vector are weighted and fused to generate a fused reference motion vector; The fused baseline action vector and the dual-level deviation matrix are input into the hierarchical reinforcement learning network, and the desired end pose increment is output through inference. Force control closed-loop leveling and convergence determination are then performed. After the convergence determination is passed, the two arms are locked. The electrolyte-aluminum liquid boundary line is identified through multi-frame selection and brightness contrast analysis. The aluminum level value and electrolyte level value are calculated by combining the physical calibration scale.

2. The method according to claim 1, characterized in that, The closed-chain double-arm force information is calculated in the following way: The measurements from the six-dimensional force sensor in the left arm and the six-dimensional force sensor in the right arm are decomposed into external environmental contact force vectors and closed-chain internal force vectors. The external environmental contact force includes clamping force and lateral force. The clamping force is the normal force that the jaws press vertically on the surface of the measuring probe. The lateral force is the lateral external force that the measuring probe is subjected to perpendicular to the axis of the measuring probe. The closed-chain internal force is the internal compressive force generated by the mutual squeezing of the measuring probe between the left and right arm jaws. Based on the force balance condition of the closed-chain system, the force / torque components of the left arm sensor measurement value and the right arm sensor measurement value in the same measurement direction are calculated separately: the components in the same direction are added together and the average value is taken as the component of the external environmental contact force in that direction; the components in the same direction are subtracted and the average value is taken as the component of the closed-chain internal force in that direction.

3. The method according to claim 1, characterized in that, The process involves performing inference on the multimodal data using a lightweight embodied model and performing inference on historical time-series observation sequences using a temporal world model to generate coarse-grained basic action vectors and drift compensation vectors, including: The multimodal data is input into the lightweight embodied model, high-level semantic understanding and coarse-grained task planning are performed, and a coarse-grained basic motion vector is output, which includes coarse adjustment of the pitch angle of both arms, coarse adjustment of the lateral offset, and coarse adjustment reference of the clamping force. The historical time-series observation sequence of multiple consecutive frames in the time-series buffer is input into the time-series world model. The time-series world model performs dynamic deduction based on the historical time-series observation sequence and outputs a drift compensation vector that includes the pitch angle drift compensation, lateral offset drift compensation, and clamping force drift compensation.

4. The method according to claim 1, characterized in that, The step of weightedly fusing the coarse-grained basic motion vector and the drift compensation vector based on the confidence coefficient of the current working condition to generate a fused reference motion vector includes: Extract the mean grayscale value and high-frequency information ratio of the tri-view image from the multimodal data, input them into the pre-trained regression model, and output the smoke and dust confidence score. The confidence coefficient is calculated based on the confidence level of the smoke and dust and the deviation of the measured probe temperature from the reference temperature. The larger the confidence level of the smoke and dust or the greater the temperature deviation, the smaller the confidence coefficient. The coarse-grained basic action vector and the drift compensation vector are weighted and summed according to the confidence coefficient to generate the fused baseline action vector.

5. The method according to claim 1, characterized in that, The execution force control closed-loop leveling and convergence determination includes: During the leveling process, the external lateral force and closed-chain internal force are monitored in real time through the underlying impedance servo. When the external lateral force or the closed-loop internal force exceeds the preset safety threshold, the underlying servo automatically decelerates and fine-tunes the gripper posture to reduce the force. The specific values ​​of the preset safety thresholds are determined as follows: the lower limit of the clamping force safety range is determined based on the minimum positive pressure required for the measuring probe to maintain stable clamping in the electrolyte and molten aluminum, and the upper limit is determined based on the yield strength of the measuring probe material; the upper limit of the lateral force safety threshold is determined based on the compressive strength of the furnace bore inner wall material and the bending stiffness of the measuring probe; the upper limit of the closed-chain internal force safety threshold is determined based on the critical pressure bar stability load of the measuring probe. The real-time monitoring and over-limit warning of the external lateral force and the closed-loop internal force are independent of the upper-level AI algorithm and are executed by the lower-level impedance servo and hardware force over-limit emergency stop circuit.

6. The method according to claim 1, characterized in that, The process of inputting the fused baseline action vector and the dual-level deviation matrix into a hierarchical reinforcement learning network, inferring the desired end-effector pose increment, and performing force-controlled closed-loop leveling and convergence determination includes: The fused baseline action vector and the dual-level deviation matrix are input into a hierarchical reinforcement learning network, which includes an upper-layer global coarse-tuning network and a lower-layer independent fine-tuning dual branch for the left and right arms. The upper-layer global coarse adjustment network uses the pitch component of the fused reference motion vector as the initial reference value for the motion, and outputs the synchronous rotation angle of the two arms according to the tilt angle of the upper and lower boundary lines in the dual horizontal deviation matrix, and converges the tilt angle of the upper and lower boundary lines to within the preset tilt angle threshold. The lower left arm fine-tuning branch receives the upper boundary line tilt angle and lateral offset from the dual horizontal deviation matrix, and outputs the left arm lateral fine-tuning action; the lower right arm fine-tuning branch receives the lower boundary line tilt angle and lateral offset from the dual horizontal deviation matrix, and outputs the right arm lateral fine-tuning action. The synchronous rotation angle of the two arms, the lateral fine-tuning action of the left arm, and the lateral fine-tuning action of the right arm are combined into the desired end pose increment. After safety verification, the underlying impedance servo execution force-position hybrid control and collision detection are sent down to output joint servo commands. After the joint servo command is executed, multimodal data is collected and it is determined whether the convergence condition is met. If the condition is met, both arms are locked. If the condition is not met, the process returns to collect multimodal data again and continues leveling.

7. The method according to claim 1, characterized in that, After the convergence determination is passed, both arms are locked. The electrolyte-aluminum liquid boundary line is identified through multi-frame selection and brightness contrast analysis. The aluminum level and electrolyte level values ​​are calculated by combining the physical calibration scale, including: After the two arms are locked, the tri-lens camera continuously acquires multiple frames of measurement probe images; A brightness contrast curve is constructed for each frame of image. The average brightness contrast between the electrolyte region and the aluminum liquid region is calculated. The image corresponding to the maximum contrast value is selected as the target sampling image. The line connecting the leveled upper and lower boundary lines is used as the standard electrolyte-aluminum liquid boundary line. The aluminum level and electrolyte level are calculated by combining the pixel-to-physical conversion factor of the physical calibration scale of the measuring rod.

8. A dual-level intelligent dual-arm force control and detection system for an electrolytic cell, characterized in that, include: The clamping control module is used to control the left arm and the right arm to clamp the upper and lower sections of the measuring rod respectively, forming a closed kinematic chain; A multimodal sensing module is used to synchronously acquire multimodal data through multiple sensors under the closed kinematic chain; The deviation calculation module is used to receive the multimodal data output by the multimodal sensing module and calculate the dual-level deviation matrix of the current frame; The closed-chain dual-arm internal force calculation module is used to receive the multimodal data output by the multimodal sensing module and calculate the closed-chain dual-arm force information. The lightweight embodied model inference module is used to receive multimodal data output by the multimodal perception module, and perform inference on the multimodal data through the lightweight embodied model to generate coarse-grained basic action vectors. The temporal world model inference module is used to receive a series of consecutive historical temporal observation sequences in the temporal buffer, and to perform dynamic deduction based on the historical temporal observation sequences through the temporal world model to generate a drift compensation vector. The confidence calculation and action fusion module is used to receive the coarse-grained basic action vector output by the lightweight embodied model inference module and the drift compensation vector output by the temporal world model inference module, and to weight and fuse the coarse-grained basic action vector and the drift compensation vector according to the confidence coefficient of the current working condition to generate a fused reference action vector. The hierarchical reinforcement learning fine-tuning module is used to receive the fused reference action vector output by the confidence calculation and action fusion module and the dual-level deviation matrix output by the deviation calculation module, input the fused reference action vector and the dual-level deviation matrix into the hierarchical reinforcement learning network, and output the desired end pose increment. The underlying impedance force control servo execution module is used to receive the desired end pose increment output by the layered reinforcement learning fine-tuning module and perform force control closed-loop leveling and convergence determination. The convergence determination and locking module is used to lock both arms after the convergence determination is passed; The boundary identification and numerical conversion module is used to identify the electrolyte-aluminum liquid boundary line through multi-frame selection and brightness contrast analysis, and to convert the aluminum level value and electrolyte level value by combining physical calibration scale.

9. A dual-arm intelligent force control and detection device for two horizontal electrolytic cells, characterized in that, include: Antimagnetic autonomous mobile chassis, used to support various subsystems and achieve autonomous navigation and electromagnetic locking; The left and right arms together clamp the measuring probe to form a closed kinematic chain, and a six-dimensional force sensor is integrated at the end of each arm. The tri-lens camera system includes a global head camera, a local camera along the upper edge of the left arm, and a local camera along the lower edge of the right arm, used to simultaneously acquire tri-lens images. A measuring probe fixture used to be inserted into an electrolytic cell to collect two horizontal samples; An edge intelligent controller, having the system of claim 8, is configured to perform the steps of the method of any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-7.

Citation Information

Patent Citations

  • Aluminum liquid and electrolyte level measurement system in electrolytic aluminum production based on machine vision

    CN109211201B

  • Nonlinear displacement compensation device and method for furnace-front robot

    CN119910691B

  • Identification method and identification device for two horizontal boundaries, and measuring mechanism

    CN120259214A

  • Two-level measurement mobile data acquisition vehicle for aluminum electrolysis cell based on thermal infrared imager

    CN223976713U