Cutter tower type numerical control lathe control method and system

By introducing machine vision technology to the turret CNC lathe, real-time monitoring of the position of the robotic arms and workpieces, the problem of lack of real-time feedback on the loading and unloading action control in the automated production line is solved, the control accuracy and reliability are improved, and the system is ensured. Accuracy and security.

CN118875334AInactive Publication Date: 2024-11-01NANTONG GUOSHENG INTELLIGENCE TECH GRP CO LTD

Patent Information

Application Number
CN202411394786.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2024-11-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing automated production lines, the loading and unloading action control of the turret CNC lathe lacks real-time feedback, which makes the system difficult to respond in a timely manner, affecting the accuracy and safety of operations, especially in the complex tool selection and tool change process. middle.

Method used

Introduce machine vision technology to monitor the moving posture and workpiece position of the robotic arm in real time, and set the motion trajectory and control points through high-precision image processing and feature extraction algorithms, establish induction devices, and monitor and adjust the movement of the chuck and robotic arm in real time, so as to Ensure the accuracy of collaborative control.

Benefits of technology

Improve control accuracy and reliability, monitor and handle deviations and abnormal situations during the movement of the robot arm in real time, avoid coordination failure or equipment damage caused by excessive deviation, and ensure the accuracy of coordinated control between the robot arm and the chuck. and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118875334A_ABST
    Figure CN118875334A_ABST
Patent Text Reader

Abstract

The invention discloses a cutter tower type numerical control lathe control method and system, and the method comprises the steps: after setting a motion track of a specific point of a mechanical arm, selecting control points on the track and determining a first reference time point when the mechanical arm passes through the points, and taking the first reference time point as a primary control reference of a lathe chuck; then, a fixed first induction position and a follow-up second induction position at the top end of the mechanical arm are constructed, the follow-up second induction position further integrates the machine vision technology, and the dynamic states of the mechanical arm and the workpiece are captured in real time. The motion trail is subdivided into n time periods, each time period is marked to end with a specific gesture, and detailed parameters and time are recorded. Time consumption of the first n-1 sections is analyzed, the error of the nth section is predicted, and it is ensured that overall collaboration is correct. And finally, through the synchronous action of the first control basis and the second control basis, the movement of the chuck is accurately regulated and controlled, the linkage between the mechanical arm and the chuck is strengthened, and the operation accuracy and safety are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lathe automation control, and in particular to a turret type numerically controlled lathe control method and system. Background Art

[0002] At present, with the increasing popularity of automated production lines in industrial production, the control logic of CNC lathes, especially turret-type CNC lathes, when configuring automated production lines has received more and more attention. In order to better enable turret-type CNC lathes to serve the production and manufacturing process of automated production lines, it is necessary not only to accurately control its cutting process and turret tool change, but also to comprehensively and accurately manage the clamping and loosening actions of the chuck, loading and unloading actions, etc.

[0003] In existing automated production lines, loading and unloading are usually performed by robotic arms, and the control of these actions is often based on time settings to achieve the switching of actions between the robotic arm and the chuck. Specifically, the actions of the chuck and the robotic arm are controlled separately according to preset time points, so that they perform specific independent actions at specific moments. However, this control method has obvious limitations, that is, the control correlation between the chuck and the robotic arm is poor, and no real-time control feedback is generated between them.

[0004] This control method lacks feedback, which makes it difficult for the system to respond in a timely and effective manner once a problem occurs on one side, thus failing to ensure the accuracy and safety of the operation. Especially in the application of turret CNC lathes, due to the more complex tool selection and tool changing process, the shortcomings of this control method are more prominent. Therefore, in order to improve the overall performance and stability of the automated production line, it is necessary to conduct a more in-depth study and optimization of the control logic of the turret CNC lathe. Summary of the invention

[0005] This application provides a turret CNC lathe control method and system, which can comprehensively evaluate the production quality of fertilizers in the entire dynamic process, improve the accuracy of quality detection, and provide researchers with effective data support for decision-making analysis.

[0006] A turret type CNC lathe control method, comprising: S101, setting the motion trajectory of a specific point on the robot arm; S102, selecting a control point on the motion trajectory, and determining a first reference time point at which a specific point on the robot arm passes through the control point, the first reference time point being used as a first control basis for the lathe chuck; S103, establishing a fixed first sensing point, and establishing a second sensing point on the top of the robot arm that moves synchronously with the robot arm as a second control basis; wherein the second sensing point also includes: S201, introduces machine vision technology to monitor the motion posture of the robot arm and the position of the workpiece in real time, uses industrial cameras to take real-time images of the robot arm and the workpiece, and processes the images for precise location and feature extraction; S202, dividing the motion trajectory of the robot arm into n unit time periods, setting a specific "gesture" as a mark in each time period to confirm the end of the segment, and recording the posture parameters and timestamp of each marked "gesture"; S203, calculating the total time of the first n-1 segments, and analyzing the error range of the nth segment based on historical data; S204, after completing the total time calculation and error analysis of the first n-1 segments, determine whether the remaining error will lead to final coordination failure; S205, setting a sensing time point between the second sensing point and the first sensing point of the final position of the robot arm after executing the nth segment of motion; S104, performing motion control of the chuck based on the first control basis and the second control basis.

[0007] Preferably, the method S201 further includes: S301, selecting key points and moving parts on the robot arm, and coating them with specific colors with high contrast to reduce color deviation caused by light sources; S302, installing a low-power LED light source near the color zone, and the light source automatically adjusts the brightness of the light source according to the real-time ambient light conditions; S303, after the image is collected, preprocessing the image containing the color area; S304, extracting a specific color region from the preprocessed image using color space conversion and color segmentation technology; S305, identifying the motion trajectory of the robot arm by the position change of the color area in the continuous frames; S306, identifying the posture of the robot arm joint angle and the end effector direction according to the position and relative relationship of the color area, and converting the identified posture into the actual position and direction of the robot arm in the three-dimensional space.

[0008] Preferably, the S301 includes: S401, coating a high contrast color area of ​​different colors on the top of a key raised part of the robot arm; S402, preprocessing the image after image acquisition, and detecting the specific color area position and grayscale value; S403, recording the time point when the specific color area appears in the image; S404, reconstructing the motion trajectory of the robotic arm according to the time point at which the gray value of the color area appears in combination with the kinematic model of the robotic arm to infer the motion trajectory of the robotic arm.

