A motion parameter intelligent regulation method for a mechanical arm clamping a sand core
By analyzing the three-dimensional position coordinates of the end effector of the robotic arm, the vibration and impact response characteristics of the sand core are calculated, and the motion parameters are adjusted in real time. This solves the problem of insufficient perception of the sand core clamping status in the existing technology and realizes the safe and efficient handling of sand cores under complex working conditions.
Patent Information
- Application Number
- CN202611636006.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies lack effective perception and analysis of the real-time clamping status of sand cores when using robotic arms to hold them. This results in the inability to adaptively adjust motion parameters, leading to the risk of sand cores cracking or falling off during handling, especially when facing unexpected vibrations and impacts.
By acquiring the three-dimensional position coordinates of the end effector of the robotic arm, calculating motion characteristic parameters such as displacement step size and acceleration change, analyzing the vibration and impact response characteristics of the sand core, and adjusting the motion parameters of the robotic arm in real time through data processing within a preset local sliding window to adapt to different working conditions, dynamic control of the sand core is achieved.
It improves the safety and reliability of the sand core clamping process, ensures the smooth transfer of sand cores at high speeds, avoids damage, and enhances the adaptability of the casting production line to complex working conditions.
Smart Images

Figure CN123129201A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of robotic arm motion control technology, specifically to a method for intelligent control of motion parameters for a robotic arm holding a sand core. Background Technology
[0002] In automated casting production lines, the robotic arm's gripping of sand cores is a crucial link connecting core making, core assembly, and core placement processes. Sand cores are typically formed by resin-bonded and cured sand particles, with numerous randomly distributed pores inside, exhibiting a brittle characteristic of high strength but low toughness. The robotic arm needs to complete the gripping, handling, flipping, and mold placement of sand cores at high speeds. It must ensure that the sand cores do not develop micro-cracks or chipping due to vibration and impact during handling, and achieve millimeter-level precision alignment during mold placement to avoid rigid collisions with locating pins or the mold. Traditional manual operations struggle to balance efficiency and consistency, making automated robotic arm operations the mainstream solution in the industry.
[0003] Currently, the motion parameter control of robotic arms gripping sand cores mainly adopts a fixed trajectory planning method based on position, velocity, and acceleration. This involves pre-setting the path, velocity, and acceleration curves of the end effector during offline programming, and then executing them according to a predetermined sequence during runtime. To further improve gripping safety, existing technologies have introduced a force / position hybrid control strategy. This strategy uses impedance control to set the end effector stiffness, allowing the robotic arm to exhibit a certain degree of compliance in the contact environment. In practice, a stiffness switching strategy is typically used: a lower stiffness is set during the handling phase to absorb vibration and impact, while a higher stiffness is switched during the mold insertion phase to ensure positioning accuracy. Existing technologies alleviate the contradiction between "breakage prevention" and "precision" to some extent.
[0004] However, existing technologies lack effective perception and analysis of the real-time clamping status of the sand core in terms of stiffness switching timing and amplitude settings. Specifically, impedance control adjusts positional deviation solely based on end-contact force, which is essentially passive compliance based on external contact. It cannot actively determine whether the current vibration and impact have truly been transmitted to the interior of the sand core, whether the sand core has experienced slight slippage within the grippers, or whether the clamping status has shown an irreversible degradation trend after multiple impacts. When unexpected vibrations and impacts (such as ground vibrations, air pressure fluctuations, load changes, etc.) occur during handling, the fixed switching logic cannot adaptively adjust motion parameters, leaving the sand core still at risk of cracking or falling off. Therefore, there is an urgent need for a method that can perceive the sand core clamping status in real time and dynamically adjust the robotic arm motion parameters accordingly to improve the adaptability of the casting production line to complex working conditions. Summary of the Invention
[0005] This invention provides a method for intelligent control of motion parameters for a robotic arm holding a sand core, in order to solve existing problems.
[0006] The present invention provides a method for intelligent control of motion parameters for a robotic arm holding a sand core, which adopts the following technical solution: One embodiment of the present invention provides a method for intelligent control of motion parameters for a robotic arm holding a sand core, the method comprising the following steps: Acquire the three-dimensional position coordinates of the end effector at each sampling moment during the movement of the robotic arm gripping the target workpiece; The motion characteristic parameters at each sampling time are calculated based on the three-dimensional position coordinates. The motion characteristic parameters include at least the displacement step size, the second-order displacement change, and the third-order displacement change. Based on the motion characteristic parameters of each sampling moment within a preset local sliding window, calculate the motion intensity level and displacement direction dispersion at the current sampling moment. Based on the motion characteristic parameters, motion intensity level, and displacement direction dispersion at the current sampling time, the relative motion impact response intensity is obtained. Based on the relative motion impact response intensity within a preset local sliding window, the head-to-tail impact intensity retention ratio and relative response intensity coefficient are calculated. Based on the relative motion impact response intensity within a preset local sliding window, the degree of dominance of the attenuation trend is calculated, and based on the head-to-tail impact intensity retention ratio, relative response intensity coefficient, and degree of dominance of the attenuation trend, the impact response attenuation viscosity is calculated. The impact recovery segment is extracted from the curve of the ratio of impact strength retention at the head and tail over time, and the average relative linear recovery deviation of each impact recovery segment is calculated. Based on the average relative linear recovery deviation of all impact recovery segments, the relative deviation trend is calculated, and based on the impact response decay viscosity and the relative deviation trend, the degree of danger of the clamping state is calculated. Based on the degree of danger of the clamping state and the relative deviation trend, adjust the end effector motion parameters and clamping force of the robotic arm.
[0007] Furthermore, the specific steps for calculating the motion characteristic parameters at each sampling time based on three-dimensional position coordinates are as follows: Subtract the three-dimensional position coordinates of the current sampling time from those of the previous sampling time to obtain the displacement vector of the current sampling time; Take the magnitude of the displacement vector as the displacement step size at the current sampling time; Subtract the displacement step size of the current sampling time from that of the previous sampling time to obtain the second-order displacement change at the current sampling time. Subtract the second-order displacement change at the current sampling time from the second-order displacement change at the previous sampling time to obtain the third-order displacement change at the current sampling time.
[0008] Furthermore, the specific steps for calculating the motion intensity level and displacement direction dispersion at the current sampling moment based on the motion characteristic parameters at each sampling moment within a preset local sliding window are as follows: Obtain the displacement step size at each sampling moment within the preset local sliding window, and then take the square root of the sum of the squares of all displacement step sizes to obtain the motion intensity level value at the current sampling moment. For each sampling moment within a preset local sliding window, the direction vector of that sampling moment is obtained by subtracting the three-dimensional position coordinates of the sampling moment from the three-dimensional position coordinates of the previous sampling moment and dividing by the displacement step size of that sampling moment. Calculate the angle between the direction vector at the sampling moment and the unit vector in the vertical direction, and use it as the angle at the sampling moment; Calculate the mean angle at all sampling times within a preset local sliding window; Calculate the absolute difference between the angle and the mean angle at each sampling time within the preset local sliding window, and sum them to obtain the first sum value; The displacement direction dispersion is calculated by using the product of 2π and the number of sampling times within the preset local sliding window as the denominator and the first sum as the numerator.
[0009] Furthermore, the specific steps for obtaining the relative motion impact response intensity based on the motion characteristic parameters, motion intensity level, and displacement direction dispersion at the current sampling time are as follows: The degree of displacement fluctuation is calculated by using the product of the third-order displacement change at the current sampling time and the motion intensity level as the numerator, and the product of the displacement step size at the current sampling time and the second-order displacement change as the denominator. Adding 1 to the displacement direction dispersion gives the displacement direction dispersion factor; Multiply the absolute value of the intensity of displacement fluctuation by the displacement direction discrepancy factor to obtain the motion impact response intensity at the current sampling time; The motion impact response intensity at the current sampling time is normalized to obtain the relative motion impact response intensity at the current sampling time.
[0010] Furthermore, the specific steps for calculating the head-to-tail impact intensity retention ratio and relative response intensity coefficient based on the relative motion impact response intensity within a preset local sliding window are as follows: Obtain the relative motion impact response intensity at each sampling moment within a preset local sliding window; Arrange all sampling times within the preset local sliding window in chronological order, dividing them into the first half and the second half of the sampling times, with the middle position as the boundary. The second sum is obtained by summing the relative motion impact response intensities at the first half of the sampling time. The third sum is obtained by summing the relative motion impact response intensities at the second half of the sampling time. Using twice the third sum as the numerator and the sum of the second and third sums as the denominator, the head-to-tail impact strength retention ratio in the preset local sliding window is calculated. Calculate the average relative motion impact response intensity at all sampling times within a preset local sliding window, and use it as the first average. Calculate the average relative motion impact response intensity across all sampling times from the start of sampling to the current sampling time, and use this as the second average. The relative response intensity coefficient is calculated by using the sum of the second mean and the preset zero constant as the denominator and the first mean as the numerator.
[0011] Furthermore, the specific steps for calculating the degree of dominance of the attenuation trend based on the relative motion impact response intensity within a preset local sliding window, and calculating the impact response attenuation viscosity based on the head-to-tail impact intensity retention ratio, the relative response intensity coefficient, and the degree of dominance of the attenuation trend, are as follows: The instantaneous change at the next sampling time is obtained by subtracting the relative motion impact response intensity at the previous sampling time from the relative motion impact response intensity at the next sampling time within the preset local sliding window. Obtain the instantaneous changes at all sampling times within a preset local sliding window; The degree of dominance of the decay trend is calculated by using the sum of the absolute values of the instantaneous changes at all sampling times as the denominator and the sum of the positive values of the instantaneous changes at all sampling times as the numerator. Using 1 and the sum of the degree of dominance of the attenuation trend as the denominator, and the product of the head-to-tail impact strength retention ratio and the relative response strength coefficient in the preset local sliding window as the numerator, the impact response attenuation viscosity is calculated.
[0012] Furthermore, the specific steps for extracting the impact recovery segment from the curve of the head-to-tail impact strength retention ratio over time and calculating the average relative linear recovery deviation of each impact recovery segment are as follows: The curve showing the change of the head and tail impact strength retention ratio over time in the preset local sliding window is used as the retention ratio curve. Smooth the retention ratio curve; The mean of the deviation values of the retention ratio curve before and after smoothing at each sampling time is calculated and used as the third mean. The sum of 1 and the third mean is used as the retention ratio threshold; From the smoothed retention ratio curve, select the continuous segment where the retention ratio is less than the retention ratio threshold at the end of the monotonically rising phase, and use it as the impact recovery segment. For each sampling point in each impact recovery segment, calculate the difference between the retention ratio of the end sampling point and the retention ratio of the beginning sampling point, multiply the difference by the index of the sampling point to obtain the product, and divide the product by the number of adjacent intervals contained in the impact recovery segment to obtain the first ratio. Adding the first ratio to the hold ratio of the initial sampling point yields the fourth sum. Subtract the fourth sum from the retention ratio of the sampling point to obtain the relative linear recovery deviation of the sampling point; Calculate the mean of the relative linear recovery deviations of all sampling points within the impact recovery segment, and use it as the average relative linear recovery deviation of the impact recovery segment.
[0013] Furthermore, the specific steps for calculating the relative deviation trend based on the average relative linear recovery deviation of all impact recovery segments, and calculating the degree of danger of the clamping state based on the impact response decay viscosity and the relative deviation trend, are as follows: The average relative linear recovery deviations of all impact recovery segments are sorted in chronological order to obtain the average relative linear recovery deviation sequence. Calculate the absolute difference between two adjacent average relative linear recovery deviations in the average relative linear recovery deviation sequence, and take the mean of all absolute differences as the fourth mean; The relative deviation trend is calculated by using the sum of the fourth mean and the preset zero-prevention constant as the denominator, and the difference between the first and last average relative linear recovery deviations in the average relative linear recovery deviation sequence as the numerator. Add 1 to the absolute value of the relative deviation from the trend to obtain the fifth sum; Calculate the ratio of the damped viscosity of the impact response to the mean damped viscosity of the impact response, and use the sum of this ratio and 1 as the sixth sum. The product of the fifth and sixth sums is used as the degree of danger of the clamping state.
[0014] Furthermore, the specific steps for adjusting the end effector parameters and clamping force of the robotic arm based on the degree of danger of the clamping state and the relative deviation trend are as follows: Obtain the current clamping state danger level, relative deviation trend, and current robotic arm control parameter set at the current sampling moment; The degree of danger of the clamping state, the relative deviation trend, and the current set of robotic arm control parameters are input into the pre-trained parameter tuning model, and the parameter tuning model outputs the tuned set of robotic arm control parameters. Based on the optimized set of robotic arm control parameters, the end effector speed, acceleration, and clamping force of the robotic arm are adjusted online.
[0015] Furthermore, the training process of the parameter tuning model is as follows: The clamping state danger level, relative deviation trend, and robotic arm control parameter set at each sampling moment are obtained through an offline simulation environment, as well as the robotic arm control parameter set that ensures the safe handling of the target workpiece at the corresponding moment, as training samples. Using the degree of danger of the clamping state, the relative deviation trend, and the set of robot arm control parameters as inputs, and the set of robot arm control parameters that ensure the safe handling of the target workpiece as output labels, a deep neural network is trained under supervision to obtain a parameter tuning model.
[0016] The beneficial effects of the technical solution of this invention are as follows: This invention proposes an intelligent control method for motion parameters of a robotic arm holding sand cores. By analyzing the temporal information of the position state of the gripper at the end of the robotic arm, the severity of the dynamic load caused to the sand core by the gripper during handling is quantitatively assessed. Based on this, the actual vibration and impact level experienced by the sand core is further analyzed, and the gripping state of the sand core is identified in real time according to the vibration response characteristics and the degree of posture deviation. Finally, the motion parameters of the robotic arm are dynamically adjusted based on the gripping state identification results to adapt to the differentiated needs of different batches and sizes of sand cores during handling, ensuring that the sand core is smoothly transported at high speeds without damage. Compared to the stiffness switching strategy based on fixed trajectory planning and force / position hybrid control in existing technologies, this invention achieves continuous perception and analysis of the sand core gripping state through the temporal information of the end position without the need for additional force sensors. Based on the actual response degree and state change trend of the sand core to vibration and impact, the motion parameters of the robotic arm are adaptively adjusted online, effectively coping with unexpected vibration and impact during handling, and significantly improving the safety and reliability of the sand core gripping and transport process. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating the steps of an intelligent control method for motion parameters of a robotic arm holding a sand core, as described in this invention. Detailed Implementation
[0019] To further illustrate the technical means and effects adopted by the present invention to achieve its intended purpose, the following, in conjunction with the accompanying drawings and preferred embodiments, details the specific implementation, structure, features, and effects of a method for intelligent control of motion parameters for a robotic arm holding a sand core according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, specific features, structures, or characteristics in one or more embodiments can be combined in any suitable form.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0021] Existing methods for controlling the motion parameters of robotic arms when holding sand cores lack real-time sensing and analysis capabilities for the sand core's gripping state. They cannot adaptively adjust based on the sand core's actual load-bearing capacity and positional deviations, making it difficult to balance shock absorption during handling and impact prevention during mold placement. Low stiffness leads to difficulty in mold alignment, while high stiffness makes the edges prone to cracking, failing to meet the differentiated handling needs of sand cores from different batches and sizes. This invention analyzes the temporal information of the gripper position at the robotic arm's end effector, continuously identifying the real-time gripping state of the sand core within the gripper. Based on this, the motion parameters of the robotic arm are dynamically adjusted, achieving adaptive control against unexpected vibrations and impacts during handling. This simultaneously meets the dual requirements of shock absorption during sand core handling and impact prevention during mold placement, improving the casting production line's adaptability to complex working conditions.
[0022] The following description, in conjunction with the accompanying drawings, details a specific scheme for an intelligent control method of motion parameters for a robotic arm holding a sand core, provided by the present invention.
[0023] Please see Figure 1 The diagram illustrates a flowchart of a method for intelligent control of motion parameters for a robotic arm holding a sand core, according to an embodiment of the present invention. The method includes the following steps: Step S001: Obtain the three-dimensional position coordinates of the end effector at each sampling moment during the movement of the robotic arm clamping the target workpiece.
[0024] It should be noted that the target workpiece is a casting sand core. Sand cores are typically made of resin-bonded, solidified sand particles with numerous randomly distributed pores, exhibiting a brittle characteristic of high strength but low toughness. In automated casting production lines, a robotic arm needs to pick up the sand core from the core-making station, and after handling and flipping processes, finally place it into the mold. During handling, the sand core is prone to micro-cracks or chipping due to vibration and impact, and millimeter-level precision alignment is required during the mold placement stage. The end effector's movement trajectory in the task of handling the sand core can be divided into four typical stages: the initial acceleration stage, the constant speed running stage, the turning transition stage, and the deceleration and placement stage. In the initial acceleration and turning transition stages, due to the need to overcome static friction and inertia, the torque commands of the motors at each joint of the robotic arm undergo abrupt changes. This torque abrupt change excites elastic vibrations in the robotic arm's linkage structure. The vibration waves are transmitted along the robotic arm body to the end effector, and finally transmitted to the sand core through the grippers. The end effector is the tool installed at the end of the last link of the robotic arm, i.e., the "hand" of the robotic arm. In this embodiment, the end effector is a gripper, which is mounted on the end flange of the robotic arm. It is used to directly contact and hold the sand core to complete operations such as gripping, handling, and placing. The Cartesian coordinate system based on the end effector is called the tool coordinate system, and its origin is set to the tool center point by default.
[0025] The process of obtaining three-dimensional position coordinates can be summarized as follows: first, measure the degree of rotation of each joint, and then calculate the position of the gripper in space based on the geometry of the robotic arm. Specifically, multi-turn absolute photoelectric encoders are coaxially installed at the rear end of the drive motors of each joint of the robotic arm. The encoders can measure the rotation angle of the motor shaft in real time, and can read the current absolute angular displacement of each joint upon power-up, without the need for zeroing operation. The angular displacement signals of each joint output by the encoder in real time are synchronously acquired by the controller bus and substituted into the DH parameter model of the robotic arm for forward kinematics calculation. The so-called DH parameters can be understood as the geometric dimensional relationships between the joints of the robotic arm (such as link length, joint spacing, etc.), which describe the "size" of the robotic arm. The core of the forward kinematics calculation is: construct a homogeneous transformation matrix based on the DH parameters of each joint, and multiply these matrices sequentially from the base to the end effector to obtain a total transformation matrix. The first three elements of the fourth column of this matrix are the three-dimensional position coordinates of the end effector at the i-th sampling time in the base coordinate system of the robotic arm. By repeating the above calculation process at each sampling time, the three-dimensional position coordinates of the end effector at each sampling time can be obtained. The obtained three-dimensional position coordinates are preprocessed, such as smoothing and denoising, and then used for analysis and calculation in subsequent steps.
[0026] Step S002: Calculate the motion characteristic parameters at each sampling time based on the three-dimensional position coordinates. The motion characteristic parameters include at least the displacement step size, the second-order displacement change, and the third-order displacement change.
[0027] It should be noted that the failure mechanism of sand cores, a porous and brittle material formed by resin-bonded sand particles, is unique. When subjected to external vibration, the numerous randomly distributed pores within the sand core are prone to stress concentration at their edges. When the vibration acceleration amplitude exceeds a certain critical level, the sand particle bonding bridges between the pores will fracture, leading to the initiation of microcracks. Even if the amplitude of a single vibration does not reach the critical level, repeated cyclic vibrations will cause the sand particle bonding bridges to gradually degrade due to cumulative fatigue, ultimately resulting in macroscopic damage to the sand core. Therefore, it is necessary to extract characteristic parameters that characterize the intensity of the kinetic impact from the displacement information of the grippers. This allows for a comprehensive assessment of the severity of the dynamic load exerted on the sand core by the moving grippers during handling, providing a basis for subsequent adaptive control of motion parameters.
[0028] Step S002 specifically includes steps S0021-S0024: Step S0021: Subtract the three-dimensional position coordinates of the current sampling time from those of the previous sampling time to obtain the displacement vector of the current sampling time.
[0029] Specifically, let the current sampling time be... The previous sampling time was The corresponding three-dimensional position coordinates are as follows: and Then the displacement vector at the current sampling time This displacement vector contains information about the distance and direction of movement of the end effector between two adjacent sampling times.
[0030] Step S0022: Take the magnitude of the displacement vector as the displacement step size at the current sampling time.
[0031] Specifically, the displacement step size at the current sampling time. Defined as: ; in, This represents the magnitude of the displacement vector. The current sampling time The three-dimensional position coordinates, The previous sampling time The three-dimensional position coordinates. Since the sampling time is fixed, the displacement step size... This actually reflects the moving speed of the end effector within the current sampling interval (the displacement step size is proportional to the speed magnitude). When the end effector is stationary... .
[0032] Step S0023: Subtract the displacement step size of the current sampling time from that of the previous sampling time to obtain the second-order displacement change at the current sampling time.
[0033] Specifically, and Let be the displacement step size at the current sampling time and the previous sampling time, respectively. Then, the second-order displacement change at the current sampling time is... Defined as: .in, This reflects the speed at which the end effector moves within the current sampling interval. This reflects the moving speed within the previous sampling interval; the difference between the two is the change in speed, used to represent the acceleration characteristics of the end effector (because the sampling time is fixed, the change in displacement step size is proportional to the acceleration). A positive value indicates accelerated motion, a negative value indicates decelerated motion, and zero value indicates uniform motion.
[0034] Step S0024: Subtract the second-order displacement change at the current sampling time from the previous sampling time to obtain the third-order displacement change at the current sampling time.
[0035] Specifically, and Let be the second-order displacement changes at the current sampling time and the previous sampling time, respectively. Then, let be the third-order displacement changes at the current sampling time. Defined as: .in, This reflects the acceleration characteristics of the end effector within the current sampling interval. This reflects the acceleration characteristics within the previous sampling interval. Subtracting the two values yields the change in acceleration, used to represent the jerk characteristic of the end effector (since the sampling time is fixed, the rate of change of the second-order displacement is proportional to the jerk). The jerk directly reflects the severity of the impact on the robotic arm's end effector; a larger value indicates a more drastic change in acceleration, i.e., a stronger impact. Because the sampling time is fixed, this embodiment uses the change in displacement step size to characterize the acceleration change and the change in the second-order displacement to characterize the jerk characteristic. Both are proportional to their respective physical quantities and are used for relative comparison and trend judgment of impact intensity without affecting the accuracy of the final control result.
[0036] Step S003: Based on the motion characteristic parameters of each sampling time within the preset local sliding window, calculate the motion intensity level and displacement direction dispersion at the current sampling time.
[0037] Step S003 specifically includes steps S0031-S0036: Step S0031: Obtain the displacement step size at each sampling moment within the preset local sliding window, and take the square root of the sum of the squares of all displacement step sizes to obtain the motion intensity level value at the current sampling moment.
[0038] Specifically, the preset local sliding window refers to the time range covered by counting backwards for a fixed period, with the current sampling time as the end of the window. In this embodiment, the size of the local sliding window is set to all sampling times within 5 seconds prior to the current sampling time. This window slides forward point by point as the sampling time progresses; that is, for each new sampling point collected, the window moves forward by one step, discarding the oldest data point and incorporating the latest data point, thereby achieving real-time updates of the motion intensity level value. The preset local sliding window contains... There are 1 sampling time points, and the displacement step size corresponding to each sampling time point is 1 / 2. The motion intensity level value at the current sampling time Defined as: ; in, For the first in the window The formula calculates the root mean square (RMS) value of the displacement step size at each sampling time. This is the square root of the average of the squares of all displacement step sizes within the window. The RMS value is a commonly used statistic in signal processing to measure the energy level of a signal. For a displacement step size sequence, its RMS value... The larger the value, the higher the average speed of the end effector within the local sliding window, and the more vigorous the overall motion.
[0039] Step S0032: For each sampling moment within the preset local sliding window, subtract the three-dimensional position coordinates of the sampling moment from the three-dimensional position coordinates of the previous sampling moment, and divide by the displacement step size of the sampling moment to obtain the direction vector of the sampling moment.
[0040] Specifically, let the preset local sliding window contain the first... At each sampling time, its three-dimensional position coordinates are The three-dimensional position coordinates at the previous sampling time are The displacement vector is The displacement step size is Then the direction vector at the current sampling time Defined as: ; The magnitude of this direction vector is 1, and its direction is related to the displacement vector. The direction is consistent, indicating the pure motion direction of the end effector within that sampling interval, without including information about the velocity magnitude. Direction vector It is a three-dimensional unit vector. It should be noted that when the end effector is stationary between adjacent sampling times, the displacement vector... displacement step size At this point, the direction vector cannot be defined. To address this situation, this embodiment defines a direction vector when... At that time, direction vector It does not participate in the subsequent calculation of displacement direction dispersion.
[0041] Step S0033: Calculate the angle between the direction vector at the sampling moment and the unit vector in the vertical direction, and use it as the angle at the sampling moment.
[0042] Specifically, let the preset local sliding window contain the first... The direction vector at each sampling time is The unit vector in the vertical direction is Then the angle at the current sampling time Defined as: ; The range of angle values is arrive This angle reflects the degree to which the end effector's direction of motion deviates from the vertical direction within the current sampling interval. When the robotic arm moves horizontally, near When the robotic arm moves vertically, near or For clamping tasks primarily involving horizontal transport, the end effector may experience additional vertical or horizontal oscillations under unexpected vibrations and shocks, causing a significant change in the angle. Therefore, this angle is the fundamental data for subsequent calculations of displacement direction dispersion. When the direction vector is zero, the angle cannot be defined; in this case, the angle calculation at that sampling moment is skipped and not included in subsequent displacement direction dispersion statistics.
[0043] Step S0034: Calculate the mean angle of all sampling times within the preset local sliding window.
[0044] Step S0035: Calculate the absolute difference between the angle and the mean angle at each sampling time within the preset local sliding window and sum them to obtain the first sum value.
[0045] Specifically, the mean angle within the window is Then the first sum value Defined as: .
[0046] Step S0036: Calculate the displacement direction dispersion by using the product of 2π and the number of sampling times within the preset local sliding window as the denominator and the first sum as the numerator.
[0047] Specifically, displacement direction dispersion The calculation formula is as follows: .in As a normalization factor, its value corresponds to the maximum possible range of angle values (0 to...). Radius), used to normalize the degree of angular dispersion to the [0,1] interval; This represents the number of sampling times within the window. Essentially, this formula is the average absolute deviation of the angle at each sampling time within the window relative to the mean angle, divided by the maximum value within the angle range to obtain the normalized dispersion index. The closer the value is to 1, the greater the deviation of the motion direction at each sampling moment within the window, and the more chaotic the motion direction of the end effector; conversely, the closer the value is to 1, the greater the deviation of the motion direction at each sampling moment within the window, and the more chaotic the motion direction of the end effector. The closer the value is to 0, the more consistent the motion direction is at each sampling moment. This displacement direction dispersion is used to characterize the frequency of non-movement direction deviations of the gripper during movement, that is, the strength of the external vibration excitation transmitted by the gripper to the sand core.
[0048] Step S004: Based on the motion characteristic parameters, motion intensity level, and displacement direction dispersion at the current sampling time, obtain the relative motion impact response intensity.
[0049] Step S004 specifically includes steps S0041-S0044: Step S0041: The degree of displacement fluctuation is calculated by using the product of the third-order displacement change and the motion intensity level at the current sampling time as the numerator, and the product of the displacement step size and the second-order displacement change at the current sampling time as the denominator.
[0050] Specifically, the third-order displacement change at the current sampling moment is The exercise intensity level is The displacement step size is The second-order displacement change is The degree of displacement fluctuation Defined as: ; in, For the numerator, Characterizing the impact intensity at the current sampling moment, This indicates the intensity of the current motion, and the product of the two is used to characterize "the absolute intensity of the current impact in the context of the current motion"; The denominator term, used to normalize the numerator, represents the reference benchmark for the current motion scale. Essentially, this formula measures the ratio of the "impact rate of change" to the "current state of motion." A larger denominator indicates more intense current motion and a relatively higher tolerance for equivalent impacts; a smaller denominator indicates more stable current motion and a more pronounced impact. When the denominator is zero, it is defined as... A value of zero is considered as no fluctuation.
[0051] Step S0042: Add 1 to the displacement direction dispersion to obtain the displacement direction dispersion factor.
[0052] Specifically, the displacement direction discrepancy factor Defined as: . This represents the displacement direction dispersion, with values ranging from 0 to 1. When When the direction of motion is completely consistent at each sampling time within the window, the displacement direction dispersion factor is 1, and it does not amplify or reduce the intensity of displacement fluctuations; when When the displacement direction dispersion factor is greater than 1, it amplifies the severity of displacement fluctuations, and The larger the value, the more obvious the amplification effect, thus incorporating the vibration excitation in the direction into the comprehensive evaluation of the impact strength.
[0053] Step S0043: Multiply the absolute value of the intensity of displacement fluctuation by the displacement direction dispersion factor to obtain the motion impact response intensity at the current sampling time.
[0054] Specifically, the intensity of the motion shock response at the current sampling moment. Defined as: . This represents the absolute value of the degree of displacement fluctuation, ensuring that the impact strength is always non-negative. The displacement direction discretization factor is used to weight and amplify the intensity of displacement fluctuations. From a physical perspective, the intensity of the motion shock response simultaneously reflects two dimensions of dynamic load information: firstly, the intensity of displacement fluctuations. This reflects the velocity fluctuations and acceleration changes of the end effector in the direction of motion, i.e., the "intensity of impact in the direction of motion"; secondly, the displacement direction dispersion factor. This reflects the frequency of the end effector's offset in the non-motion direction, i.e., the "intensity of vibration excitation in the direction". Multiplying the two together enables a quantitative assessment of the comprehensive dynamic load on the sand core. The larger the value, the stronger the overall impact load applied to the sand core by the end effector at the current moment, and the higher the risk of damage to the sand core.
[0055] Step S0044: Normalize the motion impact response intensity at the current sampling time to obtain the relative motion impact response intensity at the current sampling time.
[0056] Specifically, the 98th percentile of the motion impact response intensity during the historical handling of each sand core is obtained, denoted as . The meaning of this quantile is that, in historical transport data, the motion impact response intensity is lower than this value at 98% of the sampling times. Using the 98th quantile instead of the maximum value as the benchmark is to eliminate the interference of extreme outliers on the normalized benchmark, ensuring the statistical stability of the normalized index. Therefore, the relative motion impact response intensity at the current sampling time... Defined as: . This is a dimensionless relative value, representing the ratio of the impact intensity at the current sampling moment to the upper limit of historical normal operating conditions. Under normal operating conditions, Usually less than 1; when When exceeding the historical 98th percentile, A value greater than 1 indicates that the current impact intensity has exceeded the levels seen under most historical operating conditions. (Relative motion impact response intensity) It reflects the relative level of impact intensity at the current sampling time, preserving the temporal variation characteristics of impact intensity while achieving comparability between different working conditions.
[0057] Step S005: Based on the relative motion impact response intensity within a preset local sliding window, calculate the head-to-tail impact intensity retention ratio and the relative response intensity coefficient.
[0058] It should be noted that while the motion impact response intensity can effectively characterize the "intensity of vibration" at the end of a robotic arm, it essentially describes the vibration level at the excitation end and cannot reflect the actual impact of the vibration on the sand core after transmission through the clamping interface. In actual working conditions, the vibration is transmitted from the end of the robotic arm to the interior of the sand core through two paths: the gripper body structure and the contact interface between the gripper and the sand core. Due to batch differences, uneven surface conditions, and clamping position deviations among different sand cores, even if the end-effector vibration conditions are exactly the same, the actual dynamic load borne by the sand core may vary significantly. When the robotic arm experiences a sudden change in motion (such as start-up acceleration or steering transition) or other impacts, the motion impact response intensity rapidly rises to form a local peak, and then gradually falls back as the structural vibration decays. This process of "rise, peak, decay, and fall" constitutes a complete impact response event. When the clamping force is sufficient, the surface roughness of the sand core is moderate, and there is no release agent residue, the gripper and the micro-protrusions on the sand core surface fully engage, resulting in a large actual contact area and high contact stiffness. At this time, the vibration energy is injected into the interior of the sand core with almost no attenuation through the high-stiffness interface. There are two types of energy dissipation mechanisms within the sand core: one is the viscoelastic deformation of the resin bonding bridges between sand grains (recoverable, with a large time constant), and the other is the viscous flow damping of air within the pores. Both mechanisms share the characteristics of slow response and slow dissipation. After the sand core is impacted, the intensity of the motion impact response of the gripper and the sand core system as a whole decreases slowly, exhibiting a high correlation between adjacent windows. Conversely, when the clamping force is low, or when there are localized release agents or pits formed on the sand core surface, the actual contact area between the gripper and the sand core is much smaller than the nominal area. The contact surface is supported only by a few discrete micro-protrusions, resulting in low contact stiffness. Vibration energy attenuates significantly at the interface (through micro-slippage, hysteresis, and impedance mismatch reflection or dissipation), failing to be fully transferred to the sand core. The vibration energy entering the sand core is significantly reduced, leading to a rapid decrease in the vibration energy of the gripper and the sand core system as a whole, and the intensity of the motion impact response quickly stabilizes.
[0059] Step S005 specifically includes steps S0051-S0058: Step S0051: Obtain the relative motion impact response intensity at each sampling moment within the preset local sliding window.
[0060] Step S0052: Arrange all sampling times within the preset local sliding window in chronological order, dividing them into the first half and the second half of the sampling times, with the middle position as the boundary.
[0061] Step S0053: Sum the relative motion impact response intensities at the first half of the sampling time to obtain the second sum value.
[0062] Step S0054: Sum the relative motion impact response intensities at the sampling time of the second half to obtain the third sum value.
[0063] Step S0055: Using twice the third sum as the numerator and the sum of the second and third sums as the denominator, calculate the head-to-tail impact strength retention ratio in the preset local sliding window.
[0064] Specifically, let the second sum be... The third sum is The impact strength at the head and tail remains the same as before. Defined as: .in, This represents the sum of the relative motion impact response intensities of the first half of the window. This is the sum of the relative motion impact response intensities of the rear half of the window. This ratio reflects the degree to which the impact intensity of the rear half of the window is maintained relative to the average level of the entire window: when When this occurs, it indicates that the impact intensity in the latter half is higher than that in the first half, and the impact is in its escalating phase; when This indicates that the impact is in its decay phase, and The closer the value is to 1, the smaller the change in impact intensity between the first and second halves of the window, meaning the slower the impact decay; conversely, the closer the value is to 1, the smaller the change in impact intensity between the first and second halves of the window. The further the value is from 1, the faster the impact decays.
[0065] Step S0056: Calculate the average relative motion impact response intensity at all sampling times within the preset local sliding window, and use it as the first average.
[0066] Step S0057: Calculate the average relative motion impact response intensity of all sampling times from the start sampling time to the current sampling time, and use it as the second average.
[0067] Specifically, the time interval from the start of sampling to the current sampling time refers to the time range from the initial sampling time when the current sand core is clamped by the gripper and begins to be transported to the current sampling time.
[0068] Step S0058: Using the sum of the second mean and the preset zero constant as the denominator and the first mean as the numerator, calculate the relative response intensity coefficient.
[0069] Specifically, let the first mean be... The second mean is The preset zero-prevention constant is The relative response intensity coefficient Defined as: Among them, molecules Reflects the average impact intensity level within the current local window; denominator This reflects the average impact strength level of the sand core throughout the entire handling process; This is used to prevent calculation errors caused by a denominator of zero. In this embodiment, a preset zero-prevention constant is used. Values This ratio reflects the proportion of the impact intensity within the current local window to the average level throughout the entire handling process. When When the value is significantly greater than 1, it indicates that the impact intensity within the local window is significantly higher than the historical average, and the sand core is currently experiencing a strong impact under the current operating conditions; when When the value is close to 0, it indicates that the impact intensity within the local window is far below the historical average level, and the current operating conditions are relatively stable.
[0070] Step S006: Based on the relative motion impact response intensity within a preset local sliding window, calculate the degree of dominance of the attenuation trend, and based on the head-to-tail impact intensity retention ratio, relative response intensity coefficient, and degree of dominance of the attenuation trend, calculate the impact response attenuation viscosity.
[0071] Step S006 specifically includes steps S0061-S0064: Step S0061: Subtract the relative motion impact response intensity at the next sampling time from the relative motion impact response intensity at the previous sampling time within the preset local sliding window to obtain the instantaneous change at the next sampling time.
[0072] Specifically, let the previous sampling time within the preset local sliding window be set. The relative motion impact response intensity is The next sampling time The relative motion impact response intensity is Then the next sampling time instantaneous change Defined as: This instantaneous change reflects the direction and magnitude of the change in relative motion impact response intensity between adjacent sampling times. When, it indicates that the impact strength from Time's up The timeline shows a downward trend, meaning the impact is diminishing; when When the impact intensity is increasing, it indicates that the impact is intensifying; when When the time is right, it indicates that the impact strength remains unchanged.
[0073] Step S0062: Obtain the instantaneous changes at all sampling times within the preset local sliding window.
[0074] Step S0063: Using the sum of the absolute values of the instantaneous changes at all sampling times as the denominator and the sum of the positive values of the instantaneous changes at all sampling times as the numerator, calculate the degree of dominance of the decay trend.
[0075] Specifically, let the sum of the positive values of the instantaneous changes at all sampling times within the preset local sliding window be... The sum of the absolute values of the instantaneous changes at all sampling times is The degree to which the decline trend dominates. Defined as: Among them, molecules The sum of all positive instantaneous changes within the window represents the total decrease in impact intensity; the denominator is... This is the sum of the absolute values of all instantaneous changes within the window, representing the total amplitude of the impact intensity fluctuation. The ratio of the two is... This reflects the proportion of the downward trend in the total fluctuation of the window. The value range is from 0 to 1. When When the value is close to 1, it indicates that the change in impact intensity within the window is mainly downward, and the impact is decaying at a stable rate; when... When the value approaches 0.5, it indicates that the upward and downward trends within the window are roughly equal, and the impact is in a state of repeated oscillation; when When the value approaches 0, it indicates that the impact intensity within the window is mainly on the rise, and the impact is intensifying.
[0076] Step S0064: Using the sum of 1 and the degree of dominance of the attenuation trend as the denominator, and the product of the head-to-tail impact strength retention ratio and the relative response strength coefficient in the preset local sliding window as the numerator, the impact response attenuation viscosity is calculated.
[0077] Specifically, the head-to-tail impact strength ratio remains at 1:1. The relative response intensity coefficient is The degree of dominance of the decline trend is The impact response damping viscosity Defined as: Among them, molecules The head-to-tail impact strength retention ratio is the result of correction to the relative response strength coefficient. This reflects the degree to which the impact intensity in the latter half of the window is maintained relative to the former half. right Make corrections to avoid damage when the impact strength is already low. A value close to 1 might be mistakenly interpreted as "slow decay." Multiplying the two values yields a correction that more accurately reflects the actual rate of decay of the impact. (Denominator) This is the decay trend correction factor, where This reflects the proportion of the decreasing trend in impact intensity within the window in the total fluctuation. When A larger value indicates that the impact intensity is gradually and smoothly decreasing, and the energy is being rapidly dissipated or has been effectively injected into the sand core. In this case, the denominator is larger. The value was pulled down; when When the value is small, it indicates that the impact intensity is fluctuating repeatedly within the window or is still in the rising phase, and the energy has not been effectively dissipated. In this case, the denominator is small. The value is amplified. The larger the value, the slower the impact energy decays and the longer its duration in the gripper and sand core system. In other words, the vibration energy is efficiently transferred to the interior of the sand core through the contact interface and absorbed by the internal structure of the sand core, and the sand core actually bears a larger dynamic load. The smaller the value, the faster the impact energy is dissipated or reflected at the interface, failing to be effectively injected into the sand core, and the smaller the dynamic load actually borne by the sand core.
[0078] Step S007: Extract the impact recovery segment from the curve of the head and tail impact strength retention ratio over time, and calculate the average relative linear recovery deviation of each impact recovery segment.
[0079] It should be noted that while the impact response decay viscosity can effectively characterize the response amplitude and decay characteristics of the gripper-sand core system under vibration excitation, it is essentially based on the response characteristics of a single impact event, reflecting the intensity of the vibration experienced by the sand core at a particular instant and its decay rate. However, during the entire sand core handling process, vibration impacts occur continuously, and it is difficult to determine whether there is an irreversible evolutionary trend between multiple fluctuations based solely on the decay characteristics at a single moment. When the sand core undergoes a small elastic displacement within the gripper due to vibration, it can completely return to its initial position after the vibration ends, and the clamping force also returns to the baseline value before the fluctuation. At this time, each fluctuation is independent of the others, there is no cumulative effect, and the contact state between the sand core and the gripper remains stable. Under these circumstances, the clamping force response characteristics corresponding to multiple consecutive impacts exhibit random fluctuations, with the mean of adjacent offsets approaching zero, and there is no significant monotonic change trend overall. However, when the sand core experiences a small but irreversible slippage under each vibration impact, it cannot completely return to its original position after the vibration ends, and the residual offset accumulates successively. The residual displacement from the previous impact alters the initial contact state for the next impact, causing the sand core to slide slowly and continuously within the grippers, gradually shifting the coupling relationship from stable to unstable. At this point, the clamping force response exhibits a clear monotonic trend, and the deviation rate accelerates further with the accumulation of slippage. Without timely intervention, the sand core is highly likely to slip completely from the grippers, or its clamping point may fracture due to repeated frictional forces.
[0080] Step S007 specifically includes steps S0071-S0079: Step S0071: Use the curve of the change of the head and tail impact strength retention ratio over time in the preset local sliding window as the retention ratio curve.
[0081] It should be noted that the head-to-tail impact intensity retention ratio within a local sliding window describes the degree to which the energy of the motion impact response intensity within the window is retained from an earlier moment to the current moment. Under normal clamping conditions, multiple consecutive fluctuations are independent of each other. After each external impact is received by the gripper, the attenuation path of the motion impact response intensity is basically the same. Accordingly, The changes in the value also follow a fixed recovery trajectory, gradually returning from the extreme value to a stable state. If this recovery trajectory shows a continuous unidirectional shift, it indicates that the clamping state between the gripper and the sand core has irreversibly deteriorated. The trajectory of the value during a single impact event is as follows: Impact recovery phase, The value gradually approaches 1 from its minimum, reflecting that the difference in impact intensity between the two halves of the window is constantly narrowing, and the relative decay rate is gradually slowing down; when a new impact occurs, The value rapidly increases to over 1, indicating a rapid increase in impact intensity in the latter half of the window; after the impact reaches its peak but before it begins to decay, data from earlier moments are removed from the window as the sliding window moves forward. The value will drop from greater than 1 back to a low point, and then enter the next recovery cycle. This cycle repeats continuously, forming... The periodic variation pattern of values in successive shock events.
[0082] Step S0072: Smooth the retention ratio curve.
[0083] Specifically, in this embodiment, a Savitzky-Golay filter is used to smooth the hold ratio curve in order to eliminate data noise and preserve the overall trend of the curve.
[0084] Step S0073: Calculate the mean of the deviation values of the hold ratio curve before and after smoothing at each sampling time, and use it as the third mean.
[0085] Specifically, let the entire hold ratio curve have a total of The sample points, before smoothing, retain the curve at the th sampling point. The value of each sampling point is After smoothing, the curve retains the ratio of the curve in the first place. The value of each sampling point is Then the third mean Defined as: This formula characterizes the overall deviation of the smoothing process from the original curve. When the overall deviation caused by the smoothing process is small, Smaller values; conversely, The value is relatively large.
[0086] Step S0074: Use the sum of 1 and the third mean as the retention ratio threshold.
[0087] Specifically, maintain a ratio to the threshold Defined as: During normal impact recovery, the R-value gradually rises from its trough and approaches 1. However, the smoothing process itself introduces a certain amplitude deviation into the original curve (i.e., The actual recovery endpoint often has a slight offset around 1. Therefore, adding to 1... As a tolerance, it means that "after taking into account the smoothing error, the R value has recovered to the normal range close to 1".
[0088] Step S0075: From the smoothed retention ratio curve, select the continuous segment in the monotonically rising phase where the retention ratio corresponding to the end of the monotonically rising phase is less than the retention ratio threshold, and use it as the impact recovery segment.
[0089] Specifically, continuous segments meeting certain conditions are selected from the smoothed hold ratio curve as impact recovery segments. These selection conditions include two criteria: first, the segment is in a monotonically increasing phase, meaning the hold ratio curve continuously increases from a local minimum to the next local maximum; second, the hold ratio at the end of this monotonically increasing phase is less than a hold ratio threshold. Only continuous segments that simultaneously meet both conditions are identified as impact recovery segments.
[0090] For example, suppose we maintain a ratio to a threshold. During a certain handling process, the hold-up ratio curve after smoothing formed the following curve between 10.0 seconds and 10.8 seconds: The horizontal axis represents time: 10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8.
[0091] The vertical axis corresponds to the R values: 0.95, 0.98, 1.25, 1.10, 0.60, 0.72, 0.84, 0.95, 0.93.
[0092] Analyzing the sequence step by step: Segment 1: 10.0 to 10.2 (R value increases from 0.95 to 1.25). In this segment, the R value continuously climbs from 0.95 to 1.25, crossing 0.98 at 10.1, showing an overall monotonically increasing trend. However, the starting point of this segment, 0.95, is not a local minimum formed by the descending segment. Before this, the curve was in a relatively stable state and did not experience a complete "post-impact decay" process. Therefore, this ascending segment does not meet the starting conditions for impact recovery and cannot be considered the beginning of the recovery process. Furthermore, even disregarding the starting point issue, the ending R value of this segment is 1.25, which is much larger than the threshold of 1.05, and does not meet the ending threshold condition. Therefore, this segment is not adopted.
[0093] Paragraph 2: 10.2 to 10.3 (R value decreases from 1.25 to 1.10). This paragraph is in a decreasing phase, not a monotonically increasing phase, and therefore does not meet the screening criteria and is removed.
[0094] Section 3: 10.4 to 10.7 (R value rises from 0.60 to 0.95). The starting point of this section, 0.60, is a local minimum formed after the decreasing segment from 10.2 to 10.3 (R value drops from 1.25 to 1.10 and then to 0.60). It then continuously and monotonically rises from 0.60 to 0.95, maintaining an increasing trend throughout. Furthermore, the ending point, 0.95, is less than the threshold of 1.05. Both conditions are met, therefore this section is selected as the impact recovery segment. This segment represents a complete impact recovery process. The impact energy reaches its maximum decay at 10.4 seconds (R value drops to its lowest point), after which the system gradually recovers to stability, and the R value continuously rises back to the normal range.
[0095] Paragraph 4: 10.7 to 10.8 (R value decreases from 0.95 to 0.93). This paragraph is in a declining phase, not a monotonically increasing phase, and therefore does not meet the screening criteria and is removed. Based on the above screening, paragraph 3 is selected as the impact recovery paragraph, while paragraphs 1, 2, and 4 are removed.
[0096] Step S0076: For each sampling point in each impact recovery segment, calculate the difference between the retention ratio of the end sampling point and the retention ratio of the start sampling point, multiply the difference by the index of the sampling point to obtain the product, and divide the product by the number of adjacent intervals contained in the impact recovery segment to obtain the first ratio.
[0097] Specifically, suppose there are a total of [number] impact recovery segments within a certain impact recovery segment. Each adjacent interval corresponds to The sampling points are numbered sequentially in chronological order. Where number 0 corresponds to the starting sampling point of segment, number The end sampling point of the corresponding segment. Let the hold ratio of the starting sampling point be denoted as . The hold ratio of the end sampling points is For the first shock recovery segment... sampling points ( ), calculate the difference between the hold ratio of the last sampling point and the hold ratio of the first sampling point. Multiply the difference by the serial number of the sampling point. Get the product Then divide the product by the number of adjacent intervals contained in the impact recovery segment. The first ratio is obtained. : This ratio represents the value at the 1st... At each sampling point, the increment of the linear interpolation reference relative to the starting point from the starting point to the ending point. When, the ratio is 0; when When, the ratio is .
[0098] Step S0077: Add the first ratio to the hold ratio of the initial sampling point to obtain the fourth sum.
[0099] Specifically, the fourth sum Defined as: The physical meaning of the fourth sum is: if the retention ratio within the impact recovery segment follows exactly as from... arrive If the linear change follows a certain pattern, then the first... The theoretical value of the retention ratio that each sampling point should achieve, i.e., the "linear recovery benchmark value" corresponding to the current sampling point.
[0100] Step S0078: Subtract the fourth sum from the hold ratio of the sampling point to obtain the relative linear recovery deviation of the sampling point.
[0101] Specifically, let the impact recovery segment be the first... The hold ratio of each sampling point is The relative linear recovery deviation of that sampling point Defined as: This deviation amount This reflects the degree and direction of deviation of the actual retention ratio from the linear recovery benchmark: when When the actual retention ratio is higher than the linear reference value, the curve shows an upward convex shape; when When the actual retention ratio is lower than the linear reference value, the curve shows a downward concave shape; when When the actual recovery ratio falls exactly on the linear reference, it indicates that the actual recovery ratio falls exactly on the linear reference. The larger the absolute value of the relative linear recovery deviation, the greater the degree to which the actual recovery curve at that sampling point deviates from the linear recovery.
[0102] Step S0079: Calculate the mean of the relative linear recovery deviations of all sampling points within the impact recovery segment, and use it as the average relative linear recovery deviation of the impact recovery segment.
[0103] Specifically, the average relative linear recovery deviation of this impact recovery segment Defined as: ; The average relative linear recovery deviation This reflects the degree and direction of the overall deviation of the impact recovery segment from linear recovery: when When this occurs, it indicates that the actual recovery curve for that segment generally exhibits an upward convex shape; when... When this occurs, it indicates that the actual recovery curve for that segment is generally concave downwards; when This indicates that the actual recovery curve for that segment is close to linear. The average relative linear recovery deviation... This serves as a characteristic value for the impact recovery segment, used in subsequent steps to compare the morphological change trends between different impact recovery segments. If each segment... If the value shows a continuous unidirectional shift as the transportation process continues, it indicates that the sand core clamping state is undergoing irreversible deterioration.
[0104] Step S008: Calculate the relative deviation trend based on the average relative linear recovery deviation of all impact recovery segments, and calculate the degree of danger of the clamping state based on the impact response decay viscosity and the relative deviation trend.
[0105] Step S008 specifically includes steps S0081-S0086: Step S0081: Sort the average relative linear recovery deviation of all impact recovery segments in chronological order to obtain the average relative linear recovery deviation sequence.
[0106] Step S0082: Calculate the absolute difference between two adjacent average relative linear recovery deviations in the average relative linear recovery deviation sequence, and take the mean of all absolute differences as the fourth mean.
[0107] Step S0083: Using the sum of the fourth mean and the preset zero constant as the denominator, and the difference between the first and last average relative linear recovery deviations in the average relative linear recovery deviation sequence as the numerator, the relative deviation trend is calculated.
[0108] Specifically, suppose there are a total of in the average relative linear recovery deviation sequence. The characteristic values of each impact recovery segment are, in order: ,in The average relative linear recovery deviation of the first impact recovery stage. The mean relative linear recovery deviation of the last impact recovery segment is the fourth mean. Then it deviates relatively from the trend. Defined as: ; Among them, molecules The difference between the first and last impact recovery segment eigenvalues represents the overall offset of the impact recovery segment morphology from the start of transport to the current moment; the denominator is the difference between the first and last impact recovery segment eigenvalues. The mean of the absolute differences in characteristic values between adjacent impact recovery segments is added to a zero-prevention constant to represent the average fluctuation amplitude between each impact recovery segment. A preset zero-prevention constant ε is used to prevent calculation errors caused by a denominator of zero. In this embodiment, the preset zero-prevention constant ε is preferably 1×10⁻ 6 The ratio This reflects the relative degree of the overall shift trend of the eigenvalue sequence relative to successive fluctuation noise. When When the value is much greater than 1, it indicates a significant unidirectional shift trend in the eigenvalue sequence, suggesting that the morphology of the impact recovery segment is continuously changing in a certain direction, and the core clamping state is undergoing irreversible deterioration; when When the eigenvalues approach 0, it indicates that the eigenvalue sequence has no significant shift trend and the clamping state is stable; when When the value is between 0 and 1, it indicates that the observed offset may be caused by random fluctuations and does not constitute a significant trend determination. The positive and negative signs indicate the direction of offset. A positive sign indicates that the eigenvalues are generally decreasing (the recovery pattern becomes increasingly concave downwards), while a negative sign indicates that the eigenvalues are generally increasing (the recovery pattern becomes increasingly convex upwards). When the number of impact recovery segments is less than 2, an effective value cannot be calculated; in this case, take... This is considered as a trend without deviation.
[0109] Step S0084: Add 1 to the absolute value of the relative deviation from the trend to obtain the fifth sum value.
[0110] Step S0085: Calculate the ratio of the impact response damping viscosity to the mean impact response damping viscosity, and use the sum of this ratio and 1 as the sixth sum.
[0111] Specifically, let the impulse response decay viscosity at the current sampling moment be... The mean viscosity of the impact response decay is Then the sixth sum Defined as: .in, It reflects the attenuation and viscosity characteristics of the vibration energy at the current moment after it is transmitted through the interface between the gripper and the sand core. The arithmetic mean of the impact response decay viscosity at a preset number of historical sampling times prior to the current sampling time is used to characterize the historical baseline level of recent impact energy dissipation. Specifically, the system caches the most recent impact response at the current sampling time in real time. Each sampling time (e.g.) The historical value of the impact response decay viscosity is then... This represents the average of the impact response damped viscosity over these 20 historical sampling times. When historical data is insufficient... At any given time, take the arithmetic mean of all historical values currently accumulated as... This mean is continuously updated as the transportation process progresses, reflecting the average level of recent shock response. Ratio This reflects the ratio of the current impact response damping viscosity to recent historical baseline levels. When the ratio is greater than 1, it indicates that the current impact energy is higher than the recent average level, and the sand core is under strong dynamic load; when the ratio is less than 1, it indicates that the current impact energy is lower than the recent average level, and the operating condition is relatively stable; when the ratio is close to 1, it indicates that the current impact energy is comparable to the recent average level.
[0112] Step S0086: The product of the fifth sum and the sixth sum is used as the degree of danger of the clamping state.
[0113] Specifically, the fifth sum is The degree of danger of the clamping state Defined as: The product of the two factors implies that the degree of danger of the sandwiched state is only determined when both conditions are met: "significant trend of state deterioration" and "current shock energy is relatively high". Only then will it increase significantly. If there is only a large trend deviation but the current impact energy is low, or only the current impact energy is high but the trend is stable, The values will not reach their highest levels. The degree of danger in this clamping state is... This serves as the input for subsequent adjustments to the robotic arm's motion parameters. The higher the value, the more dangerous the current sand core clamping state, and the greater the urgency to adjust the motion parameters of the robotic arm.
[0114] Step S009: Based on the degree of danger of the clamping state and the relative deviation trend, adjust the end effector parameters and clamping force of the robotic arm.
[0115] Step S009 specifically includes steps S0091-S0093: Step S0091: Obtain the current clamping state danger level, relative deviation trend, and current robotic arm control parameter set at the current sampling time.
[0116] Specifically, the degree of danger of the clamping state reflects the overall risk level of the sand core clamping state at the current moment; the larger the value, the more dangerous the sand core. The relative deviation trend reflects the evolution direction and trend of the sand core clamping state under continuous impact; the larger the absolute value, the more obvious the trend of state deterioration. The current robotic arm control parameter set includes, but is not limited to, parameters such as end-effector velocity, acceleration, and torque limits of each joint, characterizing the current motion state and clamping force output level of the robotic arm. The three input parameters describe the complete operating condition of the system from three dimensions: "current risk level," "degree of trend deterioration," and "current control state."
[0117] Step S0092: Input the degree of danger of the clamping state, the relative deviation trend, and the current set of robotic arm control parameters into the pre-trained parameter tuning model, and the parameter tuning model outputs the tuned set of robotic arm control parameters.
[0118] Specifically, the parameter tuning model adopts a deep neural network structure, with the input layer containing three input channels, which respectively receive the degree of danger of the clamping state. Relative deviation from trend The model includes the current set of robotic arm control parameters; the hidden layer adopts a fully connected structure, extracting the mapping relationship between input parameters and optimal control parameters through multi-layer nonlinear transformation; the output layer outputs the optimized set of robotic arm control parameters, specifically including control quantities such as end effector speed, acceleration, and clamping torque. The model's calculation logic is as follows: when... When the value is large, it indicates that the current clamping state of the sand core is relatively dangerous, and the model outputs conservative control strategies such as reducing the end motion velocity and acceleration and appropriately increasing the clamping force; when Smaller value and When the value approaches 0, it indicates that the sand core clamping state is stable, the model output is close to the current control parameters, and the original operating efficiency is maintained; when When a significant unidirectional offset trend is observed, the model outputs corresponding correction parameters based on the offset direction to suppress further deterioration of the clamping state. The input of the current robotic arm control parameter set ensures that the adjustment amount output by the model is an incremental optimization based on the current control, rather than an independent control amount detached from the current working condition.
[0119] The training process of the parameter tuning model further includes steps S0921 and S0922: Step S0921: Obtain the clamping state danger level, relative deviation trend, and robotic arm control parameter set at each sampling time through an offline simulation environment, as well as the robotic arm control parameter set that ensures the safe handling of the target workpiece at the corresponding time, as training samples.
[0120] Specifically, this step constructs the training dataset for the parameter tuning model. The training samples are sourced from an offline simulation environment built on a multibody dynamics and discrete element co-simulation platform. This environment includes a robotic arm kinematics model, a gripper mechanics model, and a sand core brittle fracture model, capable of simulating the gripping and handling process under different working conditions. Multiple handling conditions are randomly set in the simulation environment, including but not limited to: different batch size deviations of sand cores, different gripping force magnitudes, different motion speeds and acceleration curves, and various unexpected vibration and impact conditions. For each working condition, the degree of danger of the gripping state, the relative deviation trend, and the current set of robotic arm control parameters at each sampling moment are recorded as input features. Simultaneously, the limit safety control parameters (including end-effector velocity, upper acceleration limit, and gripping torque) that ensure the target workpiece does not break or slip under this working condition are used as the output labels for the corresponding moments. This results in a dataset containing hundreds of thousands of training samples, serving as the learning foundation for the parameter tuning model.
[0121] Step S0922: Using the degree of danger of the clamping state, the relative deviation trend, and the set of robotic arm control parameters as inputs, and the set of robotic arm control parameters that ensure the safe handling of the target workpiece as output labels, supervise the training of the deep neural network to obtain the parameter tuning model.
[0122] Specifically, this step involves supervised learning training on the constructed training dataset. During training, input features from simulation samples are used as network input, and the corresponding safety control parameter sets are used as supervision labels. The backpropagation algorithm is employed to iteratively update the network weights. The loss function uses mean squared error to measure the difference between the network output and the safety label. Training is completed when the loss value converges to below a preset threshold, resulting in a parameter-tuned model. Through the aforementioned offline simulation training, the model can learn the mapping relationship from the clamping state to the optimal control parameters before actual deployment, avoiding trial-and-error adjustments on the real production line. After the model is deployed to the actual production line, online fine-tuning can be performed using a small amount of real-machine running data to further adapt to physical characteristics in the real environment, such as nonlinear friction and temperature drift, which are not fully covered by the simulation.
[0123] Step S0093: Based on the optimized control parameter set of the robotic arm, adjust the end effector speed, acceleration and clamping force of the robotic arm online.
[0124] Specifically, this step, based on the optimized control parameter set output, uses the robotic arm's underlying servo drive system and gripper actuator to adjust the end effector speed, acceleration, and gripping force in real time online, ensuring the robotic arm's motion adapts to the current gripping state of the sand core. After the optimized control parameter set is sent to the robotic arm controller, the controller performs adjustments as follows: For end effector speed and acceleration, the controller uses the optimized speed and acceleration parameters as command values and adjusts them in real time through the servo drive's position and speed loops. For gripping force, the controller precisely adjusts the gripping force by adjusting the opening of the gripper's electro-proportional valve or the torque limit of the servo motor. When the gripping state is highly dangerous, the gripping force is appropriately increased to prevent the sand core from slipping; when the gripping state is less dangerous and the trend is stable, a moderate gripping force is maintained to avoid over-gripping and damage to the sand core. All adjusted parameters are output after smoothing to ensure continuous change of the control quantity between adjacent sampling times, avoiding abrupt changes. After the hardware executes, the position, speed, and torque signals fed back by the sensors are transmitted back to the controller in real time, forming a closed loop with the command values to achieve continuous and stable control. Through the above online adjustments, the robotic arm can continuously optimize its motion parameters according to the real-time changes in the sand core clamping state during the handling process, maintaining high handling efficiency while ensuring that the sand core does not break or slip, and maintaining sufficient positioning accuracy during the mold placement stage.
[0125] In summary, in this embodiment of the invention, by analyzing the temporal information of the position state of the gripper at the end of the robotic arm, the intensity of the dynamic load caused by the gripper to the sand core during the handling process is quantitatively evaluated. Based on this, the actual vibration and impact level borne by the sand core is further analyzed, and the clamping state of the sand core is identified in real time according to the vibration response characteristics and the degree of posture deviation. Finally, the motion parameters of the robotic arm are dynamically adjusted based on the clamping state identification results to adapt to the differentiated needs of different batches and sizes of sand cores during the handling process, ensuring that the sand cores are transported smoothly at high speeds without damage.
[0126] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for intelligent control of motion parameters for a robotic arm holding a sand core, characterized in that, The method includes the following steps: Acquire the three-dimensional position coordinates of the end effector at each sampling moment during the movement of the robotic arm gripping the target workpiece; The motion characteristic parameters at each sampling time are calculated based on the three-dimensional position coordinates. The motion characteristic parameters include at least the displacement step size, the second-order displacement change, and the third-order displacement change. Based on the motion characteristic parameters of each sampling moment within a preset local sliding window, calculate the motion intensity level and displacement direction dispersion at the current sampling moment. Based on the motion characteristic parameters, motion intensity level, and displacement direction dispersion at the current sampling time, the relative motion impact response intensity is obtained. Based on the relative motion impact response intensity within a preset local sliding window, the head-to-tail impact intensity retention ratio and relative response intensity coefficient are calculated. Based on the relative motion impact response intensity within a preset local sliding window, the degree of dominance of the attenuation trend is calculated, and based on the head-to-tail impact intensity retention ratio, relative response intensity coefficient, and degree of dominance of the attenuation trend, the impact response attenuation viscosity is calculated. The impact recovery segment is extracted from the curve of the ratio of impact strength retention at the head and tail over time, and the average relative linear recovery deviation of each impact recovery segment is calculated. Based on the average relative linear recovery deviation of all impact recovery segments, the relative deviation trend is calculated, and based on the impact response decay viscosity and the relative deviation trend, the degree of danger of the clamping state is calculated. Based on the degree of danger of the clamping state and the relative deviation trend, adjust the end effector motion parameters and clamping force of the robotic arm.
2. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 1, characterized in that, The specific steps for calculating the motion feature parameters at each sampling time based on three-dimensional position coordinates are as follows: Subtract the three-dimensional position coordinates of the current sampling time from those of the previous sampling time to obtain the displacement vector of the current sampling time; Take the magnitude of the displacement vector as the displacement step size at the current sampling time; Subtract the displacement step size of the current sampling time from that of the previous sampling time to obtain the second-order displacement change at the current sampling time. Subtract the second-order displacement change at the current sampling time from the second-order displacement change at the previous sampling time to obtain the third-order displacement change at the current sampling time.
3. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 2, characterized in that, The specific steps for calculating the motion intensity level and displacement direction dispersion at the current sampling moment based on the motion characteristic parameters at each sampling moment within a preset local sliding window are as follows: Obtain the displacement step size at each sampling moment within the preset local sliding window, and then take the square root of the sum of the squares of all displacement step sizes to obtain the motion intensity level value at the current sampling moment. For each sampling moment within a preset local sliding window, the direction vector of that sampling moment is obtained by subtracting the three-dimensional position coordinates of the sampling moment from the three-dimensional position coordinates of the previous sampling moment and dividing by the displacement step size of that sampling moment. Calculate the angle between the direction vector at the sampling moment and the unit vector in the vertical direction, and use it as the angle at the sampling moment; Calculate the mean angle at all sampling times within a preset local sliding window; Calculate the absolute difference between the angle and the mean angle at each sampling time within the preset local sliding window, and sum them to obtain the first sum value; The displacement direction dispersion is calculated by using the product of 2π and the number of sampling times within the preset local sliding window as the denominator and the first sum as the numerator.
4. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 3, characterized in that, The specific steps for obtaining the relative motion impact response intensity based on the motion characteristic parameters, motion intensity level, and displacement direction dispersion at the current sampling time are as follows: The degree of displacement fluctuation is calculated by using the product of the third-order displacement change at the current sampling time and the motion intensity level as the numerator, and the product of the displacement step size at the current sampling time and the second-order displacement change as the denominator. Adding 1 to the displacement direction dispersion gives the displacement direction dispersion factor; Multiply the absolute value of the intensity of displacement fluctuation by the displacement direction discrepancy factor to obtain the motion impact response intensity at the current sampling time; The motion impact response intensity at the current sampling time is normalized to obtain the relative motion impact response intensity at the current sampling time.
5. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 4, characterized in that, The specific steps for calculating the head-to-tail impact intensity retention ratio and relative response intensity coefficient based on the relative motion impact response intensity within a preset local sliding window are as follows: Obtain the relative motion impact response intensity at each sampling moment within a preset local sliding window; Arrange all sampling times within the preset local sliding window in chronological order, dividing them into the first half and the second half of the sampling times, with the middle position as the boundary. The second sum is obtained by summing the relative motion impact response intensities at the first half of the sampling time. The third sum is obtained by summing the relative motion impact response intensities at the second half of the sampling time. Using twice the third sum as the numerator and the sum of the second and third sums as the denominator, the head-to-tail impact strength retention ratio in the preset local sliding window is calculated. Calculate the average relative motion impact response intensity at all sampling times within a preset local sliding window, and use it as the first average. Calculate the average relative motion impact response intensity across all sampling times from the start of sampling to the current sampling time, and use this as the second average. The relative response intensity coefficient is calculated by using the sum of the second mean and the preset zero constant as the denominator and the first mean as the numerator.
6. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 5, characterized in that, The specific steps for calculating the attenuation trend dominance based on the relative motion impact response intensity within a preset local sliding window, and calculating the impact response attenuation viscosity based on the head-to-tail impact intensity retention ratio, relative response intensity coefficient, and attenuation trend dominance, are as follows: The instantaneous change at the next sampling time is obtained by subtracting the relative motion impact response intensity at the previous sampling time from the relative motion impact response intensity at the next sampling time within the preset local sliding window. Obtain the instantaneous changes at all sampling times within a preset local sliding window; The degree of dominance of the decay trend is calculated by using the sum of the absolute values of the instantaneous changes at all sampling times as the denominator and the sum of the positive values of the instantaneous changes at all sampling times as the numerator. Using 1 and the sum of the degree of dominance of the attenuation trend as the denominator, and the product of the head-to-tail impact strength retention ratio and the relative response strength coefficient in the preset local sliding window as the numerator, the impact response attenuation viscosity is calculated.
7. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 6, characterized in that, The specific steps involved in extracting the impact recovery segment from the curve of the head-to-tail impact strength retention ratio over time and calculating the average relative linear recovery deviation of each impact recovery segment are as follows: The curve showing the change of the head and tail impact strength retention ratio over time in the preset local sliding window is used as the retention ratio curve. Smooth the retention ratio curve; The mean of the deviation values of the retention ratio curve before and after smoothing at each sampling time is calculated and used as the third mean. The sum of 1 and the third mean is used as the retention ratio threshold; From the smoothed retention ratio curve, select the continuous segment where the retention ratio is less than the retention ratio threshold at the end of the monotonically rising phase, and use it as the impact recovery segment. For each sampling point in each impact recovery segment, calculate the difference between the retention ratio of the end sampling point and the retention ratio of the beginning sampling point, multiply the difference by the index of the sampling point to obtain the product, and divide the product by the number of adjacent intervals contained in the impact recovery segment to obtain the first ratio. Adding the first ratio to the hold ratio of the initial sampling point yields the fourth sum. Subtract the fourth sum from the retention ratio of the sampling point to obtain the relative linear recovery deviation of the sampling point; Calculate the mean of the relative linear recovery deviations of all sampling points within the impact recovery segment, and use it as the average relative linear recovery deviation of the impact recovery segment.
8. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 7, characterized in that, The specific steps for calculating the relative deviation trend based on the average relative linear recovery deviation of all impact recovery segments, and calculating the degree of danger of the clamping state based on the impact response decay viscosity and the relative deviation trend, are as follows: The average relative linear recovery deviations of all impact recovery segments are sorted in chronological order to obtain the average relative linear recovery deviation sequence. Calculate the absolute difference between two adjacent average relative linear recovery deviations in the average relative linear recovery deviation sequence, and take the mean of all absolute differences as the fourth mean; The relative deviation trend is calculated by using the sum of the fourth mean and the preset zero-prevention constant as the denominator, and the difference between the first and last average relative linear recovery deviations in the average relative linear recovery deviation sequence as the numerator. Add 1 to the absolute value of the relative deviation from the trend to obtain the fifth sum; Calculate the ratio of the damped viscosity of the impact response to the mean damped viscosity of the impact response, and use the sum of this ratio and 1 as the sixth sum. The product of the fifth and sixth sums is used as the degree of danger of the clamping state.
9. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 8, characterized in that, The specific steps for adjusting the end effector parameters and clamping force of the robotic arm based on the degree of danger of the clamping state and the relative deviation trend are as follows: Obtain the current clamping state danger level, relative deviation trend, and current robotic arm control parameter set at the current sampling moment; The degree of danger of the clamping state, the relative deviation trend, and the current set of robotic arm control parameters are input into the pre-trained parameter tuning model, and the parameter tuning model outputs the tuned set of robotic arm control parameters. Based on the optimized set of robotic arm control parameters, the end effector speed, acceleration, and clamping force of the robotic arm are adjusted online.
10. The intelligent control method for motion parameters of a robotic arm holding a sand core according to claim 9, characterized in that, The training process of the parameter tuning model is as follows: The clamping state danger level, relative deviation trend, and robotic arm control parameter set at each sampling moment are obtained through an offline simulation environment, as well as the robotic arm control parameter set that ensures the safe handling of the target workpiece at the corresponding moment, as training samples. Using the degree of danger of the clamping state, the relative deviation trend, and the set of robot arm control parameters as inputs, and the set of robot arm control parameters that ensure the safe handling of the target workpiece as output labels, a deep neural network is trained under supervision to obtain a parameter tuning model.
