Control method of machining equipment and machining equipment
Through image acquisition and parameter compensation technology, the problem of excessive processing time caused by inaccurate product positioning is solved, and rapid and accurate positioning and efficient processing are achieved.
Patent Information
- Application Number
- CN202411045099.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-19
AI Technical Summary
During automatic processing, the product's own positioning reference is inaccurate, which makes the tooling unable to accurately locate, forcing the use of probes to find the processing position, resulting in too long processing time and inefficient efficiency.
The image acquisition device collects the product images of the marking points on the tooling, determines the actual position and calculates the deviation value, and performs processing parameter compensation in order to accurately control the processing equipment.
Improve processing accuracy and efficiency, reduce processing time and reduce costs.
Smart Images

Figure CN118981186A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automatic processing technology, and in particular to a control method for processing equipment and processing equipment. Background Art
[0002] When realizing automatic processing of products, the processing equipment needs to determine the processing position of the product first. The traditional method is to accurately position the product through tooling or probe detection for processing. However, the positioning reference of some products is inaccurate and the tolerance is large, which makes it impossible for the tooling to accurately position them. At this time, the only option is to use the probe detection method to determine the product reference according to the product structure, so as to find the processing position of the product. The time for the probe to detect a processing position is 3 seconds. When there are many processing positions on a product, or when processing multiple products at a time, the use of the probe to detect the processing position will result in an overall long processing time, low efficiency, and increased processing costs. Summary of the invention
[0003] The main purpose of the present invention is to provide a control method for processing equipment and processing equipment, aiming to provide a control method for processing equipment that can quickly and accurately locate the processing position of a product.
[0004] To achieve the above object, the present invention provides a control method for processing equipment, which comprises the following steps:
[0005] Acquire a product image of a product to be processed which is located on a tool and has marking points thereon, captured by an image acquisition device;
[0006] Determining the actual position of the marking point on the product to be processed according to the product graphic;
[0007] Calculating a deviation between the actual position and the theoretical position as a compensation value;
[0008] The processing parameters are compensated according to the compensation value, and the processing equipment is controlled to process the product to be processed according to the compensated processing parameters.
[0009] In one embodiment, a plurality of products to be processed are arranged on the tooling, and the plurality of products to be processed include a first product to be processed and a second product to be processed;
[0010] The step of determining the actual position of the marking point on the product to be processed according to the product graphic comprises:
[0011] According to the product image, actual positions on the first product to be processed and the second product to be processed are acquired.
[0012] In one embodiment, the step of calculating the deviation value between the actual position and the theoretical position as the compensation value comprises:
[0013] Calculating a deviation between an actual position and a theoretical position of the marking point on the first product to be processed as a first compensation value;
[0014] Calculating a difference between an actual relative position of the marking point on the second product to be processed and the marking point on the first product to be processed and a theoretical relative position as a second compensation value;
[0015] The step of compensating the processing parameters according to the compensation value, and controlling the processing equipment to process the product to be processed according to the compensated processing parameters, comprises:
[0016] Compensating a first processing parameter according to the first compensation value, and compensating a second processing parameter according to the first compensation value and the second compensation value;
[0017] The processing equipment is controlled to process the first product to be processed according to the compensated first processing parameter, and the processing equipment is controlled to process the second product to be processed according to the compensated second processing parameter.
[0018] The present invention also provides a processing device, the processing device comprising:
[0019] A machine base, on which a tooling for carrying a plurality of products to be processed is arranged;
[0020] a processing mechanism, which can be movably mounted on the machine base, and includes a mounting seat, and a processing portion and an image acquisition device mounted on the mounting seat, wherein the processing portion is used to process each product to be processed carried on the tooling, and the image acquisition device is used to acquire a product image of the product to be processed which is located on the tooling and has a marking point; and
[0021] A control device is electrically connected to the image acquisition device and the processing unit, and is used to control the processing unit to work according to the image acquisition device. The control device includes a memory, a processor, and a control program for the processing equipment stored in the memory and executable on the processor. The control program for the processing equipment is configured to implement the steps of the control method for the processing equipment as described above.
[0022] In one embodiment, the image acquisition device includes a CCD sensor.
[0023] In one embodiment, the processing mechanism further comprises a shell mounted on the mounting seat, and an opening is provided at the bottom of the shell;
[0024] The image acquisition device is arranged in the shell and corresponds to the opening.
[0025] In one embodiment, the processing mechanism further includes a plurality of fixing plates disposed in the shell, the plurality of fixing plates are spaced apart along the axial direction of the image acquisition device, and each of the fixing plates connects the image acquisition device and the shell.
[0026] In one embodiment, the shell is disposed at one end of the mounting seat that is horizontally upward, and the middle portion of the shell is connected to the end portion of the mounting seat;
[0027] The processing mechanism further comprises a plurality of fixed frames, and the plurality of fixed frames comprises:
[0028] A first fixing frame, connecting the upper side of the mounting seat and the upper part of the housing;
[0029] a second fixing frame connecting the lower side of the mounting seat and the lower part of the housing; and
[0030] The third fixing frame connects an end portion of the mounting seat away from the shell and the processing portion.
[0031] In one embodiment, the processing equipment further comprises:
[0032] A driving motor is mounted on the mounting seat and disposed beside the image acquisition device, wherein the driving motor has an output shaft rotatably disposed around a rotation axis extending vertically; and
[0033] The baffle has a first end and a second end that are arranged opposite to each other in the horizontal direction, the first end of the baffle is connected to the output shaft, the second end of the baffle has a rotation stroke that rotates around the first end of the baffle, and the baffle has a first working position that blocks the opening and a second working position that is offset from the opening during its rotation stroke.
[0034] In one embodiment, the processing equipment further includes a light source, and the light source is used to provide supplementary light when the image acquisition device is working.
[0035] In the technical solution of the present invention, the control method of the processing equipment includes the following steps: the control method of the processing equipment includes the following steps: obtaining a product image of the product to be processed located on the tooling and provided with a marking point acquired by an image acquisition device; determining the actual position of the marking point on the product to be processed according to the product image; calculating the deviation value between the actual position and the theoretical position as a compensation value; compensating the processing parameters according to the compensation value, and controlling the processing equipment to process the product to be processed according to the compensated processing parameters. In the technology provided by the present invention, when the product to be processed is not in the theoretical position, the image recognition technology of the marking point on the product to be processed itself is used to determine the actual position of the product to be processed, and the processing parameters of the processing mechanism are accurately compensated through an automatic compensation mechanism, thereby improving the processing accuracy and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0037] Figure 1 A schematic structural diagram of an embodiment of a processing device provided by the present invention;
[0038] Figure 2 for Figure 1 Schematic diagram of part of the structure of the processing mechanism;
[0039] Figure 3 for Figure 1 Schematic diagram of part of the structure of the processing mechanism;
[0040] Figure 4 for Figure 1 A schematic diagram of the structure of the image acquisition device in the middle shell;
[0041] Figure 5 A structural schematic diagram of an embodiment of a control method for processing equipment provided by the present invention;
[0042] Figure 6 A structural schematic diagram of another embodiment of the control method for processing equipment provided by the present invention;
[0043] Figure 7 It is a schematic diagram of the structure of the processing equipment control device in the embodiment of the present application.
[0044] Description of Figure Numbers:
[0045] 100. Processing mechanism; 10. Processing part; 1. Mounting seat; 2. Image acquisition device; 3. Shell; 3a. Window; 4. Fixing plate; 51. First fixing frame; 52. Second fixing frame; 53. Third fixing frame; 6. Driving motor; 7. Baffle; 8. Connecting part; 9. Light source.
[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0049] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if "and / or" or "and / or" appears in the full text, its meaning includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, solution B, or solutions that satisfy both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0050] When realizing automatic processing of products, the processing equipment needs to determine the processing position of the product first. The traditional method is to accurately position the product through tooling or probe detection for processing. However, the positioning reference of some products is inaccurate and the tolerance is large, which makes it impossible for the tooling to accurately position them. At this time, the only option is to use the probe detection method to determine the product reference according to the product structure, so as to find the processing position of the product. The time for the probe to detect a processing position is 3 seconds. When there are many processing positions on a product, or when processing multiple products at a time, the use of the probe to detect the processing position will result in an overall long processing time, low efficiency, and increased processing costs.
[0051] The present invention proposes a processing equipment, which includes a machine base, a processing mechanism 100 and a control device. The machine base is provided with a tooling for carrying multiple products to be processed; the processing mechanism 100 can be movably installed on the machine base, and the processing mechanism 100 includes a mounting seat 1, and a processing part 10 and an image acquisition device 2 installed on the mounting seat 1. The processing part 10 is used to process each product to be processed carried on the tooling, and the image acquisition device 2 is used to capture product images of the products to be processed that are located on the tooling and have marking points.
[0052] It should be noted that the processing equipment refers to mechanical equipment used to process specific products. The machine base is provided as a base or a foundation of the processing equipment to provide a stable support for the entire equipment.
[0053] The tooling refers to a device used to fix or position the product to be processed, which may be a fixture, a mold or other types of fixing devices, installed on a machine base and used to carry multiple products to be processed.
[0054] The processing mechanism 100 is the part that performs specific processing actions. It is movably mounted on the machine base through a driving mechanism (such as a slide rail, a linear guide rail, etc.) and can be moved to different positions to process the product on the tooling.
[0055] The mounting seat 1 is a part of the processing mechanism 100, and is used to fix the processing part 10 and the image acquisition device 2. It can be understood that the processing part 10 and the image acquisition device 2 are both mounted on the mounting seat 1, so when the processing mechanism 100 moves, it means that the processing part 10 and the image acquisition device 2 move synchronously.
[0056] The processing unit 10 is a component that actually performs the processing operation, such as a tool, a nozzle, a laser head, etc.
[0057] The image acquisition device 2 is a camera or other imaging device, which is used to capture images of the product to be processed and determine the actual position of the marking point based on the image. The marking point can help determine the exact position of the product, thereby ensuring the accuracy of the processing process.
[0058] In the technical solution provided by the present invention, the image acquisition device 2 uses image recognition technology to identify the marking points on the product to be processed to determine the actual position of the product to be processed, and uses an automatic compensation mechanism to accurately compensate the processing parameters of the processing mechanism 100, thereby improving processing accuracy and efficiency.
[0059] Specifically, in this embodiment, the image acquisition device 2 includes a CCD sensor. The CCD sensor is a charge-coupled device (CCD), and its working principle is based on the generation and transfer of photogenerated charges. When light is irradiated onto the photosensitive elements of the CCD, these elements absorb photons and generate electron-hole pairs. The generated electrons are collected and transferred along a series of charge-coupled units, and are finally read out as electrical signals. The CCD sensor has a high quantum efficiency and can more efficiently convert incident light into electrons to have high sensitivity. In addition, the CCD sensor has excellent linearity and dynamic range, and the CCD sensor can provide high-quality images.
[0060] In this embodiment, the processing mechanism 100 further includes a shell 3 mounted on the mounting seat 1, and an opening is provided at the bottom of the shell 3; the image acquisition device 2 is disposed in the shell 3 and corresponding to the opening.
[0061] It should be noted that the housing 3 is a component of the processing mechanism 100, which is mounted on the mounting seat 1. The housing 3 plays a role in protecting internal components (such as the image acquisition device 2).
[0062] The opening provided at the bottom of the housing 3 is to allow the image acquisition device 2 to capture the image of the product to be processed on the tooling. It is understood that the opening ensures that the image acquisition device 2 can accurately align with the marking point and will not be disturbed by external environmental factors.
[0063] The image acquisition device 2 is installed in the housing 3, and its lens or sensor part faces the opening at the bottom of the housing 3. Such an arrangement ensures that the image acquisition device 2 can clearly capture the marking point, while not being exposed to the outside and damaged.
[0064] Furthermore, in order to ensure that the image acquisition device 2 is in normal working condition, in this embodiment, a window 3a is further provided on the housing 3. Thus, a person can check the working condition of the image acquisition device 2 in real time through the window 3a to ensure that the image acquisition device 2 is working normally.
[0065] Furthermore, since the processing mechanism 100 needs to move to different processing positions to process the product, the image acquisition device 2 needs to be stable to avoid errors in image recognition during shaking, which may cause deviations in the positions of the identified marking points. In the present embodiment, the processing mechanism 100 also includes a plurality of fixing plates 4 disposed in the shell 3, and the plurality of fixing plates 4 are arranged at intervals along the axial direction of the image acquisition device 2, and each of the fixing plates 4 connects the image acquisition device 2 and the shell 3.
[0066] It should be noted that the multiple fixing plates 4 fix the image acquisition device 2 to ensure the stability and reliability of the image acquisition device 2 in the housing 3. It is understandable that the number of the fixing plates 4 can be determined according to the size of the image acquisition device 2 to ensure sufficient support.
[0067] The axial direction of the image acquisition device 2 refers to the main optical axis direction of the image acquisition device 2, that is, the direction in which the lens or sensor of the image acquisition device 2 points.
[0068] It is understandable that the fixing plate 4 connects the image acquisition device 2 to the housing 3 through an appropriate connection method (such as screws, snaps, adhesive or other mechanical connectors) to ensure that the image acquisition device 2 is firmly installed in the housing 3.
[0069] The plurality of fixing plates 4 are arranged at intervals along the axial direction, and the plurality of fixing plates 4 are evenly distributed in the length direction of the image acquisition device 2. Such arrangement allows each fixing plate 4 to provide stable support at different positions during the activity of the image acquisition device 2, thereby preventing the image acquisition device 2 from shaking in the housing 3, thereby ensuring the accuracy of the image acquisition.
[0070] Furthermore, in this embodiment, the shell 3 is arranged at one end of the mounting seat 1 that is horizontally upward, and the middle part of the shell 3 is connected to the end of the mounting seat 1; the processing mechanism 100 also includes a plurality of fixing frames, and the plurality of fixing frames include a first fixing frame 51, a second fixing frame 52 and a third fixing frame 53, the first fixing frame 51 connects the upper side of the mounting seat 1 and the upper part of the shell 3; the second fixing frame 52 connects the lower side of the mounting seat 1 and the lower part of the shell 3; the third fixing frame 53 connects an end of the mounting seat 1 that is away from the shell 3 and the processing part 10.
[0071] The housing 3 is disposed at one end of the mounting base 1 which is horizontally upward, and the housing 3 is located at one side of the mounting base 1 and is extended vertically relative to the mounting base 1. The middle portion of the housing 3 is connected to the end of the mounting base 1 to ensure a stable connection between the housing 3 and the mounting base 1.
[0072] The first fixing frame 51 connects the upper side of the mounting base 1 and the upper part of the shell 3 to provide additional support to ensure the stability of the shell 3 on the mounting base 1, thereby reducing the shaking of the shell 3 during the processing and helping to improve the accuracy of the image acquisition.
[0073] The second fixing frame 52 connects the lower side of the mounting base 1 and the lower part of the housing 3 and cooperates with the first fixing frame 51 to ensure the stability of the housing 3 in the horizontal direction, thereby improving the stability and reliability of the image acquisition device 2.
[0074] The third fixing frame 53 connects one end of the mounting seat 1 away from the housing 3 and the processing portion 10, and is used to stabilize the position of the processing portion 10. This arrangement ensures the stability of the processing portion 10 during the processing and improves the processing accuracy.
[0075] Furthermore, when the processing portion 10 of the processing mechanism 100 processes the product to be processed, oil may splash upward, which may contaminate the image acquisition device 2 exposed at the opening. In order to avoid contaminating the image acquisition device 2, in the present embodiment, the processing equipment further comprises a driving motor 6 and a baffle 7. The driving motor 6 is mounted on the mounting seat 1 and is disposed beside the image acquisition device 2. The driving motor 6 has an output shaft rotatably disposed around a rotation axis extending in an up-and-down direction. The baffle 7 has a first end and a second end that are disposed opposite to each other in a horizontal direction. The first end of the baffle 7 is connected to the output shaft, and the second end of the baffle 7 has a rotation stroke that rotates around the first end of the baffle 7. The baffle 7 has a first working position that blocks the opening and a second working position that is offset from the opening in its rotation stroke.
[0076] The driving motor 6 is mounted on the mounting base 1 and is located beside the image acquisition device 2. The driving motor 6 has an output shaft that rotates around an axis extending in the up-down direction. The baffle 7 has a first end and a second end that are arranged opposite to each other in the horizontal direction. The first end of the baffle 7 is connected to the output shaft of the driving motor 6 via a connecting portion 8, and the baffle 7 can rotate around the first end.
[0077] The second end of the baffle 7 has a rotation stroke that rotates around the first end, and the baffle 7 can switch between two positions during its rotation stroke: the first working position: the baffle 7 blocks the opening at the bottom of the shell 3 to prevent external impurities from entering or protect the internal components from external interference. The second working position: the baffle 7 is staggered from the opening, allowing the image acquisition device 2 to capture the image of the marking point. In this way, the opening and closing of the baffle 7 are automatically controlled by the drive motor 6, which improves the automation level of the processing equipment and reduces the workload of the operator.
[0078] Furthermore, in this embodiment, the processing equipment further includes a light source 9, which is used to provide supplementary light when the image acquisition device 2 is working. The light source 9 is provided to improve the working effect of the image acquisition device 2. The light source 9 can be an LED lamp, a halogen lamp or other types of lighting equipment, and the specific selection depends on the brightness and color of the required lighting. The light source 9 provides additional lighting when the image acquisition device 2 is working to ensure that the image acquisition device 2 can obtain an image of sufficient brightness, thereby improving the clarity and quality of image acquisition.
[0079] The processing equipment also includes a control device, which is electrically connected to the image acquisition device 2 and the processing part 10. The control device is used to control the processing part 10 to work according to the image acquisition device 2. The control device includes a memory, a processor, and a control program of the processing equipment stored in the memory and executable on the processor. The control program of the processing equipment is configured to implement the steps of the control method of the processing equipment.
[0080] The embodiment of the present invention provides a control method for a processing device, referring to Figure 5 , Figure 5 The present invention is a flowchart of a control method for processing equipment according to an embodiment of the present invention.
[0081] The control method of the processing equipment comprises the following steps:
[0082] Step S10, obtaining a product image of the product to be processed which is located on the tooling and has marking points, which is captured by the image capture device 2;
[0083] It should be noted that the image acquisition device 2 generally refers to a device such as a camera or a scanner, which is used to capture the image of the product to be processed placed on a tooling (ie, a fixture or a fixture).
[0084] The marking points are some specific marks pre-set on the product to be processed. These marks can be physical marks or patterns, which are used as reference points to help the system identify the position and direction of the product.
[0085] It should also be noted that the tooling is mounted on the machine base and carries at least one product to be processed. When the product to be processed needs to be processed, the positions of the product to be processed and the processing mechanism 100 in the X and Y directions need to be determined, and the processing station of the processing mechanism 100 needs to correspond to the position on the product to be processed that needs to be processed.
[0086] In order to facilitate the confirmation of the position of the product to be processed, a marking point on the product to be processed may be identified as a reference point, and the position of the marking point may indirectly reflect the overall position of the product to be processed.
[0087] Step S20, determining the actual position of the marking point on the product to be processed according to the product graphic;
[0088] It is understandable that the image obtained in step S10 is analyzed using an image processing algorithm to find the pre-set marking points.
[0089] Since the processing position of the processing mechanism 100 can correspond to the position on the product to be processed that needs to be processed, first, the control device stores the theoretical processing position where the processing mechanism 100 should be located when the marking point on the product to be processed is in the theoretical position. However, due to the manufacturing tolerance of parts, when the product to be processed is placed on the tooling, the product to be processed is not necessarily in the theoretical position, so the marking point on the product to be processed is not necessarily in the theoretical position.
[0090] Then, the image acquisition device 2 is used to acquire an image of the product to be processed carried on the tooling, and an image processing algorithm is applied to identify the position of the marking point, such as edge detection, template matching or feature extraction. The pixel coordinates in the image are converted into physical coordinates in the actual coordinate system, so that the actual position of the product to be processed can be obtained.
[0091] Step S30, calculating the deviation between the actual position and the theoretical position as a compensation value;
[0092] It should be noted that the actual position refers to the position of the mark point in the current image obtained through image processing; the theoretical position refers to the ideal position preset in the design or programming stage. The compensation value is the deviation between the actual position and the theoretical position, and a value is calculated based on this to adjust the subsequent processing actions to reduce the error. The deviation between the actual position and the theoretical position of the mark point is calculated, and this deviation is usually expressed as the displacement in the X and Y directions.
[0093] When the marking point is at the theoretical position, the corresponding theoretical processing parameters of the processing mechanism 100 correspond to it. When a deviation is detected between the actual position and the theoretical position of the marking point, the processing mechanism 100 also needs to compensate a certain compensation value and adjust its actual processing parameters.
[0094] Step S40: compensating the processing parameters according to the compensation value, and controlling the processing equipment to process the product to be processed according to the compensated processing parameters.
[0095] It should be noted that the processing parameters refer to variables that affect the processing process, such as speed, feed rate, processing path, etc. "Compensating the processing parameters according to the compensation value" is to adjust the processing parameters based on the compensation value calculated in step S30 to make the processing process more accurate. Control the processing equipment: according to the adjusted processing parameters, drive the processing equipment to perform specific processing operations.
[0096] According to this deviation value, the processing mechanism 100 also needs to be adjusted synchronously according to the deviation value. Therefore, the actual working parameters of the processing mechanism 100 need to be adjusted synchronously with the compensation value corresponding to the deviation value.
[0097] In this embodiment, when the product to be processed is not in the theoretical position, the image recognition technology of the marking points on the product to be processed is used to determine the actual position of the product to be processed, and the processing parameters of the processing mechanism 100 are accurately compensated through an automatic compensation mechanism, thereby improving the processing accuracy and efficiency.
[0098] If a plurality of products to be processed are placed at intervals on the tooling, it is necessary to accurately determine the position of each product to be processed when processing each product to be processed, and it is also necessary to adjust the processing mechanism 100 to a suitable processing position. If the processing mechanism 100 moves equidistantly from the previous processing station to the next processing station, it is necessary to compare the theoretical position for each product to be processed and then calculate the compensation value, which is inefficient.
[0099] In one possible implementation, refer to Figure 6 , a plurality of products to be processed are arranged on the tooling, and the plurality of products to be processed include a first product to be processed and a second product to be processed;
[0100] Step S20 may include step A21:
[0101] Step A21, acquiring actual positions on the first product to be processed and the second product to be processed according to the product image;
[0102] It should be noted that, since there are multiple products to be processed on the tooling, it is necessary to determine the position of the marking point of each product separately, so that the actual position of each product can be determined independently.
[0103] The product images are analyzed by image processing technology to identify and determine the actual positions of the marking points on the first product to be processed and the second product to be processed. The actual positions refer to the coordinate positions of the marking points in the image.
[0104] Step S30 may include steps A31-A32:
[0105] Step A31, calculating the deviation between the actual position and the theoretical position of the marking point on the first product to be processed as a first compensation value;
[0106] It should be noted that the first product to be processed refers to the first product to be processed on the tooling. The first compensation value is a compensation value determined according to the deviation between the actual position and the theoretical position of the marking point on the first product to be processed, and is used for subsequent processing parameter adjustment.
[0107] Step A32, calculating the difference between the actual relative position of the marking point on the second product to be processed and the marking point on the first product to be processed and the theoretical relative position as a second compensation value;
[0108] It should be noted that the second product to be processed refers to the second product to be processed on the tooling. The actual relative position refers to the actual distance and angle relationship between the marking point on the second product to be processed and the marking point on the first product to be processed. The theoretical relative position is the ideal distance and angle relationship that should exist between the marking point on the second product to be processed and the marking point on the first product to be processed according to design or preset. The difference is the difference between the actual relative position and the theoretical relative position. The second compensation value is a compensation value calculated based on the above difference, which is used to adjust the processing parameters of the second product to be processed.
[0109] In this embodiment, first, the marking point on the first product to be processed is identified by image processing technology, and the deviation value between its actual position and theoretical position is calculated. The deviation value is used as the first compensation value for subsequent adjustment of the processing parameters of the first product to be processed. Then, the actual relative position between the marking point on the second product to be processed and the marking point on the first product to be processed is calculated, and compared with the theoretical relative position, and the difference between the two is calculated. The difference is used as the second compensation value for adjusting the processing parameters of the second product to be processed. Because the first compensation value is used to compensate for the deviation between the actual position and the theoretical position of the product, and the second compensation value is used to compensate for the deviation of the relative position between the two products, the second processing parameter needs to be used for subsequent processing parameter adjustment based on the first compensation value and the second compensation value to ensure that each product to be processed can be accurately processed.
[0110] Step S40 may include steps A41-A42:
[0111] Step A41, compensating a first processing parameter according to the first compensation value, and compensating a second processing parameter according to the first compensation value and the second compensation value;
[0112] It should be noted that, firstly, the processing parameters of the first product to be processed are adjusted according to the first compensation value to reduce the deviation between the actual position and the theoretical position of the marking point on the first product to be processed. Secondly, in addition to using the first compensation value to adjust the processing parameters of the second product to be processed, the second compensation value, that is, the difference between the actual relative position and the theoretical relative position of the second product to be processed relative to the first product to be processed, needs to be considered. In this way, it can be ensured that the processing parameters of the second product to be processed are also appropriately adjusted to adapt to the relative position deviation between the two products.
[0113] Step A42: Control the processing equipment to process the first product to be processed according to the compensated first processing parameter, and control the processing equipment to process the second product to be processed according to the compensated second processing parameter.
[0114] It should be noted that the first processing parameters are processing parameters related to the first product to be processed, such as speed, feed rate, etc.; the second processing parameters are processing parameters related to the second product to be processed, such as speed, feed rate, etc.
[0115] According to the compensated first processing parameter and the second processing parameter, the processing equipment is controlled to process the first product to be processed and the second product to be processed respectively, so that the processing equipment can be dynamically adjusted according to the specific position deviation of each product to be processed, thereby improving the processing accuracy.
[0116] In this embodiment, image recognition technology is used to determine the position deviation of the first product to be processed, and the first compensation value is calculated according to the first deviation, and then the first processing parameter is adjusted to improve the processing accuracy. For multiple products to be processed, the method first determines a compensation value (based on the first product) and then applies it to other products to reduce repeated calculation work and improve processing efficiency, so as to be suitable for mass production environments requiring high precision and high efficiency.
[0117] Reference Figure 7 , Figure 7 The figure is a schematic diagram of the structure of the control device of the hardware operating environment involved in the embodiment of the present invention.
[0118] Reference below Figure 7 , which shows a schematic diagram of the structure of a control device suitable for implementing an embodiment of the present application. The control device in the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The control device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0119] like Figure 7As shown, the control device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the control device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the control device to communicate with other devices wirelessly or by wire to exchange data. Although the control device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0120] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0121] The control device provided by the present application adopts the control method of the control device in the above embodiment, which can solve the technical problem of low efficiency. Compared with the prior art, the beneficial effects of the control device provided by the present application are the same as the beneficial effects of the control method of the control device provided by the above embodiment, and other technical features in the control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0122] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0123] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0124] The above description is only an exemplary embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention and the drawings under the technical concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A control method for processing equipment, It is characterized in that The control method of the processing equipment comprises the following steps: Acquire a product image of a product to be processed which is located on a tool and has marking points thereon, captured by an image acquisition device; Determining the actual position of the marking point on the product to be processed according to the product graphic; Calculating a deviation between the actual position and the theoretical position as a compensation value; The processing parameters are compensated according to the compensation value, and the processing equipment is controlled to process the product to be processed according to the compensated processing parameters.
2. The control method of the processing equipment according to claim 1, It is characterized in that The tooling is provided with a plurality of products to be processed, wherein the plurality of products to be processed include a first product to be processed and a second product to be processed; The step of determining the actual position of the marking point on the product to be processed according to the product graphic comprises: According to the product image, actual positions on the first product to be processed and the second product to be processed are acquired.
3. The control method of the processing equipment according to claim 2, It is characterized in that The step of calculating the deviation value between the actual position and the theoretical position as a compensation value comprises: Calculating a deviation between an actual position and a theoretical position of the marking point on the first product to be processed as a first compensation value; Calculating a difference between an actual relative position of the marking point on the second product to be processed and the marking point on the first product to be processed and a theoretical relative position as a second compensation value; The step of compensating the processing parameters according to the compensation value, and controlling the processing equipment to process the product to be processed according to the compensated processing parameters, comprises: Compensating a first processing parameter according to the first compensation value, and compensating a second processing parameter according to the first compensation value and the second compensation value; The processing equipment is controlled to process the first product to be processed according to the compensated first processing parameter, and the processing equipment is controlled to process the second product to be processed according to the compensated second processing parameter.
4. A processing device, It is characterized in that The processing equipment includes: A machine base, on which a tooling for carrying a plurality of products to be processed is arranged; a processing mechanism, which can be movably mounted on the machine base, and includes a mounting seat, and a processing portion and an image acquisition device mounted on the mounting seat, wherein the processing portion is used to process each product to be processed carried on the tooling, and the image acquisition device is used to acquire a product image of the product to be processed which is located on the tooling and has a marking point; and A control device is electrically connected to the image acquisition device and the processing unit, and is used to control the operation of the processing unit according to the image acquisition device. The control device includes a memory, a processor, and a control program for the processing equipment stored in the memory and executable on the processor. The control program for the processing equipment is configured to implement the steps of the control method for the processing equipment as described in any one of claims 1 to 3.
5. The processing equipment according to claim 4, It is characterized in that The image acquisition device includes a CCD sensor.
6. The processing equipment according to claim 4, It is characterized in that The processing mechanism further comprises a shell mounted on the mounting seat, and an opening is provided at the bottom of the shell; The image acquisition device is arranged in the shell and corresponds to the opening.
7. The processing equipment according to claim 6, It is characterized in that The processing mechanism further includes a plurality of fixing plates disposed in the shell, the plurality of fixing plates being arranged at intervals along the axial direction of the image acquisition device, and each of the fixing plates connecting the image acquisition device and the shell.
8. The processing equipment according to claim 7, It is characterized in that The shell is arranged at one end of the mounting seat which is horizontally upward, and the middle part of the shell is connected to the end of the mounting seat; The processing mechanism further comprises a plurality of fixed frames, and the plurality of fixed frames comprises: A first fixing frame, connecting the upper side of the mounting seat and the upper part of the housing; a second fixing frame connecting the lower side of the mounting seat and the lower part of the housing; and The third fixing frame connects an end portion of the mounting seat away from the shell and the processing portion.
9. The processing equipment according to claim 6, It is characterized in that The processing equipment also includes: A driving motor is mounted on the mounting seat and disposed beside the image acquisition device, wherein the driving motor has an output shaft rotatably disposed around a rotation axis extending vertically; and The baffle has a first end and a second end that are arranged opposite to each other in the horizontal direction, the first end of the baffle is connected to the output shaft, the second end of the baffle has a rotation stroke that rotates around the first end of the baffle, and the baffle has a first working position that blocks the opening and a second working position that is offset from the opening during its rotation stroke.
10. The processing equipment according to claim 4, It is characterized in that The processing equipment also includes a light source, which is used to provide supplementary light when the image acquisition device is working.
Citation Information
Cited By
Workpiece compensation machining method, numerical control machine tool, storage medium and program product
CN122194846A
