Self-locking methods, devices, equipment, media, and products for male and female connectors of flexible flat cable

By acquiring tactile datasets of the contact surface and contact state of the male connector of the flexible flat cable, and using the Mahalanobis distance representation model to predict the offset of the male connector, the problem of inaccurate contact state perception in the assembly of flexible flat cables is solved, and efficient autonomous fastening is achieved.

CN118920175BActive Publication Date: 2026-11-17BEIHANG UNIV +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411139248.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2026-11-17
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

In existing technologies, the contact status sensing during the assembly of flexible flat cables is inaccurate, resulting in low fastening efficiency.

Method used

By acquiring a tactile dataset of the contact surface and contact state of the male connector of the flexible flat cable, the offset of the male connector is predicted using the Mahalanobis distance representation model, and the actuator is controlled based on this to achieve autonomous fastening.

Benefits of technology

It enables precise sensing and efficient engagement of the male and female connectors of the flexible flat cable, improving assembly efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118920175B_ABST
    Figure CN118920175B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, medium, and product for autonomous fastening of male and female connectors of flexible flat cable, relating to the field of 3C assembly technology. The method includes acquiring a tactile dataset of the contact surface of the male connector and the contact state of the male and female connectors; initializing and aligning the contact surface of the male connector with the tactile sensor based on a consistency criterion for tactile array information; establishing a Mahalanobis distance representation model based on the tactile dataset of the contact state of the male and female connectors; using the Mahalanobis distance representation model to predict the offset of the male connector; predicting the male connector offset based on the tactile data acquired by the tactile sensor in the current contact state and the Mahalanobis distance representation model; and controlling an actuator to complete the autonomous fastening of the male and female connectors based on the male connector offset. This application can achieve accurate perception and autonomous fastening of the contact state of the male and female connectors of flexible flat cable, while improving the fastening efficiency of the flexible flat cable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of 3C assembly technology, and in particular to a method, apparatus, equipment, medium and product for the autonomous fastening of male and female connectors of flexible flat cable. Background Technology

[0002] Currently, most processes in 3C production lines are automated. However, tiny components such as mobile phone flexible flat cables are difficult to observe and perceive due to their small size, easy obstruction, thinness, and unstable warping posture. Furthermore, the high alignment precision and small tolerance for deviation required for male and female connectors make assembly difficult using simple vision servo systems. The advantage of tactile sensing lies in its ability to obtain parameters such as force changes on the contact surface, and the position and shape of the component through the sensing of the contact area. This can effectively compensate for the visual obstruction problem after the male and female connectors come into contact.

[0003] Patent CN116690617A describes an intelligent end effector and a method for sensing the engagement state. This method uses 2×6 array tactile data acquired by the end effector to fit the slope of the normal force on the contact surfaces of the male and female connectors. The slope is then used as the basis for judging the deviation state, guiding the actuator to move the male connector towards the alignment direction. When alignment is determined, the connector is pressed to engage. However, this method only uses a classification approach to sense the contact state of the male and female connectors, meaning it can only determine three contact states: left deviation, right deviation, and alignment. This results in inaccurate contact state sensing. Consequently, the method can only move incrementally towards the alignment direction during the sensing and adjustment process, failing to achieve autonomous engagement based on tactile feedback, making the method inefficient. Summary of the Invention

[0004] The purpose of this application is to provide a method, device, equipment, medium, and product for the autonomous fastening of male and female connectors of flexible flat cable, which can solve the problems of inaccurate contact state sensing and low fastening efficiency in the current assembly of flexible flat cable.

[0005] To achieve the above objectives, this application provides the following solution:

[0006] Firstly, this application provides a self-locking method for male and female connectors of a flexible flat cable, the self-locking method comprising:

[0007] Obtain a tactile dataset of the contact surface of the male connector of a flexible flat cable and the contact state of the male and female connectors of the flexible flat cable.

[0008] Based on the consistency criterion of tactile array information, the contact surface of the male connector of the flexible flat cable is initialized and leveled with the tactile sensor.

[0009] Based on the tactile dataset of the contact state of the male and female connectors of the flexible flat cable, a Mahalanobis distance representation model is established; the Mahalanobis distance representation model is used to predict the offset of the male connector of the flexible flat cable.

[0010] Based on the tactile data acquired by the tactile sensor in the current contact state, and based on the Mahalanobis distance characterization model, the male offset of the flexible flat cable connector is predicted.

[0011] Based on the male connector offset, the control actuator completes the autonomous engagement of the male connector and the female connector of the flexible flat cable.

[0012] Optionally, the process for determining the consistency criterion of the tactile array information specifically includes:

[0013] Step 201: Obtain the tactile array information of the male connector of the flexible flat cable; the tactile array information is the information obtained by applying pressure to the surface of the male connector of the flexible flat cable through a tactile sensor when the male and female connectors of the flexible flat cable are in the snap-fit ​​state.

[0014] Step 202: Process the tactile array information and fit the array data to obtain the normal plane of the contact surface of the male connector of the flexible flat cable.

[0015] Step 203: Process the data of the normal plane of the contact surface to determine the normal vector of the normal plane.

[0016] Step 204: Compare the normal vector of the normal plane with the normal vector of the parallel contact state to determine the transformation angle.

[0017] Step 205: Based on the conversion angle, after the tactile sensor is pose-converted, the tactile array information of the male connector of the flexible flat cable is acquired again.

[0018] Step 206: Process the tactile array information acquired again to determine the maximum value among the differences between the normal force value of each array data and the mean value of all array data.

[0019] Step 207: Repeat steps 201-206 a set number of times to obtain a set of maximum values; the set of maximum values ​​includes the maximum value among the differences between the normal force value of each array data obtained at each number of cycles and the mean value of all array data.

[0020] Step 208: Determine the leveling threshold based on the minimum value in the set of maximum values.

[0021] Step 209: Determine the consistency criteria for the tactile array information based on the leveling threshold.

[0022] Optionally, based on the consistency criterion of the tactile array information, the contact surface of the male connector of the flexible flat cable is initialized and leveled with the tactile sensor, specifically including:

[0023] Obtain the tactile array information of the male connector of the flexible flat cable.

[0024] The acquired tactile array information is processed to determine the difference between the normal force value of each array data and the mean value of all array data.

[0025] The difference is judged based on the consistency criterion of tactile array information.

[0026] If all the differences are less than or equal to the leveling threshold, then each array is determined to meet the consistency criterion, and the initial leveling is completed.

[0027] If all the differences are greater than the leveling threshold, the conversion angle is calculated, and the tactile sensor is repositioned according to the conversion angle before the steps are repeated; the tactile array information of the male connector of the flexible flat cable is obtained until each array meets the consistency criterion.

[0028] Optionally, based on the tactile dataset of the contact states of the male and female connectors of the flexible flat cable, a Mahalanobis distance representation model is established, specifically including:

[0029] Principal component analysis (PCA) is performed on the tactile dataset to reduce its dimensionality in two dimensions, resulting in a PCA model and a tactile feature set. The tactile dataset contains several tactile samples. Each tactile sample consists of an array of data and corresponding offset labels. The array of data consists of stable output data corresponding to each offset label under a pre-set pressure condition. The tactile feature set includes tactile features under each offset label and tactile features aligned with the 0 label.

[0030] Based on the tactile feature set, the Mahalanobis distance between each offset state and the alignment state is determined.

[0031] Based on the offsets in the tactile feature set and the Mahalanobis distance, the functional relationship between the offsets and the Mahalanobis distance is obtained.

[0032] Based on the functional relationship between the offset and the Mahalanobis distance, the Mahalanobis distance representation model is determined.

[0033] Optionally, based on the tactile data acquired by the tactile sensor in the current contact state, and based on the Mahalanobis distance characterization model, the male offset of the flexible flat cable connector is predicted, specifically including:

[0034] Based on the tactile data acquired by the tactile sensor in the current contact state, and using the principal component analysis model for two-dimensional dimensionality reduction, the tactile features of the current contact state are determined.

[0035] Based on the tactile features of the current contact state and the tactile features of the alignment state corresponding to the 0 label, the Mahalanobis distance of the current contact state is solved based on the covariance matrix.

[0036] The Mahalanobis distance of the current contact state is input into the Mahalanobis distance characterization model to predict the male offset of the male connector of the flexible flat cable.

[0037] Optionally, based on the male connector offset, the actuator is controlled to autonomously engage the male connector and the female connector of the flexible flat cable, specifically including:

[0038] The predicted male connector offset is compared with the snap-fit ​​tolerance, which is the maximum offset by which the male connector of the flexible flat cable can be directly pressed down to snap into the female connector of the flexible flat cable.

[0039] If the male connector offset is less than or equal to the engagement tolerance, the actuator is controlled to complete the autonomous engagement of the male connector and the female connector of the flexible flat cable.

[0040] If the male connector offset is greater than the engagement tolerance, the actuator is controlled to use the male connector offset as a movement amount to move the male connector of the flexible flat cable towards the alignment state, thereby obtaining the contact state after the movement.

[0041] Based on the contact state after movement, update the male offset of the flexible flat cable male connector, and perform the following steps: compare the predicted male offset with the fastening tolerance until the autonomous fastening of the flexible flat cable male connector and the flexible flat cable female connector is completed.

