Embodied intelligence data acquisition engine and method for a composite robot
By dynamically adjusting the acquisition strategy through process mapping and physical semantic mismatch judgment modules, combined with a circular buffer and asynchronous output, the problem of imbalance between acquisition efficiency and quality in existing technologies is solved, achieving efficient and accurate multimodal data acquisition and ensuring stable production line operation.
Patent Information
- Application Number
- CN202611253362.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-27
AI Technical Summary
Existing data acquisition solutions cannot adjust the acquisition logic according to the process, resulting in a failure to balance acquisition efficiency and data quality for processes with significantly different perception accuracy requirements. Furthermore, simple alignment of multimodal data at the time level makes it difficult to identify abnormal interaction states that cannot be detected by a single dimension, resulting in a large amount of edge scene data with training value but within the safe range not being effectively acquired.
The current process identifier is obtained through the process mapping module. Combined with the deviation perception module and the physical semantic mismatch judgment module, the acquisition configuration is dynamically adjusted to generate an acquisition trigger signal. Bypass acquisition of multimodal sensor data is achieved through a circular buffer and asynchronous output unit to ensure that the data does not interfere with the real-time control of the robot.
It enables the acquisition strategy to adapt to different processes, accurately capture abnormal interaction states, ensure that high-value edge scenario data is effectively captured, and at the same time, it does not affect the production line's operating efficiency, thus balancing the contradiction between acquisition efficiency and data quality.
Smart Images