[0009] Preferably, the first sensing location and the second sensing location in S103 include: The cultivation quality index is calculated by the following formula: The first sensing point is fixedly set, and can be established at a position where the chuck does not move, or at a set position on the lathe body. The second sensing point is set at the top position of the robot arm.

[0010] Preferably, in S204, after completing the total time calculation and error analysis of the first n-1 segments, determining whether the remaining error will lead to final coordination failure includes: If the remaining error is within an acceptable range, the movement of the nth segment will continue to be executed; if it exceeds the threshold range, the movement of the chuck and the robot arm will be stopped in advance and an alarm signal will be issued.

[0011] Preferably, the S204 further includes: The formula for calculating the allowable error is: E=T / n-(T-1-(n-1)×(T / n)), where E represents the maximum additional time remaining allowable error allowed for the nth stage after completing the first n-1 stages, T represents the total time threshold of the entire process, n represents the number of stages of the process, T / n represents the preset execution time of each stage, T-1, as mentioned above, represents the total actual execution time of the first n-1 stages, and (n-1)×(T / n) represents the preset total execution time of the first n-1 stages.

[0012] Preferably, the S302, light source brightness change calculation formula, includes: Lc is the brightness value of the color area in the current frame, Lr is the brightness value of the color area in the reference frame, calculated in the initial frame or a specific frame, ΔL is the brightness change, indicating the difference in brightness of the color area between the current frame and the reference frame.

[0013] Preferably, the step S401 of coating a high contrast color area of ​​different colors on the top of the key raised component of the robot arm comprises: The design of high-contrast color areas of different colors must take into account their recognizability in the image, and be able to cover the raised parts below in order to ensure accurate identification even if they are partially covered; the color area of ​​the raised parts should have at least 6 high-contrast colors with different RGB values ​​in one area, and the colors in the area should all be in the same color system, so that the color difference can be reflected in grayscale recognition.

[0014] Preferably, the step S403 of recording the time point when the specific color area appears in the image includes: The top of the corner of the raised part is marked as a specific color area, and these color areas are arranged in the order of their appearance in the image, defining a time series T, which includes a series of time points T={t1,t2,...,tn}, where ti represents the time point when the i-th specific color area is first observed.

[0015] The present application also provides a turret-type CNC lathe control system, comprising: The trajectory planning module is used to set the motion trajectory of the robot arm, including the starting point, end point and intermediate path; The control point and timing management module is used to select key control points, identify the first reference time point when the robot passes through these points, and record the time point when a specific color area appears in the image; The sensing and monitoring module is used to set fixed and follow-up sensing devices to monitor the position and posture of the robot arm and the workpiece in real time, including image acquisition and preprocessing through machine vision technology; The segment control and error analysis module is used to divide the motion trajectory of the robot into multiple unit time periods, perform segment monitoring and error analysis, and ensure the accuracy of the motion trajectory; The motion control module controls the motion of the chuck according to the first control basis and the second control basis; The trajectory reconstruction and posture recognition module is used to identify the motion trajectory of the robot arm through the position changes of the color area in the continuous frames, reconstruct the motion trajectory of the robot arm, and identify the joint angles and end effector direction of the robot arm; The machine vision module is used to identify specific color areas on the robot arm, the position of the workpiece, and the posture of the robot arm, and pass the recognition results to other related modules.

[0016] One or more technical solutions provided in this application have at least the following technical effects or advantages: 1. In the control method of the turret CNC lathe, machine vision technology is introduced to monitor the motion posture of the robot arm and the position of the workpiece in real time. Through high-precision image processing and feature extraction algorithms, accurate acquisition of the position information of the robot arm and the workpiece is ensured. This not only improves the accuracy and reliability of control, but also provides more accurate data support for subsequent chuck motion control. Secondly, the introduction of machine vision technology enables the system to monitor and process deviations and abnormal conditions during the movement of the robot arm in real time, so as to make timely adjustments and alarms, effectively avoiding problems such as cooperation failure or equipment damage caused by excessive deviations.

[0017] 2. Segmented monitoring of the robot's motion posture is another important part of the turret CNC lathe control method. By dividing the time period into n units and setting a specific "gesture" as a marker for each time period, the system can accurately identify the current posture of the robot and record the posture parameters and timestamp of each marked "gesture". This segmented monitoring method not only improves the recognition accuracy of the robot's motion posture, but also provides a reliable data basis for subsequent time calculation and error analysis. At the same time, by calculating the total time of the first n-1 segments and analyzing the error range of the nth segment based on historical data, the system can accurately determine whether the remaining error will lead to the final coordination failure, so as to take timely measures to adjust or alarm, effectively ensuring the accuracy and reliability of the coordinated control of the robot and the chuck.

[0018] 3. The key points and moving parts on the robot arm can be accurately and stably identified. The area coated with a specific color presents a high contrast in the image, effectively reducing the impact of the light source and ambient light on color recognition. At the same time, by installing a low-power LED light source and automatically adjusting its brightness, the stability and clarity of the color area in the image are ensured, further improving the accuracy of color recognition. This improvement not only enhances the system's ability to recognize the robot's motion posture, but also provides a reliable foundation for subsequent trajectory tracking and posture analysis.

[0019] 4. By coating high-contrast color areas of different colors on the top of the key raised parts of the robot arm, and ensuring that each color area contains at least 6 or more high-contrast colors with different RGB values, the recognition of the color area in the image is significantly improved. This design allows the remaining part to be accurately identified even if part of the color area is covered, so as to more accurately judge the posture and motion trajectory of the robot arm. It not only relies on a single color feature, but also combines information in multiple dimensions such as grayscale values ​​and time series. This multi-dimensional information fusion enhances the system's robustness to factors such as lighting changes and background interference, and improves the reliability of trajectory recognition. Even in complex or dynamic environments, the system can stably track the motion trajectory of the robot arm. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A motion trajectory diagram of a robotic arm in a three-dimensional coordinate system according to an embodiment of the present invention; Figure 2 A schematic diagram of a flow chart of collecting data at a second sensing location in a turret-type CNC lathe control method according to an embodiment of the present invention; Figure 3 A schematic diagram of a specific color area of ​​a raised component according to an embodiment of the present invention; Figure 4 The present invention is a schematic structural diagram of a turret-type CNC lathe control system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] To facilitate the understanding of the present invention, the present application will be described more comprehensively below with reference to the relevant drawings; the drawings show preferred embodiments of the present invention, but the present invention can be implemented in many different forms and is not limited to the embodiments described herein; on the contrary, the purpose of providing these embodiments is to enable a more thorough and comprehensive understanding of the disclosed content of the present invention.