[0042] Secondly, this application provides a self-locking device for male and female connectors of a flexible flat cable, the self-locking device comprising:

[0043] The acquisition module is used to acquire tactile datasets of the contact surfaces of male connectors and the contact states of male and female connectors of flexible flat cables.

[0044] The contact surface leveling initialization module is used to initialize and level the contact surface of the male connector of the flexible flat cable with the tactile sensor based on the consistency criterion of the tactile array information.

[0045] The first contact state sensing module is used to establish a Mahalanobis distance representation model based on the tactile dataset of the contact state of the male and female connectors of the flexible flat cable; the Mahalanobis distance representation model is used to predict the offset of the male connector of the flexible flat cable.

[0046] The second contact state sensing module is used to predict the male offset of the flexible flat cable male connector based on the tactile data acquired by the tactile sensor in the current contact state and the Mahalanobis distance characterization model.

[0047] The flexible flat cable self-clamping module is used to control the actuator to complete the self-clamping of the male and female connectors of the flexible flat cable based on the male connector offset.

[0048] Thirdly, this application provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the self-clamping method for male and female connectors of a flexible flat cable as described in any one of the above.

[0049] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the autonomous fastening method for male and female connectors of a flexible flat cable as described above.

[0050] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the autonomous fastening method for male and female connectors of a flexible flat cable as described above.

[0051] According to the specific embodiments provided in this application, the following technical effects are disclosed:

[0052] This application provides a method, apparatus, device, medium, and product for the autonomous fastening of male and female connectors of a flexible flat cable. Specifically, the method first acquires a tactile dataset of the contact surface of the male connector and the contact state of the male and female connectors. Then, based on the consistency criterion of the tactile array information, the contact surface of the male connector and the tactile sensor are initialized and leveled. Further, based on the collected tactile dataset of the contact state of the male and female connectors, a Mahalanobis distance representation model is constructed. This model is mainly used to predict the offset of the male connector. In practical applications, the tactile data acquired by the tactile sensor in the current contact state, combined with the Mahalanobis distance representation model, accurately predicts the offset of the male connector. Finally, based on the predicted offset of the male connector, the actuator is controlled to achieve precise autonomous fastening of the male and female connectors. This application not only achieves accurate perception of the contact state of the male and female connectors of the flexible flat cable but also significantly improves the fastening efficiency of the flexible flat cable. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0054] Figure 1 This is an application environment diagram of a self-locking method for male and female connectors of a flexible flat cable according to an embodiment of this application.

[0055] Figure 2 A flowchart illustrating the self-locking method for male and female connectors of a flexible flat cable provided in an embodiment of this application.

[0056] Figure 3 A schematic diagram of a consistency criterion provided in an embodiment of this application.

[0057] Figure 4 This is a flowchart illustrating the contact surface leveling initialization process according to an embodiment of this application.

[0058] Figure 5 This is a flowchart illustrating the tactile dataset for constructing the contact state of male and female connectors of a flexible flat cable, as provided in an embodiment of this application.

[0059] Figure 6 This is a schematic diagram of a Mahalanobis distance representation model for establishing tactile data, provided in an embodiment of this application.

[0060] Figure 7 A flowchart illustrating the accurate prediction of the male head offset provided in an embodiment of this application.

[0061] Figure 8 A flowchart illustrating the self-locking operation of the male and female connectors of a flexible flat cable according to an embodiment of this application.

[0062] Figure 9 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0063] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0064] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0065] The self-locking method for male and female connectors of flexible flat cable provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be set up independently, integrated into server 104, or placed in the cloud or on another server. Terminal 102 can send a tactile dataset of the contact surfaces and contact states of the male and female connectors of the flexible flat cable to be processed to server 104. After receiving the tactile dataset, server 104, for the tactile dataset of the contact surfaces and contact states of the male and female connectors of the flexible flat cable, obtains the tactile dataset of the contact surfaces and contact states of the male and female connectors of the flexible flat cable; based on the consistency criterion of tactile array information... The contact surface of the male connector of the flexible flat cable is initialized and leveled with the tactile sensor. A Mahalanobis distance representation model is established based on the tactile data set of the contact state of the male and female connectors. This Mahalanobis distance representation model is used to predict the offset of the male connector. Based on the tactile data acquired by the tactile sensor in the current contact state, and using the Mahalanobis distance representation model, the male connector offset is predicted. Based on the male connector offset, the actuator is controlled to complete the autonomous engagement of the male and female connectors. The server 104 can feed back the obtained male connector offset to the terminal 102. Furthermore, in some embodiments, the autonomous fastening method for the male and female connectors of the flexible flat cable can also be implemented separately by the server 104 or the terminal 102. For example, the terminal 102 can directly process the tactile dataset of the contact surface of the male connector and the contact state of the male and female connectors of the flexible flat cable to be processed. Alternatively, the server 104 can obtain the tactile dataset of the contact surface of the male connector and the contact state of the male and female connectors of the flexible flat cable to be processed from the data storage system and process the tactile dataset of the contact surface of the male connector and the contact state of the male and female connectors of the flexible flat cable to be processed.

