Object grabbing control method, device, computer equipment, readable storage medium and program product
The image data of the semiconductor device is acquired through the image acquisition component, and combined with the position compensation data, high-precision object capture is achieved, which solves the problem of low capture accuracy in the existing technology and improves the accuracy and reliability of detection.
Patent Information
- Application Number
- CN202410865276.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-01
AI Technical Summary
In the process of semiconductor device inspection, it is difficult to achieve high-precision object grasping with existing technology, which often results in missing objects or inaccurate placement, affecting the accuracy of the inspection results.
The image data of the target object is obtained through the image acquisition component, and the target grabbing position is determined based on the difference between the preset reference position and the placement position, and the position compensation data is used to accurately grab the object to ensure grabbing accuracy and reliability.
It improves the accuracy and efficiency of grabbing semiconductor devices, reduces the problem of inaccurate detection results caused by grabbing deviations, and is suitable for a variety of application scenarios.
Smart Images

Figure CN118397097B
Abstract
Description
Technical Field
[0001] The present application relates to the field of semiconductor testing technology, and in particular to a control method, device, computer equipment, computer-readable storage medium and computer program product for object grasping. Background Art
[0002] With the progress and development of science and technology, the performance requirements for semiconductor devices are getting higher and higher. Therefore, in the performance testing stage of semiconductor devices, the requirements for testing accuracy are also getting higher and higher. Since semiconductor devices are usually small in size and require high testing accuracy, the accuracy of the device grabbing position is required to be high during testing.
[0003] In the related art, when grabbing semiconductor devices, the grabbing assembly is controlled to directly grab the semiconductor devices according to the pre-set position of the semiconductor devices, and the semiconductor devices are placed in the inspection area for inspection. However, this method may cause the semiconductor devices to be missed or placed in an inaccurate position, resulting in low semiconductor device grabbing accuracy. Summary of the invention
[0004] Based on this, it is necessary to provide a control method, device, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy and efficiency of object grasping in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for controlling object grasping, the method being applied to a controller, the controller being electrically connected to an image acquisition component and a grasping component, the method comprising:
[0006] Determine a target photographing position corresponding to a target cavity where the target object is placed according to the position distribution data of the cavity in the target platform and the target object placement data corresponding to the cavity;
[0007] Controlling the image acquisition component to move to the target photographing position to obtain image data of the target object, wherein the image data includes the placement position of the target object in the target cavity;
[0008] Determine a target grabbing position corresponding to the target cavity according to a preset reference position, the placement position, and the target photographing position;
[0009] The grabbing component is controlled to move to the target grabbing position to grab the target object.
[0010] In one embodiment, determining the target grabbing position corresponding to the target cavity according to the preset reference position, the placement position, and the target photographing position includes:
[0011] determining position compensation data according to a difference between a preset reference position and the placement position;
[0012] The target grasping position corresponding to the target cavity is determined according to the position compensation data and the target photographing position.
[0013] In one embodiment, determining the target grasping position corresponding to the target cavity according to the position compensation data and the target photographing position includes:
[0014] Acquiring relative position data between the image acquisition component and the grasping component;
[0015] The target grasping position corresponding to the target cavity is determined according to the relative position data, the target photographing position, and the position compensation data.
[0016] In one embodiment, the method for acquiring the location distribution data includes:
[0017] Acquire initial position data of a reference cavity in the target platform and cavity spacing data corresponding to the target platform;
[0018] According to the initial position data and the cavity spacing data, position distribution data of the cavities in the target platform are determined, and the position distribution data includes the position data of the cavities.
[0019] In one embodiment, determining the target photographing position corresponding to the target cavity where the target object is placed according to the position distribution data of the cavity in the target platform and the target object placement data corresponding to the cavity includes:
[0020] Determining a target cavity in which the target object is placed according to target object placement data corresponding to the cavity in the target platform;
[0021] According to the position distribution data of the target cavity in the target platform, a target photographing position corresponding to the target cavity is determined.
[0022] In one embodiment, determining the target photographing position corresponding to the target cavity according to the position distribution data of the target cavity in the target platform includes:
[0023] Acquiring working status information of the image acquisition component;
[0024] A target photographing position corresponding to the target cavity is determined according to the working status information and the position distribution data of the target cavity.
[0025] In a second aspect, the present application further provides a control device for object grasping, the device is applied to a controller, the controller is electrically connected to an image acquisition component and a grasping component, and the device comprises:
[0026] A first determination module is used to determine a target photographing position corresponding to a target cavity where a target object is placed according to position distribution data of cavities in a target platform and target object placement data corresponding to the cavities;
[0027] An acquisition module, used for controlling the image acquisition component to move to the target photographing position to acquire image data of the target object, wherein the image data includes a placement position of the target object in the target cavity;
[0028] A second determination module is used to determine a target grabbing position corresponding to the target cavity according to a preset reference position, the placement position, and the target photographing position;
[0029] The control module is used to control the grabbing component to move to the target grabbing position to grab the target object.
[0030] In one embodiment, the second determining module includes:
[0031] A first determination submodule, configured to determine position compensation data according to a difference between a preset reference position and the placement position;
[0032] The second determination submodule is used to determine the target grabbing position corresponding to the target cavity according to the position compensation data and the target photographing position.
[0033] In one embodiment, the second determining submodule includes:
[0034] A first acquisition unit, used for acquiring relative position data between the image acquisition component and the grabbing component;
[0035] The first determining unit is used to determine the target grasping position corresponding to the target cavity according to the relative position data, the target photographing position, and the position compensation data.
[0036] In one embodiment, the device further includes a module for acquiring the position distribution data, and the module for acquiring the position distribution data includes:
[0037] An acquisition submodule, used to acquire initial position data of the reference cavity in the target platform and cavity spacing data corresponding to the target platform;
[0038] The third determination submodule is used to determine the position distribution data of the cavities in the target platform according to the initial position data and the cavity spacing data, wherein the position distribution data includes the position data of the cavities.
[0039] In one embodiment, the first determining module includes:
[0040] A fourth determination submodule is used to determine a target cavity where the target object is placed according to the target object placement data corresponding to the cavity in the target platform;
[0041] The fifth determination submodule is used to determine the target photographing position corresponding to the target cavity according to the position distribution data of the target cavity in the target platform.
[0042] In one embodiment, the fifth determining submodule includes:
[0043] A second acquisition unit, used to acquire the working status information of the image acquisition component;
[0044] The second determining unit is used to determine the target photographing position corresponding to the target cavity according to the working state information and the position distribution data of the target cavity.
[0045] In a third aspect, an embodiment of the present disclosure further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the embodiments of the present disclosure are implemented.
[0046] In a fourth aspect, the embodiments of the present disclosure further provide a computer-readable storage medium, wherein a computer program is stored thereon, and when the computer program is executed by a processor, the steps of any one of the methods in the embodiments of the present disclosure are implemented.
[0047] In a fifth aspect, the embodiments of the present disclosure further provide a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the embodiments of the present disclosure are implemented.
[0048] In the object grasping control method, device, computer equipment, computer-readable storage medium and computer program product, the controller is electrically connected to the image acquisition component and the grasping component. When grasping the target object, the target photographing position corresponding to the target cavity where the target object is placed is determined according to the position distribution data of the cavity in the target platform and the target object placement data corresponding to the cavity, the image acquisition component is controlled to move to the target photographing position to acquire the image data of the target object, the target grasping position is determined based on the preset reference position, the placement position in the image data and the target photographing position, and the grasping component is controlled to move to the target grasping position to grasp the target object, thereby grasping the target object; the image data of the target object is quickly and accurately acquired by the image acquisition component, and the target object is accurately positioned based on visual information, so that the target grasping position can be determined based on the preset reference position, the placement position of the target object and the target photographing position, and the difference between the preset reference position and the placement position can be taken into account to perform position deviation compensation processing to avoid grasping errors caused by direct grasping at different preset reference positions and placement positions, thereby ensuring the accuracy of the obtained target grasping position, improving the accuracy and reliability of grasping the target object, and being suitable for more application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A schematic diagram of a flow chart of a method for controlling object grabbing in one embodiment;
[0051] Figure 2 is a schematic diagram of the position distribution of cavities in a target platform in one embodiment;
[0052] Figure 3 is a flow chart of a control method for object grabbing in another embodiment;
[0053] Figure 4 is a flow chart of a control method for object grabbing in another embodiment;
[0054] Figure 5 is a schematic diagram of the structure of an object grabbing device in one embodiment;
[0055] Figure 6 is a flow chart of a control method for object grabbing in another embodiment;
[0056] Figure 7 is a structural block diagram of a control device for object grasping in one embodiment;
[0057] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0059] In one embodiment, Figure 1 As shown, a control method for object grabbing is provided, the method is applied to a controller, the controller is electrically connected to an image acquisition component and a grabbing component, in this embodiment, the method comprises the following steps:
[0060] Step S110, determining a target photographing position corresponding to a target cavity where a target object is placed, according to the position distribution data of the cavities in the target platform and the target object placement data corresponding to the cavities;
[0061] In the embodiment of the present disclosure, the controller is electrically connected to the image acquisition component and the gripping component respectively, and the controller can be used to control the image acquisition component to acquire image data, control the movement of the image acquisition component, etc.; the controller can also be used to control the gripping component to grip the target object, control the movement of the gripping component, etc. The image acquisition component can include a camera, etc., and the gripping component can be in the form of a nozzle, a clamping form, etc., and the present disclosure does not limit this.
[0062] In one example, the image acquisition component may include one or more, and the grasping component may include one or more.
[0063] The target object may be an object that needs to be captured and placed in the corresponding detection area for detection. The target object may include but is not limited to semiconductor devices, electronic components, mechanical parts, etc. Semiconductor devices may include but are not limited to various chips, semiconductor connectors, etc., which can be determined based on the actual application scenario.
[0064] The target platform may be a platform for placing the target object. The target platform may be configured in a tray form, a stand box form, etc., which may be configured according to the actual application scenario. A cavity may be configured in the target platform, and the cavity may be used to place the target object. In one example, the cavity may be configured based on the shape and size of the target object. One or more target objects may be placed in a cavity.
[0065] Figure 2is a schematic diagram showing the position distribution of cavities in a target platform according to an exemplary embodiment, with reference to Figure 2 As shown, starting from the upper left corner, sort each cavity. Each cavity with a target object is assigned a value of 1, and without a target object is assigned a value of 0. In an example, a loop instruction can be used to start judging from the cavity with sequence number 1. When the value is 1, the sequence number corresponding to the cavity can be determined as the starting number, and its corresponding position information can be determined.
[0066] The position distribution data of the cavities may include but are not limited to the row spacing between the cavities, the column spacing between the cavities, etc.; the target object placement data corresponding to the cavities may include but are not limited to whether a target object is placed in the cavity, the number of target objects placed in the cavity, etc., which can be determined based on the actual application scenario. In one example, the target object placement data corresponding to the cavity can be determined by the value corresponding to the cavity, where a target object is assigned a value of 1, and no target object is assigned a value of 0.
[0067] According to the position distribution data and the target object placement data, the target photographing position corresponding to the target cavity where the target object is placed can be determined. Exemplarily, since the target object needs to be captured, when taking photos, the cavity where the target object is placed can be photographed, the cavity position can be determined based on the position distribution data, and the cavity where the target object is placed can be determined based on the target object placement data. Therefore, according to the position distribution data and the target object placement data, the target photographing position corresponding to the target cavity where the target object is placed can be determined.
[0068] Step S120, controlling the image acquisition component to move to the target photographing position to obtain image data of the target object, wherein the image data includes the placement position of the target object in the target cavity;
[0069] Exemplarily, the image acquisition component is controlled to move to a target photographing position. In one example, when the image acquisition component moves to the target photographing position, the image acquisition component can acquire image data of a target cavity corresponding to the target photographing position.
[0070] In one example, the image acquisition component can be driven by a mechanical arm, and according to the mechanical arm point corresponding to the target photographing position, the mechanical arm can be controlled to drive the image acquisition component to move. The target photographing position may include one or more. In one example, the image acquisition component may include one or more. When collecting image data, multiple image acquisition components can be synchronously controlled to collect multiple target objects respectively.
[0071] Optionally, the image data includes a placement position of the target object in the target cavity. For example, based on the image data, the target object and the target cavity can be determined, thereby obtaining the placement position of the target object in the target cavity. In one example, the placement position of the target object in the target cavity can be the relative position of the target object relative to the target cavity.
[0072] In one example, when the image acquisition component acquires image data, the cavity where no target object is placed is ignored and no image acquisition processing is performed.
[0073] In some possible implementations, there may be multiple cavities on the target platform, and the number of image acquisitions may be determined according to the number of image acquisition components and the number of target cavities. When acquiring image data, the image acquisition components are controlled to move to corresponding positions for acquisition according to the number of times until the acquisition of images of all target cavities is completed.
[0074] Step S130, determining a target grabbing position corresponding to the target cavity according to a preset reference position, the placement position, and the target photographing position;
[0075] Exemplarily, the preset reference position may be a theoretical position of the target object in the target cavity, that is, the position of the target object in the target cavity without the influence of factors such as position deviation. The deviation of the placement of the target object in the actual application scenario can be determined based on the preset reference position and the placement position.
[0076] In one example, the theoretical position of the grasping component grasping the target object can be determined according to the target photographing position, and the target grasping position corresponding to the target cavity can be determined in combination with the preset reference position and the placement position.
[0077] Step S140, controlling the grabbing component to move to the target grabbing position to grab the target object.
[0078] Exemplarily, when the gripping component moves to the target gripping position, it can be used to grip the target object in the target cavity. In one example, when the gripping component moves to the target gripping position, it can first move above the target object and then move down to grip the target object. The method of gripping the target object may include but is not limited to suction by a nozzle, clamping by a clamping tool, etc., which can be determined according to the actual application scenario.
[0079] In one example, after grabbing the target object, the grabbing component can be controlled to move the target object to a corresponding detection area and place it in a detection cavity corresponding to the target object to implement subsequent processing such as performance detection of the target object.
[0080] The disclosed embodiment provides a control method for object grabbing applied to a controller, wherein the controller is electrically connected to an image acquisition component and a grabbing component. When grabbing a target object, a target photographing position corresponding to a target cavity where the target object is placed is determined according to position distribution data of a cavity in a target platform and placement data of the target object corresponding to the cavity, the image acquisition component is controlled to move to the target photographing position to acquire image data of the target object, a target grabbing position is determined based on a preset reference position, a placement position in the image data, and a target photographing position, and the grabbing component is controlled to move to the target grabbing position to grab the target object, thereby achieving grabbing of the target object; the image data of the target object is quickly and accurately acquired through the image acquisition component, and accurate positioning of the target object is achieved based on visual information, so that the target grabbing position can be determined based on the preset reference position, the placement position of the target object, and the target photographing position, and the difference between the preset reference position and the placement position can be taken into account to perform position deviation compensation processing, thereby avoiding grabbing errors caused by direct grabbing at different preset reference positions and placement positions, thereby ensuring the accuracy of the obtained target grabbing position, improving the accuracy and reliability of grabbing the target object, and being applicable to more application scenarios.
[0081] In one embodiment, Figure 3 As shown, the method of determining the target grabbing position corresponding to the target cavity according to the preset reference position, the placement position, and the target photographing position includes:
[0082] Step S131, determining position compensation data according to a difference between a preset reference position and the placement position;
[0083] Step S132, determining the target grasping position corresponding to the target cavity according to the position compensation data and the target photographing position.
[0084] Exemplarily, the preset reference position may be a theoretical position of the target object in the target cavity, and the placement position may be an actual position of the target object in the target cavity. According to the difference between the preset reference position and the placement position, the position compensation data may be determined. In one example, the position compensation data may include but is not limited to position difference compensation data and angle difference compensation data. In one example, the position compensation data may be determined based on the difference between the placement position and the preset theoretical position.
[0085] After determining the position compensation data, the target photographing position is adjusted and compensated according to the position compensation data to determine the target grasping position corresponding to the target cavity. In one example, the target photographing position can be adjusted according to the positional relationship between the image acquisition component and the grasping component to obtain the theoretical grasping position of the grasping component corresponding to the target photographing position, and the theoretical grasping position is adjusted based on the position compensation data to determine the target grasping position corresponding to the target cavity.
[0086] The embodiments of the present disclosure can determine position compensation data based on the difference between a preset reference position and a placement position, and determine a target grasping position based on the position compensation data and a target photographing position, thereby being able to compensate for position deviations based on the preset reference position and an actual placement position determined by image data, thereby ensuring the accuracy of the determined target grasping position, achieving efficient and precise object grasping, and being suitable for more application scenarios.
[0087] In one embodiment, determining the target grabbing position corresponding to the target cavity according to the position compensation data and the target photographing position includes:
[0088] Acquiring relative position data between the image acquisition component and the grasping component;
[0089] The target grasping position corresponding to the target cavity is determined according to the relative position data, the target photographing position, and the position compensation data.
[0090] Exemplarily, the relative position between the image acquisition component and the grasping component can be set to be fixed, for example, the image acquisition component and the grasping component are set on the same robotic arm, etc.
[0091] Acquire the relative position data between the image acquisition component and the gripping component. It can be understood that, when there are multiple image acquisition components and gripping components, determine the relative position data between the image acquisition component and the gripping component that process the same target cavity. In one example, the relative position data between the image acquisition component and the gripping component may include but is not limited to the distance between the image acquisition component and the gripping component.
[0092] Optionally, the image acquisition component acquires images through a camera, and the grasping component sucks the target object through a nozzle, and the relative position data between the image acquisition component and the grasping component may include the relative position data between the camera and the nozzle, such as the distance between the camera and the nozzle.
[0093] In one example, the theoretical grasping position corresponding to the grasping component can be determined based on the relative position data and the target photo position. Under the theoretical grasping position, the grasping component can accurately grasp the target object under the preset reference position. Taking into account the position deviation and other conditions in the actual application scenario, the theoretical grasping position is adjusted in combination with the position compensation data to obtain the target grasping position corresponding to the target cavity.
[0094] In some possible implementations, the image acquisition component may include multiple components, and the relative position data between different image acquisition components and the grabbing components are different. In one example, there is a preset association relationship between the image acquisition component and the grabbing component, wherein the association relationship can be set according to the positions of the image acquisition component and the grabbing component in the device, and one image acquisition component can correspond to one or more grabbing components. Optionally, the relative position data can be the relative position data between the image acquisition component and the corresponding grabbing component.
[0095] In the disclosed embodiment, when determining the target grasping position, the target grasping position corresponding to the target cavity is determined based on the relative position data between the image acquisition component and the grasping component, the target shooting position, and the position compensation data. Taking into account the relative position relationship between the image acquisition component and the grasping component, the target grasping position corresponding to the target cavity is directly determined, thereby ensuring the accuracy and reliability of the target grasping position, thereby improving the accuracy and efficiency of grasping the target object.
[0096] In one embodiment, Figure 4 As shown, the method for obtaining the location distribution data includes:
[0097] Step S410, obtaining initial position data of the reference cavity in the target platform and cavity spacing data corresponding to the target platform;
[0098] Step S420: determining position distribution data of the cavities in the target platform according to the initial position data and the cavity spacing data, wherein the position distribution data includes the position data of the cavities.
[0099] Exemplarily, a plurality of cavities may be provided on the target platform, and when determining the position distribution data, the position distribution data of the cavities may be determined based on the initial position data of the reference cavity. In one example, the reference cavity may be set as the cavity that the image acquisition component first acquires when acquiring image data. The reference cavity may include one or more cavities, which may be determined based on the actual application scenario.
[0100] In one example, the initial position data of the reference cavity may include but is not limited to the coordinate data of the reference cavity, the relative position data of the reference cavity on the target platform, etc. The cavity spacing data corresponding to the target platform may include but is not limited to the row spacing data of the cavity, the column spacing data of the cavity, etc., which may be determined based on the actual application scenario. The cavity spacing data may be determined based on the size information of the target platform, etc.
[0101] According to the initial position data of the reference cavity and the cavity spacing data, the position data of other cavities on the target platform can be determined, thereby obtaining the position distribution data of the cavities. Exemplarily, the position distribution data includes the position data of the cavities, different cavities correspond to different position data, and the position distribution data of the cavities may include the position data of multiple cavities.
[0102] The disclosed embodiment can accurately obtain the position distribution data of the cavities in the target platform based on the initial position data of the reference cavity and the cavity spacing data. The implementation is simple and takes the arrangement of the cavities into consideration. There is no need to determine the positions of the cavities in the target platform one by one, which improves the efficiency of obtaining the position distribution data and ensures the accuracy and reliability of the position distribution data.
[0103] In one embodiment, determining the target photographing position corresponding to the target cavity where the target object is placed according to the position distribution data of the cavity in the target platform and the target object placement data corresponding to the cavity includes:
[0104] Determining a target cavity in which the target object is placed according to target object placement data corresponding to the cavity in the target platform;
[0105] According to the position distribution data of the target cavity in the target platform, a target photographing position corresponding to the target cavity is determined.
[0106] Exemplarily, when determining the target photographing position, first determine the target cavity in which the target object is placed according to the target object placement data corresponding to the cavity in the target platform. In one example, it can be determined whether the target object is placed in the cavity according to the target object placement data. In this embodiment, the target object is captured, so the cavity in which the target object is placed is the target cavity that needs to be captured.
[0107] The position distribution data of the cavity in the target platform may include the position distribution data of multiple cavities. Optionally, after determining the target cavity, the cavity without the target object may no longer be concerned, and the position distribution data of the target cavity in the target platform may be obtained. According to the position distribution data of the target object, the target photographing position corresponding to the target cavity is determined.
[0108] In one example, the target photographing position can be determined based on the position data of the target cavity. For example, the position data required for the image acquisition device to move to the top of the target cavity to acquire image data, i.e., the target photographing position, can be determined based on the position data of the target cavity.
[0109] The disclosed embodiments determine the target cavity according to the target object placement data of the cavity in the target platform, and determine the target photographing position according to the position distribution data of the target cavity in the target platform. The target cavity that needs to be grasped for object grasping can be determined according to whether the target object is placed in the cavity in the actual application scenario, and the target photographing position corresponding to the target cavity can be determined. When taking pictures, only image data corresponding to the target cavity is obtained, which further improves the efficiency of grasping position determination, thereby quickly and accurately grasping the target object.
[0110] In one embodiment, determining the target photographing position corresponding to the target cavity according to the position distribution data of the target cavity in the target platform includes:
[0111] Acquiring working status information of the image acquisition component;
[0112] A target photographing position corresponding to the target cavity is determined according to the working status information and the position distribution data of the target cavity.
[0113] Exemplarily, multiple image acquisition components may be provided, and when grasping an object, the working state of the image acquisition component may be on or off. In one example, the detection cavity of the detection area may be set as a shielding cavity, that is, no detection is performed, and at this time, the working state of the corresponding grasping component and the corresponding image acquisition component may be adjusted to a closed state.
[0114] The target photographing position corresponding to the target cavity is determined according to the working state information and the position distribution data of the target cavity. Optionally, the image acquisition component in the turned-on state can be determined according to the working state information, and the target photographing position is determined according to the corresponding position when the image acquisition component in the turned-on state moves to the top of the target cavity to collect image data.
[0115] In one example, different image acquisition components may correspond to different target photographing positions, which may be specifically determined according to actual application scenarios.
[0116] In the disclosed embodiment, when determining the target photographing position, the target photographing position corresponding to the target cavity is determined according to the working status information of the image acquisition component and the position distribution data of the target cavity. The target photographing position can be adaptively adjusted according to the working status of the image acquisition component to avoid affecting the efficiency and accuracy of image data acquisition due to the working status of the image acquisition component, and is suitable for more application scenarios.
[0117] Figure 5 FIG. 1 is a schematic diagram of a structure of an object grasping device according to an exemplary embodiment. Figure 5 As shown, the object grasping device 500 includes a mounting frame 510, an image acquisition component 520, and a grasping component 530, wherein the grasping component 530 includes a driving component 531 and a suction component 532. In one example, the suction component can be configured as a suction nozzle.
[0118] Figure 6 FIG. 1 is a flow chart of a control method for grasping an object according to an exemplary embodiment. Figure 6 As shown, the target platform on which the target object is placed is transported to the unloading position by the loading mechanism. After the unloading preparation is completed, the target photographing position and the number of photographing times are determined according to the target object placement data corresponding to the cavity in the target platform and the position distribution data of the cavity. The image data of the target object is acquired, and the position compensation data is determined. According to the target photographing position and the position compensation data, the target grasping position and the target grasping number are determined. The target object is grasped according to the target grasping position and the target grasping number. In one example, if an abnormality occurs, the image data is collected again, and a new target grasping position is determined, and the grasping action of the target object is executed. If the abnormality still exists, the target object that needs to be grasped at present is skipped, and the grasping of the next target object is executed. Exemplarily, after the grasping component grasps the target object, the target object is placed in the corresponding detection area for subsequent performance detection of the target object.
[0119] In one possible implementation, the image acquisition component and the gripping component are arranged on a robotic arm. When determining the target gripping position, the image data is first bound to the robotic arm coordinate system. In one example, this can be achieved by a nine-point calibration method. When the gripping component is fixed to the robotic arm, the robotic arm point P1 and the gripping component angle T1 are recorded. The gripping component may include a nozzle. Determine the point P2 of the robotic arm when the image acquisition component moves to the current position of the gripping component. Determine the relative position data between the gripping component and the image acquisition component, that is, the distance Dist_N2C = P1 - P2 between the gripping component and the image acquisition component. According to the theoretical relative position of the target object and the cavity, determine the preset reference position corresponding to the target object, that is, the reference position PC1. Determine the actual placement position PC2 of the target object based on the image captured by the image acquisition component, and calculate the position compensation data, that is, the compensation value PC_delta = PC2 - PC1, wherein the compensation value includes but is not limited to the position difference and the angle difference. According to the photographing position data, the relative position data between the grasping component and the image component, and the position compensation data, the target grasping position can be determined. In an example, the target grasping position is the sum of P3, Dist_N2C, and PC_delta.
[0120] Through this embodiment, action requirements can be achieved efficiently and accurately. Compared with the traditional blind grasping method, the efficiency and accuracy of object grasping are effectively improved, and the problems such as inaccurate detection results caused by grasping deviation are reduced. It is suitable for more application scenarios.
[0121] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0122] Based on the same inventive concept, the embodiment of the present application also provides a control device for object grasping for implementing the control method for object grasping involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of the one or more control device embodiments for object grasping provided below can refer to the limitations of the control method for object grasping above, and will not be repeated here.
[0123] In an exemplary embodiment, Figure 7 As shown, a control device 600 for object grasping is provided, the device is applied to a controller, the controller is electrically connected to an image acquisition component and a grasping component, and the device includes:
[0124] A first determination module 710 is used to determine a target photographing position corresponding to a target cavity where a target object is placed according to position distribution data of cavities in a target platform and target object placement data corresponding to the cavities;
[0125] An acquisition module 720 is used to control the image acquisition component to move to the target photographing position to acquire image data of the target object, wherein the image data includes a placement position of the target object in the target cavity;
[0126] A second determination module 730 is used to determine a target grabbing position corresponding to the target cavity according to a preset reference position, the placement position, and the target photographing position;
[0127] The control module 740 is used to control the grabbing component to move to the target grabbing position to grab the target object.
[0128] In one embodiment, the second determining module includes:
[0129] A first determination submodule, configured to determine position compensation data according to a difference between a preset reference position and the placement position;
[0130] The second determination submodule is used to determine the target grabbing position corresponding to the target cavity according to the position compensation data and the target photographing position.
[0131] In one embodiment, the second determining submodule includes:
[0132] A first acquisition unit, used for acquiring relative position data between the image acquisition component and the grabbing component;
[0133] The first determining unit is used to determine the target grasping position corresponding to the target cavity according to the relative position data, the target photographing position, and the position compensation data.
[0134] In one embodiment, the device further includes a module for acquiring the position distribution data, and the module for acquiring the position distribution data includes:
[0135] An acquisition submodule, used to acquire initial position data of the reference cavity in the target platform and cavity spacing data corresponding to the target platform;
[0136] The third determination submodule is used to determine the position distribution data of the cavities in the target platform according to the initial position data and the cavity spacing data, wherein the position distribution data includes the position data of the cavities.
[0137] In one embodiment, the first determining module includes:
[0138] A fourth determination submodule is used to determine a target cavity where the target object is placed according to the target object placement data corresponding to the cavity in the target platform;
[0139] The fifth determination submodule is used to determine the target photographing position corresponding to the target cavity according to the position distribution data of the target cavity in the target platform.
[0140] In one embodiment, the fifth determining submodule includes:
[0141] A second acquisition unit, used to acquire the working status information of the image acquisition component;
[0142] The second determining unit is used to determine the target photographing position corresponding to the target cavity according to the working state information and the position distribution data of the target cavity.
[0143] Each module in the above-mentioned object grabbing control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0144] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the position distribution data of the cavity and other data involved in the method described in this embodiment. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a control method for object grasping is implemented.
[0145] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0146] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0147] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0148] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0149] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0150] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0151] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0152] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A control method for object grasping, It is characterized in that The method is applied to a controller, the controller is electrically connected to an image acquisition component and a capture component, and the method comprises: Determine a target photographing position corresponding to a target cavity in which a target object is placed, according to position distribution data of cavities in a target platform and target object placement data corresponding to the cavities, wherein the target object placement data is used to determine a target cavity in which a target object is placed, the target object placement data includes whether a target object is placed in the cavity, and the target object placement data is determined according to a value corresponding to the cavity; Controlling the image acquisition component to move to the target photographing position to obtain image data of the target object, wherein the image data includes the placement position of the target object in the target cavity; Determine the target grasping position corresponding to the target cavity according to the preset reference position, the placement position, and the target photographing position; wherein, determining the target grasping position corresponding to the target cavity according to the preset reference position, the placement position, and the target photographing position comprises: determining position compensation data according to the difference between the preset reference position and the placement position; determining the target grasping position corresponding to the target cavity according to the position compensation data and the target photographing position; The grabbing component is controlled to move to the target grabbing position to grab the target object.
2. The method according to claim 1, It is characterized in that The step of determining the target grasping position corresponding to the target cavity according to the position compensation data and the target photographing position includes: Acquiring relative position data between the image acquisition component and the grasping component; The target grasping position corresponding to the target cavity is determined according to the relative position data, the target photographing position, and the position compensation data.
3. The method according to claim 1, It is characterized in that The method for acquiring the location distribution data includes: Acquire initial position data of a reference cavity in the target platform and cavity spacing data corresponding to the target platform; According to the initial position data and the cavity spacing data, position distribution data of the cavities in the target platform are determined, and the position distribution data includes the position data of the cavities.
4. The method according to claim 1, It is characterized in that The step of determining a target photographing position corresponding to a target cavity in which a target object is placed according to the position distribution data of the cavity in the target platform and the target object placement data corresponding to the cavity comprises: Determining a target cavity in which the target object is placed according to target object placement data corresponding to the cavity in the target platform; According to the position distribution data of the target cavity in the target platform, a target photographing position corresponding to the target cavity is determined.
5. The method according to claim 4, It is characterized in that The step of determining a target photographing position corresponding to the target cavity according to the position distribution data of the target cavity in the target platform includes: Acquiring working status information of the image acquisition component; A target photographing position corresponding to the target cavity is determined according to the working status information and the position distribution data of the target cavity.
6. A control device for grasping an object, It is characterized in that The device is applied to a controller, the controller is electrically connected to an image acquisition component and a capture component, and the device comprises: A first determination module is used to determine a target photographing position corresponding to a target cavity in which a target object is placed according to position distribution data of cavities in a target platform and target object placement data corresponding to the cavity, wherein the target object placement data is used to determine a target cavity in which a target object is placed, the target object placement data includes whether a target object is placed in the cavity, and the target object placement data is determined according to a value corresponding to the cavity; An acquisition module, used for controlling the image acquisition component to move to the target photographing position to acquire image data of the target object, wherein the image data includes a placement position of the target object in the target cavity; a second determination module, for determining a target grabbing position corresponding to the target cavity according to a preset reference position, the placement position, and the target photographing position; wherein the second determination module comprises: a first determination submodule, for determining position compensation data according to a difference between the preset reference position and the placement position; and a second determination submodule, for determining a target grabbing position corresponding to the target cavity according to the position compensation data and the target photographing position; The control module is used to control the grabbing component to move to the target grabbing position to grab the target object.
7. The device according to claim 6, It is characterized in that The second determining submodule includes: A first acquisition unit, used for acquiring relative position data between the image acquisition component and the grabbing component; The first determining unit is used to determine the target grasping position corresponding to the target cavity according to the relative position data, the target photographing position, and the position compensation data.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