[0022] It should be noted that the terms “vertical”, “horizontal”, “up”, “down”, “left”, “right” and similar expressions used in this document are only for illustrative purposes and do not represent the only implementation method.

[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which the present invention belongs; the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the term "and / or" used herein includes any and all combinations of one or more related listed items.

[0024] Embodiment 1: A control method for a turret-type CNC lathe, wherein the lathe adopts a mechanical arm for loading and unloading materials, and the control of the lathe comprises the following steps: S101, setting the motion trajectory of a specific point on the robot arm.

[0025] For example, see Figure 1 , assuming that the trajectories A, B, C, D, and E in the three-dimensional coordinate system in the figure are the motion trajectories of specific points on the robot arm. During the working process, the movement of the robot arm is reciprocating, thereby completing repetitive loading and unloading actions; Figure 1 The motion trajectory is only used for understanding the present invention, and is not intended to limit the motion trajectory of a specific point on the robot arm during actual operation. Moving points A and B are located on the X-axis respectively, moving point C is located in the plane formed by the X-axis and the Z-axis, the projection points of moving point D in the three planes formed by the X-axis and the Y-axis, the Z-axis and the Y-axis, and the X-axis and the Z-axis are d1, d2 and d3 respectively; the projection points of moving point E in the three planes formed by the X-axis and the Y-axis, the Z-axis and the Y-axis, and the X-axis and the Z-axis are e1, e2 and e3 respectively; among them, the moving directions of the robot arm are two moving trajectory directions: ABCDE and EDCBA.

[0026] S102, selecting a control point on the motion trajectory, and clarifying a first reference time point at which a specific point on the robot arm passes through the control point, the first reference time point being used as a first control basis for the lathe chuck.

[0027] Specifically, if Figure 1As shown, the control point is point P1. During the reciprocating working process of a specific point on the robot arm, the control point will be reciprocated. The motion performed by a specific point on the robot arm is a superposition of linear motion, that is, the motion trajectory includes multiple straight line segments. The change of the motion displacement from the start of the motion through point P1 over time will generate a displacement time curve. After the above displacement time curve is determined, the first reference time points of the specific point on the robot arm passing through the control point P1 are clear. In this embodiment, it can be understood that the first reference time point is a predetermined control basis; wherein, for the position selection of the control point, it is preferably in the middle of one of the straight line segments. In this embodiment, the control point P1 is in the middle of the line segment CD. In practical applications, the selection of the control point should be based on the motion characteristics of the robot arm, the sensing range and accuracy of the sensing components, etc. It is recommended to place it in the middle position relative to the first sensing point and the second sensing point to facilitate the subsequent relationship establishment. The specific position is verified by experiments and simulations to verify the influence of different control points on the sensing stability and control accuracy, so as to select the optimal control point.

[0028] S103, establishing a first fixed sensing point and a second sensing point on the top of the robot arm that moves synchronously with the robot arm, and the two are recorded as a second control basis.

[0029] The first sensing point is fixedly set, and can be set at a position where the chuck does not move, or at a set position on the lathe body. The second sensing point is set at the top of the robot arm to ensure synchronous movement with the robot arm.

[0030] Specifically, during the movement of the robot arm, the first sensing point and the second sensing point have mutual sensing time points, and the sensing time points serve as the second control basis of the chuck; the sensing time point is set, that is, the time point at which the first sensing point and the second sensing point achieve mutual sensing. The second sensing final position determined with the synchronous movement of the robot arm must ensure that the two can achieve mutual sensing. Relative to the first reference time point that is scheduled to occur in step S102, the sensing time point in this step is relatively random, that is, it does not need to be set in advance, but only needs to ensure that the two can achieve mutual sensing. When the first sensing point and the second sensing point generate relative sensing, the referred sensing time point is generated.

[0031] In some embodiments, the second sensing point moves randomly due to the movement trajectory of the robot arm. There is a processing and calculation margin time between the sensing point and the final point of the trajectory. During the margin time, the movement of the robot arm has a time variation exceeding the threshold, which may lead to the final cooperation failure. The determination of the second sensing point is further clarified on the basis of the above step S103, including: Figure 2 It is a schematic diagram of a flow chart of collecting the second sensing point of a turret-type CNC lathe control method according to an embodiment of the present invention; like Figure 2 As shown, a turret type CNC lathe control method collects the second sensing method, including the following steps: S201 introduces machine vision technology to monitor the motion posture of the robot arm and the position of the workpiece in real time, uses industrial cameras to take real-time images of the robot arm and the workpiece, and processes the images for precise location and feature extraction.

[0032] Specifically, an industrial camera with a resolution of 1920x1080 pixels is used in the machine vision system, which is installed just above the robot arm with the lens facing vertically downward to ensure that the complete robot arm, robot arm and workpiece image can be captured. The camera's focal length, aperture and shutter speed are adjusted according to the actual shooting environment to obtain clear and jitter-free images. The camera captures these images in real time and pre-processes them, including denoising and contrast enhancement, to improve image quality.

[0033] Gaussian filtering of the Canny edge detection algorithm is applied to further reduce the noise in the image and calculate the gradient strength and direction of each pixel. The algorithm can refine the edge by retaining the local maximum value in the gradient direction and suppressing the non-maximum value. Subsequently, the high threshold and low threshold are set (usually the high threshold is between 100-200 and the low threshold is about half of it) to further filter the edge pixels and connect the weak edge to the strong edge, thereby identifying the edge information in the image.

[0034] In order to find the key feature points of the robot arm and the workpiece, the SIFT feature matching algorithm is used to compare each pixel with the pixels in its surrounding neighborhood, find the points that are extreme in scale and space as feature points, and determine their precise position and scale. Then, based on the gradient direction distribution characteristics of the pixels in the neighborhood of the feature point, one or more directions are assigned to each feature point. An area is selected around each feature point, and the gradient information (including size and direction) in the area is converted into a representation to form a feature descriptor. By comparing the descriptors of feature points in different images, similar feature point pairs are found. Please refer to the prior art for the existing algorithms involved above, which will not be described in detail in this article.

[0035] S202, divide the motion trajectory of the robot into n unit time periods, set a specific "gesture" as a mark in each time period to confirm the end of the segment, and record the posture parameters and timestamp of each marked "gesture" Among them, the gesture is defined by specific parameters of the robot arm under multiple postures, such as the movement distance, angle, moving position, and moving posture, to ensure that the "gesture" mark can be accurately and uniquely identified at the end of each segment.

[0036] Use photoelectric encoders or high-precision clocks to measure time, and regularly calibrate and inspect timing equipment to avoid errors caused by changes in the robot's movement speed, image processing delays, etc. At the same time, filter and denoise the measured image data to reduce errors caused by noise and interference.

[0037] Specifically, the motion trajectory of the robot is divided into n unit time periods according to the actual process requirements. Each time period contains the parameters of the robot under different specific postures, and the specific "gesture" of the robot is obtained, that is, the current posture parameters of the robot. At the end of each segment, the specific "gesture" of the current posture parameter is used as a mark to confirm the end of the segment and the beginning of the next segment, and the recognition results (including timestamps and posture parameters) are stored in the database.

[0038] S203, calculating the total time of the first n-1 segments, and analyzing the error range of the nth segment based on historical data.

[0039] The historical data refers to the gestures of the robot arm that were moved to the time period in history. The robot arm postures are compared and the error range is limited by a threshold range according to the actual process.

[0040] Specifically, the continuous motion process is divided into n segments according to actual needs. Each segment can be defined based on a specific time interval and action change. The timestamp of the "gesture" mark at the end of each segment in the first n-1 segments is extracted from the database, and the difference between the end timestamps of two adjacent segments is calculated to obtain the time length of each segment. The time lengths of the first n-1 segments are added together to obtain the total time.

[0041] S204, after completing the total time calculation and error analysis of the first n-1 segments, determine whether the remaining error will lead to the final cooperation failure. If the remaining error is within an acceptable range, continue to execute the movement of the nth segment; if it exceeds the threshold range, stop the movement of the chuck and the robot arm in advance and send an alarm signal.

[0042] Before calculating the total time of the first n-1 segments, the actual time of each segment is calculated first. The calculation formula for each segment, the total time of the first n-1 segments, and the remaining allowable error is as follows: The actual execution time of each segment Ti = end time i - start time i, Ti represents the actual execution time of the i-th segment process, end time i represents the moment when the i-th segment process ends, and start time i represents the moment when the i-th segment process starts. This formula is used to calculate the actual time difference from the start to the end of each segment process, that is, the actual execution time.

[0043] Total time of the first n-1 segments (T-1) = , T-1 represents the total actual execution time of the first n-1 process stages, ∑(i=1ton-1): represents the sum of the actual execution time from stage 1 to stage n-1, Ti, as described above, represents the actual execution time of the i-th process stage. This formula is used to calculate the sum of all actual execution times of the first n-1 process stages.

[0044] The remaining allowable error E=T / n-(T-1-(n-1)×(T / n)), where E represents the maximum additional time remaining allowable error allowed for the nth stage after completing the first n-1 stages, T represents the total time threshold of the entire process, n represents the number of stages of the process, T / n represents the preset execution time of each stage, T-1, as described above, represents the total actual execution time of the first n-1 stages, and (n-1)×(T / n) represents the preset total execution time of the first n-1 stages.

[0045] This formula is used to calculate how much additional execution time the nth stage can have after completing the first n-1 stages of the process without affecting the total time threshold T. It takes into account the difference between the actual execution time of the first n-1 stages and the preset time, and calculates the remaining allowable error of the nth stage accordingly.

[0046] For example, the existing robot arm has 5 time segments (n=5), and the total time threshold is T seconds. According to the process requirements, it is assumed that the preset time of each segment is T / 5 seconds, and the maximum error allowed for each segment is T / (5n), that is, T / 25 seconds. Assume that the actual measured time of the first 4 segments is: T1=0.7T / 5, T2=0.8T / 5, T3=0.9T / 5, T4=0.95T / 5; the total time of the first 4 segments is T4=0.7T / 5+0.8T / 5+0.9T / 5+0.95T / 5=3.35T / 5; the remaining allowable error E=T / 5−(3.35T / 5−3T / 5)=0.15T / 5. If the actual movement time of the 5th segment (including the margin period) is not expected to exceed 0.15T / 5+T / 5=0.25T / 5, it can continue to execute; if it exceeds, it is necessary to stop the movement in advance and alarm.

[0047] S205, setting a sensing time point for the second sensing point and the first sensing point of the final position of the robot arm after executing the nth segment of motion.

[0048] Among them, the mutual induction between the first sensing point and the second sensing point can be achieved through a variety of components, such as the combination of a proximity switch and a sensing sheet, the combination of a laser emitter and a reflector, the combination of a reader and an RFID electronic tag, etc. Through the selection of the above-mentioned structure and the selection of the installation position, the relative position relationship can be effectively identified, thereby obtaining the mutual induction time point between the first sensing point and the second sensing point; in the specific implementation process, the setting of the time difference standard value of the first control basis and the second control basis can be achieved through the specific selection of the installation position.

[0049] Specifically, actual application deviations may be caused by slight deviations in the installation positions of the first and second sensing points or slight deviations in the motion trajectory of the robot. When these deviations are within an acceptable range, the system will still work normally; but when the deviations are too large to obtain the first or second reference basis, or when the time difference is too large, the system will alarm.

[0050] S104, performing motion control of the chuck based on the first control basis and the second control basis.

[0051] Specifically, establish a one-to-one correspondence between the time point of the first control basis and the time point of the second control basis, as well as the time difference threshold range allowed between the two; wherein the time point of the first control basis is preset, and the time point of the second control basis is actually collected, both of which will appear repeatedly with the reciprocating motion of the robot arm, and the one-to-one correspondence can be clearly established. Determine whether the correspondence and time difference between the one-to-one corresponding first control basis and the second control basis time point are within the time difference threshold range. If so, execute the preset action of the chuck; if not, keep the chuck still and alarm.

[0052] In the specific implementation process, the setting of the time difference standard value of the first control basis and the second control basis can be achieved by specifically selecting the setting positions of the P1 control point, the first sensing point, and the second sensing point.

[0053] It should be noted that this embodiment provides a detailed framework and process for realizing the coordinated control of the robot arm and the chuck. In practical applications, the selection of control points, the reliability and accuracy of sensing components, time synchronization and error processing also need to be adjusted and optimized according to the characteristics of the robot arm acting on the turret CNC lathe.

[0054] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages: 1. In the control method of the turret CNC lathe, machine vision technology is introduced to monitor the motion posture of the robot arm and the position of the workpiece in real time. Through high-precision image processing and feature extraction algorithms, accurate acquisition of the position information of the robot arm and the workpiece is ensured. This not only improves the accuracy and reliability of control, but also provides more accurate data support for subsequent chuck motion control. Secondly, the introduction of machine vision technology enables the system to monitor and process deviations and abnormal conditions during the movement of the robot arm in real time, so as to make timely adjustments and alarms, effectively avoiding problems such as cooperation failure or equipment damage caused by excessive deviations.

[0055] 2. Segmented monitoring of the robot's motion posture is another important part of the turret CNC lathe control method. By dividing the time period into n units and setting a specific "gesture" as a marker for each time period, the system can accurately identify the current posture of the robot and record the posture parameters and timestamp of each marked "gesture". This segmented monitoring method not only improves the recognition accuracy of the robot's motion posture, but also provides a reliable data basis for subsequent time calculation and error analysis. At the same time, by calculating the total time of the first n-1 segments and analyzing the error range of the nth segment based on historical data, the system can accurately determine whether the remaining error will lead to the final coordination failure, so as to take timely measures to adjust or alarm, effectively ensuring the accuracy and reliability of the coordinated control of the robot and the chuck.

[0056] Embodiment 2: In embodiment 1, the motion posture of the robot arm is monitored in sections to fully identify the motion of the robot arm. However, for a factory environment, this requirement is too high. If the background of the robot arm image changes, the color, background distance and other parameters change, the accuracy of the recognized motion will be affected. In order to further improve the accuracy of the recognized motion, further improvements are made based on step S201 of embodiment 1.

[0057] S301, selecting key points and moving parts on the robot arm, and coating them with specific colors with high contrast to reduce color deviation caused by light sources.

[0058] Among them, the selected color area should be easy to identify and not easily affected by ambient light. The color selection ensures that the shape and brightness of the color area remain stable in the image under the illumination of the light source, and the color deviation change is lower than the preset threshold, such as red, blue or green, which are easy to identify under various lighting conditions and not easily affected by ambient light. Use wear-resistant and chemical-resistant inorganic pigment iron oxide to coat specific color areas at selected key points and moving parts.

[0059] The key points and moving parts on the robotic arm include the end effector, rotational joints, translational joints and telescopic joints.

[0060] S302, installing a low-power LED light source near the color zone, and the light source automatically adjusts the brightness of the light source according to the real-time ambient light conditions.

[0061] Among them, the lumen / watt ratio of LED light sources can reach 100Lm / W or even higher. The recommended brightness is between 600-700 lumens per square meter. The color of the LED light source can be achieved by adjusting the ratio of the three primary colors of red, green and blue. The brightness and color of the light source should match the color zone to reduce the interference of ambient light and color recognition errors.

[0062] The color deviation calculation formula is: Color deviation

[0063] Rc, Gc, Bc are the red, green, and blue (RGB) channel values ​​of the color region in the current frame. These values ​​are usually obtained by taking the average or median of all pixels in the color region in the corresponding channel. Rr, Gr, Br are the RGB channel values ​​of the color region in the reference frame, which are used as the basis for comparison. ΔC is the color deviation, which represents the difference in the RGB color space between the color region of the current frame and the reference frame.

[0064] The brightness change calculation formula is:

[0065] Lc is the brightness value of the color area in the current frame. Brightness is usually a quantity that indicates the brightness of an image. It can be calculated by different methods, such as taking the average brightness of all pixels in the color area. Lr is the brightness value of the color area in the reference frame (or benchmark frame). This is a standard brightness value used for comparison, usually calculated in the initial frame or a specific frame. ΔL is the brightness change, which indicates the difference in brightness of the color area between the current frame and the reference frame.

[0066] Specifically, a light sensor is installed to monitor the ambient light intensity in real time. According to the data from the light sensor, the brightness of the LED light source is automatically adjusted to ensure the stability and clarity of the color area in the image.

[0067] For example, one or more light intensity thresholds are set according to the working requirements of the camera on the production line. For example, a "normal light range" (such as 200-800 lux) is set. When the ambient light intensity exceeds this range, the brightness of the LED light source needs to be adjusted. The photosensitive sensor monitors the ambient light intensity in real time and sends the data to the intelligent control system. The intelligent control system compares the received light intensity data with the set thresholds. If the ambient light intensity is lower than the minimum threshold (such as 200 lux), the duty cycle of the PWM signal is increased to increase the brightness of the LED light source. If the ambient light intensity is higher than the maximum threshold (such as 800 lux), the duty cycle of the PWM signal is reduced to reduce the brightness of the LED light source. If the ambient light intensity is within the normal range, the current brightness of the LED light source remains unchanged.

[0068] S303, after the image is collected, preprocessing the image containing the color area.

[0069] Among them, preprocessing includes color correction, noise suppression and edge enhancement, etc. A color correction method based on image analysis is selected to eliminate the influence of light source and ambient light on image color, Gaussian filtering in the filtering algorithm is applied to suppress noise in the image, and the Canny edge detection algorithm is used to enhance the boundary of the color area. The existing algorithms involved above are referred to in the prior art and will not be described in detail in this article.

[0070] S304, using color space conversion and color segmentation technology to extract a specific color area from the preprocessed image.

[0071] Specifically, read the RGB image that needs to be color recognized, divide the red, green, and blue channel values ​​of each pixel of the RGB image by 255, and convert them into decimals between 0 and 1. Calculate according to the maximum and minimum values ​​of the three RGB channels. The saturation is 1 minus the ratio of the minimum value to the maximum value, and the brightness is the maximum value of the three RGB channels. In image processing libraries such as OpenCV, the HSV H component is usually expressed as 0-180 degrees, and the S and V components are expressed as 0-255. Depending on the specific library used, the calculated HSV value may need to be adjusted.

[0072] Use the K-means clustering algorithm to perform color segmentation on the HSV image to extract specific color areas. Feature vector construction: The H, S, and V values ​​of each pixel in the HSV image are used as feature vectors. Randomly select the feature vectors of K pixels as the initial cluster centers. Calculate the distance from each pixel to each cluster center, assign the pixel to the cluster represented by the nearest cluster center, and recalculate the average value of the feature vectors of all pixels in each cluster as the new cluster center. Repeat the assignment of pixels to cluster centers and the update of cluster centers until the cluster centers no longer change. Based on the clustering results, select the cluster closest to the target color as the specific color area. These areas are the key points and moving parts on the robot arm.

[0073] The extracted specific color region is corroded to remove small protrusions on the boundary and shrink the boundary inward to obtain a more compact shape. Then, the dilation operation is performed to fill the small holes on the boundary and expand the boundary outward to ensure the integrity of the color region. Erosion followed by dilation (opening operation) is used to remove small objects, separate objects at thin points, smooth the boundaries of larger objects without significantly changing their area, and further optimize the shape of the color region. If necessary, dilation followed by corrosion (closing operation) can also be performed to fill small holes inside foreground objects or connect adjacent objects to ensure the connectivity of the color region. In the image processed by the above algorithm, the specific color region will clearly mark the key points and moving parts on the robot arm.

[0074] S305, identifying the motion trajectory of the robot arm through the position change of the color area in the continuous frames.

[0075] Specifically, Kalman filtering is applied to predict and update the position of the feature point in the next frame. The position change data of the feature point in each frame is recorded, including coordinates, speed, acceleration, etc. The polynomial fitting trajectory recognition algorithm is used to analyze the position change data and reconstruct the motion trajectory of the robot arm. Please refer to the existing technology for the related algorithms involved above, which will not be described in detail in this article.

[0076] The feature point matching of the image tracking algorithm is used to track the position changes of the color area in consecutive frames. Based on the position change data, the trajectory recognition algorithm is used to reconstruct the motion trajectory of the robot arm.

[0077] S306, identifying the posture of the robot arm joint angle and the end effector direction according to the position and relative relationship of the color area, and converting the identified posture into the actual position and direction of the robot arm in the three-dimensional space.

[0078] Specifically, the position and shape of the color area are analyzed based on their position and relative relationship. The joint angles of the robot arm and the direction of the end effector are calculated using a geometric algorithm. The recognized posture is converted into the actual position and direction of the robot arm in three-dimensional space using a coordinate transformation algorithm.

[0079] For example, the reference settings of S204 in Example 1 are continued, the number of existing segments is still 5, the total time threshold T remains unchanged, the preset time of each segment is still T / 5 seconds, and the maximum error allowed for each segment of the error standard is still T / 25 seconds. Newly added color area recognition threshold, brightness change threshold , Color deviation threshold , The light source brightness is adjusted in steps of 5% (assuming the light source brightness can be adjusted in the range of 0-100%). The initial light source brightness is set to 50%. Based on the ambient light conditions, if the brightness needs to be increased, it is gradually adjusted to 60% in steps of 5% to stabilize the color area brightness within the target range.

[0080] The initial light source brightness is set to 50%. Based on the ambient lighting conditions, if the brightness needs to be increased, it is gradually adjusted to 60% in steps of 5% to stabilize the color area brightness within the target range.

[0081] At 60% light source brightness, capture images and identify specific color areas. Calculate brightness changes (assumed value, below threshold 10), color deviation threshold C=20 (assumed value, lower than the threshold of 50). Based on the changes in the position of the identified color area, the robot's motion trajectory is successfully tracked and its posture is identified. Assuming that the actual motion time of the first four segments is 1.9 seconds, 2.1 seconds, 2.0 seconds, and 2.2 seconds respectively, the total time of the first four segments is calculated to be 1.9+2.1+2.0+2.2=8.2 seconds, and the remaining allowable time is T−8.2=1.8 seconds. The remaining allowable error is the maximum allowable error of each segment is 0.4 seconds, and the allowable error of the remaining segment (segment 5) is still 0.4 seconds. Assuming that the actual motion time of the fifth segment is 2.0 seconds, the error is |2.0−2.0|=0 seconds, which is lower than the allowable error.

[0082] Finally, the brightness of the light source was successfully adjusted to 60%, and the brightness change and color deviation of the color area were both below the set threshold. The motion trajectory of the robot arm was successfully tracked, and the posture recognition was accurate. Time calculation showed that the total time of the first 4 segments was 8.2 seconds, the remaining time was 1.8 seconds, and the actual motion time of the 5th segment was 2.0 seconds, with an error of 0 seconds, which met the error standard.

[0083] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages: 1. The key points and moving parts on the robot arm can be accurately and stably identified. The area coated with a specific color presents a high contrast in the image, effectively reducing the impact of the light source and ambient light on color recognition. At the same time, by installing a low-power LED light source and automatically adjusting its brightness, the stability and clarity of the color area in the image are ensured, further improving the accuracy of color recognition. This improvement not only enhances the system's ability to recognize the robot's motion posture, but also provides a reliable foundation for subsequent trajectory tracking and posture analysis.

[0084] 2. The improved trajectory tracking method can accurately identify the motion trajectory of the robot. Through the position changes of the color area in the continuous frames, combined with algorithms such as Kalman filtering and polynomial fitting, the system can track the movement of the robot in real time and reconstruct its motion trajectory. This method not only improves the accuracy and stability of trajectory tracking, but also provides strong support for the control and optimization of the robot. At the same time, since the trajectory tracking is based on the recognition results of the color area, it also indirectly improves the accuracy of posture recognition, providing a guarantee for the precise operation of the robot.

[0085] Embodiment 3: The above-mentioned embodiment 2 tracks and identifies the movement of the robot arm through image processing and color recognition technology, which significantly improves the recognition accuracy of the robot arm's movement trajectory. In order to further improve the recognition accuracy of the robot arm's trajectory, step S301 is further improved on the basis of embodiment 2.

[0086] S401, paint high contrast color areas of different colors on the top of key raised parts of the robot arm.

[0087] Among them, the design of high-contrast color areas of different colors needs to consider their recognition in the image, and can cover the raised parts below in order to ensure accurate recognition even if they are partially covered. Compared with the coating of one RGB value color area in Example 2, the color area of ​​the raised part should have at least 6 or more high-contrast colors with different RGB values ​​in one area (the colors in the area are all in the same color system), so that the color difference can be reflected in grayscale recognition, so as to judge the posture and movement trajectory of the robot arm by the appearance order and time point of the color area.

[0088] S402, pre-processing the image after image acquisition, and detecting the specific color area position and grayscale value.

[0089] In which, grayscale processing is added while performing the preprocessing in S302, and the brightness of the red, green, and blue components in the color image are respectively used as the grayscale values ​​of the three grayscale images. The component with the highest value among the three grayscale values ​​is selected as the grayscale value of the final grayscale image. For example, if the color image R=210, G=60, B=130, the grayscale value is defined as R210-.

[0090] S403, recording the time point when the specific color area appears in the image.

[0091] For example, refer to Figure 3 Assume that there is a raised part in the secondary bending area of ​​the robot arm, mark the top of the raised part as a specific color area, and arrange these color areas in the order of their appearance in the image. Define a time series T, which contains a series of time points T={t1,t2,...,tn}, where ti represents the time point when the i-th specific color area is first observed.

[0092] When the robot arm performs the up and down movement, the following time and angle correspondence is recorded: when t1=1 second, it corresponds to coverage area 1, at which the robot arm's folding angle is 160°, with a gray value of R30-; when t2=2 seconds, it corresponds to coverage area 2, with the folding angle becoming 150°, with a gray value of R75-; when t3=3 seconds, it corresponds to coverage area 3, with the folding angle being 140°, with a gray value of R128-; when t4=4 seconds, it corresponds to coverage area 4, with the folding angle becoming 130°, with a gray value of R170-; when t4=4 seconds, it corresponds to coverage area 4, with the folding angle being 120°, with a gray value of R205-; when t5=5 seconds, it corresponds to coverage area 5, with the folding angle further reduced to 110°, with a gray value of R240- (it should be noted that the coverage area color, time series timestamp, and folding angle are all given as examples. In actual applications, these feature comparison relationships need to be defined according to specific circumstances).

[0093] Assume that the movement amplitude and time of the robot arm can be subdivided into 5 specific color areas, and these areas correspond to 5 different time series, then the sum of these 5 time series is t1+t2+t3+t4+t5=15 seconds. Now, if both coverage area 1 and coverage area 2 are seen in the image, according to the definition, the robot arm has moved for t1+t2=3 seconds, and at this moment, the robot arm's angle is 150°, and the gray value is R75-, which proves that this robot arm movement is a normal trajectory movement (here the angle at time t2 is used, because t2 is the time point when coverage area 2 first appears). If one of the parameters of coverage area, time series, angle, and gray value does not meet the preset parameter settings, then this robot arm movement is considered to be an abnormal trajectory movement.

[0094] S404, reconstructing the motion trajectory of the robotic arm according to the time point at which the gray value of the color area appears in combination with the kinematic model of the robotic arm to infer the motion trajectory of the robotic arm.

[0095] Specifically, collect and record the time points at which all specific color areas appear in the image and their corresponding grayscale values. Organize these data and ensure that they are arranged in the order of the time series T={t1,t2,...,tn}. According to the design and motion characteristics of the robot, establish its kinematic model. This model can describe the motion parameters of the robot such as position, velocity and acceleration at each time point. Incorporate the physical parameters of the robot such as joint angle and connecting rod length into the model to accurately calculate the motion trajectory of the robot.

[0096] Match the collected time points at which specific color regions appear with the corresponding grayscale values. If multiple color regions appear at the same time at a certain time point, they are distinguished and identified based on their grayscale values ​​and positional relationships. For each time point ti, the position of the corresponding raised part on the robot is determined based on the position and grayscale value of the color region. These position points are used as key points on the robot's motion trajectory. The robot's motion trajectory is reconstructed using the robot's kinematic model and the collected key point information. The discrete key points are connected into a continuous trajectory curve by interpolation. The algorithm of the model should be selected according to the actual application scenario. The forward kinematics algorithm can be used to calculate the position of the end effector based on the joint angle, the inverse kinematics algorithm can be used to infer the joint angle based on the target position of the end effector, or the RRT path planning algorithm can be used to generate a collision-free path from the starting position to the target position. These algorithms explore the robot's workspace by iteratively expanding the search tree while considering joint angle constraints and workspace constraints.

[0097] The technical solutions in the above embodiments of the present application have at least the following technical effects or advantages: 1. By coating the top of the key raised parts of the robot with high-contrast color areas of different colors and ensuring that each color area contains at least 6 high-contrast colors with different RGB values, the recognition of the color area in the image is significantly improved. This design allows the remaining part to be accurately identified even if part of the color area is covered, thereby more accurately judging the posture and movement trajectory of the robot arm.

[0098] 2. The method in the embodiment not only relies on a single color feature, but also combines information in multiple dimensions such as grayscale value and time series. This multi-dimensional information fusion enhances the system's robustness to factors such as lighting changes and background interference, and improves the reliability of trajectory recognition. Even in complex or dynamic environments, the system can stably track the motion trajectory of the robot arm. Example

[0099] Figure 4 It is a structural schematic diagram of a turret-type CNC lathe control system according to an embodiment of the present invention.

[0100] like Figure 4As shown, a turret-type CNC lathe control system includes: a trajectory planning module, a control point and timing management module, a sensing and monitoring module, a segmented control and error analysis module, a motion control module, a trajectory reconstruction and posture recognition module, and a machine vision module.

[0101] The trajectory planning module is used to set the motion trajectory of the robot arm, including the starting point, end point and intermediate path.

[0102] The control point and timing management module is used to select key control points, identify the first reference time point when the robot passes through these points, and record the time point when a specific color area appears in the image.

[0103] The sensing and monitoring module is used to set up fixed and follow-up sensing devices to monitor the position and posture of the robot arm and workpiece in real time, including image acquisition and preprocessing through machine vision technology.

[0104] The segmented control and error analysis module is used to divide the motion trajectory of the robot arm into multiple unit time periods, perform segmented monitoring and error analysis, and ensure the accuracy of the motion trajectory.

[0105] The motion control module controls the motion of the chuck according to a first control basis (a preset first reference time point) and a second control basis (an actually collected sensing time point).

[0106] The trajectory reconstruction and posture recognition module is used to identify the motion trajectory of the robot arm through the position changes of the color area in consecutive frames, reconstruct the motion trajectory of the robot arm, and identify the joint angles and end effector direction of the robot arm.

[0107] The machine vision module is used to identify specific color areas on the robot arm, the position of the workpiece, and the posture of the robot arm, and pass the recognition results to other related modules.

[0108] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A turret type CNC lathe control method, characterized in that: include: S101, setting the motion trajectory of a specific point on the robot arm; S102, selecting a control point on the motion trajectory, and determining a first reference time point at which a specific point on the robot arm passes through the control point, the first reference time point being used as a first control basis for the lathe chuck; S103, establishing a fixed first sensing point, and establishing a second sensing point on the top of the robot arm that moves synchronously with the robot arm as a second control basis; wherein the second sensing point also includes: S201, introduces machine vision technology to monitor the motion posture of the robot arm and the position of the workpiece in real time, uses industrial cameras to take real-time images of the robot arm and the workpiece, and processes the images for precise location and feature extraction; S202, dividing the motion trajectory of the robot into n unit time periods, setting a specific "gesture" as a mark in each time period to confirm the end of the segment, and recording the posture parameters and timestamp of each marked "gesture"; S203, calculating the total time of the first n-1 segments, and analyzing the error range of the nth segment based on historical data; S204, after completing the total time calculation and error analysis of the first n-1 segments, determine whether the remaining error will lead to final coordination failure; S205, setting a sensing time point between the second sensing point and the first sensing point of the final position of the robot arm after executing the nth segment of motion; S104, performing motion control of the chuck based on the first control basis and the second control basis.

2. A turret type CNC lathe control method as claimed in claim 1, characterized in that: The method S201 further includes: S301, selecting key points and moving parts on the robot arm, and coating them with specific colors with high contrast to reduce color deviation caused by light sources; S302, installing a low-power LED light source near the color zone, and the light source automatically adjusts the brightness of the light source according to the real-time ambient light conditions; S303, after the image is collected, preprocessing the image containing the color area; S304, extracting a specific color region from the preprocessed image using color space conversion and color segmentation technology; S305, identifying the motion trajectory of the robot arm by the position change of the color area in the continuous frames; S306, identifying the posture of the robot arm joint angle and the end effector direction according to the position and relative relationship of the color area, and converting the identified posture into the actual position and direction of the robot arm in the three-dimensional space.

3. A turret type CNC lathe control method as claimed in claim 2, characterized in that: The S301 includes: S401, coating a high contrast color area of ​​different colors on the top of a key raised part of the robot arm; S402, preprocessing the image after image acquisition, and detecting the specific color area position and grayscale value; S403, recording the time point when the specific color area appears in the image; S404, reconstructing the motion trajectory of the robotic arm according to the time point at which the gray value of the color area appears in combination with the kinematic model of the robotic arm to infer the motion trajectory of the robotic arm.

4. A turret type CNC lathe control method as claimed in claim 1, characterized in that: The first sensing location and the second sensing location in S103 include: The cultivation quality index is calculated by the following formula: The first sensing point is fixedly set, and can be established at a position where the chuck does not move, or at a set position on the lathe body. The second sensing point is set at the top position of the robot arm.

5. A turret type CNC lathe control method as claimed in claim 1, characterized in that: The step S204, after completing the total time calculation and error analysis of the first n-1 segments, determines whether the remaining error will lead to a final coordination failure, including: If the remaining error is within an acceptable range, the movement of the nth segment will continue to be executed; if it exceeds the threshold range, the movement of the chuck and the robot arm will be stopped in advance and an alarm signal will be issued.

6. A turret type CNC lathe control method as claimed in claim 5, characterized in that: include: The formula for calculating the allowable error is: E=T / n-(T-1-(n-1)×(T / n)), where E represents the maximum additional time remaining allowable error allowed for the nth stage after completing the first n-1 stages, T represents the total time threshold of the entire process, n represents the number of stages of the process, T / n represents the preset execution time of each stage, T-1, as mentioned above, represents the total actual execution time of the first n-1 stages, and (n-1)×(T / n) represents the preset total execution time of the first n-1 stages.

7. A turret type CNC lathe control method as claimed in claim 2, characterized in that: The calculation formula for light source brightness change in S302 includes: , Lc is the brightness value of the color area in the current frame, Lr is the brightness value of the color area in the reference frame, which is calculated in the initial frame or a specific frame, and ΔL is the brightness change, which indicates the difference in brightness of the color area between the current frame and the reference frame.

8. A turret type CNC lathe control method as claimed in claim 3, characterized in that: The S401, coating the top of the key raised part of the robot arm with a high contrast color area of ​​different colors, includes: The design of high-contrast color areas of different colors must take into account their recognizability in the image, and be able to cover the raised parts below in order to ensure accurate identification even if they are partially covered; the color area of ​​the raised parts should have at least 6 high-contrast colors with different RGB values ​​in one area, and the colors in the area should all be in the same color system, so that the color difference can be reflected in grayscale recognition.

9. A turret type CNC lathe control method as claimed in claim 3, characterized in that: The step S403, recording the time point when the specific color area appears in the image, includes: The top of the corner of the raised part is marked as a specific color area, and these color areas are arranged in the order of their appearance in the image, defining a time series T, which includes a series of time points T={t1,t2,...,tn}, where ti represents the time point when the i-th specific color area is first observed.

10. A turret type CNC lathe control system, characterized in that: include: The trajectory planning module is used to set the motion trajectory of the robot arm, including the starting point, end point and intermediate path; The control point and timing management module is used to select key control points, identify the first reference time point when the robot passes through these points, and record the time point when a specific color area appears in the image; The sensing and monitoring module is used to set fixed and follow-up sensing devices to monitor the position and posture of the robot arm and the workpiece in real time, including image acquisition and preprocessing through machine vision technology; The segment control and error analysis module is used to divide the motion trajectory of the robot into multiple unit time periods, perform segment monitoring and error analysis, and ensure the accuracy of the motion trajectory; The motion control module controls the motion of the chuck according to the first control basis and the second control basis; The trajectory reconstruction and posture recognition module is used to identify the motion trajectory of the robot arm through the position changes of the color area in the continuous frames, reconstruct the motion trajectory of the robot arm, and identify the joint angles and end effector direction of the robot arm; The machine vision module is used to identify specific color areas on the robot arm, the position of the workpiece, and the posture of the robot arm, and pass the recognition results to other related modules.

Citation Information

Patent Citations

  • Automatic calibration device of robot monocular vision guiding system

    CN107081755A

  • Lathe control method and system

    CN116117184A

  • Tactile sensor calibration system, method and device applied to mechanical arm and chip

    CN116945145A

  • Mechanical arm dynamic grabbing method based on visual servo

    CN117428785A

  • Mechanical arm intelligent control method and system based on visual positioning

    CN118372259A

Cited By

  • Intelligent mechanical arm exercise method and system

    CN120382494A