[0066] The terminal 102 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster composed of multiple servers, or it can be a cloud server.

[0067] In one exemplary embodiment, such as Figure 2 As shown, a method for autonomously fastening male and female connectors of a flexible flat cable is provided. This method is executed by a computer device, specifically by a terminal or server alone, or by both a terminal and a server. In this embodiment, the method is applied to... Figure 1 Taking server 104 as an example, the following steps are included:

[0068] Step 101: Obtain the tactile dataset of the contact surface of the male connector of the flexible flat cable and the contact state of the male and female connectors of the flexible flat cable.

[0069] Step 102: Based on the consistency criterion of the tactile array information, initialize and level the contact surface of the male connector of the flexible flat cable with the tactile sensor.

[0070] Step 103: Based on the tactile dataset of the contact state of the male and female connectors of the flexible flat cable, establish a Mahalanobis distance representation model; the Mahalanobis distance representation model is used to predict the offset of the male connector of the flexible flat cable.

[0071] Step 104: Based on the tactile data acquired by the tactile sensor in the current contact state, predict the male offset of the flexible flat cable male connector based on the Mahalanobis distance characterization model.

[0072] Step 105: Based on the male connector offset, control the actuator to complete the autonomous engagement of the male connector and the female connector of the flexible flat cable.

[0073] Before executing step 101, the process also includes constructing a tactile dataset of the contact states of the male and female connectors of the flexible flat cable, which can be as follows:

[0074] The offset range of (-p, p) mm relative to the female connector in the long side direction of the male connector is defined as the offset interval. The contact state in the negative offset interval is characterized as the left offset state, the contact state in the positive offset interval is the right offset state, and 0 offset indicates that the male and female connectors are aligned.

[0075] The offset interval is divided into fixed intervals q, and the resulting 2p / q values ​​are used as offset labels.

[0076] Press the tactile sensor down under each offset label to ensure full contact between the male and female connectors of the flexible flat cable.

[0077] Given a pre-pressure of the tactile sensor, record m frames of array data that the tactile sensor stably outputs under each offset label.

[0078] Each frame of array data in the m-frame array data and its corresponding offset label are included in the dataset as a tactile sample to obtain m-frame tactile samples.

[0079] The pressure is applied repeatedly w times under each offset label, and a total of 2pmw / q tactile samples are integrated to obtain a tactile dataset of the male and female head contact states.

[0080] Specifically, such as Figure 5As shown in the flowchart of this embodiment for constructing a tactile dataset of the contact state of the male and female connectors of a flexible flat cable, firstly, 21 offset labels are obtained by dividing the offset range of (-1,1) mm at 0.1 mm intervals. Under each offset label, the tactile sensor presses the male and female connectors into contact with a fixed pre-pressure. 50 frames of array data are stably output by the sensor under each offset label. Each frame of array data and the corresponding offset label constitute a tactile sample, resulting in 1050 tactile samples. The above operation is repeated ten times to obtain 10500 tactile samples, thus completing the acquisition of the tactile dataset.

[0081] Specifically, the process of determining the consistency criterion for the tactile array information during step 102 can be as follows:

[0082] Step 201: Obtain the tactile array information of the male connector of the flexible flat cable; the tactile array information is the information obtained by applying pressure to the surface of the male connector of the flexible flat cable through a tactile sensor when the male and female connectors of the flexible flat cable are in the snap-fit ​​state.

[0083] Step 202: Process the tactile array information and fit the array data to obtain the normal plane of the contact surface of the male connector of the flexible flat cable.

[0084] Step 203: Process the data of the normal plane of the contact surface to determine the normal vector of the normal plane.

[0085] Step 204: Compare the normal vector of the normal plane with the normal vector of the parallel contact state to determine the transformation angle.

[0086] Step 205: Based on the conversion angle, after the tactile sensor is pose-converted, the tactile array information of the male connector of the flexible flat cable is acquired again.

[0087] Step 206: Process the tactile array information acquired again to determine the maximum value among the differences between the normal force value of each array data and the mean value of all array data.

[0088] Step 207: Repeat steps 201-206 a set number of times to obtain a set of maximum values; the set of maximum values ​​includes the maximum value among the differences between the normal force value of each array data obtained at each number of cycles and the mean value of all array data.

[0089] Step 208: Determine the leveling threshold based on the minimum value in the set of maximum values.