Figure CN123169205A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of embodied intelligent robot data acquisition technology, and in particular to an embodied intelligent data acquisition engine and method for composite robots. Background Technology
[0002] The effectiveness of embodied intelligent models is highly dependent on the quality and diversity of real physical interaction data. When mobile composite robots in manufacturing production lines perform operations such as loading and unloading, transfer, and assembly, they involve high-frequency multimodal data such as vision, force, pose, and joints, which are ideal data sources for training such models.
[0003] Currently, the main data acquisition solutions used in the industry include: recording all sensor data at constant time intervals, or triggering recording when sensor values cross preset boundaries.
[0004] However, different processes have significantly different requirements for perception accuracy, but existing solutions use globally uniform rules, which cannot adjust the acquisition logic according to the current process. Furthermore, multimodal data is only simply aligned at the temporal level, making it difficult to identify abnormal interaction states that cannot be detected by a single dimension. Triggering conditions are based on safety boundaries, resulting in a large amount of valuable but safe edge-scene data that cannot be effectively acquired. In summary, existing technologies lack the ability to perceive process context, multimodal joint semantic reasoning capabilities, and the ability to perceive blind spots in model knowledge, making it difficult to achieve a balance between acquisition efficiency and data quality. Summary of the Invention
[0005] In view of this, the purpose of the present invention is to provide an embodied intelligent data acquisition engine and method for composite robots.
[0006] In a first aspect, embodiments of the present invention provide an embodied intelligent data acquisition engine for a composite robot, comprising: The process mapping module is used to obtain the current process identifier and determine the collection configuration information corresponding to the current process based on the current process identifier. The collection configuration information includes at least the monitoring dimension and triggering conditions. The deviation perception module, connected to the process mapping module, is used to obtain the planning parameters and measured parameters of the robot when executing the current process according to the monitoring dimensions, and to calculate the deviation between the planning parameters and the measured parameters. The physical semantic mismatch determination module is connected to the process mapping module. It is used to obtain the force and position signals at the same moment in the current process, and determine whether there is a physical semantic mismatch based on the physical semantic association between the force and position signals. The trigger decision module is connected to the deviation perception module and the physical semantic mismatch determination module respectively. It is used to generate a collection trigger signal when the deviation meets the trigger condition or the physical semantic mismatch meets the preset trigger condition. The data acquisition and execution module is connected to the trigger decision module. In response to the data acquisition trigger signal, it extracts multimodal sensor data within a preset time period before and after the occurrence of the data acquisition trigger signal from the cache, and outputs the data after adding the current process identifier and trigger reason information.
[0007] In conjunction with the first aspect, the data collection and execution module includes: A circular buffer is used to continuously cache multimodal sensor data within a preset time period; The asynchronous output unit is used to output the extracted data in a bypass mode, where the output process is independent of the robot's real-time control loop.
[0008] In conjunction with the first aspect, the decision-making trigger module includes: The deviation determination submodule, connected to the deviation sensing module, is used to determine whether the deviation amount meets the triggering conditions. The matching determination submodule is connected to the physical semantic mismatch determination module and is used to determine whether the physical semantic mismatch meets the preset triggering conditions. The trigger signal generation submodule is connected to the deviation determination submodule and the matching determination submodule respectively. It is used to generate a data acquisition trigger signal when the deviation determination submodule determines that the deviation meets the trigger condition, or the matching determination submodule determines that the physical semantic mismatch meets the preset trigger condition.
[0009] In conjunction with the first aspect, the physical-semantic mismatch determination module includes: The force signal acquisition submodule is used to acquire the force signal at the same moment in the current process. The positional signal acquisition submodule is used to acquire the positional signal at the same moment in the current process. The matching and determination submodule is connected to the force signal acquisition submodule and the position signal acquisition submodule, respectively, and is used to determine whether there is a physical semantic mismatch based on the physical semantic association between the force signal and the position signal.
[0010] In conjunction with the first aspect, the physical semantic association determination submodule calculates the physical semantic mismatch index using the following model: I_joint=α·S_contact+β·D_pose+γ·V_pose_oscillation Where α, β, and γ are weighting coefficients configured according to the current process, S_contact is the contact state confidence level, D_pose is the pose deviation normalized value, and V_pose_oscillation is the positional oscillation amplitude. When the physical semantic mismatch index exceeds the physical semantic mismatch threshold corresponding to the current process, the physical semantic mismatch satisfies the preset triggering condition.
[0011] In conjunction with the first aspect, the trigger signal generation submodule also includes: The probability determination unit is used to perform probabilistic comprehensive verification of the determination result using a Bayesian inference framework after the deviation determination submodule or the physical semantic matching determination submodule has determined that the triggering condition is met. The probability determination unit uses the deviation amount and physical semantic mismatch index as random variables, takes the triggering condition as the prior triggering boundary, calculates the triggering posterior probability, and outputs the triggering enable signal to the triggering signal generation submodule when the posterior probability exceeds the preset confidence threshold.
[0012] Secondly, this application provides an embodied intelligence data acquisition method for a composite robot, characterized in that the method is applied to the embodied intelligence data acquisition engine for a composite robot as described above; the method includes: Obtain the current process identifier and determine the corresponding data collection configuration information based on the current process identifier. The data collection configuration information shall include at least the monitoring dimension and triggering conditions. Based on the monitoring dimensions, obtain the planned parameters and measured parameters of the robot when it executes the current process, and calculate the deviation between the planned parameters and the measured parameters. Acquire the force and position signals at the same moment in the current process, and determine whether there is a physical semantic mismatch based on the physical semantic relationship between the force and position signals; When the deviation meets the triggering condition or the physical semantic mismatch meets the preset triggering condition, a data acquisition trigger signal is generated. In response to the acquisition trigger signal, the multimodal sensor data within a preset time period before and after the acquisition trigger signal is generated from the buffer, and then output after adding the current process identifier and trigger reason information.
[0013] In conjunction with the second aspect, when the deviation meets the triggering condition or the physical semantic mismatch meets the preset triggering condition, a data acquisition trigger signal is generated, specifically including: The deviation and physical semantic mismatch index are treated as random variables, and their probability distribution is modeled based on the sensor noise level and the statistical characteristics of historical data. Using the triggering condition as the prior triggering boundary, and taking the actual values of the deviation and physical semantic mismatch indicators as the observation data, the posterior probability of triggering when the actual value of each monitoring indicator exceeds the prior threshold is calculated using the Bayesian update formula. When the posterior probability exceeds the preset confidence threshold, a data acquisition trigger signal is generated. The Bayesian update formula is as follows:
[0014] in, To trigger the posterior probability; The likelihood probability of the data under the trigger condition; To trigger the prior probability; This represents the marginal probability of the data.
[0015] In conjunction with the second aspect, after using the triggering condition as the prior triggering boundary, and taking the actual values of the deviation and physical semantic mismatch indicators as observed data, and calculating the posterior probability of triggering when the actual value of each monitoring indicator exceeds the prior threshold using the Bayesian update formula, the method further includes: When the posterior probability is lower than the confidence threshold, the current monitoring state is maintained, and the posterior probability is recalculated after subsequent data updates are detected.
[0016] In conjunction with the second aspect, it also includes: Obtain the actual contribution of historical data to model training, and dynamically adjust the triggering conditions based on the actual contribution.
[0017] Thirdly, this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor runs the computer program to cause the electronic device to perform the above-described method.
[0018] Fourthly, this application provides a readable storage medium storing computer program instructions, which are read and executed by a processor to perform the above-described method.
[0019] The embodiments of this invention bring the following beneficial effects: This application provides an embodied intelligent data acquisition engine and method for composite robots. Through a process mapping module, the acquisition strategy is adaptively adjusted according to process switching, avoiding data redundancy and omissions caused by globally unified logic. Through parallel monitoring by a deviation perception module and a physical semantic mismatch judgment module, force and position information are integrated at the physical semantic level to accurately capture abnormal interaction states that cannot be identified by a single dimension. Acquisition is triggered based on the degree of deviation from expectations, ensuring that high-training-value edge scene data is effectively captured. Through an acquisition execution module, data is extracted from the cache and output asynchronously, so that the acquisition process does not block the execution of the current process and does not affect the production line's operating rhythm. This invention improves data acquisition quality and training value while ensuring production line operating efficiency, effectively balancing the contradiction between acquisition efficiency and data value.
[0020] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0021] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0022] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of the embodied intelligent data acquisition engine architecture for a composite robot provided in an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating the principle of the embodied intelligent data acquisition method for composite robots provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the electronic device structure provided in an embodiment of the present invention.
[0024] Figure label: 130 - Processor, 131 - Memory, 132 - Bus, 133 - Communication interface. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0026] To facilitate understanding of this embodiment, the technical terms used in this application will be briefly introduced below.
[0027] Composite robots are industrial robots that integrate a mobile chassis and a collaborative robotic arm, enabling them to perform production line operations such as loading and unloading, material transfer, and workpiece assembly.
[0028] A process refers to an operational stage in a production line task that has an independent operational objective, such as vision positioning, gripping, transfer, alignment, insertion, and tightening.
[0029] Multimodal sensor data refers to various types of sensor information, such as visual pose data, six-dimensional force data, and joint encoder data, which are collected synchronously during the operation of a composite robot.
[0030] Physical semantic association refers to the causal consistency between the physical contact state represented by force signals and the spatial pose state represented by position signals. In normal physical interaction, the generation of contact force should have a logical correspondence with the end reaching a specific position.
[0031] Bypass acquisition refers to a data output method in which the acquisition execution process is independent of and does not interfere with the robot's real-time control loop. The compression, labeling, and uploading of the extracted data are all completed asynchronously outside the control loop.
[0032] After introducing the technical terms used in this application, the application scenarios and design concepts of the embodiments of this application will be briefly described below.
[0033] Existing solutions lack the ability to perceive process context, multimodal joint semantic reasoning, and the ability to perceive blind spots in model knowledge, making it difficult to achieve a balance between data collection efficiency and data quality.
[0034] Based on this, this application provides an embodied intelligent data acquisition engine and method for composite robots.
[0035] Example 1 This application provides an embodied intelligent data acquisition engine for composite robots, combined with Figure 1 As shown, it includes: The process mapping module is used to obtain the current process identifier and determine the collection configuration information corresponding to the current process based on the current process identifier. The collection configuration information includes at least the monitoring dimension and triggering conditions. The deviation perception module, connected to the process mapping module, is used to obtain the planning parameters and measured parameters of the robot when executing the current process according to the monitoring dimensions, and to calculate the deviation between the planning parameters and the measured parameters. The physical semantic mismatch determination module is connected to the process mapping module. It is used to obtain the force and position signals at the same moment in the current process, and determine whether there is a physical semantic mismatch based on the physical semantic association between the force and position signals. The trigger decision module is connected to the deviation perception module and the physical semantic mismatch determination module respectively. It is used to generate a collection trigger signal when the deviation meets the trigger condition or the physical semantic mismatch meets the preset trigger condition. The data acquisition and execution module is connected to the trigger decision module. In response to the data acquisition trigger signal, it extracts multimodal sensor data within a preset time period before and after the occurrence of the data acquisition trigger signal from the cache, and outputs the data after adding the current process identifier and trigger reason information.
[0036] Combination Figure 1 As shown, this application provides an embodied intelligent data acquisition engine for composite robots, comprising five core functional modules: a process mapping module, a deviation perception module, a physical semantic mismatch determination module, a trigger decision module, and an acquisition execution module. These modules together form a complete closed-loop acquisition mechanism of perception-decision-execution. Vision sensors, six-dimensional force sensors, and joint encoders deployed on the composite robot body continuously generate multimodal data and write it into a circular buffer. The process mapping module obtains the current process identifier from the robot controller or MES system and queries the process configuration library to load the corresponding acquisition configuration parameters. The deviation perception module and the joint inconsistency determination module operate in parallel, calculating pose deviation, force perception deviation, and joint inconsistency index, respectively. The trigger decision module generates an acquisition trigger signal using a "parallel monitoring, any trigger" logic. Responding to the trigger signal, the acquisition execution module extracts multimodal sensor data within a preset time period before and after the trigger moment from the circular buffer. After performing data compression and preliminary annotation at the edge, it asynchronously uploads the data to a cloud server or local training server for subsequent model training and data analysis. Specifically: The process mapping module is the foundation for achieving process adaptation. As shown in Table 2 and specific implementations, the production line task consists of multiple processes such as visual positioning, grasping, transfer, alignment, insertion, and tightening. Different processes have completely different requirements for perception accuracy. This module obtains the currently executed process identifier (such as "visual positioning", "grasping", "alignment", "insertion", "tightening", etc.) from the robot controller or MES system, queries the process configuration library, and reads the monitoring dimension data set corresponding to the process (i.e., one or more of the dimensions such as pose deviation, force perception deviation, joint trajectory deviation, and torque deviation) and the trigger threshold parameters and corresponding joint judgment weight coefficients for each dimension. , , ).
[0037] Table 1 shows the differentiated data acquisition configuration parameters for different processes in the process configuration library.
[0038]
[0039] As shown in Table 1, the pose tolerance for the precision alignment process is ±0.5mm and the force tolerance is ±1.0N, while the pose tolerance for the material transfer process can be relaxed to ±5.0mm and force is not monitored, reflecting the differentiated configuration of different processes. The collected configuration information should at least include the monitoring dimensions and triggering conditions to ensure that the configuration information output by this module is sufficient to guide the operation of subsequent modules.
[0040] The differential parameters of the process configuration library are set according to the following principles: First, the precision tolerance matches the process requirements. Precision assembly processes have extremely high requirements for positional accuracy (positional tolerance can reach ±0.5mm or less), while material transfer processes have relatively relaxed requirements for positional accuracy (can be relaxed to ±5mm or more). Therefore, the trigger threshold for precision assembly processes is significantly narrowed, while the trigger threshold for material transfer processes is significantly relaxed.
[0041] Second, the monitoring dimensions are matched with the risk points of each process. Different processes focus on different core physical quantities: the grasping process needs to simultaneously monitor both pose deviation and clamping force deviation; the precision assembly process requires additional attention to the force-position physical semantic mismatch; and the thread tightening process focuses on the torque-angle relationship. Therefore, the data acquisition engine activates only the monitoring dimensions relevant to the current process based on the current process identifier.
[0042] Third, the joint judgment weights are matched with process sensitivity. The weight of force-position physical semantic mismatch is significantly higher in precision assembly processes than in transfer processes, reflecting that the semantic consistency between force perception and position perception has a higher decision weight when judging assembly quality.
[0043] The deviation perception module is the first monitoring path for data acquisition. This module connects to the process mapping module, receiving monitoring dimension information from it to determine which physical quantities need to be monitored. This module acquires two types of parameters in real time during the robot's execution of the current process: planning parameters (derived from the desired trajectory output by the robot's offline programming and the target pose / force output by the online motion planner) and measured parameters (derived from real-time feedback from the joint encoder, six-dimensional force sensor, and visual positioning system), and calculates the deviation corresponding to each monitoring dimension.
[0044] For example, pose deviation ΔP(t) = ||P_act(t) - P_exp(t)|| represents the Euclidean distance between the measured pose P_act(t) and the desired pose P_exp(t) at time t; force deviation ΔF(t) = ||F_act(t) - F_exp(t)|| represents the Euclidean distance between the measured force F_act(t) and the desired force F_exp(t) at time t; trajectory deviation ΔTraj(t) = ||Q_act(t) - Q_exp(t)|| represents the spatial distance between the measured trajectory point Q_act(t) and the planned trajectory point Q_exp(t) at time t; torque deviation ΔTorq(t) = ||T_act(t) - T_exp(t)|| represents the deviation between the measured torque T_act(t) and the desired torque T_exp(t) at time t. This deviation reflects the degree to which the execution result deviates from the expectation. Even if the deviation is still within a safe range, as long as it deviates from the expectation, it may still have data acquisition value.
[0045] The physical semantic mismatch determination module is the second monitoring path for data acquisition. This module is also connected to the process mapping module and receives the joint determination weight coefficient corresponding to the current process. , , This module operates independently of the deviation sensing module, monitoring force and position signals simultaneously. It determines the existence of a physical-semantic mismatch based on the correlation between the two at the physical interaction semantic level. This module can identify two typical abnormal states: "explicit force-position mismatch" and "implicit force-position mismatch." The introduction of this module enables the acquisition engine to capture edge scenes that traditional single-threshold methods cannot identify, which is of great value for training embodied intelligence models to recognize precursors to jamming and deformation anomalies.
[0046] The trigger decision module is the decision center of the acquisition engine. This module connects to both the deviation perception module and the physical-semantic mismatch determination module, and simultaneously receives the output results from both monitoring paths. It employs parallel monitoring and arbitrary triggering logic; when the deviation in any monitoring dimension exceeds the trigger threshold corresponding to that process, or when the physical-semantic mismatch index exceeds the threshold corresponding to that process, an acquisition trigger signal is generated. For example... Figure 2 As shown, this ensures that no moment with data acquisition value is missed. In a preferred embodiment, the module can also employ a Bayesian inference framework for probabilistic decision-making, upgrading the acquisition trigger from "deterministic limit judgment" to "probabilistic inference" to suppress false triggering caused by sensor noise.
[0047] The data acquisition and execution module is the actuator for data acquisition. Connected to the trigger decision module, this module extracts and outputs data in response to acquisition trigger signals. Vision sensors, six-dimensional force sensors, and joint encoders deployed on the production line's composite robot continuously generate multimodal data, which is continuously written to a circular buffer. For example, this module extracts data from the circular buffer for M seconds before and after the trigger moment. The circular buffer continuously caches the most recent N seconds of full-modal sensor data, employing a cyclic overwrite mechanism. When the buffer is full, new data overwrites the oldest data, thus achieving cyclical utilization of storage space. This mechanism ensures the boundedness of storage space, preventing storage overflow due to unlimited data growth, and enabling the system to operate stably for extended periods under continuous production line operation. The extracted data is appended with the current process identifier and trigger reason label (such as "pose deviation exceeds limits," "force perception deviation exceeds limits," "force-position explicit mismatch," etc.). After data compression and preliminary labeling at the edge, the data is asynchronously uploaded to the cloud or local training server. This module adopts a ring buffer combined with asynchronous upload architecture. The data acquisition and execution process is completely bypassed by the robot control loop, without occupying the controller's real-time computing resources, ensuring that the impact on the millisecond-level control cycle of the production line is negligible.
[0048] In this system, either a cloud server or a local training server serves as the final aggregation node for data acquisition. It receives and stores multimodal data packets uploaded by the acquisition execution module and performs model training and updates based on the accumulated dataset. Once the model has completed training, the updated model can be deployed back to the production line composite robot, thus forming a complete closed loop of data acquisition, model training, model deployment, and optimized acquisition. The local training server is deployed on the production line side, suitable for scenarios with high data security requirements or limited network bandwidth; the cloud server is deployed remotely, suitable for scenarios involving large-scale data storage and distributed training. The two deployment methods can be flexibly selected according to actual needs and are not limited here.
[0049] In conjunction with the first aspect, the acquisition and execution module includes a circular buffer and an asynchronous output unit.
[0050] The circular buffer is used to continuously cache multimodal sensor data within a preset time period; the asynchronous output unit is used to output the extracted data in a bypass mode, in which the output process is independent of the robot's real-time control loop.
[0051] As an example, production line cycle times typically require robot control cycles to be in the millisecond range (e.g., a control frequency of 1 kHz). If data acquisition operations consume controller resources, it may lead to delays in the issuance of control commands, affecting operational accuracy and even safety.
[0052] In this embodiment, the data acquisition and execution module adopts a circular buffer combined with asynchronous uploading architecture to ensure that data acquisition does not interfere with control. Specifically: the circular buffer continuously caches all sensor data, and the write operation and controller data reading share the same data source, without increasing additional communication overhead; when data acquisition is triggered, only existing data is extracted from the buffer (rather than starting a new acquisition), with an extraction operation time complexity of O(1) and a time consumption in the microsecond range; data compression, labeling, and uploading are all executed asynchronously in independent threads or coroutines, completely bypassing the real-time control loop. Actual tests show that under this architecture, the additional overhead of data acquisition triggering on the controller cycle can be controlled within 50 microseconds, and the impact on production line cycle time is negligible.
[0053] like Figure 1 As illustrated in the example above, the sensing devices deployed on the composite robot in the production line, such as vision sensors, six-dimensional force sensors, and joint encoders, continuously generate multimodal data, which is continuously written to a circular buffer. This circular buffer is the core data storage structure of the acquisition and execution module. It employs a circular overlay mechanism to always retain all data within the most recent preset time period as the data source for acquisition. This ensures that when a trigger signal arrives, complete data before and after the trigger moment is still stored in the buffer and available for retrieval, solving the problem of data loss at the trigger moment. Simultaneously, the circular overlay mechanism guarantees the boundedness of the storage space, preventing storage overflow due to unlimited data growth, enabling the system to operate stably for extended periods under continuous production line operation. When an acquisition trigger signal occurs, the acquisition and execution module extracts the data before and after the trigger moment from this buffer. The extraction operation has a constant time complexity, taking microseconds, ensuring a low-latency response to the acquisition trigger.
[0054] The asynchronous output unit is responsible for outputting the extracted data in a bypass mode. As in the example above, data compression, annotation, and uploading are all executed asynchronously in independent threads or coroutines, completely bypassing the real-time control loop. This bypass mode means that the data output process is independent of the robot's real-time control loop, specifically in three aspects: First, the write operation to the circular buffer shares the same data source as the controller's data reading, without adding extra communication overhead; second, asynchronous output does not occupy the controller's real-time computing resources, preventing delays in control command issuance and ensuring no interference with the robot control system's real-time performance; third, the entire acquisition process does not affect the continuous execution of the robot's current process or the production line cycle time. Production line cycle time typically requires robot control cycles in the millisecond range, such as a 1 kilohertz control frequency. This characteristic ensures that this invention can achieve zero-interference data acquisition under continuous production line operation, thus solving the technical defect in existing fixed-frequency full-volume acquisition schemes where continuous write operations may interfere with the real-time performance of the robot control system.
[0055] In conjunction with the first aspect, the trigger decision module includes: a deviation determination submodule, a matching determination submodule, and a trigger signal generation submodule.
[0056] The deviation determination submodule is connected to the deviation perception module and is used to determine whether the deviation amount meets the triggering conditions. The matching determination submodule is connected to the physical semantic mismatch determination module and is used to determine whether the physical semantic mismatch meets the preset triggering conditions. The trigger signal generation submodule is connected to the deviation determination submodule and the matching determination submodule respectively. It is used to generate a collection trigger signal when the deviation determination submodule determines that the deviation meets the trigger condition, or the matching determination submodule determines that the physical semantic mismatch meets the preset trigger condition.
[0057] refer to Figure 2 and Figure 1 The trigger decision module employs a parallel monitoring and arbitrary triggering logic: the deviation perception module and the physical semantic mismatch determination module run independently and in parallel, while the trigger decision module simultaneously monitors the output results of both paths. Data collection can be triggered independently if either path identifies a high-value collection moment. This parallel structure ensures that the trigger decision-making logic of parallel monitoring and arbitrary triggering is implemented at the architectural level, ensuring that no moment with collection value is missed.
[0058] The deviation determination submodule is connected to the deviation sensing module and is specifically responsible for determining whether the deviation of each monitoring dimension output by the deviation sensing module exceeds the corresponding trigger threshold set in the process configuration library. This submodule can process the deviation judgment of multiple monitoring dimensions simultaneously. For example, in the precision alignment process, this submodule simultaneously judges whether the pose deviation exceeds 0.5 mm and whether the force perception deviation exceeds 1.0 Newton. If either dimension exceeds the threshold, a "satisfied" signal is output. If the alignment stage focuses on pose deviation, and the insertion stage focuses on both pose deviation and force perception deviation, this submodule dynamically adjusts its judgment range based on the monitoring dimension information provided by the process mapping module.
[0059] The matching determination submodule is connected to the physical semantic mismatch determination module and is specifically responsible for determining whether the physical semantic mismatch index output by the physical semantic mismatch determination module exceeds the physical semantic mismatch threshold corresponding to the current process. The physical semantic mismatch threshold is also provided by the process configuration library and has different sensitivity settings in different processes. As shown in Tables 1 and 2, the physical semantic mismatch weight coefficient β for the precision assembly process is a higher value, meaning that the physical semantic mismatch determination has a higher decision weight in this process; the physical semantic mismatch weight coefficient for the transfer process... A lower value indicates that the physical semantic mismatch determination has a lower decision weight in this process. This submodule receives this weight information and makes a judgment accordingly.
[0060] The trigger signal generation submodule is connected to both the deviation determination submodule and the matching determination submodule, and integrates the judgment results of the two submodules. When either the deviation determination submodule or the matching determination submodule determines that the trigger condition is met, this submodule generates a data acquisition trigger signal. In this embodiment, "OR" logic is used to ensure that no high-value data obtained from the deviation monitoring path and the physical semantic mismatch monitoring path is missed, thereby enabling parallel monitoring by the trigger decision module and any trigger logic.
[0061] In conjunction with the first aspect, the physical semantic mismatch determination module includes: a force signal acquisition submodule, a position signal acquisition submodule, and a physical semantic association determination submodule.
[0062] The force signal acquisition submodule is used to acquire the force signal at the same moment in the current process. The positional signal acquisition submodule is used to acquire the positional signal at the same moment in the current process. The physical semantic association determination submodule is connected to the force signal acquisition submodule and the positional signal acquisition submodule, respectively, and is used to determine whether there is a physical semantic mismatch based on the physical semantic association between the force signal and the positional signal.
[0063] The force signal acquisition submodule acquires force signals at the same moment during the current process. These force signals originate from real-time feedback from a six-dimensional force sensor, reflecting the physical contact state and interaction forces between the end effector and the workpiece or environment. Simultaneously acquiring the force signals, this submodule converts them into contact state confidence levels based on a preset contact force threshold, providing quantitative input for subsequent physical semantic association determination. The force signal acquisition submodule and the position signal acquisition submodule acquire signals simultaneously, ensuring strict synchronization of the two signals in the time dimension and laying the data foundation for joint analysis at the physical semantic level.
[0064] The positional signal acquisition submodule acquires the positional signal at the same moment during the current process. The positional signal originates from real-time feedback from the vision positioning system and joint encoder, reflecting the position and orientation of the end effector in space. While acquiring the positional signal, this submodule calculates the deviation between the measured pose and the target pose, and detects the presence of high-frequency micro-vibration components in the positional signal, providing quantitative input for subsequent physical semantic association determination. This submodule can detect high-frequency micro-vibration components in the positional signal; these components may not be significant when viewed individually from the positional signal itself, but they possess important physical semantic meaning when analyzed in conjunction with force signals.
[0065] The physical semantic association determination submodule is connected to both the force signal acquisition submodule and the position signal acquisition submodule. This submodule does not simply align the force and position data with timestamps and then independently determine their relationship; instead, it analyzes the correlation between the two at the physical interaction semantic level. Physical semantic association refers to the causal consistency between the physical contact state represented by the force signal and the spatial pose state represented by the position signal. In normal physical interaction, the generation of contact force should logically correspond to the end effector reaching a specific position; when this correspondence is broken, it indicates an anomaly in the physical interaction.
[0066] For example, this submodule determines whether there is a physical semantic mismatch by detecting explicit mismatch phenomena such as "force sensation has shown contact established but position sensation has not yet reached the target pose" and implicit mismatch phenomena such as "force sensation is stable but position sensation has high-frequency micro-vibration".
[0067] In conjunction with the first aspect, the physical semantic association determination submodule calculates the physical semantic mismatch index using the following model: I_joint=α·S_contact+β·D_pose+γ·V_pose_oscillation Where α, β, and γ are weighting coefficients configured according to the current process, S_contact is the contact state confidence level, D_pose is the pose deviation normalized value, and V_pose_oscillation is the positional oscillation amplitude. When the physical semantic mismatch index exceeds the physical semantic mismatch threshold corresponding to the current process, the physical semantic mismatch satisfies the preset triggering condition.
[0068] The contact confidence level reflects the level of confidence that the force sensory signal indicates that physical contact has been established; a higher value indicates that the force sensor is more certain that contact has occurred. This parameter is the output of the force sensory signal acquisition submodule after processing the raw force sensory data, and its value range has been normalized, typically within the range of zero to one.
[0069] The pose deviation normalization value reflects the degree of deviation of the current pose from the target pose. It is normalized to eliminate the influence of dimensions. This parameter is the output of the positional signal acquisition submodule after processing the raw positional data. Its value range is also within the range of zero to one, so that it can be weighted and summed with the contact state confidence in the same dimension.
[0070] Positional oscillation amplitude reflects the high-frequency vibration amplitude of the positional signal and is used to detect abnormal dynamics at the positional level. This parameter is a feature value extracted by the positional signal acquisition submodule through methods such as spectrum analysis or time-domain analysis, and has also undergone normalization processing.
[0071] α, β, and γ are weighting coefficients, read from the process configuration library and adaptively adjusted according to the current process type. As shown in Table 1, in the precision assembly process, the weighting coefficient β, indicating a mismatch between the physical semantics of force and position, is configured with a relatively large value (e.g., a measured calibration value of 0.7), while in the material loading and unloading process, β is configured with a very small value (e.g., a measured calibration value of 0.05). This is because the precision assembly process is highly dependent on the semantic consistency of force and position, meaning that assembly quality largely depends on whether force and position corroborate each other; while the visual positioning stage involves almost no contact force, hence the extremely low weight of β. In the thread tightening process, the weighting coefficient for physical semantic mismatch can even be configured to 0.8, as the joint monitoring of torque and angle is crucial in this process. This differentiated weighting allocation allows the acquisition engine to accurately focus on the most valuable multimodal signal combinations for training based on the core risk points of the process. This is precisely a concrete manifestation of the differentiated parameters in the process configuration library following the principle of matching joint judgment weights with process sensitivity.
[0072] In the initial program setup phase, the relative relationships between the three weighting coefficients follow this logic: In processes where the joint analysis of force and position plays a core role, β (the weight of the normalized pose deviation value) is set to the highest to highlight the strong dependence of this process on the detection of semantic mismatch between modalities; in processes where force itself is the core monitoring dimension, α (the weight of the contact state confidence) is correspondingly increased; and in processes that primarily focus on motion stability, the proportion of γ (the weight of the positional oscillation amplitude) is correspondingly increased. The specific values of the three can be configured by those skilled in the art according to the degree of dependence of the process on force and position. The sum of the weighting coefficients is usually normalized to one to keep the physical semantic mismatch index under a unified dimension for easy threshold comparison.
[0073] When the calculated physical semantic mismatch index exceeds the physical semantic mismatch threshold corresponding to the current process, the physical semantic mismatch is considered to meet the preset triggering condition, and the triggering decision module will generate a collection trigger signal accordingly. This threshold is also stored in the process configuration library and can be configured differently according to the process type and sensitivity requirements. This quantitative model provides the technical basis for the physical semantic mismatch determination of this invention to be accurately calculated and implemented in engineering, transforming abstract physical semantic relationships into calculable and comparable engineering parameters.
[0074] In conjunction with the first aspect, the trigger signal generation submodule also includes a probability determination unit.
[0075] The probability determination unit is located inside the trigger signal generation submodule. Its input is connected to the output of the deviation determination submodule and the matching determination submodule, respectively, and its output is connected to the trigger enable control terminal of the trigger signal generation submodule.
[0076] The probability determination unit is used to perform probabilistic comprehensive verification of the determination results using a Bayesian inference framework after the deviation determination submodule or the physical semantic matching determination submodule has determined that the triggering conditions are met. Specifically, when either the deviation determination submodule or the matching determination submodule initially determines that the triggering conditions are met, its determination result is sent to the probability determination unit as a candidate trigger signal. The probability determination unit uses a Bayesian inference framework to perform probabilistic verification of the candidate trigger signal. When the verification is successful, a trigger enable signal is output to the trigger signal generation submodule. After receiving the trigger enable signal, the trigger signal generation submodule combines the initial determination result to finally generate the acquisition trigger signal.
[0077] The Bayesian update formula is as follows:
[0078] in, To trigger the posterior probability; The likelihood probability of the data under the trigger condition; To trigger the prior probability; This represents the marginal probability of the data.
[0079] The probability determination unit is located inside the trigger signal generation submodule. Its input is connected to the output of the deviation determination submodule and the matching determination submodule, respectively, and its output is connected to the trigger enable control terminal of the trigger signal generation submodule.
[0080] It is worth noting that this probability determination unit does not replace the independent judgment functions of the deviation determination submodule and the matching determination submodule. Each submodule independently completes the preliminary judgment based on threshold comparison, that is, determining whether the deviation exceeds the triggering condition and whether the physical semantic mismatch meets the preset triggering condition. This basic logical architecture of parallel monitoring and arbitrary triggering remains unchanged.
[0081] The probability determination unit is an optimized unit that performs a probabilistic comprehensive evaluation of the determination results of the two sub-modules after the two sub-modules have completed their initial judgments. In other words, the probability determination unit will only intervene to perform a probabilistic comprehensive judgment if at least one of the deviation determination sub-module or the matching determination sub-module has determined that the triggering condition is met; if both determine that the triggering condition is not met, the trigger signal generation sub-module will not generate a trigger signal.
[0082] The probability determination unit operates as follows: First, it treats the deviation quantities (such as pose deviation ΔP and contact force deviation ΔF) and physical semantic mismatch indicators output by the deviation sensing module as random variables, rather than deterministic values. This approach recognizes that sensor data itself contains noise and uncertainty; force sensors exhibit electronic noise and temperature drift, while position sensors suffer from quantization errors and ambient light interference. The unit models the probability distribution of these random variables based on sensor noise levels and the statistical characteristics of historical data. Sensor noise levels can be obtained through sensor calibration experiments; for example, the noise covariance matrix of a six-dimensional force sensor can be measured through static calibration experiments. The statistical characteristics of historical data can be obtained by analyzing the distribution of the collected datasets, such as the mean and standard deviation of pose deviation under normal operating conditions for a given process. This prior knowledge provides the necessary probabilistic foundation for calculating posterior probabilities.
[0083] Secondly, this unit uses the triggering conditions for each process stored in the process configuration library as prior triggering boundaries (such as the pose deviation threshold ΔP_thresh and the contact force deviation threshold ΔF_thresh). These prior thresholds represent the optimal sensitivity at which the system, based on historical experience or offline calibration, believes acquisition should be triggered in the absence of current observation data. In specific calculations, the prior triggering boundaries are transformed into triggering prior probabilities, that is, the probability that a certain process should trigger acquisition without considering the current sensor readings. This prior probability can be adjusted based on historical triggering frequencies and the quality assessment results of manual annotation.
[0084] Then, during the process, the unit continuously receives real-time data from the deviation sensing module and the physical-semantic mismatch determination module, namely, the specific values of the currently observed deviation and the physical-semantic mismatch index. The posterior probability of triggering is calculated using the aforementioned Bayesian update formula, which is the probability that data collection should be triggered under the current observation data conditions.
[0085] As real-time data continues to flow in, the posterior probability is continuously updated. When the calculated posterior probability exceeds a preset confidence threshold (e.g., 95%), the unit outputs a trigger enable signal to the trigger signal generation submodule. When the posterior probability is lower than the confidence threshold, even if the deviation determination submodule or the matching determination submodule has preliminarily determined that the triggering condition is met, the unit will not output a trigger enable signal. In this case, even if the instantaneous value of a certain monitoring indicator exceeds the prior threshold (possibly due to sensor noise or instantaneous disturbance), the system will not trigger data acquisition, thereby effectively suppressing false triggers. In this embodiment, Bayesian inference upgrades the triggering decision from a single numerical comparison to a comprehensive probability judgment by combining prior distribution (historical statistical characteristics) and likelihood probability (reliability of current observation data). The system will only make a triggering decision when the noise level of the sensor data, the historical distribution, and the current observation value all support triggering.
[0086] The confidence threshold can be adaptively adjusted according to the process type. Precision assembly processes have extremely low tolerance for false triggering because false triggering may disrupt the high-precision operation rhythm, so a higher confidence threshold is used; coarse positioning or transfer processes have higher requirements for the sensitivity of capturing potential deviations, so a lower confidence threshold is used.
[0087] This approach upgrades the acquisition trigger from the deterministic limit judgment of the traditional scheme to probabilistic inference, which effectively reduces the probability of false triggering caused by sensor noise and instantaneous disturbances while ensuring the quality of acquisition, and improves the robustness and intelligence level of the acquisition system.
[0088] Secondly, this application provides a method for acquiring embodied intelligent data for a composite robot, applied to the embodied intelligent data acquisition engine described above; the method includes: S110, Obtain the current process identifier, and determine the collection configuration information corresponding to the current process based on the current process identifier. The collection configuration information includes at least the monitoring dimension and triggering conditions.
[0089] S120: Based on the monitoring dimensions, obtain the planned parameters and measured parameters of the robot when performing the current process, and calculate the deviation between the planned parameters and the measured parameters.
[0090] S130: Obtain the force and position signals at the same moment in the current process, and determine whether there is a physical semantic mismatch based on the physical semantic relationship between the force and position signals.
[0091] S140: When the deviation meets the triggering condition or the physical semantic mismatch meets the preset triggering condition, a data acquisition trigger signal is generated.
[0092] S150, in response to the acquisition trigger signal, extracts multimodal sensor data within a preset time period before and after the acquisition trigger signal occurs from the buffer, and outputs it with the current process identifier and trigger reason information.
[0093] Combination Figure 2 As shown, the entire process starts with obtaining the process identifier, goes through parallel monitoring and trigger judgment, and finally completes the data collection and output, realizing the automatic connection between process switching and configuration switching.
[0094] Step S110 corresponds to the function of the process mapping module: obtaining the current process identifier and determining the collection configuration information corresponding to the current process based on the current process identifier. The collection configuration information includes at least the monitoring dimension data set and the trigger threshold parameters for each dimension.
[0095] Table 2 shows examples of data collection and configuration parameters for typical processes of composite robots on production lines.
[0096]
[0097] As shown in Table 2, different processes correspond to completely different configurations. For example, precision assembly focuses on pose and force perception, with strict thresholds; while transfer only focuses on pose, with lenient thresholds. Step S110 can obtain relevant process configuration information in real time through the robot controller or manufacturing execution system. Through the first-level judgment logic of process context awareness, it determines what needs to be focused on and how sensitive it should be in the current process, so as to ensure that the method can automatically adjust the acquisition strategy as the process switches without manual intervention.
[0098] Step S120 obtains the planned parameters and measured parameters of the robot executing the current process based on the monitoring dimensions determined in step S110, and calculates the deviation between the two. The planned parameters (including the desired trajectory output by offline programming, the target pose and target force output by the online motion planner, representing the ideal execution state of the robot's current process) and measured parameters (including joint angles fed back by the joint encoder, contact forces fed back by the six-dimensional force sensor, and end-effector pose fed back by the visual positioning system, representing the actual execution state of the robot's current process) originate from the desired trajectory output by offline programming or the target pose and target force output by the online motion planner. The measured parameters originate from the real-time feedback from the joint encoder, six-dimensional force sensor, and visual positioning system. The deviation reflects the degree to which the execution result deviates from expectations; even if the deviation is still within a safe range, as long as it deviates from expectations, it has potential acquisition value. This step is the first monitoring path of this method and is executed in parallel with step S130.
[0099] Step S130 corresponds to the function of the physical semantic mismatch determination module: acquiring the force and position signals at the same moment in the current process, and determining whether a physical semantic mismatch exists based on the correlation between the two at the physical interaction semantic level. This step is executed in parallel with step S120, as follows: Figure 2 As shown, the two monitoring paths operate simultaneously without blocking each other. This step analyzes the consistency between the force and position signals at the level of physical interaction semantics, rather than whether their individual values exceed limits. Therefore, it can capture abnormal scenarios that cannot be detected in step S120.
[0100] Step S140 corresponds to the function of the trigger decision module: it comprehensively judges the outputs of steps S120 and S130, and generates a data acquisition trigger signal when the deviation meets the trigger condition or the physical semantic mismatch meets the preset trigger condition. Combined with... Figure 2 As shown, the triggering determination process specifically includes the following three parallel determination paths: Path 1: Determine whether the pose deviation ΔP exceeds the pose deviation threshold Thresh_P; Path 2: Determine whether the force perception deviation ΔF exceeds the force perception deviation threshold Thresh_F; Path 3: Determine whether the physical semantic mismatch index I_joint exceeds the physical semantic mismatch threshold Thresh_J.
[0101] The three paths described above execute in parallel. A data acquisition trigger signal is generated when any path meets the trigger condition (ΔP>Thresh_P or ΔF>Thresh_F or I_joint>Thresh_J). Each threshold parameter is obtained in real-time from the process configuration library based on the current process identifier and is automatically updated with each process switch, using any trigger logic to ensure no high-value data acquisition moment is missed. In other words, if either of the two monitoring paths identifies a situation that meets the trigger condition, it is sufficient to trigger data acquisition. There is no priority relationship or interlocking relationship between the two paths, ensuring the sensitivity and comprehensiveness of the data acquisition trigger.
[0102] Step S150 corresponds to the function of the data acquisition and execution module: In response to the data acquisition trigger signal, it extracts multimodal sensor data within a preset time period before and after the trigger time from the buffer, adds the current process identifier and trigger reason label, and then outputs the data. The data acquisition and execution process does not interfere with the continuous operation of the current process.
[0103] Based on the above example, this step uses a circular buffer plus asynchronous upload method, the data extraction time complexity is constant, and data compression, labeling and uploading are all executed asynchronously in independent threads or coroutines, and the additional overhead on the controller cycle can be controlled within fifty microseconds.
[0104] Combination Figure 1As shown, this method first continuously caches multimodal sensor data within a preset time period using a circular buffer. The circular buffer employs a cyclic overwrite mechanism, always retaining all data from the most recent preset time period. Data from sensing devices such as vision sensors, six-dimensional force sensors, and joint encoders on the production line's composite robot are continuously written into this buffer. The size of the circular buffer (i.e., the preset time period) can be configured according to the production line cycle time and data acquisition requirements, typically retaining data from the most recent tens of seconds to several minutes. When the circular buffer is full, new data overwrites the oldest data, thus achieving cyclical utilization of storage space and ensuring that the system can operate stably for a long time under continuous production line operation without the need for manual storage space cleanup.
[0105] When a trigger signal is detected, this method extracts multimodal sensor data from a circular buffer within a preset time period before and after the trigger moment. The extraction time reference is the occurrence time of the trigger signal, and the extraction range covers the preset time period before and after that moment to ensure that it includes process data before the triggering event and continuation data after the event, providing a complete temporal context for model training. The extraction operation has a constant time complexity, taking microseconds, ensuring a low-latency response to the trigger. Since the extraction operation only involves data copying and does not involve complex operations such as data deletion or storage space reclamation, its time cost is deterministic and does not increase with the amount of data.
[0106] The extracted data is then appended with the current process identifier and trigger reason label, and output asynchronously in a bypass mode. This bypass mode means that the output process is independent of the robot's real-time control loop—data compression, annotation, and uploading are all executed asynchronously in independent threads or coroutines, without consuming the controller's real-time computing resources.
[0107] Specifically, data compression can employ lossless or lossy compression algorithms to reduce transmission bandwidth requirements; preliminary labeling includes additional process identifiers and trigger reason tags, providing metadata for subsequent data management and use; asynchronous upload uses a non-blocking method, returning immediately without waiting for transmission completion, thus not affecting subsequent acquisition operations. Actual testing shows that under this architecture, the additional overhead of acquisition triggering on the controller cycle can be controlled within fifty microseconds, and the impact on production line cycle time is negligible.
[0108] This step ensures that the invention can complete high-quality data acquisition without affecting the continuous operation of the production line, and reduces the interference of continuous write operations on the real-time performance of the robot control system.
[0109] In conjunction with the second aspect, step S140 includes: S141 treats the deviation and physical semantic mismatch index as random variables, and their probability distribution is modeled based on the sensor noise level and the statistical characteristics of historical data.
[0110] S142 uses the triggering condition as the prior triggering boundary, takes the actual values of the deviation and physical semantic mismatch indicators as the observation data, and calculates the posterior probability of triggering when the actual value of each monitoring indicator exceeds the prior threshold using the Bayesian update formula.
[0111] S143, when the posterior probability exceeds the preset confidence threshold, a data acquisition trigger signal is generated.
[0112] This method first treats the deviation quantities and physical-semantic mismatch indicators output by the deviation sensing module as random variables, and their probability distributions are modeled based on the sensor noise level and the statistical characteristics of historical acquisition data. The sensor noise level can be obtained through sensor calibration experiments, and the statistical characteristics of historical acquisition data can be obtained by analyzing the distribution of the acquired dataset. The threshold values for each process stored in the process configuration library serve as prior trigger boundaries, i.e., prior trigger probabilities, representing the optimal acquisition sensitivity based on historical experience or offline calibration. These prior thresholds represent the system's initial belief on the level to which deviation quantities or physical-semantic mismatch indicators in a given process should trigger a system in the absence of current observation data.
[0113] During the process, this method continuously receives real-time data from the deviation perception module and the physical semantic mismatch determination module, i.e., the observed data. It then calculates the posterior probability of triggering the data collection under the current observed data using a Bayesian update formula. The Bayesian update has been explained previously and will not be repeated here. Here, the likelihood probability reflects the probability of observing the current data under the triggering condition, the prior probability reflects the prior belief in triggering the data based on historical experience, and the evidence factor normalizes the overall probability of the observed data. As real-time data continues to flow in, the posterior probability is continuously updated.
[0114] When the calculated posterior probability exceeds the preset confidence threshold, a data acquisition trigger signal is generated; when the posterior probability is lower than the confidence threshold, the system maintains the current monitoring state, continuously receives new real-time data output by the deviation perception module and the physical semantic mismatch judgment module, and continuously updates the posterior probability based on the new data according to the Bayesian sequence update method until the posterior probability reaches or exceeds the confidence threshold or the current process ends.
[0115] Understandably, the confidence threshold can be adaptively adjusted according to the process type: a higher confidence threshold (e.g., 97%) is used for precision assembly processes to avoid frequent triggering that affects cycle time; a lower confidence threshold (e.g., 90%) is used for coarse positioning or transfer processes to improve the sensitivity to capture potential deviations.
[0116] This preferred embodiment upgrades the acquisition trigger from the deterministic limit judgment of the traditional scheme to probabilistic inference. While ensuring the acquisition quality, it effectively reduces the probability of false triggering caused by sensor noise and instantaneous disturbances, and improves the robustness and intelligence level of the acquisition system.
[0117] In conjunction with the second aspect, after step S142, the following also includes: S144: When the posterior probability is lower than the confidence threshold, maintain the current monitoring state and recalculate the posterior probability after subsequent data updates are detected.
[0118] When the posterior probability does not reach the confidence threshold, the system maintains its current monitoring state, continuously receives new real-time data from the deviation perception module and the physical-semantic mismatch determination module, and updates the posterior probability based on the new data until the posterior probability reaches or exceeds the confidence threshold or the current process ends. The confidence threshold is adaptively set according to the current process type.
[0119] Understandably, Bayesian inference, by combining prior distribution and likelihood probability, upgrades the triggering decision from a simple numerical comparison to a comprehensive probabilistic judgment. The system will only make a triggering decision when the noise level of the sensor data, its historical distribution, and the current observation all support the triggering. For instantaneous values exceeding the threshold caused by sensor noise or transient disturbances, since such transient events lack support in the probability distribution, their posterior probability is usually much lower than the confidence threshold. The system maintains monitoring and waits for subsequent data, thus effectively avoiding false triggering.
[0120] In conjunction with the second aspect, the method also includes: Obtain the actual contribution of historical data to model training, and dynamically adjust the triggering conditions based on the actual contribution.
[0121] In this embodiment, the triggering conditions (including triggering thresholds for each monitoring dimension and physical-semantic mismatch thresholds) are dynamically and adaptively adjusted based on the actual contribution of historical data to model training. This optimization process includes three stages: contribution evaluation, threshold adjustment strategy, and closed-loop evolution mechanism.
[0122] First, the data acquisition engine records the data packets triggered each time they are collected and their subsequent effect on model training—that is, the improvement in the model's prediction accuracy in the corresponding process scenario after the data is used for training. The specific evaluation method is as follows: When a collected data packet is labeled and used for model training, the system records the process type and trigger cause label corresponding to the data packet (e.g., "shaft-hole assembly - insertion" + "force-position explicit mismatch"). After the model completes training, the system performs validation tests on the scenarios corresponding to the process type and trigger cause label, compares the accuracy of the trained model with the accuracy of the model before training, and calculates the improvement in accuracy.
[0123] For example, if the accuracy of the model in recognizing assembly jams increases from 80% to 86% after training with data on "overt mismatch between force perception and position perception," representing a 6 percentage point improvement, then the data package has a high contribution. Conversely, if the model accuracy only increases from 80% to 80.05% after training with data on regular pose deviations, representing a less than 0.1 percentage point improvement, then the data package is assessed as having a low contribution.
[0124] The system allows setting a contribution evaluation cycle to cumulatively evaluate the collected data for each process and each type of trigger reason tag. Contribution can be quantified using one of the following methods: Calculate the percentage improvement in prediction accuracy of the model for the corresponding scenario on the validation set; Calculate the decrease in the loss function of the model in the corresponding scenario; Manually labeled data quality scores were used as a supplementary reference.
[0125] The system periodically performs batch contribution assessments on the accumulated collected data to ensure that the assessment results are statistically significant.
[0126] Subsequently, the triggering conditions are dynamically adjusted based on the evaluation results: (1) Handling of low contribution scenarios: If the data collected in a certain process is evaluated as low contribution (the accuracy improvement is less than the preset threshold, such as less than 0.1%) multiple times (e.g., more than three times), the engine will automatically narrow the trigger threshold of that process (i.e., set it more strictly) to reduce low-value collection and avoid efficiency decay after long-term operation of the collection system. For example, if the current pose deviation threshold of a certain process is 50% of the positioning tolerance, and the data collected multiple times is low contribution, the threshold will be gradually narrowed to 40% and 30% of the positioning tolerance until the data collected in that process reappears with high contribution samples or reaches the preset lower threshold (e.g., 20% of the positioning tolerance).
[0127] (2) Handling of high-contribution scenarios: If the data collected in a certain process is evaluated as high-contribution (the accuracy improvement is higher than the preset threshold, such as greater than 1%), the threshold is appropriately relaxed (i.e., set to be more sensitive) to capture more similar scenario data and provide richer training samples for the model. For example, if the current pose deviation threshold of a certain process is 50% of the positioning tolerance, and the "precursor to lag" data collected in a certain instance is evaluated as high-contribution, the threshold is gradually relaxed to 60% and 70% of the positioning tolerance to increase the probability of capturing such edge scenarios.
[0128] (3) Adjustment method: Any of the following methods may be used: Fixed step size adjustment: The adjustment is made in steps of 5% of the current threshold, with a maximum of once per evaluation period to avoid threshold oscillation. That is, the adjustment range is fixed at 5% of the current threshold each time, and the adjustment speed is constant regardless of the contribution level.
[0129] Proportional Adjustment: The adjustment range is calculated based on the quantified value of the contribution. The higher the contribution, the greater the relaxation range, and the lower the contribution, the greater the narrowing range. For example, when the contribution is 2%, the relaxation range is 8% of the current threshold, and when the contribution is 5%, the relaxation range is 15% of the current threshold. This achieves a differentiated response by quickly capturing high contributions and quickly filtering low contributions.
[0130] Adaptive step size: When the contribution direction is consistent across multiple consecutive evaluation periods (e.g., three consecutive high contributions), gradually increase the step size to accelerate convergence; when the contribution direction changes frequently (e.g., high and low contributions alternate), decrease the step size to ensure stability.
[0131] During the above adjustment process, the threshold parameters stored in the process configuration library are dynamically updated, and the updated thresholds take effect immediately, guiding subsequent data collection decisions.
[0132] Through this iterative optimization loop, the data acquisition strategy can continuously self-optimize as the model's capabilities improve: when the model has fully learned a certain type of scenario, the contribution of relevant acquired data to model training naturally decreases, and the system automatically reduces the acquisition of such scenarios; when new abnormal patterns appear, the acquisition of relevant data significantly improves model training, and the system automatically enhances its ability to capture such scenarios. This self-optimization process requires no manual intervention, enabling the acquisition system to maintain optimal acquisition efficiency and data quality throughout long-term operation.
[0133] Before the closed-loop optimization is initiated, the initial trigger thresholds for each process are set as follows: The pose deviation threshold ranges from 20% to 80% of the positioning tolerance of the process. For example, if the positioning tolerance of a process is ±1.0mm, the initial pose deviation threshold can be set within the range of 0.2mm to 0.8mm. Precision assembly processes tend to favor the lower limit of this range (e.g., 20% to 40%) to ensure high sensitivity; transfer processes tend to favor the upper limit of this range (e.g., 60% to 80%) to avoid frequent false triggering.
[0134] The force deviation threshold ranges from 10% to 50% of the expected contact force. For example, if the expected contact force for a certain process is 10N, the initial force deviation threshold can be set within the range of 1N to 5N.
[0135] After the initial values are determined, dynamic optimization is performed through the aforementioned adaptive steps. Iterative optimization through data collection, training, and threshold optimization enhances the data capture capability for various scenarios and adapts to long-term changes in production line conditions. For example, as equipment ages, the distribution of certain deviation patterns may drift. The contribution assessment and threshold adjustment mechanism can automatically track this change, ensuring that the data collection strategy always matches the current operating conditions.
[0136] As an example, consider a composite robot performing a shaft-hole assembly task on a production line. This process includes two sub-stages: shaft alignment and shaft insertion.
[0137] Alignment Phase: The process mapping module obtains the process identifier "shaft-hole assembly - alignment" from the robot controller and queries the configuration library to obtain the monitoring dimension "pose deviation" with a threshold of ±0.5mm. The deviation perception module compares the shaft end position fed back by the visual positioning system with the planned target position in real time, and calculates the pose deviation ΔP(t) = ||P_act(t) - P_exp(t)||. When the deviation exceeds 0.5mm, the trigger decision module generates a data acquisition trigger signal. The data acquisition execution module extracts visual pose data for M seconds before and after the trigger moment from the circular buffer, labels it with the process identifier "shaft-hole assembly - alignment" and the trigger reason "pose deviation exceeds limit", and then uploads it. This data captures the workpiece positioning deviation scenario and is valuable for training the visual positioning model.
[0138] Insertion Phase: When the process switches to "shaft-hole assembly - insertion", the process mapping module automatically loads new monitoring dimensions "pose deviation + force perception deviation" and "physical semantic mismatch" from the configuration library, and the thresholds are updated accordingly to pose ±0.5mm and force ±1N. The deviation perception module continuously calculates pose deviation and force perception deviation, while the physical semantic mismatch judgment module monitors force perception signals and pose perception signals at the same time and calculates the physical semantic mismatch index: I_joint=α·S_contact+β·D_pose+γ·V_pose_oscillation.
[0139] When the force sensor signal indicates that the contact force has reached the expected value (force deviation within ±1N), but the position sensor signal indicates that the shaft end has not yet reached the target depth (position deviation exceeds 0.5mm), the matching judgment submodule detects an explicit mismatch phenomenon of "force sensory feedback indicates contact establishment but position sensory feedback has not yet reached the target position," and determines that there is joint inconsistency. At this time, the physical semantic mismatch index I_joint exceeds the threshold corresponding to this process (e.g., 0.3), triggering the decision module to generate an acquisition trigger signal. The acquisition execution module extracts multimodal data (including visual position data, six-dimensional force sensory data, and joint encoder data) from the circular buffer for M seconds before and after the trigger time, labels it with "shaft hole assembly - insertion" and the trigger reason "force-position explicit mismatch," and then uploads it.
[0140] This "force-position explicit mismatch" data is extremely valuable for training models to identify precursors to assembly jamming. Force sensation indicates contact, but positional sensation has not yet reached the target depth, which is a typical signal before assembly anomalies occur. By learning from this type of data, the model can anticipate jamming risks and adjust strategies in future assemblies, thereby improving assembly success rates.
[0141] Thirdly, embodiments of this application provide an electronic device, combined with Figure 3 As shown, the electronic device includes a memory 131 and a processor 130. The memory 131 stores a computer program, and the processor 130 runs the computer program to make the electronic device perform the above-described method.
[0142] Furthermore, combined Figure 3 The electronic device shown also includes a bus 132 and a communication interface 133, with the processor 130, the communication interface 133 and the memory 131 connected via the bus 132.
[0143] The memory 131 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 133 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 132 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 3 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0144] Processor 130 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 130 or by instructions in software form. Processor 130 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 131, and processor 130 reads the information in memory 131 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0145] Fourthly, embodiments of this application provide a readable storage medium storing computer program instructions, which are read and executed by a processor to perform the above-described method.
[0146] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0147] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0148] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0149] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0150] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. An embodied intelligent data acquisition engine for composite robots, characterized in that, include: The process mapping module is used to obtain the current process identifier and determine the collection configuration information corresponding to the current process based on the current process identifier. The collection configuration information includes at least the monitoring dimension and triggering conditions. The deviation perception module, connected to the process mapping module, is used to obtain the planning parameters and measured parameters of the robot when performing the current process according to the monitoring dimension, and to calculate the deviation between the planning parameters and the measured parameters. The physical semantic mismatch determination module is connected to the process mapping module and is used to obtain the force and position signals at the same moment in the current process, and determine whether there is a physical semantic mismatch based on the physical semantic association between the force and position signals. The trigger decision module is connected to the deviation perception module and the physical semantic mismatch determination module respectively, and is used to generate a collection trigger signal when the deviation meets the trigger condition or the physical semantic mismatch meets the preset trigger condition. The data acquisition and execution module is connected to the trigger decision module. In response to the data acquisition trigger signal, it extracts multimodal sensor data within a preset time period before and after the occurrence of the data acquisition trigger signal from the cache, and outputs the data after adding the current process identifier and trigger reason information.
2. The embodied intelligent data acquisition engine for composite robots according to claim 1, characterized in that, The data acquisition and execution module includes: A circular buffer is used to continuously cache the multimodal sensor data within a preset time period; An asynchronous output unit is used to output the extracted data in a bypass mode, wherein the output process is independent of the robot's real-time control loop.
3. The embodied intelligent data acquisition engine for composite robots according to claim 1, characterized in that, The trigger decision module includes: The deviation determination submodule, connected to the deviation sensing module, is used to determine whether the deviation amount meets the triggering condition; A matching determination submodule, connected to the physical semantic mismatch determination module, is used to determine whether the physical semantic mismatch meets the preset triggering condition; The trigger signal generation submodule is connected to the deviation determination submodule and the matching determination submodule, respectively, and is used to generate the acquisition trigger signal when the deviation determination submodule determines that the deviation amount meets the trigger condition, or when the matching determination submodule determines that the physical semantic mismatch meets the preset trigger condition.
4. The embodied intelligent data acquisition engine for composite robots according to claim 1, characterized in that, The physical semantic mismatch determination module includes: The force signal acquisition submodule is used to acquire the force signal at the same moment in the current process. The positional signal acquisition submodule is used to acquire the positional signal at the same moment in the current process. The physical semantic association determination submodule is connected to the force signal acquisition submodule and the positional signal acquisition submodule, respectively, and is used to determine whether there is a physical semantic mismatch based on the physical semantic association between the force signal and the positional signal.
5. The embodied intelligent data acquisition engine for composite robots according to claim 4, characterized in that, The physical semantic association determination submodule calculates the physical semantic mismatch index using the following model: I_joint=α·S_contact+β·D_pose+γ·V_pose_oscillation Where α, β, and γ are weighting coefficients configured according to the current process, S_contact is the contact state confidence level, D_pose is the pose deviation normalized value, and V_pose_oscillation is the positional oscillation amplitude. When the physical semantic mismatch index exceeds the physical semantic mismatch threshold corresponding to the current process, the physical semantic mismatch satisfies the preset triggering condition.
6. The embodied intelligent data acquisition engine for composite robots according to claim 3, characterized in that, The trigger signal generation submodule further includes: The probability determination unit is used to perform probabilistic comprehensive verification of the determination result using a Bayesian inference framework after the deviation determination submodule or the physical semantic matching determination submodule has determined that the triggering condition is met. The probability determination unit uses the deviation amount and the physical semantic mismatch index as random variables, and the triggering condition as the prior triggering boundary to calculate the triggering posterior probability. When the posterior probability exceeds the preset confidence threshold, a trigger enable signal is output to the trigger signal generation submodule. The trigger signal generation submodule generates the acquisition trigger signal after receiving the trigger enable signal.
7. A method for acquiring embodied intelligent data for composite robots, characterized in that, The method is applied to the embodied intelligent data acquisition engine for composite robots as described in any one of claims 1-6; the method includes: Obtain the current process identifier, and determine the collection configuration information corresponding to the current process based on the current process identifier. The collection configuration information includes at least the monitoring dimension and triggering conditions. Based on the monitoring dimensions, the planning parameters and measured parameters of the robot when performing the current process are obtained, and the deviation between the planning parameters and the measured parameters is calculated. Acquire force and position signals at the same moment in the current process, and determine whether there is a physical semantic mismatch based on the physical semantic association between the force and position signals; When the deviation meets the triggering condition or the physical semantic mismatch meets the preset triggering condition, a data acquisition trigger signal is generated. In response to the acquisition trigger signal, multimodal sensor data within a preset time period before and after the acquisition trigger signal is generated from the cache, and the current process identifier and trigger reason information are appended before output.
8. The method according to claim 7, characterized in that, When the deviation meets the triggering condition or the physical semantic mismatch meets the preset triggering condition, a data acquisition trigger signal is generated, specifically including: The deviation and the physical semantic mismatch index are treated as random variables, and their probability distribution is modeled based on the sensor noise level and the statistical characteristics of historical data. Using the triggering condition as the prior triggering boundary, the actual values of the deviation and the physical semantic mismatch index are used as observation data, and the posterior probability of triggering when the actual value of each monitoring index exceeds the prior threshold is calculated using the Bayesian update formula. When the posterior probability exceeds a preset confidence threshold, the acquisition trigger signal is generated; The Bayesian update formula is as follows: in, To trigger the posterior probability; The likelihood probability of the data under the trigger condition; To trigger the prior probability; This represents the marginal probability of the data.
9. The method according to claim 8, characterized in that, After using the triggering condition as the prior triggering boundary, and taking the actual values of the deviation and the physical semantic mismatch index as observation data, and calculating the posterior probability of triggering each monitoring index exceeding the prior threshold using the Bayesian update formula, the method further includes: When the posterior probability is lower than the confidence threshold, the current monitoring state is maintained, and the posterior probability is recalculated after subsequent data updates are detected.
10. The method according to claim 7, characterized in that, Also includes: Obtain the actual contribution of historical data to model training, and dynamically adjust the triggering conditions based on the actual contribution.
