Flexible flat cable assembling method and device
By obtaining the contact force array data and visual recognition errors between the end of the robotic arm and the posture correction platform, the assembly path is planned, which solves the problem of large assembly errors in automated assembly of flexible cables and improves assembly accuracy and production efficiency.
Patent Information
- Application Number
- CN202411041404.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
AI Technical Summary
There are excessive assembly errors in the existing flexible cable assembly technology, which cannot meet the assembly accuracy requirements, affecting production efficiency and product quality.
By obtaining the contact force array data between the end of the robotic arm and the posture correction platform, the posture of the end of the robotic arm is adjusted, and the assembly path is planned based on the visual recognition error and position deviation direction data to achieve precise coupling of the male and female heads and judge the assembly. Completeness, reducing attitude and position errors.
It improves the precision of flexible cable assembly, promotes the industrial application of automated assembly technology, and enhances production efficiency and product quality.
Smart Images

Figure CN118763476A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of robot arm control technology, and in particular to a flexible flat cable assembly method, device and storage medium. Background Art
[0002] In recent years, people have been demanding more and more types and quantities of small consumer 3C electronic products such as tablets and smartphones. In order to achieve large-scale and efficient production, 3C products are split into several modules during production, each module is processed separately, and then these modules are assembled into a finished product. In related technologies, the assembly of products and some spare parts is still mainly manual. Among them, the assembly of 3C electronic product soft cables is still done manually by production line workers. Due to long working hours, workers are prone to fatigue, which affects product quality and reduces production efficiency.
[0003] The automated assembly technology of flexible flat cables has received extensive attention. In related technologies, the automated assembly utilizes a machine vision system to visually locate the flexible flat cables, and utilizes a robotic arm to complete the assembly based on the visual positioning. However, the assembly error cannot meet the requirements of assembly accuracy. Summary of the invention
[0004] The present application provides a flexible flat cable assembly method and device, which solves the technical problem of excessive assembly error and failure to meet assembly accuracy requirements in related automated assembly technologies, thereby achieving the technical effect of improving assembly accuracy.
[0005] In order to achieve the above objectives, the main technical solutions adopted in this application include:
[0006] In a first aspect, an embodiment of the present application provides a method for assembling a flexible flat cable, the method comprising: obtaining first touch force array data between an end of a robotic arm and a posture correction platform, and adjusting the posture of the end of the robotic arm to a target posture according to the first touch force array data; wherein the end of the robotic arm is used to assemble the male head of the end of the flexible flat cable into the female head of an accessory to be assembled, and the posture correction platform is parallel to an assembly platform for fixing the female head of the accessory to be assembled; obtaining a maximum value of second touch force array data between the male head and the female head, and judging whether to obtain position deviation direction data between the male head and the female head based on the maximum value of the second touch force array data, the position deviation direction data comprising six-dimensional force data and the second touch force array data; determining a path planning direction based on the position deviation direction data; determining an assembly path of the end of the robotic arm according to an initial position of the male head, a visual recognition error and the path planning direction; performing assembly according to the assembly path, and judging whether assembly is completed based on a current distance feature of the male head.
[0007] An embodiment of the present application provides a method for assembling a flexible flat cable, by acquiring first touch force array data between a robot arm end and a posture correction platform, and adjusting the posture of the robot arm end to a target posture according to the first touch force array data, wherein the robot arm end assembles the male head of the flexible flat cable end into the female head of the accessory to be assembled, and the posture correction platform is parallel to an assembly platform for fixing the female head of the accessory to be assembled, so as to reduce the posture error between the robot arm end and the assembly platform, by acquiring the maximum value of the second touch force array data between the male head and the female head, and judging whether to acquire the maximum value of the second touch force array data between the male head and the female head based on the maximum value of the second touch force array data The position deviation direction data between the female heads includes six-dimensional force data and the second touch force array data; the path planning direction is determined based on the position deviation direction data; the assembly path of the end of the robot arm is determined according to the initial position of the male head, the visual recognition error and the path planning direction; the assembly is performed according to the assembly path, and whether the assembly is completed is determined based on the current distance feature of the male head, thereby reducing the position error in the assembly process, and improving the assembly accuracy by reducing the posture error and position error in the automated assembly process of the flexible flat cable, which is conducive to promoting the industrial application of the automated assembly technology of the flexible flat cable.
[0008] Optionally, adjusting the posture of the end of the robotic arm to a target posture according to the first touch force array data specifically includes: generating a touch force deflection of the posture to be adjusted according to the first touch force array data of the posture to be adjusted of the end of the robotic arm; adjusting the posture of the end of the robotic arm to an intermediate posture according to the touch force deflection of the posture to be adjusted; and determining whether the touch force deflection of the intermediate posture satisfies a deflection constraint condition, and if so, outputting the intermediate posture as the target posture.
[0009] By acquiring the first touch force array data of the posture to be adjusted at the end of the robot arm, the touch force deflection of the posture to be adjusted is generated, and according to the touch force deflection of the posture to be adjusted, the posture of the end of the robot arm is adjusted to an intermediate posture; it is determined whether the touch force deflection of the intermediate posture meets the deflection constraint condition, and if so, the intermediate posture is output as the target posture, thereby reducing the posture error and improving the snap-fitting accuracy between the male head and the female head.
[0010] Optionally, judging whether to obtain the position deviation direction data between the male head and the female head based on the maximum value of the second touch force array data specifically includes: judging whether the maximum value of the second touch force array data reaches a first threshold, and if so, obtaining the position deviation direction data between the male head and the female head.
[0011] Optionally, in a plane formed by a first direction and a second direction and parallel to the assembly platform, the ratio of the error components of the visual recognition error in the first direction and the second direction is set to a first proportional coefficient; the ratio of the path components of the planned assembly path in the first direction and the second direction is set to a second proportional coefficient, which is used to guide the planning process of the assembly path; wherein the first proportional coefficient is rounded to the second proportional coefficient.
[0012] Among them, the error component ratio refers to the ratio between the absolute values of the components of the visual recognition error of the machine vision system in the first direction and the absolute values of the components in the second direction. The error component ratio is determined by the machine vision system and the object to be recognized. The path component ratio refers to the ratio between the maximum absolute value of the planned assembly path in the first direction and the maximum absolute value in the second direction. Among them, the second proportionality coefficient is the result of rounding the first proportionality coefficient. The path component ratio of the planned assembly path in the first direction and the second direction can be obtained through the error component ratio of the visual recognition error, which is used to guide the planning process of the assembly path and improve the search efficiency of the male head searching for the female head position.
[0013] Optionally, determining the path planning direction based on the position deviation direction data specifically includes: determining the position deviation direction of the male head relative to the female head according to the position deviation direction data, wherein the position deviation direction matches the path planning direction.
[0014] Optionally, the determining the position deviation direction of the male head relative to the female head based on the position deviation direction data is achieved through a trained position deviation recognition model, and the training step of the position deviation recognition model includes: acquiring training data, the training data including the position deviation direction data; determining the actual position of the female head as the coordinate origin, and determining the quadrant position of the male head relative to the female head in a plane formed by a first direction and a second direction and parallel to the assembly platform; classifying and marking the training data according to the quadrant position of the male head relative to the female head, and training the position deviation recognition model using the marked training data; wherein the quadrant position of the male head relative to the female head is used to characterize the position deviation direction of the male head relative to the female head.
[0015] Optionally, assembly is performed according to the assembly path, and whether the assembly is completed is determined based on the current distance characteristics of the male head, specifically including: obtaining the height difference between the male head and the assembly platform, determining whether the height difference is less than a second threshold, and if so, determining that the assembly is completed.
[0016] In a second aspect, an embodiment of the present application provides a flexible flat cable assembly device, the device comprising: a measurement module, for obtaining first touch force array data between the end of a robotic arm and a posture correction platform; for obtaining a maximum value of second touch force array data between the male head and the female head, and judging whether to obtain position deviation direction data between the male head and the female head based on the maximum value of the second touch force array data, wherein the position deviation direction data comprises six-dimensional force data and the second touch force array data; an assembly module, for assembling the male head at the end of the flexible flat cable into the female head of the component to be assembled using the end of the robotic arm; for determining a path planning direction based on the position deviation direction data; for determining an assembly path of the end of the robotic arm according to an initial position of the male head, a visual recognition error and the path planning direction; for performing assembly according to the assembly path, and judging whether assembly is completed based on the current distance feature of the male head; a pre-correction module, for adjusting the posture of the end of the robotic arm to a target posture according to the first touch force array data; wherein the posture correction platform is parallel to an assembly platform for fixing the female head of the component to be assembled.
[0017] Optionally, the measurement module also includes: a six-dimensional force sensor arranged at the end of the robotic arm, used to obtain the six-dimensional force data in the position deviation direction data between the male head and the female head; a tactile sensor arranged at the end of the robotic arm, used to obtain the first touch force array data between the end of the robotic arm and the posture correction platform; used to obtain the maximum value of the second touch force array data between the male head and the female head, and determine whether to obtain the position deviation direction data between the male head and the female head based on the maximum value of the second touch force array data; and used to obtain the second touch force array data in the position deviation direction data between the male head and the female head.
[0018] Optionally, the assembly module also includes: a controller, used to control the end of the robotic arm to assemble the male head of the soft flat cable end into the female head of the part to be assembled; used to determine the path planning direction based on the position deviation direction data; used to determine the assembly path of the end of the robotic arm according to the initial position of the male head, the visual recognition error and the path planning direction; used to perform assembly according to the assembly path, and determine whether the assembly is completed based on the current distance characteristics of the male head; an end effector arranged at the end of the robotic arm; and a suction cup arranged on the end effector, used to absorb the soft flat cable.
[0019] In a third aspect, an embodiment of the present application provides a computer device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the above-mentioned flexible flat cable assembly method by executing the computer instructions.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the above-mentioned flexible flat cable assembly method.
[0021] In a fifth aspect, an embodiment of the present application provides a computer program product, including computer instructions, wherein the computer instructions are used to enable a computer to execute the above-mentioned flexible flat cable assembly method. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 A flow chart of a flexible flat cable assembly method provided in an embodiment of the present application;
[0024] Figure 2 A schematic diagram of the structure of the end of the robotic arm provided in an embodiment of the present application;
[0025] Figure 3 A schematic diagram of an assembly path provided for an embodiment of the present application;
[0026] Figure 4 A flowchart of the assembly path planning process provided by an embodiment of the present application;
[0027] Figure 5 A schematic diagram of a flexible flat cable assembly device provided in an embodiment of the present application;
[0028] Figure 6 A schematic diagram of a measurement module provided in an embodiment of the present application;
[0029] Figure 7 A schematic diagram of an assembly module provided in an embodiment of the present application;
[0030] Figure 8 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0032] At present, the assembly of the flexible flat cable 206 of 3C electronic products is still done manually by workers on the production line. In the related art, there is a related study on the use of machine vision system combined with robot arm control in the automatic assembly system of the flexible flat cable 206. In the automatic assembly system of the flexible flat cable 206, the robot arm assembles according to the visual recognition position of the female connector 205 obtained by the machine vision system, and uses the robot arm control part to control the assembly force during the assembly process.
[0033] However, the automatic assembly system for the flexible flat cable 206 has not been actually applied in the assembly production line of the flexible flat cable 206 of 3C electronic products. Among them, a major obstacle that needs to be solved is the assembly error existing in the automated assembly process, including position error and posture error. Among them, the position error can be the visual recognition error of the machine vision system, that is, the error between the visual recognition position of the female head 205 obtained by the machine vision system and the actual position of the female head 205. The posture refers to the posture of the end 1 of the robot arm, and the posture error refers to the posture error between the end 1 of the robot arm and the assembly platform 208. The posture error affects the buckling accuracy between the male head 204 and the female head 205 of the flexible flat cable 206.
[0034] The assembly method of the flexible flat cable 206 provided in this specification can be applied to electronic devices with page display functions. The electronic devices may include notebooks, desktop computers, smart phones, smart wearable devices (virtual reality glasses, smart watches, etc.), tablet computers, etc. Of course, the assembly method of the flexible flat cable 206 provided in this specification can also be applied to applications running in the above electronic devices.
[0035] According to an embodiment of the present application, an embodiment of a method for assembling a flexible flat cable 206 is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0036] In an embodiment of the present application, a flexible flat cable 206 assembly method is provided, which can be used in the above-mentioned mobile terminals, such as mobile phones, tablet computers, etc. Figure 1 is a flow chart of a method for assembling a flexible flat cable 206 according to an embodiment of the present application. Figure 1 As shown, the process includes the following steps:
[0037] Step S1, obtaining the first touch force array data between the robot end 1 and the posture correction platform, and adjusting the posture of the robot end 1 to the target posture according to the first touch force array data. The robot end 1 is used to assemble the male connector 204 at the end of the flexible flat cable 206 into the female connector 205 of the accessory to be assembled, and the posture correction platform is parallel to the assembly platform 208 for fixing the female connector 205 of the accessory to be assembled.
[0038] The first touch force array data between the end of the robot arm 1 and the posture correction platform is obtained. The first touch force array data is obtained by a tactile sensor. For example, the tactile sensor 102 may be an array sensor, wherein each array point may detect a touch force perpendicular to the surface direction of the tactile sensor 102, that is, the touch force between the end of the robot arm 1 and the posture correction platform is obtained by using the tactile sensor 102, and the posture correction platform is parallel to the assembly platform 208 for fixing the female head 205 of the part to be assembled. According to the touch force information fed back by the first touch force array data, the posture of the end of the robot arm 1 is adjusted to the target posture, so as to reduce the posture error between the end of the robot arm 1 and the assembly platform 208.
[0039] In the embodiment of the present application, the assembly of the mobile phone flexible flat cable 206 is taken as an example. Figure 2 As shown, it is a device structure diagram of the end of the robot arm 1. The end of the robot arm 1 is provided with an end effector 203. The end effector 203 is in a snap-fit shape, including a flat plate and a snap-fit head, and the snap-fit head is a protruding part. A suction cup 202 is installed on the end effector 203, and the suction cup 202 is connected to an air pump. The end effector 203 relies on the suction cup 202 to absorb and fix the soft flat cable 206. A tactile sensor 102 is attached to the snap-fit head of the end effector 203. The mobile phone motherboard 207 to be assembled is fixed on the assembly platform 208, and the mobile phone motherboard 207 and the female connector 205 are in a bare state. The rigid plane where the posture correction platform is located is parallel to the plane where the assembly platform 208 is located. Before sucking the soft flat cable 206, the snap-fit head is pressed on the posture correction platform, and the posture error between the end of the robot arm 1 and the assembly platform 208 is judged according to the first touch force array data of the contact between the snap-fit head and the posture correction platform.
[0040] Step S3, obtaining the maximum value of the second touch force array data between the male head 204 and the female head 205, and judging whether to obtain the position deviation direction data between the male head 204 and the female head 205 based on the maximum value of the second touch force array data, wherein the position deviation direction data includes the six-dimensional force data and the second touch force array data.
[0041] For example, it is determined whether the maximum value of the second touch force array data reaches a first threshold value, if so, the position deviation direction data is collected, including the six-dimensional force data and the second touch force array data; if not, the position deviation direction data is not collected. The maximum value of the second touch force array data in the position deviation direction data reaches the first threshold value.
[0042] Step S5, determining the path planning direction based on the position deviation direction data.
[0043] The position deviation direction is used to characterize the position direction of the male head 204 relative to the female head 205; the path planning direction is used to characterize the position direction of the female head 205 relative to the male head 204, and the male head 204 searches for the position of the female head 205 according to the path planning direction.
[0044] Step S7, determining the assembly path of the robot end 1 according to the initial position of the male head 204, the visual recognition error and the path planning direction; performing assembly according to the assembly path, and judging whether the assembly is completed based on the current distance feature of the male head 204.
[0045] Among them, Figure 3 As shown, it is a schematic diagram of the assembly path. Figure 3 The circle in the figure indicates the location of the male connector 204, which is the initial location of the path planning. The triangle indicates the location of the female connector. Figure 3 The direction of the arrow in the middle indicates the path planning direction, for example, Figure 3 The path planning direction in is determined by the negative direction of the x-axis and the negative direction of the y-axis, and the assembly path is expanded according to the path planning direction. The path expansion means that during the assembly path planning process, the maximum absolute value of the assembly path in the path expansion direction gradually increases. For example, if the path planning direction is determined by the negative direction of the x-axis and the negative direction of the y-axis, the assembly path is expanded along the negative direction of the x-axis and the negative direction of the y-axis, respectively, that is, the maximum absolute value of the assembly path in the negative direction of the x-axis and the negative direction of the y-axis gradually increases with the assembly path planning process.
[0046] In the process of automatic assembly of the flexible flat cable 206, the visual recognition error is the error between the position of the female head recognized by the machine vision system and the actual position of the female head. For example, the error component ratio of the visual recognition error in the x-axis direction and the y-axis direction is the first proportional coefficient, and the path component ratio of the assembly path in the x-axis direction and the y-axis direction is the second proportional coefficient. Among them, the error component ratio refers to the ratio between the absolute values of the error components of the visual recognition error of the machine vision system in the x-axis direction and the y-axis direction. The error component ratio is determined by the machine vision system and the object to be recognized. The path component ratio refers to the ratio between the maximum absolute value of the planned assembly path in the x-axis direction and the maximum absolute value in the y-axis direction during the assembly path planning process. The path component ratio of the planned assembly path is the result of rounding the error component ratio. The path component ratio of the planned assembly path in the x-axis direction and the y-axis direction can be obtained by the error component ratio of the visual recognition error, which is used to guide the assembly path planning process and improve the search efficiency of the male head 204 searching for the position of the female head 205. The assembly path can be determined based on the initial position of the path planning, the direction of the path planning, and the proportion of the path components obtained through the visual recognition error.
[0047] The assembly path is used to characterize the fastening path of the male connector 204, that is, the path for searching the female connector 205. The fastening path includes a plurality of fastening points, and whether the male connector 204 and the female connector 205 are fastened successfully is determined according to the distance characteristics of the male connector 204. If the fastening is not successful, the male connector 204 moves to the next fastening point according to the fastening path to try to fasten, until the male connector 204 and the female connector 205 are fastened successfully, that is, the assembly of the flexible flat cable 206 is completed.
[0048] An embodiment of the present application provides a method for assembling a flexible flat cable 206, by acquiring first touch force array data between a robot arm end 1 and a posture correction platform, and adjusting the posture of the robot arm end 1 to a target posture according to the first touch force array data, wherein the robot arm end 1 is used to assemble the male head 204 at the end of the flexible flat cable 206 into the female head 205 of the part to be assembled, and the posture correction platform is parallel to an assembly platform 208 for fixing the female head 205 of the part to be assembled, so as to reduce the posture error between the robot arm end 1 and the assembly platform 208, by acquiring the maximum value of the second touch force array data between the male head 204 and the female head 205, and judging the position of the flexible flat cable 206 based on the maximum value of the second touch force array data. Determine whether to obtain the position deviation direction data between the male head 204 and the female head 205, the position deviation direction data including the six-dimensional force data and the second touch force array data; determine the path planning direction based on the position deviation direction data; determine the assembly path of the robot arm end 1 according to the initial position of the male head 204, the visual recognition error and the path planning direction; perform assembly according to the assembly path, and determine whether the assembly is completed based on the current distance feature of the male head, thereby reducing the position error in the assembly process, and improving the assembly accuracy by reducing the posture error and position error in the automated assembly process of the flexible flat cable 206, which is conducive to promoting the industrial application of the automated assembly technology of the flexible flat cable 206.
[0049] In some embodiments, the posture of the robot arm end 1 is adjusted to a target posture according to the first touch force array data, specifically including: generating a touch force deflection of the posture to be adjusted according to the first touch force array data of the posture to be adjusted of the robot arm end 1; adjusting the posture of the robot arm end 1 to an intermediate posture according to the touch force deflection of the posture to be adjusted; judging whether the touch force deflection of the intermediate posture satisfies a deflection constraint condition, and if so, outputting the intermediate posture as the target posture.
[0050] For example, at the beginning of assembly, the robot arm moves, and the snap-fit head moves to above the posture correction platform. The robot arm moves downward until the snap-fit head contacts the posture correction platform. According to the posture of the robot arm end 1, the touch force deflection corresponding to the posture is generated, and it is determined whether the touch force deflection of the posture satisfies the deflection constraint condition. If it does, it means that the posture is the target posture. If not, the snap-fit head is lifted and moves upward, leaving the posture correction platform, and the posture is continued to be adjusted according to the touch force deflection. After the posture is adjusted, the snap-fit head is pressed down again, and its corresponding touch force deflection is calculated until it is adjusted to the target posture.
[0051] The embodiment of the present application adopts a 4×11 array one-dimensional tactile sensor 102. First, the snap-fit head with the tactile sensor 102 attached is moved to the posture correction platform and pressed downward until the maximum touch force in the first touch force array data reaches f m , the movement stops, and the first touch force array data at the current time t is collected, which can be expressed as F t (4×11), the first touch force array data can be expressed as two vectors in the x-axis and y-axis directions at time t, respectively F tx 、F ty , which can be expressed as follows:
[0052]
[0053] The touch force deflections in the x-axis and y-axis directions are defined as SK x SK y , which is used to reflect the posture error of the snap-fit head in the x-axis and y-axis directions:
[0054]
[0055] In the above formula, SK x SK y They represent the components of the touch force deflection in the x-axis and y-axis directions, K xi Indicates skewness F tx The weight of (i), K yi Indicates skewness F ty The weight of (i).
[0056] Based on the touch force deflection of the posture at the previous moment (t-1 moment), the posture adjustment angle is calculated, and the posture of the robot end 1 at the next moment (t moment) is adjusted. At t moment, the postures in the x-axis and y-axis directions are calculated to be r x (t) and r y (t), its attitude adjustment strategy can be expressed as follows:
[0057]
[0058] In the above formula, r x (t) and r y (t) represents the components of the posture at time t in the x-axis direction and the y-axis direction, respectively, k x and k y They represent the adjustment coefficients in the x-axis direction and the y-axis direction, respectively, and are used to characterize the relationship between the skewness and the adjusted motion amount.
[0059] Adjust to |Sk x |<Sk x1 ,|Sk y |<Sk y1, then it is considered that the posture of the robot end 1 can meet the assembly conditions. Among them, SK x1 and SK y1 is an artificially set skewness constraint.
[0060] By acquiring the first touch force array data of the posture to be adjusted of the robot arm end 1, the touch force deflection of the posture to be adjusted is generated, and according to the touch force deflection of the posture to be adjusted, the posture of the robot arm end 1 is adjusted to an intermediate posture; it is determined whether the touch force deflection of the intermediate posture meets the deflection constraint condition, and if so, the intermediate posture is output as the target posture, thereby reducing the posture error of the robot arm end 1 and improving the snapping accuracy between the male head 204 and the female head 205.
[0061] In some embodiments, the determining whether to obtain the position deviation direction data between the male head 204 and the female head 205 based on the maximum value of the second touch force array data specifically includes: determining whether the maximum value of the second touch force array data reaches a first threshold, and if so, obtaining the position deviation direction data between the male head 204 and the female head 205.
[0062] If the maximum value in the second touch force array data does not reach the first threshold, the position deviation direction data is not collected.
[0063] In some embodiments, determining the path planning direction based on the position deviation direction data specifically includes: determining the position deviation direction of the male head 204 relative to the female head 205 according to the position deviation direction data, wherein the position deviation direction matches the path planning direction.
[0064] The position deviation direction is used to characterize the position direction of the male head 204 relative to the female head 205; the path planning direction is used to characterize the position direction of the female head 205 relative to the male head 204, and the male head 204 searches for the position of the female head 205 according to the path planning direction. The matching of the position deviation direction and the path planning direction means that the path planning direction can be determined according to the position deviation direction.
[0065] like Figure 3 As shown in the figure, it is a schematic diagram of the assembly path. Figure 3 The triangle in the figure is the position of the female head 205, and the circle is the position of the male head 204. The position deviation direction refers to the quadrant position of the male head 204 relative to the female head in the xy plane, if the female head 205 is the origin of the coordinate system, including the first quadrant position, the second quadrant position, the third quadrant position and the fourth quadrant position. Figure 3 As shown, the position deviation direction of the male head 204 relative to the female head 205 is the first quadrant position, and the path planning direction is as follows Figure 3 As shown in the direction of the arrow in Figure 3The position of the circle in , that is, the position of the male head 204, is the starting point of the path planning, and the path planning direction is determined by the negative direction of the x-axis and the negative direction of the y-axis, that is, the assembly path is expanded along the negative direction of the x-axis and the negative direction of the y-axis. Similarly, if the position deviation direction of the male head 204 relative to the female head 205 is the second quadrant position, the path planning direction is determined by the positive direction of the x-axis and the negative direction of the y-axis, and the assembly path is expanded along the positive direction of the x-axis and the negative direction of the y-axis; if the position deviation direction of the male head 204 relative to the female head 205 is the third quadrant position, the path planning direction is determined by the positive direction of the x-axis and the positive direction of the y-axis, and the assembly path is expanded along the positive direction of the x-axis and the positive direction of the y-axis; if the position deviation direction of the male head 204 relative to the female head 205 is the fourth quadrant position, the path planning direction is determined by the negative direction of the x-axis and the positive direction of the y-axis, and the assembly path is expanded along the negative direction of the x-axis and the positive direction of the y-axis.
[0066] The assembly path is specifically a grid-type assembly path, such as Figure 3 As shown in the grid area in , the assembly path contains multiple fastening points, such as Figure 3 As shown in the grid points in the figure, the distance between each engagement point is the minimum grid unit. The size of the minimum grid is less than or equal to the minimum position error between the male head 204 and the female head 205 in the x-axis direction or the y-axis direction that meets the engagement requirements.
[0067] The planning process of the grid-type assembly path in the embodiment of the present application combines ox-plowing path planning and Archimedean spiral path planning, so that the ratio of the path components of the planned assembly path in the first direction (i.e., the x-axis direction) and the second direction (i.e., the y-axis direction) is close to the error component ratio k of the visual recognition error, where k = a / b, k is rounded, and a and b are used to characterize the visual recognition errors of the machine vision system in the x-axis and y-axis directions, respectively. The path component ratio refers to the ratio between the maximum absolute value of the planned assembly path in the x-axis direction and the maximum absolute value in the y-axis direction. Among them, the path planning of the assembly path takes the position of the male head 204 as the planning starting point, and the specific process of the path planning of the assembly path is as follows: Figure 4As shown. Among them, x0 is used to represent the maximum absolute value of the currently planned assembly path in the x-axis direction, and y0 is used to represent the maximum absolute value of the currently planned assembly path in the y-axis direction. dx is used to represent the path expansion direction of the assembly path in the x-axis direction, and dy is used to represent the path expansion direction of the assembly path in the y-axis direction. If the position deviation direction of the male head 204 relative to the female head 205 is the first quadrant position, dx indicates that the assembly path is expanded along the negative direction of the x-axis, and dy indicates that the assembly path is expanded along the negative direction of the y-axis; if the position deviation direction of the male head 204 relative to the female head 205 is the second quadrant position, dx indicates that the assembly path is expanded along the positive direction of the x-axis, and dy indicates that the assembly path is expanded along the negative direction of the y-axis; if the position deviation direction of the male head 204 relative to the female head 205 is the third quadrant position, dx indicates that the assembly path is expanded along the positive direction of the x-axis, and dy indicates that the assembly path is expanded along the positive direction of the y-axis; if the position deviation direction of the male head 204 relative to the female head 205 is the fourth quadrant position, dx indicates that the assembly path is expanded along the negative direction of the x-axis, and dy indicates that the assembly path is expanded along the positive direction of the y-axis. -dx and -dy indicate the corresponding opposite directions.
[0068] The end 1 of the robot arm drives the male connector 204 of the flexible flat cable 206 through each grid point, i.e., the fastening point, in the assembly path, and attempts to fasten based on the admittance control. If the fastening is successful, the assembly is completed, otherwise it moves to the next fastening point to try to fasten.
[0069] In some embodiments, the position deviation direction of the male head relative to the female head is determined based on the position deviation direction data, which is achieved through a trained position deviation recognition model, and the training step of the position deviation recognition model includes: acquiring training data, the training data including the position deviation direction data; determining the actual position of the female head 205 as the coordinate origin, and determining the quadrant position of the male head 204 relative to the female head 205 in a plane formed by a first direction and a second direction and parallel to the assembly platform; classifying and marking the training data according to the quadrant position of the male head 204 relative to the female head 205, and training the position deviation recognition model using the marked training data; wherein the quadrant position of the male head 204 relative to the female head 205 is used to characterize the position deviation direction of the male head 204 relative to the female head 205.
[0070] For example, through manual calibration, an xy coordinate plane parallel to the assembly platform 208 is established with the center position of the upper surface of the female connector 205 of the flexible flat cable 206 as the coordinate origin, including four quadrant positions. After the posture error is adjusted, the end effector 203 of the end effector 1 moves, the air pump is turned on, and the suction cup 202 of the end effector 203 sucks the flexible flat cable 206. The initial position of the male connector 204 of the flexible flat cable 206 is randomly set. The end of the robotic arm 1 approaches the female connector 205 of the flexible flat cable 206 along the z direction, and the male connector 204 and the female connector 205 are in contact. Constant force control is used in the z direction to stabilize the maximum touch force in the second touch force array data at f m , position control is adopted in the x-axis and y-axis directions, and the motion sequence of the posture of the end arm 1 is: x =+θ,r x =0, r x = -θ, r x =0, r y =+θ,r y =0, r y = -θ, r y =0, where θ is the absolute value of the motion angle. x 、r y Respectively represent the posture of the robot end 1 in the x-axis and y-axis directions. m are all fixed values set by humans, not variables. Among them, the maximum touch force in the second touch force array data is stable at f m In the case of the second touch force array data and the six-dimensional force data in the process, the tactile sensor 102 and the six-dimensional force sensor 101 read the second touch force array data and the six-dimensional force data in real time. The tactile sensor 102 is a 4×11 array one-dimensional tactile sensor 102, which is converted into a 44-dimensional vector, and the six-dimensional force data is a 6-dimensional vector, which is combined into a 50-dimensional vector and encoded into 50×t data. More than 1000 pieces of data are repeatedly collected as training data.
[0071] The training data is filtered and normalized in sequence. For example, a sliding arithmetic mean filtering method is used to filter the 1×t data of each dimension, and the data is normalized after filtering so that the value range of the 1×t data of each dimension is between 0 and 1. In the xy coordinate plane with the actual position of the female head 205 as the origin, the position quadrant of the male head 204 relative to the female head 205, that is, the position deviation direction, including the first position quadrant, the second position quadrant, the third position quadrant and the fourth position quadrant, is determined, and the training data is divided into four corresponding categories according to the position deviation direction and marked. The position deviation recognition model is trained using the marked training data, and the trained position deviation recognition model can be used to identify the position deviation direction. Among them, the position deviation recognition model can be trained using the LSTM model. By completing the trained position deviation recognition model, the automatic recognition of the position deviation direction of the male head 204 relative to the female head 205 can be realized.
[0072] According to the position deviation direction data, the position deviation direction of the male head 204 relative to the female head 205 is determined, and according to the position deviation direction, the training data is classified and labeled, and the position deviation recognition model is trained using the labeled training data to obtain a position deviation recognition model for identifying the position deviation direction.
[0073] In some embodiments, assembly is performed according to the assembly path, and whether the assembly is completed is determined based on the current distance characteristics of the male head, specifically including: obtaining the height difference between the male head 204 and the assembly platform 208, and determining whether the height difference is less than a second threshold value. If so, it is determined that the assembly is completed.
[0074] The distance feature of the male connector 204 is used to determine whether the male connector 204 and the female connector 205 are successfully engaged. If the engagement is successful, the assembly is completed. In this case, the height difference between the male connector 204 and the assembly platform 208 will be less than the second threshold. If the engagement is not successful, the height difference between the male connector 204 and the assembly platform 208 will be greater than the second threshold. The second threshold is a manually set value.
[0075] See also Figure 5 , the embodiment of the present application provides a flexible flat cable 206 assembly device, the device comprising:
[0076] The measuring module 100 is used to obtain the first touch force array data between the robot arm end 1 and the posture correction platform; to obtain the maximum value of the second touch force array data between the male head 204 and the female head 205, and to determine whether to obtain the position deviation direction data between the male head 204 and the female head 205 based on the maximum value of the second touch force array data, wherein the position deviation direction data includes six-dimensional force data and the second touch force array data; the assembling module 200 is used to assemble the male head 204 at the end of the flexible flat cable 206 to the female head of the to-be-assembled part by using the robot arm end 1. The male head 204 is used to determine the path planning direction based on the position deviation direction data; the male head 204 is used to determine the assembly path of the robot end 1 according to the initial position, visual recognition error and the path planning direction; the male head 204 is used to perform assembly according to the assembly path, and determine whether the assembly is completed based on the current distance characteristics of the male head 204; the pre-correction module 300 is used to adjust the posture of the robot end 1 to the target posture according to the first touch force array data; wherein the posture correction platform is parallel to the assembly platform 208 of the female head 205 used to fix the part to be assembled.
[0077] The present application provides a flexible flat cable 206 assembly device, which assembles the male connector 204 at the end of the flexible flat cable 206 into the female connector 205 of the to-be-assembled part through the robot arm end 1 of the assembly module 200, obtains the first touch force array data between the robot arm end 1 and the posture correction platform through the measurement module 100, and the pre-correction module 300 adjusts the posture of the robot arm end 1 to the target posture according to the first touch force array data, and the posture correction platform is parallel to the assembly platform 208 for fixing the female connector 205 of the to-be-assembled part, so as to reduce the posture error between the robot arm end 1 and the assembly platform 208; obtains the maximum value of the second touch force array data between the male connector and the female connector through the measurement module 100, and adjusts the posture of the robot arm end 1 to the target posture based on the first touch force array data. The maximum value determines whether to obtain the position deviation direction data between the male head and the female head, and the position deviation direction data includes six-dimensional force data and the second touch force array data; the assembly module 200 is used to determine the path planning direction based on the position deviation direction data, and the assembly path of the robot arm end 1 is determined according to the initial position of the male head 204, the visual recognition error and the path planning direction; it is used to perform assembly according to the assembly path, and determine whether the assembly is completed based on the current distance feature of the male head 204, thereby reducing the position error in the assembly process, and improving the assembly accuracy by reducing the posture error and position error in the automated assembly process of the flexible flat cable 206, which is conducive to promoting the industrial application of the automated assembly technology of the flexible flat cable 206.
[0078] like Figure 2As shown, it is a device structure diagram of the end of the robot arm 1. The end of the robot arm 1 is provided with an end effector 203. The end effector 203 is in a snap-fit shape, including a flat plate and a snap-fit head, and the snap-fit head is a protruding part. A suction cup 202 is installed on the end effector 203. The suction cup 202 is connected to an air pump. The end effector 203 relies on the suction cup 202 to absorb and fix the soft flat cable 206. A tactile sensor 102 is attached to the snap-fit head of the end effector 203. The tactile sensor 102 is a 4×11 array sensor, and each array point can detect the touch force perpendicular to the surface direction of the tactile sensor 102.
[0079] In some embodiments, see Figure 6 The measurement module 100 also includes: a six-dimensional force sensor 101 arranged at the end 1 of the robotic arm, used to obtain the six-dimensional force data in the position deviation direction data between the male head 204 and the female head 205; a tactile sensor 102 arranged on the end 1 of the robotic arm, used to obtain the first touch force array data between the robotic arm end 1 and the posture correction platform; used to obtain the maximum value of the second touch force array data between the male head 204 and the female head 205, and determine whether to obtain the position deviation direction data between the male head and the female head based on the maximum value of the second touch force array data; used to obtain the second touch force array data in the position deviation direction data between the male head 204 and the female head 205.
[0080] In some embodiments, the tactile sensor 102 and the six-dimensional force sensor 101 are connected to a laptop computer via a USB data cable, and the controller is connected to the laptop computer via a network cable. The computer reads the force information fed back by the USB data cable, including the first touch force array data, the second touch force array data, and the six-dimensional force data; the computer sends a control instruction to the controller via the network cable, and controls the movement of the robotic arm based on the admittance control strategy.
[0081] In some embodiments, see Figure 7 The assembly module 200 also includes: a controller, used to control the robot arm end 1 to assemble the male connector 204 at the end of the flexible flat cable 206 into the female connector 205 of the part to be assembled; used to determine the path planning direction based on the position deviation direction data; used to determine the assembly path of the robot arm end 1 according to the initial position of the male connector 204, the visual recognition error and the path planning direction; used to perform assembly according to the assembly path, and determine whether the assembly is completed based on the current distance feature of the male connector 204; an end effector 203 arranged at the robot arm end 1; a suction cup 202 arranged on the end effector 203, used to suck the flexible flat cable 206.
[0082] The suction cup 202 is connected to an air pump. When the air pump is turned on, the end effector 203 sucks the flexible flat cable 206 through the suction cup 202 to move and adjust the relative position of the male connector 204 and the female connector 205 of the flexible flat cable 206.
[0083] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0084] The flexible flat cable 206 device in the embodiment of the present application is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0085] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application, such as Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0086] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0087] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0088] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0089] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0090] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0091] The embodiment of the present application also provides a computer-readable storage medium. The above method according to the embodiment of the present application can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0092] The embodiment of the present application provides a computer program product, which includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method of any embodiment of the present application.
[0093] Although the embodiments of the present application are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.
[0094] The devices and modules described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0095] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0096] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0097] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0098] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0100] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0101] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0102] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
[0103] Although the embodiments of the present application have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A flexible flat cable assembly method, characterized in that: The method comprises: Acquire first touch force array data between the end of the robotic arm and the posture correction platform, and adjust the posture of the end of the robotic arm to a target posture according to the first touch force array data; wherein the end of the robotic arm is used to assemble the male head of the end of the flexible flat cable into the female head of the accessory to be assembled, and the posture correction platform is parallel to the assembly platform for fixing the female head of the accessory to be assembled; obtaining a maximum value of second touch force array data between the male head and the female head, and determining whether to obtain position deviation direction data between the male head and the female head based on the maximum value of the second touch force array data, wherein the position deviation direction data includes six-dimensional force data and the second touch force array data; Determining a path planning direction based on the position deviation direction data; The assembly path of the end of the robot arm is determined according to the initial position of the male head, the visual recognition error and the path planning direction; the assembly is performed according to the assembly path, and whether the assembly is completed is determined based on the current distance feature of the male head.
2. The method according to claim 1, characterized in that The step of adjusting the posture of the end of the robotic arm to a target posture according to the first touch force array data specifically includes: generating a touch force deflection of the posture to be adjusted according to the first touch force array data of the posture to be adjusted of the end of the robot arm; According to the touch force deflection of the posture to be adjusted, adjusting the posture of the end of the robotic arm to an intermediate posture; It is determined whether the touch force deflection of the intermediate posture satisfies the deflection constraint condition, and if so, the intermediate posture is output as the target posture.
3. The method according to claim 1, characterized in that The determining whether to obtain the position deviation direction data between the male head and the female head based on the maximum value of the second touch force array data specifically includes: It is determined whether the maximum value of the second touch force array data reaches a first threshold value, and if so, the position deviation direction data between the male head and the female head is obtained.
4. The method according to claim 1, characterized in that: In a plane formed by a first direction and a second direction and parallel to the assembly platform, the error component ratio of the visual recognition error in the first direction and the second direction is set to a first proportionality coefficient; The proportion of the path components of the planned assembly path in the first direction and the second direction is set as a second proportional coefficient, which is used to guide the planning process of the assembly path; wherein the first proportional coefficient is rounded to the second proportional coefficient.
5. The method according to claim 1, characterized in that Determining the path planning direction based on the position deviation direction data specifically includes: The position deviation direction of the male head relative to the female head is determined according to the position deviation direction data, wherein the position deviation direction matches the path planning direction.
6. The method according to claim 5, characterized in that The determining of the position deviation direction of the male head relative to the female head according to the position deviation direction data is achieved by a trained position deviation recognition model, wherein the training steps of the position deviation recognition model include: Acquire training data, wherein the training data includes the position deviation direction data; Determine the actual position of the female head as the coordinate origin, and determine the quadrant position of the male head relative to the female head in a plane formed by the first direction and the second direction and parallel to the assembly platform; Classifying and marking the training data according to the quadrant position of the male head relative to the female head, and training the position deviation recognition model using the marked training data; The quadrant position of the male head relative to the female head is used to characterize the position deviation direction of the male head relative to the female head.
7. The method according to claim 1, characterized in that The performing of assembly according to the assembly path and judging whether the assembly is completed based on the current distance feature of the male head specifically includes: The height difference between the male head and the assembly platform is obtained, and it is determined whether the height difference is less than a second threshold value. If so, it is determined that the assembly is completed.
8. A flexible flat cable assembly device, characterized in that: The device comprises: a measurement module, used to obtain first touch force array data between the end of the robot arm and the posture correction platform; used to obtain the maximum value of second touch force array data between the male head and the female head, and based on the maximum value of the second touch force array data, determine whether to obtain position deviation direction data between the male head and the female head, wherein the position deviation direction data includes six-dimensional force data and the second touch force array data; An assembly module, used to assemble the male connector of the flexible flat cable end into the female connector of the assembly to be assembled using the end of the robot arm; used to determine the path planning direction based on the position deviation direction data; used to determine the assembly path of the end of the robot arm according to the initial position of the male connector, the visual recognition error and the path planning direction; and used to perform assembly according to the assembly path and determine whether the assembly is completed based on the current distance feature of the male connector; A pre-correction module is used to adjust the posture of the end of the robot arm to a target posture according to the first touch force array data; wherein the posture correction platform is parallel to an assembly platform for fixing the female head of the part to be assembled.
9. The device according to claim 8, characterized in that The measurement module also includes: A six-dimensional force sensor disposed at the end of the robotic arm, used to obtain the six-dimensional force data in the position deviation direction data between the male head and the female head; The tactile sensor arranged at the end of the robotic arm is used to obtain the first touch force array data between the end of the robotic arm and the posture correction platform; to obtain the maximum value of the second touch force array data between the male head and the female head, and to determine whether to obtain the position deviation direction data between the male head and the female head based on the maximum value of the second touch force array data; and to obtain the second touch force array data in the position deviation direction data between the male head and the female head.
10. The device according to claim 8, characterized in that The assembly module also includes: A controller, used to control the end of the robot arm to assemble the male connector of the flexible flat cable end into the female connector of the part to be assembled; used to determine the path planning direction based on the position deviation direction data; used to determine the assembly path of the end of the robot arm according to the initial position of the male connector, the visual recognition error and the path planning direction; used to perform assembly according to the assembly path, and determine whether the assembly is completed based on the current distance feature of the male connector; An end effector disposed at the end of the robotic arm; The suction cup arranged on the end effector is used for sucking the flexible flat cable.