[0090] Step 209: Determine the consistency criterion for the tactile array information based on the leveling threshold. If the difference between the normal force value of each array data acquired by the tactile sensor and the mean value of all array data is less than or equal to the leveling threshold, then each array is judged to meet the consistency requirement; otherwise, it is judged that each array does not meet the consistency requirement.

[0091] Specifically, such as Figure 3 As shown in the schematic diagram of the consistency criterion provided in this embodiment, firstly, the tactile sensor presses down to make contact with the female head, acquiring the 2×6 tactile array information of the offset state. The normal force of the array is fitted to obtain the normal plane of the contact surface, and then the normal vector of the normal plane is determined to be (x1, y1, z1). It is assumed that the normal vector of the aligned state is (x2, y2, z2). Through the following transformation:

[0092] 1) Rotate around the Y plane so that the vector is on the YZ plane. The angle of this rotation should be the angle α between the vector and the YZ plane, which is...

[0093] 2) Rotate around the X-axis so that the vector lies on the negative Z-axis. The angle of this rotation should be the angle between the projection of the vector onto the XZ plane and the negative Z-axis, that is...

[0094] Determine the conversion angles α and β, and transmit these angles to the actuator to drive the tactile sensor to complete the pose conversion at the contact surface. Then, the sensor acquires the tactile array information again, and calculates the maximum value ε of the difference between each array and its mean. max Repeat the above process ten times to obtain the set of maximum values ​​{ε}. max}. Then, determine the balancing threshold ε = min{ε}. max Therefore, the consistency criterion for tactile array information is determined as follows: First, obtain the tactile array information, solve for the set {ε′} of the differences between each array and the mean of each array, compare the size of max{ε′} with ε, if max{ε′}≤ε, then the array information satisfies consistency; otherwise, the array information does not satisfy consistency.

[0095] Specifically, based on the consistency criterion of tactile array information, the contact surface of the male connector of the flexible flat cable is initialized and leveled with the tactile sensor, including:

[0096] Obtain the tactile array information of the male connector of the flexible flat cable.

[0097] The acquired tactile array information is processed to determine the difference between the normal force value of each array data and the mean value of all array data.

[0098] The difference is judged based on the consistency criterion of tactile array information.

[0099] If all the differences are less than or equal to the leveling threshold, then each array is determined to meet the consistency criterion, and the initial leveling is completed.

[0100] If all the differences are greater than the leveling threshold, the conversion angle is calculated, and the tactile sensor is repositioned according to the conversion angle before the steps are repeated; the tactile array information of the male connector of the flexible flat cable is obtained until each array meets the consistency criterion.

[0101] Specifically, such as Figure 4 As shown in the flowchart of the contact surface leveling initialization provided in this embodiment, the tactile sensor is first pressed down to the male connector of the flexible flat cable to obtain tactile array information. The set of differences between each array and the mean of each array is calculated as {ε′}. The consistency criterion of the tactile array information is used to compare the size of max{ε′} with ε. If max{ε′}≤ε, the array information satisfies the consistency, and the leveling initialization is considered complete; otherwise, the array information does not satisfy the consistency, and the size of the sensor adjustment count n is then determined. If n≥5, the leveling initialization is not complete, and the execution needs to be exited to analyze the reason and retry; otherwise, the tactile array information is fitted to obtain the contact surface normal plane, and then the normal vector of the normal plane is determined to determine the transformation angles α and β. The transformation angle is transmitted to the actuator to drive the tactile sensor to complete the pose transformation on the contact surface. Then the sensor obtains the tactile array information again for cyclic judgment.

[0102] Specifically, when executing step 103, the following can be done:

[0103] Based on the tactile dataset of the contact states of the male and female connectors of the flexible flat cable, a Mahalanobis distance representation model is established, specifically including:

[0104] Principal component analysis (PCA) was performed on the tactile dataset to reduce its dimensionality to two dimensions, resulting in a PCA model and a tactile feature set.

[0105] Solve for the covariance matrix of the tactile feature set.

[0106] Substitute the tactile features under each offset label and the tactile features of the alignment state corresponding to the 0 label, along with the covariance matrix, into the Mahalanobis distance formula to obtain the Mahalanobis distance between each offset state and the alignment state.

[0107] Plot the difference term in the Mahalanobis distance formula on a scatter plot. Use the second difference term as the criterion for the offset direction of the male head relative to the female head. If the difference is positive, it indicates a right offset state; if the difference is negative, it indicates a left offset state.

[0108] Plot each offset in the tactile dataset and its corresponding Mahalanobis distance in a scatter plot.

[0109] The scatter plot was fitted with piecewise linear and piecewise quadratic parabolic curves and a fully connected network in the positive and negative offset intervals to obtain the functional relationship between the offset and the Mahalanobis distance.

[0110] The offset direction criterion and the functional relationship between the offset amount and the Mahalanobis distance are used as the Mahalanobis distance representation model.

[0111] Specifically, such as Figure 6 As shown in the diagram, the Mahalanobis distance representation model of the tactile data provided in this embodiment first divides the tactile dataset into array data X and label data O. T Principal component analysis (PCA) is performed on the array data to reduce its dimensionality to obtain a tactile feature set X′ = PCA(X). The covariance matrix of the tactile feature set is then solved to obtain S = Cov(X′). The alignment feature t0′ with an offset of 0 mm in the tactile feature set is then aligned with the offset label O. t The Mahalanobis distance is calculated from the corresponding offset feature t′. Because of the two-dimensional reduction, the (t′-t0′) term contains two dimensions. Assuming the first two dimensions are Δx and Δy respectively, the Δy term is used as the criterion for determining the offset direction. If Δy ≥ 0, the male connector is considered to be offset to the left relative to the female connector; otherwise, the male connector is considered to be offset to the right relative to the female connector. M... t With O t The resulting scatter plots were plotted using linear regression y = a·x + b and quadratic polynomial regression y = a·x. 2 +b·x+c is fitted to a fully connected network, and the fitting of the fully connected network uses the offset feature t′ and the Mahalanobis distance M. t As network input, offset O t As the network output, four fully connected layers are used to fit the tactile features and the relationship between Mahalanobis distance and offset. The training and validation set split ratio is 8:2. The model uses mean squared error as the loss function and the Adam optimizer is used to optimize the parameters. The estimated functional relationships between offset and Mahalanobis distance are as follows: Linear Regression: Quadratic polynomial regression: Fully Connected Networks Regression: M t =f(O t The above functional relationship is used as a Mahalanobis distance representation model.

[0112] Specifically, when executing step 104, the following can be done:

[0113] The tactile data acquired by the tactile sensor in the contact state is reduced to two dimensions using the principal component analysis model to determine the tactile characteristics of the current contact state.

[0114] The Mahalanobis distance of the current contact state is calculated using the covariance matrix by comparing the tactile features of the current contact state with the tactile features of the alignment state corresponding to the 0 label.

[0115] The difference term in the Mahalanobis distance formula is calculated by comparing the tactile features of the current contact state with the tactile features of the aligned state corresponding to the 0 label.

[0116] The difference term and the Mahalanobis distance of the current contact state are input into the Mahalanobis distance characterization model. The offset direction is determined according to the offset direction criterion in the model. Then, the selection of the piecewise function is determined according to the offset direction. The offset obtained by the Mahalanobis distance under the selected piecewise function is used as the male head offset predicted for the contact state.

[0117] Specifically, such as Figure 7 As shown in the flowchart of the accurate prediction of the male connector offset provided in this embodiment, the tactile sensor is first pressed down to the male connector of the flexible flat cable to obtain tactile array information t. Principal component analysis is performed to reduce the dimensionality in two dimensions to obtain the tactile feature t′=PCA(t) in the current contact state. The Mahalanobis distance is then calculated by combining the tactile feature t0′ in the alignment state and the covariance matrix S. The result is input into the Mahalanobis distance representation model inverse solution to obtain the predicted male head offset O. t .

[0118] Specifically, when executing step 105, the following can be done:

[0119] The predicted male connector offset is compared with the snap-fit ​​tolerance, which is the maximum offset by which the male connector of the flexible flat cable can be directly pressed down to snap into the female connector of the flexible flat cable.

[0120] If the male connector offset is less than or equal to the engagement tolerance, the actuator is controlled to complete the autonomous engagement of the male connector and the female connector of the flexible flat cable.

[0121] If the male connector offset is greater than the engagement tolerance, the actuator is controlled to use the male connector offset as a movement amount to move the male connector of the flexible flat cable towards the alignment state, thereby obtaining the contact state after the movement.

[0122] Based on the contact state after movement, the male offset of the flexible flat cable male connector is updated, and the following steps are executed: the predicted male offset is compared with the fastening tolerance, until the autonomous fastening of the flexible flat cable male connector and the flexible flat cable female connector is completed. Specifically, the tactile sensor senses the contact state after movement, then accurately predicts the male offset, and then compares the offset with the fastening tolerance to move it. If the cumulative number of movements is less than or equal to the movement number threshold, the autonomous fastening can be completed; otherwise, if the autonomous fastening fails, it needs to exit and retry.

[0123] Specifically, such as Figure 8 As shown in the flowchart of the self-clamping operation of the male and female connectors of the flexible flat cable provided in this embodiment, the output O of the accurate prediction of the male connector offset is shown. t The absolute value is compared with the deduction tolerance δ = 0.4. If |O tIf |≤δ, then it is considered to be in a state where it can be directly pressed down for engagement. At this time, the actuator presses down the male connector of the cable until the sum of the sensor output forces F>F. t = 5N is considered a complete engagement; if |O t If |≤δ, then the adjustment count n is compared with the adjustment count threshold N=5. When n≤N, the actuator drives the male connector of the flexible flat cable to move O. t The adjustment cycle is incremented by one, and then the tactile sensor performs contact state sensing again to accurately predict the male head offset in a cyclical operation.

[0124] In one exemplary embodiment, a self-locking device for male and female connectors of a flexible flat cable is provided, the self-locking device comprising:

[0125] The acquisition module is used to acquire tactile datasets of the contact surfaces of male connectors and the contact states of male and female connectors of flexible flat cables.

[0126] The contact surface leveling initialization module is used to initialize and level the contact surface of the male connector of the flexible flat cable with the tactile sensor based on the consistency criterion of the tactile array information.

[0127] The first contact state sensing module is used to establish a Mahalanobis distance representation model based on the tactile dataset of the contact state of the male and female connectors of the flexible flat cable; the Mahalanobis distance representation model is used to predict the offset of the male connector of the flexible flat cable.

[0128] The second contact state sensing module is used to predict the male offset of the flexible flat cable male connector based on the tactile data acquired by the tactile sensor in the current contact state and the Mahalanobis distance characterization model.

[0129] The flexible flat cable self-clamping module is used to control the actuator to complete the self-clamping of the male and female connectors of the flexible flat cable based on the male connector offset.

[0130] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 9As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores predicted male connector offsets. The I / O interfaces are used for information exchange between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When executed by the processor, the computer program implements an autonomous mating method for the male and female connectors of a flexible flat cable.

[0131] Those skilled in the art will understand that Figure 9 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0132] In one exemplary embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the methods described above.

[0133] In one exemplary embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the methods described above.

[0134] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the methods described above.

[0135] 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, data stored, data displayed, 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 the relevant data must comply with relevant regulations.

[0136] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile 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. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

[0137] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0138] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 specification.

[0139] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A self-locking method for male and female connectors of a flexible flat cable, characterized in that, The self-fastening method includes: Obtain a tactile dataset of the contact surface of the male connector of the flexible flat cable and the contact state of the male and female connectors of the flexible flat cable; Based on the consistency criterion of tactile array information, the contact surface of the male connector of the flexible flat cable is initialized and leveled with the tactile sensor; The process of determining the consistency criterion for the tactile array information specifically includes: Step 201: Obtain the tactile array information of the male connector of the flexible flat cable; the tactile array information is the information obtained by applying pressure to the surface of the male connector of the flexible flat cable through a tactile sensor when the male and female connectors of the flexible flat cable are in the engaged state. Step 202: Process the tactile array information and fit the array data to obtain the normal plane of the contact surface of the male connector of the flexible flat cable; Step 203: Process the data of the normal plane of the contact surface to determine the normal vector of the normal plane; Step 204: Compare the normal vector of the normal plane with the normal vector of the parallel contact state to determine the transformation angle; Step 205: Based on the conversion angle, after the tactile sensor is pose-converted, the tactile array information of the male connector of the flexible flat cable is acquired again; Step 206: Process the tactile array information acquired again to determine the maximum value among the differences between the normal force value of each array data and the mean value of all array data; Step 207: Repeat steps 201-206 a set number of times to obtain a set of maximum values; the set of maximum values ​​includes the maximum value among the differences between the normal force value of each array data obtained at each number of cycles and the mean value of all array data. Step 208: Determine the balancing threshold based on the minimum value in the set of maximum values; Step 209: Determine the consistency criterion for the tactile array information based on the leveling threshold; Based on the tactile dataset of the contact state of the male and female connectors of the flexible flat cable, a Mahalanobis distance representation model is established; the Mahalanobis distance representation model is used to predict the offset of the male connector of the flexible flat cable. Based on the tactile data acquired by the tactile sensor in the current contact state, and based on the Mahalanobis distance characterization model, the male offset of the flexible flat cable male connector is predicted. Based on the male connector offset, the control actuator completes the autonomous engagement of the male connector and the female connector of the flexible flat cable.

2. The self-locking method for male and female connectors of a flexible flat cable according to claim 1, characterized in that, Based on the consistency criterion of tactile array information, the contact surface of the male connector of the flexible flat cable is initialized and leveled with the tactile sensor, specifically including: Obtain the tactile array information of the male connector of the flexible flat cable; The acquired tactile array information is processed to determine the difference between the normal force value of each array data and the mean value of all array data. The difference is judged based on the consistency criterion of tactile array information; If all the differences are less than or equal to the balancing threshold, then each array is determined to meet the consistency criterion, and the initial balancing is completed. If all the differences are greater than the leveling threshold, the conversion angle is calculated, and the tactile sensor is repositioned according to the conversion angle before the steps are repeated; the tactile array information of the male connector of the flexible flat cable is obtained until each array meets the consistency criterion.

3. The self-locking method for male and female connectors of a flexible flat cable according to claim 2, characterized in that, Based on the tactile dataset of the contact states of the male and female connectors of the flexible flat cable, a Mahalanobis distance representation model is established, specifically including: Principal component analysis (PCA) is performed on the tactile dataset for two-dimensional dimensionality reduction to obtain a PCA model and a tactile feature set. The tactile dataset contains several tactile samples. Each tactile sample consists of an array of data and corresponding offset labels. The array of data consists of stable output data corresponding to each offset label under a pre-set pressure condition. The tactile feature set includes tactile features under each offset label and tactile features aligned with the 0 label. Based on the tactile feature set, determine the Mahalanobis distance between each offset state and the alignment state; Based on the offsets in the tactile feature set and the Mahalanobis distance, the functional relationship between the offsets and the Mahalanobis distance is obtained; Based on the functional relationship between the offset and the Mahalanobis distance, the Mahalanobis distance representation model is determined.

4. The self-locking method for male and female connectors of a flexible flat cable according to claim 3, characterized in that, Based on the tactile data acquired by the tactile sensor in the current contact state, and based on the Mahalanobis distance characterization model, the male offset of the flexible flat cable connector is predicted, specifically including: Based on the tactile data acquired by the tactile sensor in the current contact state, the tactile features of the current contact state are determined by two-dimensional dimensionality reduction of the principal component analysis model. Based on the tactile features of the current contact state and the tactile features of the alignment state corresponding to the 0 label, the Mahalanobis distance of the current contact state is solved based on the covariance matrix. The Mahalanobis distance of the current contact state is input into the Mahalanobis distance characterization model to predict the male offset of the male connector of the flexible flat cable.

5. The self-locking method for male and female connectors of a flexible flat cable according to claim 1, characterized in that, Based on the male connector offset, the control actuator completes the autonomous engagement of the male connector and the female connector of the flexible flat cable, specifically including: The predicted male connector offset is compared with the snap-fit ​​tolerance; the snap-fit ​​tolerance is the maximum offset by which the male connector of the flexible flat cable can be directly pressed down to snap into the female connector of the flexible flat cable. If the male connector offset is less than or equal to the engagement tolerance, the actuator is controlled to complete the autonomous engagement of the male connector and the female connector of the flexible flat cable. If the male connector offset is greater than the engagement tolerance, the actuator is controlled to use the male connector offset as a movement amount to move the male connector of the flexible flat cable towards the alignment state, thereby obtaining the contact state after the movement. Based on the contact state after movement, update the male offset of the flexible flat cable male connector, and perform the following steps: compare the predicted male offset with the fastening tolerance until the autonomous fastening of the flexible flat cable male connector and the flexible flat cable female connector is completed.

6. A self-locking device for male and female connectors of a flexible flat cable, used to implement the self-locking method for male and female connectors of a flexible flat cable as described in claim 1, characterized in that, The self-locking device includes: The acquisition module is used to acquire tactile datasets of the contact surfaces of male connectors and the contact states of male and female connectors of flexible flat cables. The contact surface leveling initialization module is used to initialize and level the contact surface of the male connector of the flexible flat cable with the tactile sensor based on the consistency criterion of the tactile array information. The first contact state sensing module is used to establish a Mahalanobis distance representation model based on the tactile dataset of the contact state of the male and female connectors of the flexible flat cable; the Mahalanobis distance representation model is used to predict the offset of the male connector of the flexible flat cable. The second contact state sensing module is used to predict the male offset of the flexible flat cable male connector based on the tactile data obtained by the tactile sensor in the current contact state and the Mahalanobis distance characterization model. The flexible flat cable self-clamping module is used to control the actuator to complete the self-clamping of the male and female connectors of the flexible flat cable based on the male connector offset.

7. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement a self-locking method for male and female connectors of a flexible flat cable according to any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the autonomous fastening method for male and female connectors of a flexible flat cable according to any one of claims 1-5.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the autonomous fastening method for male and female connectors of a flexible flat cable according to any one of claims 1-5.

Citation Information

Patent Citations

  • Laser pointing device for laneway construction and deviation rectifying method thereof

    CN114060008A

  • Flexible flat cable assembling and positioning method based on 2D surface tactile twin network

    CN118417837A