Automatic terminal crimping and shell inserting machine and control method and control device thereof

By establishing a mapping relationship between wire color and conduit in the terminal crimping and shell insertion machine, and combining visual inspection and intelligent control, automatic wire feeding, terminal crimping and shell insertion are achieved. This solves the problem of low automation level in existing technologies, improves the automation level and yield of the equipment, and has extremely strong production flexibility and efficient production changeover capability.

CN123162579APending Publication Date: 2026-11-24SHENZHEN HAILAN INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611489857.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

The existing end-cutting and shell-insertion machines have a low level of automation, require a lot of manpower, and need to be stopped for adjustments in case of production change or wire errors.

Method used

By establishing a mapping relationship between wire color and the conduit of the wire delivery module, and combining visual inspection and intelligent control of the shell insertion module, automated wire delivery, terminal crimping, and shell insertion are achieved. An S-curve acceleration and deceleration algorithm is used to control the servo motor to ensure that the shell insertion is performed after the image features meet the qualification conditions. It has automated processing of wire color configuration, crimping mode, and shell insertion matrix parameters.

Benefits of technology

It improves the automation level of the end-cutting and shell-inserting machine, realizes fully automated operation, reduces manual intervention, ensures a high yield rate, has strong production flexibility and efficient production changeover capability, and avoids downtime and material waste caused by defective products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123162579A_ABST
    Figure CN123162579A_ABST
Patent Text Reader

Abstract

This application discloses an automatic terminal crimping and inserting machine and its control method and device, relating to the field of automation control technology. The automatic terminal crimping and inserting machine includes a wire feeding module, a vision inspection module, a terminal crimping module, and an inserting module. The wire feeding module includes multiple guide tubes. The control method of the automatic terminal crimping and inserting machine includes: establishing a mapping relationship between wire color and the multiple guide tubes of the wire feeding module according to wire color configuration parameters, and controlling each guide tube to transport the processed wire of the corresponding color to the crimping position of the terminal crimping module; controlling the terminal crimping module to perform crimping work according to crimping mode parameters, and collecting image feature data of the processed wire through the vision inspection module; when the image feature data meets preset qualification conditions, controlling the inserting module to insert the crimped processed wire into the designated hole of the target shell according to the inserting matrix parameters. This application aims to improve the automation level of the terminal crimping and inserting machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automation control technology, and in particular to an automatic end-cutting and shell-inserting machine and its control method and control device. Background Technology

[0002] Terminal crimping and insertion machines are automated equipment in the field of wire harness processing. They can automatically complete a series of processes, including wire cutting, stripping, terminal crimping, and inserting the crimped wires into connector housings (sheaths), greatly improving production efficiency. However, existing terminal crimping and insertion machines still require a significant amount of manual labor during operation, resulting in a low level of automation. Summary of the Invention

[0003] The main purpose of this application is to propose an automatic end-cutting and shell-inserting machine and its control method and control device, which aims to improve the automation level of the end-cutting and shell-inserting machine.

[0004] To achieve the above objectives, this application proposes a control method for an automatic terminal crimping and inserting machine. The automatic terminal crimping and inserting machine includes a wire feeding module, a vision inspection module, a terminal crimping module, and an inserting module. The wire feeding module includes multiple conduits. The control method for the automatic terminal crimping and inserting machine includes: Obtain the set wire color configuration parameters, crimping mode parameters, and shell matrix parameters; Based on the wire color configuration parameters, a mapping relationship between the wire color and multiple guide tubes of the wire feeding module is established, and each guide tube is controlled to transport the processed wire of the corresponding wire color to the crimping position of the terminal crimping module. The terminal crimping module is controlled to perform corresponding terminal crimping operations on the processed wire in the crimping working position according to the crimping mode parameters; During the process of conveying the crimped processing wire to the next station, the visual inspection module collects image feature data of the processing wire. If the image feature data meets the preset qualification conditions, the insertion module is controlled to insert the crimped processing wire into the designated hole of the target shell according to the insertion matrix parameters.

[0005] In one embodiment, establishing a mapping relationship between wire color and multiple guide tubes of the wire feeding module based on the wire color configuration parameters, and controlling each guide tube to deliver the processed wire of the corresponding wire color to the crimping position of the terminal crimping module, includes: Based on the wire color configuration parameters, establish a mapping relationship between the wire color and the corresponding conduit in the wire delivery module; Obtain the processing wire number of the currently processed wire, and determine the wire color of the currently processed wire based on the processing wire number and the preset wire number-color mapping table; Match the conduit among the plurality of conduits to the wire color of the processed wire, and control the matched conduit to transport the processed wire of the corresponding wire color to the crimping position of the terminal crimping module.

[0006] In one embodiment, the control method of the automatic end-cutting and shell-inserting machine further includes: If the image feature data does not meet the preset qualification conditions, the currently processed wire is determined to be an abnormal processed wire; Obtain the processing wire number and wire color of the abnormally processed wire, and find a candidate processed wire with a matching color in the subsequent wire harnesses to be processed. Then, modify the processing wire number of the candidate processed wire to the processing wire number of the abnormally processed wire to replace the abnormally processed wire.

[0007] In one embodiment, the step of searching for candidate wires with matching colors in the wire harness to be processed subsequently includes: In the same line length processing mode, find the processing line with the same color as the abnormal line in the subsequent wire harness to be processed, and use it as the candidate processing line. In the non-equal length processing mode, the wires with the same color and whose set length is consistent with the wire length of the abnormally processed wire are searched in the subsequent wire harnesses to be processed, and are used as the candidate processed wires.

[0008] In one embodiment, during the process of conveying the crimped wire to the next workstation, the visual inspection module collects image feature data of the wire, including: During the process of conveying the crimped processing wire to the next station, the vision detection module is triggered to take a flying shot to obtain a set of flying images; Within the aerial image set, feature extraction is performed on the images of the core wire of the processed wire, the terminals of the processed wire, and the target casing to obtain the image feature data.

[0009] In one embodiment, controlling the terminal crimping module to perform corresponding terminal crimping operations on the processed wire in the crimping working position according to the crimping mode parameters includes: The set pressing height is obtained according to the pressing mode parameters, and the pressing mechanism is controlled to perform the corresponding pressing and positioning action according to the pressing height. In the process of starting and stopping the servo motor of the terminal pressing module to perform the terminal pressing action, an S-curve acceleration and deceleration algorithm is used to control the smooth operation of the servo motor.

[0010] In one embodiment, the shell insertion matrix parameters include a one-to-many shell insertion command and a hole arrangement matrix; The step of controlling the insertion module to insert the crimped wire into the designated hole in the target housing according to the insertion matrix parameters includes: The control module inserts multiple wires of different colors into designated holes in the target shell arranged in an irregular circle or triangle, according to the one-to-many insertion instruction.

[0011] In one embodiment, the control method of the automatic end-cutting and shell-inserting machine further includes: The start and end operation signals of each independent station of the wire feeding module, vision inspection module, terminal crimping module and shell insertion module are collected; Based on the start and end operation signals, calculate the running time and utilization rate of each workstation; Based on the judgment results of the image feature data, the system generates and outputs the production capacity data, yield rate, and defect rate data of the entire equipment in real time.

[0012] This application also provides a control device for implementing the control method of the automatic end-cutting and shell-inserting machine described above.

[0013] This application also provides an automatic terminal crimping and inserting machine, which includes a wire feeding module, a vision inspection module, a terminal crimping module, an inserting module, and a control device as described above. The wire feeding module includes multiple conduits.

[0014] In summary, the control method for the automatic terminal crimping and inserting machine provided in this application can improve the automation level of the machine. Specifically, this control method breaks the strong coupling between hardware layout and processing instructions by constructing a dynamic mapping relationship between the physical conduit color attributes and the logical processing wire number. Secondly, it ensures that after the terminal crimping of the processed wires, only processed wires that meet the preset qualification conditions can undergo the inserting process, thus improving the yield rate. Therefore, by simply setting the corresponding wire color configuration parameters, crimping mode parameters, and inserting matrix parameters on the automatic terminal crimping and inserting machine, the terminal crimping and inserting work can be performed fully automatically, achieving a high level of automation. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art 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 the structures shown in these drawings without creative effort.

[0016] Figure 1 A flowchart of the first embodiment of the control method for the automatic end-cutting and shell-inserting machine provided in this application; Figure 2 A flowchart of the second embodiment of the control method for the automatic end-cutting and shell-inserting machine provided in this application; Figure 3 A flowchart of the third embodiment of the control method for the automatic end-cutting and shell-inserting machine provided in this application; Figure 4 A flowchart of the fourth embodiment of the control method for the automatic end-cutting and shell-inserting machine provided in this application; Figure 5 A flowchart of the fifth embodiment of the control method for the automatic end-cutting and shell-inserting machine provided in this application; Figure 6 A flowchart of the sixth embodiment of the control method for the automatic end-cutting and shell-inserting machine provided in this application.

[0017] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0018] 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 a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0019] Furthermore, if the embodiments of this application involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the use of "and / or" or "and / or" throughout the text includes three parallel solutions. For example, "A and / or B" includes solution A, solution B, or a solution that simultaneously satisfies A and B. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

[0020] It should be noted that step designations such as S100 and S200 are used in this document for the purpose of more clearly and concisely describing the corresponding content, and do not constitute a substantial limitation on the order. In specific implementation, those skilled in the art may execute S200 first and then S100, etc., but these should all be within the protection scope of this application.

[0021] Terminal crimping and insertion machines are automated equipment in the field of wire harness processing. They can automatically complete a series of processes, including cutting, stripping, crimping terminals, and inserting the crimped wires into connector housings (sheaths), greatly improving production efficiency. However, existing terminal crimping and insertion machines still require a significant amount of manual labor during operation, resulting in a low level of automation.

[0022] To improve the automation level of the end-cutting and shell-inserting machine, this application proposes a control method for an automatic end-cutting and shell-inserting machine.

[0023] In one embodiment of this application, the automatic terminal crimping and inserting machine includes a wire feeding module, a vision inspection module, a terminal crimping module, and an inserting module, wherein the wire feeding module includes multiple conduits.

[0024] The wire feeding module is primarily responsible for supplying and conveying the processed wire. This module can include multiple independent guide tubes and corresponding servo drive mechanisms for each tube. Each guide tube is specifically designed for loading and conveying processed wire of a particular color or specification. By controlling the movements of different guide tubes, the equipment can automatically switch and convey multiple colors of wire without stopping the machine.

[0025] The vision inspection module is primarily responsible for online quality monitoring during the manufacturing process. This module can include a high-speed industrial camera, a strobe light source, and an image processing unit. It is positioned above or to the side of the wire transport path from the terminal crimping module to the housing module, and is used to quickly capture clear images and extract quality features while the object under test is in motion.

[0026] The terminal crimping module is primarily responsible for crimping metal terminals onto the exposed core wire of the processed wire. This module may include a high-precision stamping unit driven by a servo motor and replaceable crimping dies, enabling it to perform high-precision pressing and positioning actions according to different terminal and processed wire specifications.

[0027] The insertion module is primarily responsible for the final assembly process. This module may include a multi-axis industrial robot (such as a six-axis robot or a SCARA robot) and a gripping mechanism mounted at the robot's end effector to stably grasp the crimped and qualified processing wire and precisely insert it into the designated holes of the target housing according to spatial coordinates.

[0028] In one embodiment of this application, as Figure 1As shown, the control method of the automatic end-cutting and shell-inserting machine includes steps S100 to S500.

[0029] In this embodiment, step S100 involves obtaining the set wire color configuration parameters, crimping mode parameters, and shell matrix parameters.

[0030] The control unit receives production orders containing the aforementioned parameters from a host computer or Manufacturing Execution System (MES). By acquiring these parameters, parametric control of the processing steps is achieved. This step enables the equipment to quickly adapt to the production needs of different wire harness specifications through software instructions, completely changing the drawbacks of traditional equipment that required tedious manual adjustments to the mechanical structure for wire changeovers, and giving the equipment extremely high production flexibility.

[0031] Optionally, the wire color configuration parameter represents the physical color attribute of the wire currently being threaded into each of the conduits; the crimping mode parameter includes the pressing height and continuous crimping mode command or single crimping mode command; the insert matrix parameter represents the spatial arrangement of the holes in the target shell and the coordinate relationship of multiple wire insertions.

[0032] In this embodiment, step S200 involves establishing a mapping relationship between the wire color and multiple conduits of the wire feeding module based on the wire color configuration parameters, and controlling each conduit to transport the processed wire of the corresponding wire color to the crimping position of the terminal crimping module.

[0033] The color of the processed wire is the inherent physical appearance color of its outer insulation protective sheath after the wire leaves the factory (such as red, yellow or blue), which represents the physical material attribute of the wire as a basic consumable.

[0034] Understandably, existing wire feeding control logic typically rigidly binds specific processing instructions to fixed physical conduits (e.g., the program code directly hardcodes a specific step to draw wire from conduit number 1). This leads to a situation where, in cases of production changeovers, changes in multi-color wire harness combinations, or operator error in wire feeding, the machine must be stopped for manual modification of the underlying processing program and recalibration of mechanical compensation parameters such as cylinder pressure in each conduit. This results in cumbersome equipment setup, a high susceptibility to human error, and extremely poor production flexibility. However, in step S200, the control device can match each conduit with the required color of processed wire before operation based on the wire color configuration parameters. In other words, in cases of production changeovers, changes in multi-color wire harness combinations, or operator error in wire feeding, the machine can be reset to avoid downtime for manual modification of the underlying processing program.

[0035] Optionally, the number of tubes can be eight, each corresponding to a different color, such as black, yellow, blue, yellow, brown, green, gray, and blue in sequence.

[0036] In this embodiment, step S300 involves controlling the terminal crimping module to perform corresponding terminal crimping work on the processed wire in the crimping working position according to the crimping mode parameters.

[0037] During the crimping process, the control device obtains the pressing mode and pressing height set for the current batch based on the crimping mode parameters. Optionally, to ensure the stability of the crimping action and extend the mechanical life, an S-curve acceleration / deceleration algorithm can be used to control the smooth operation of the motor during the start-stop process of the servo motor.

[0038] In this embodiment, in step S400, during the process of conveying the crimped processing wire to the next station, the visual inspection module collects image feature data of the processing wire.

[0039] Optionally, the control device utilizes the gap time during the transfer of the processing wire between workstations to trigger the vision inspection module to extract image feature data. This achieves quality monitoring without interrupting production cycles, ensuring high equipment uptime.

[0040] In this embodiment, in step S500, if the image feature data meets the preset qualification conditions, the insertion module is controlled to insert the crimped processing wire into the designated hole of the target shell according to the insertion matrix parameters.

[0041] Optionally, the housing matrix parameters include a one-to-many housing insertion command and a hole arrangement matrix (e.g., irregular or polygonal arrangement). After parsing the housing matrix parameters, the control device plans the motion trajectory of the housing module and controls the clamping mechanism to sequentially and accurately insert multiple processed wires of different colors into the complex holes of the same target housing. This improves upon the problem of complex high-density connectors heavily relying on manual housing insertion and being prone to misalignment.

[0042] Among them, the preset qualification conditions for image feature data can be judged through multiple levels, such as whether the stripping length of the core wire meets the standard and whether there is any copper wire scattering; whether the crimping shape of the terminal is intact, whether the wrapping posture is standard, and whether there is any obvious deformation or skew; and whether the assembly position of the accessory (such as the waterproof plug) is accurate, and whether there are any omissions or serious skew.

[0043] The target plastic housing refers to an insulating connector housing (sheath) used to accommodate and lock the processed wires with crimped terminals. Structurally, a plurality of designated holes are arrayed inside the target plastic housing, and the hole arrangement matrix is not only compatible with conventional single-row or double-row symmetrical structures, but also covers complex three-dimensional irregular arrangements such as irregular circles and triangles. In terms of assembly process, the target plastic housing is adapted to a one-to-many housing insertion or cross housing insertion mode, that is, a plurality of processed wires from different conduits with different wire colors can be designated to be inserted into the same target plastic housing, so as to meet the complex forming requirements of multi-strand composite wire harnesses.

[0044] In a feasible embodiment, the wire feeding module has 8 conduits and multiple processed wires of different colors. Assume that the physical configuration state recorded in the current device interaction interface is: conduit No. 1 is threaded with a red wire, conduit No. 2 is threaded with a yellow wire, and conduit No. 3 is threaded with a blue wire. Now it is necessary to process a one-to-three wire harness product, and the wire harness parameter table preset in the control device specifies a three-step process: processed wire No. 1 requires a red wire, processed wire No. 2 requires a blue wire, and processed wire No. 3 requires a yellow wire, and the three wires need to be inserted into the same 3-hole target plastic housing arranged in a triangle after crimping. First, the control device performs wire mapping and flexible wire feeding. The control device parses that the current first task is "processed wire No. 1", and finds that a red wire is required by looking up the table; the control device then traverses the physical color data of the 8 conduits, instantly locks conduit No. 1 as the target conduit, and controls the traction mechanism corresponding to conduit No. 1 to draw out the red wire to the crimping working position. Next, smooth crimping and online fly-shooting full inspection are performed. After the red wire is sent out, the terminal crimping module adopts an S-curve algorithm to control the servo motor to start and brake smoothly, and accurately completes the pressing action of the terminal; immediately afterwards, during the continuous translational conveying of the crimped red wire clamped by the servo shaft to the housing insertion station, the visual inspection module triggers fly-shooting without stopping the machine, and instantly acquires image feature data of the core wire, terminal and waterproof plug. If it is judged to be qualified, the housing insertion module will accurately insert the red wire into the first hole of the target plastic housing. Then, the blue wire is drawn out from conduit No. 3 to perform the task of "processed wire No. 2", and inserted into the second hole of the target plastic housing after passing the inspection. Finally, when "processed wire No. 3" (yellow wire, sent out by conduit No. 2) also successfully completes the above closed loop and is inserted into the third hole, the assembly of the "one-to-three" target plastic housing is completed.

[0045] Furthermore, for the cylinders and solenoid valves widely distributed in fully automatic end-capping and inserting machines, the control device of this application pre-packages a dedicated cylinder execution function block. It is understandable that existing equipment, when dealing with hardware structure changes for non-standard customer customization, such as adding or removing cylinder limit sensors or changing single or double control valve bodies, often requires low-level developers to tediously rewrite the logic code. However, the function block encapsulated in this application designs the feedback signals from the cylinder's front and rear limit sensors, as well as the output drive mode of single or double control cylinders, as freely configurable soft enable parameters. When the mechanical structure of the equipment changes due to sensor additions or removals or cylinder type replacements, operators only need to change the corresponding enable state through the human-machine interface to complete the matching, without any modification to the underlying core control program. Simultaneously, this function block also integrates smooth switching logic between manual debugging and automatic operation modes. This highly decoupled and modular software encapsulation design completely eliminates the secondary development work caused by hardware changes, significantly improving the configuration flexibility of the production line and the efficiency of equipment delivery and debugging.

[0046] In summary, the control method for the automatic terminal crimping and inserting machine provided in this application can improve the automation level of the machine. Specifically, this control method breaks the strong coupling between hardware layout and processing instructions by constructing a dynamic mapping relationship between the physical conduit color attributes and the logical processing wire number. Secondly, it ensures that after the terminal crimping of the processed wires, only processed wires that meet the preset qualification conditions can undergo the inserting process, thus improving the yield rate. Therefore, by simply setting the corresponding wire color configuration parameters, crimping mode parameters, and inserting matrix parameters on the automatic terminal crimping and inserting machine, the terminal crimping and inserting work can be performed fully automatically, achieving a high level of automation.

[0047] In one embodiment, such as Figure 2 As shown, step S200 may include steps S210 to S230.

[0048] In this embodiment, step S210 involves establishing a mapping relationship between the wire color and the corresponding conduit in the wire delivery module based on the wire color configuration parameters.

[0049] When the control device is powered on and initialized, or when it receives a new batch of material configuration instructions input by the operator through the human-machine interface, it will parse the wire color configuration parameters. The control device will generate and dynamically maintain a low-level hardware status table in its internal memory. This low-level hardware status table records the physical appearance color of the processing wire actually loaded inside each physical conduit (e.g., conduits 1 to 8) at the current moment.

[0050] In this embodiment, step S220 involves obtaining the processing wire number of the current processed wire and determining the wire color of the current processed wire based on the processing wire number and the preset wire number-color mapping table.

[0051] After the processing flow is started, the control device will extract the processing wire number (i.e., the logical number representing the specific identity and process of the wire in the entire wire harness) of the current step to be executed according to the process processing sequence of the production work order. After obtaining the processing wire number, the control device calls the preset wire number-color mapping table stored in the control device to query the target wire color that the logical number must correspond to under the current process setting.

[0052] In this embodiment, step S230 involves matching a conduit among the plurality of conduits that matches the wire color of the processed wire, and controlling the matched conduit to transport the processed wire of the corresponding wire color to the crimping position of the terminal crimping module.

[0053] The control device uses the "required wire color" extracted in step S220 as a dynamic search keyword to traverse and compare the underlying hardware status table established in step S210. Once a match is found, the control device immediately locks the corresponding target physical conduit (e.g., the red wire required for the formula is currently in conduit number 3), and then sends a drive command to the traction servo mechanism controlling the target conduit to transport the wire of that color to the crimping station. Optionally, if the control device fails to find a matching wire color after traversing multiple conduits, it can immediately trigger a material shortage alarm, prompting manual intervention to replenish the corresponding wire. In this way, by introducing wire color as a bridge between virtual and reality, this application completely breaks the rigid mode of traditional equipment where processing steps directly drive fixed physical conduit positions, enabling the equipment to truly possess intelligent scheduling and rapid production changeover capabilities that allow for on-demand wire searching and wire recognition regardless of conduit location.

[0054] In one feasible implementation, it is assumed that the wire feeding module is equipped with four physical conduits. During step S210, the operator threads the red processed wire into conduit 1 and the blue processed wire into conduit 2, completing the configuration input on the human-machine interface. The control device then generates a low-level hardware status table, recording it as "Conduit 1 - Red, Conduit 2 - Blue". During step S220, the current production order progresses to "Processing Wire Number A". The control device calls the preset wire number-color mapping table and finds that the target wire color corresponding to "Processing Wire Number A" must be "blue". Subsequently, during step S230, the control device uses "blue" as the search keyword, traverses the aforementioned low-level hardware status table, successfully matches and locks conduit 2 as the target physical conduit, and then controls conduit 2 to extract the blue wire for crimping. Furthermore, if during subsequent production or production changeover, the operator changes the blue processing wire to conduit No. 3 and updates the interface status, the control device will update the underlying hardware status table to "Conduit No. 3 - Blue" in real time in step S210. At this time, even if no changes are made to the underlying process (recipe) for "processing wire A", the control device can still automatically and accurately track and command conduit No. 3 to feed the wire in step S230 through the intermediate attribute of "blue".

[0055] In one embodiment, such as Figure 3 As shown, the control method of the automatic end-cutting and shell-inserting machine further includes steps S600 and S700.

[0056] In this embodiment, step S600 involves determining that the current processed wire is an abnormal processed wire if the image feature data does not meet the preset qualification conditions.

[0057] Once the vision inspection module transmits the real-time acquired image feature data back to the control device, the control device quickly uses machine vision algorithms to compare the features with internally preset standard qualified templates or set thresholds. Optionally, if the algorithm identifies defects such as exposed copper wires in the core wire, deformed terminal crimping, substandard crimping height, or severely misaligned waterproof plugs, causing the image feature data to exceed the preset tolerance range, the control device immediately determines that the wire currently being processed is an unqualified abnormal processed wire.

[0058] Optionally, after determining an anomaly, the control device will intercept the original insertion command of the wire and control the transfer mechanism or a dedicated exhaust cylinder to directly guide and discard the abnormal processed wire to the waste recycling area.

[0059] In this embodiment, step S700 involves obtaining the processing wire number and wire color of the abnormal processed wire, searching for a candidate processed wire with a matching color in the subsequent wire harnesses to be processed, and modifying the processing wire number of the candidate processed wire to the processing wire number of the abnormal processed wire to replace the abnormal processed wire.

[0060] Understandably, existing end-cutting and inserting equipment interrupts the entire process when a defective product is detected by visual inspection. For example, when processing a composite wire harness with multiple wires sharing a target housing, if a wire in the middle sequence has a poor crimping, traditional equipment will usually trigger an emergency stop alarm to require manual inspection. Alternatively, due to a lack of remedial logic, it will directly discharge all the wires in the harness that have been properly processed and inserted into the housing, along with the defective wire and the target housing, as a whole, as waste. This leads to extremely serious waste of good wires and housing materials.

[0061] However, in step S700, while the abnormal processed wire is physically rejected, the control device extracts the logical identity (i.e., processing wire number) and physical attributes (i.e., wire color) of the discarded wire at the software level. Subsequently, it automatically retrieves a candidate processed wire whose color attributes perfectly match the one yet to be executed in the subsequent sequence of wire harnesses to be processed. Immediately afterwards, the control device performs a parameter overwrite operation in memory, forcibly modifying and replacing the original processing wire number of the candidate processed wire with the processing wire number of the abnormal processed wire. In this way, this candidate processed wire logically and perfectly inherits the process mission of the discarded wire (including the required clamping parameters and the specific insertion hole position of the target shell), and is automatically sent out as a replacement wire to continue the unfinished processing flow. This closed-loop design completely subverts the rigid mode of traditional equipment that stops as soon as an error occurs, realizing true fully automatic non-stop fault tolerance and seamless wire replacement.

[0062] In one feasible implementation, suppose the current control device is executing a processing task that requires inserting three processing wires (red, yellow, and blue) into the same target housing. The formula specifies that processing wire number 2 corresponds to the blue wire (inserted into hole number 2). After the control device directs the guide tube to deliver the blue wire and completes terminal crimping, the vision inspection module detects that the blue wire's terminals are deformed during a scanning process, failing to meet the acceptance criteria. At this moment, the control device determines that the blue wire is an abnormal processing wire and discards it into the waste bin. At this critical instant, the control device does not trigger a machine stop. Instead, it retrieves a candidate blue processing wire from the subsequent order sequence, modifies the processing wire number of this subsequent blue wire to "processing wire number 2," and immediately controls the corresponding blue guide tube to re-deliver the wire, crimp it, and scan it again. If the replacement blue wire passes inspection, it is successfully inserted into hole number 2 of the target housing, and the machine continues processing the next yellow wire. This embodiment demonstrates that the entire remedial action is automatically completed in a closed loop at the millisecond level of underlying logic, requiring no manual intervention, greatly ensuring the extreme smoothness of the production line operation.

[0063] In one embodiment, such as Figure 4 As shown, step S700 may include steps S710 and S720.

[0064] In this embodiment, step S710 involves searching for a processing wire with the same color as the abnormal wire in the subsequent wire harnesses to be processed under the same wire length processing mode, and using it as the candidate processing wire.

[0065] When the production order received by the equipment is in "equal line length processing mode," it means that all wires to be assembled in the current batch or group of porous housings have the same physical cut length. Under this specific condition, wire length is no longer a characteristic variable that distinguishes material differences. Therefore, when the control device performs memory queue retrieval, it enables single-dimensional addressing logic, using only "wire color" as the sole filtering condition. The control device automatically scans the subsequent queue of tasks to be processed, and once it finds the first wire task whose color attribute is completely consistent with the abnormal processed wire, it extracts and locks it as the candidate processed wire. In this way, while reducing the computational power consumption of the control device's retrieval algorithm, it maximizes the matching and calling efficiency of substitute wires.

[0066] In this embodiment, step S720 involves searching for wires with the same color and whose set wire length is consistent with the wire length of the abnormally processed wire in the subsequent wire harnesses to be processed, and using them as candidate processed wires.

[0067] On the other hand, when the equipment is in "non-equal wire length processing mode," it means that within the same target housing or the same batch of composite wire harnesses, there are significant differences in the physical cutting lengths corresponding to different processing wire numbers (for example, in customized automotive wire harnesses, the lengths of different branches are different). In this complex scenario, if the control device blindly substitutes wires based solely on color, it is highly likely that incorrect length wires will be forcibly inserted into designated holes, ultimately causing the entire assembled wire harness to be scrapped due to non-compliant physical dimensions. Therefore, in this mode, the control device switches to a rigorous two-dimensional verification logic of "color + length." When traversing the subsequent processing sequence, the control device not only requires that the color attributes of the candidate wires be exactly the same as those of the discarded wires, but also must read their set wire harness cutting length parameters in parallel. Only when the length dimensions of the two are completely consistent will the control device allow it to be safely judged as a compliant candidate for processing, thereby avoiding secondary quality accidents caused by substitution logic.

[0068] In one feasible implementation, to visually illustrate the difference between the above dual-mode remedial strategies, assume that the current processing formula includes two blue processing wires. In the "equal wire length processing mode" (the formula sets both blue wires to 500mm), if the first blue wire is discarded due to poor crimping, when the control device searches backward, it only needs to confirm that the subsequent queued processing wires also require blue wires, and will directly promote them as candidate processing wires to replace the position of the first blue wire. However, in the "non-equal length processing mode," the formula specifies that the first blue wire is 200mm long and the second blue wire is 800mm long. When the first 200mm blue wire is scrapped, the control device, while searching the subsequent order queue, although it recognizes that subsequent steps also require blue wire, finds that the set length (800mm) of the alternative wire does not match the scrapped wire (200mm) after low-level comparison. At this time, the safety protection mechanism of the control device will refuse to use the 800mm blue wire as a substitute, and will continue to search deeply until it finds another blue wire with the same set requirement of 200mm, or automatically stop the wire replenishment and output a material shortage signal when all subsequent sequences are exhausted. Through this refined intelligent self-healing strategy of different modes, this application ensures that the equipment is efficient, does not stop, and is fault-tolerant, while firmly maintaining the yield of the physical dimensions of the finished wire harness.

[0069] In one embodiment, such as Figure 5 As shown, step S400 may include steps S410 and S420.

[0070] In this embodiment, in step S410, during the process of conveying the crimped processing wire to the next workstation, the vision detection module is triggered to take a flying shot to obtain a set of flying shot images.

[0071] Optionally, during the continuous translational conveying of the processed wire from the crimping station to the insertion station, the control device utilizes a high-speed synchronous triggering mechanism at the bottom layer to control a high-speed industrial camera and stroboscopic light source to perform an extremely short exposure and image acquisition at the instant the processed wire passes through the detection area. This aerial photography technology, which completes continuous shooting while the material is in uninterrupted motion, achieves complete overlap between the detection action and the physical conveying action of the material on the time axis, thereby generating an aerial photography image set containing multiple angles of view, fundamentally achieving zero cycle time loss under the stringent full inspection mode.

[0072] In this embodiment, step S420 involves extracting features from the images of the core wire, terminals, and target casing of the processed wire within the aerial image set to obtain the image feature data.

[0073] After acquiring the aforementioned aerial image set, the machine vision algorithm built into the control device immediately performs in-depth image processing and feature analysis. First, it filters out complex backgrounds and enhances material edges, then precisely locks the physical contours of two core quality inspection areas. The first area, the core wire area, is analyzed to determine if there are broken wires, exposed copper, or outward-facing and scattered defects in the exposed metal core wire after stripping. The second area, the terminal area, is analyzed to extract the morphological parameters of the stamped metal terminals, the tightness of the crimping wings, and whether there is any structural misalignment or deformation. Through pixel-level contour comparison and grayscale value extraction of these three key processing areas, the control device can quantify multi-dimensional image feature data, providing extremely accurate digital basis for subsequent millisecond-level automatic good product determination, resolutely preventing defective products from flowing into the next assembly process.

[0074] In one embodiment, step S300 may include step S310.

[0075] Step S310: Obtain the set pressing height according to the pressing mode parameters, and control the pressing mechanism to perform the corresponding pressing and positioning action according to the pressing height. In the process of controlling the servo motor of the terminal pressing module to perform the terminal pressing action to start and stop, an S-curve acceleration and deceleration algorithm is used to control the smooth operation of the servo motor.

[0076] Terminal crimping is a core step in wire harness processing that demands extremely high precision in both instantaneous mechanical force and physical spatial positioning. The control device first analyzes the crimping mode parameters to accurately extract the required crimping height for the current work order. This value directly determines the tightness with which the metal terminal flaps close and perfectly encase the internal copper wires. Understandably, if the servo motor uses a traditional linear acceleration / deceleration control mode, the sudden change in acceleration during instantaneous starting and stopping of the crimping action will generate a strong mechanical impact. This impact not only easily causes microscopic vibrations in the crimping machine, leading to deviations in the accuracy of the actual crimping height, but also significantly accelerates the physical fatigue and wear of the cam mechanism and transmission bearings.

[0077] To mitigate the aforementioned mechanical interference issues, this application introduces an S-curve acceleration / deceleration algorithm into the underlying drive logic of the servo motor. This algorithm, by smoothly constraining the derivative of acceleration, ensures that the servo motor exhibits a smooth, non-linear speed trajectory during both the acceleration and deceleration phases. Under this control strategy, the crimping mechanism can smoothly start and accelerate before contacting the terminal, and then smoothly decelerate and achieve precise braking at the moment of physical crimping, completely eliminating the mechanical jerking caused by rapid start-stop. Thus, this control method not only strictly locks the terminal crimping height error to the micrometer level to ensure high reliability of the electrical connection, but also significantly extends the continuous operating life of core mechanical components, and substantially improves the smoothness and quietness of the overall machine operation.

[0078] In one embodiment, the shell insertion matrix parameters include a one-to-many shell insertion command and a hole arrangement matrix. Step S500 may include step S510.

[0079] Step S510: Control the shell insertion module to insert multiple wires of different colors into the designated holes of the target shell arranged in an irregular circle or triangle according to the one-to-many shell insertion instruction.

[0080] In high-end custom wiring harnesses and complex automotive electronic and electrical architectures, it is often necessary to converge and densely assemble multiple branch cables of different origins and colors into a single main connector housing. Understandably, traditional automated connector insertion equipment, limited by the simplistic coordinate algorithms of robotic arms, typically only supports simple single-row or double-row symmetrical straight-line connector insertion. When faced with densely intersecting triangular or asymmetrical irregular ring-shaped connector arrangements, traditional equipment often relies on extremely tedious manual coordinate teaching by operators, or even degenerates into purely manual insertion, directly creating production capacity bottlenecks on automated production lines.

[0081] To overcome this challenging assembly process barrier, this application deeply integrates a high-order spatial coordinate matrix analysis algorithm into the control device. When the control device triggers a one-to-many insertion command, it simultaneously reads the hole arrangement matrix data of the target shell. This data can reconstruct the absolute spatial coordinates and physical orientation of each tiny, specified hole. Subsequently, the control device directs the multi-axis transfer mechanism of the insertion module to perform extremely complex spatial geometric displacements, guiding the precision gripper to hold various colored wires that have undergone crimping and high-speed inspection, precisely and accurately inserting them one by one into the irregularly arranged tiny holes according to the logical sequence set in the process formula. This matrix algorithm-based spatial insertion control strategy for multi-strand composite wires enables the equipment to handle the automated assembly challenges of various irregularly shaped high-density connectors with ease, completely opening up a fully automated closed loop for wire harness processing from flexible front-end wire selection to complex end-end forming, greatly expanding the commercial OEM boundaries of this equipment.

[0082] In one embodiment, the control method of the automatic end-cutting and shell-inserting machine further includes steps S810 to S830.

[0083] In this embodiment, step S810 involves collecting the start and end operation signals of each independent workstation of the wire feeding module, visual inspection module, terminal crimping module, and housing module.

[0084] The control device uses a low-level programmable logic controller (PLC) or high-speed data acquisition card to monitor in real time the level transition signals from various low-level actuators, including servo drivers, cylinder magnetic switches, and visual trigger ports. When a physical module receives a step start command, the control device precisely records the microsecond-level timestamp of its start signal; when the module completes a single prescribed action, such as feeding a wire or pressing and resetting a terminal, the control device again precisely records the timestamp of its end signal. Through this distributed data acquisition method, the control device completely breaks down the physical data silos between processing modules, laying the underlying data foundation for the overall efficiency of the machine.

[0085] In this embodiment, step S820 involves calculating the running time and utilization rate of each single workstation based on the start running signal and the end running signal.

[0086] After obtaining the aforementioned timestamps, the control device uses time difference calculations to accurately determine the actual time consumed by each independent module, such as wire feeding, visual inspection, terminal crimping, and shell insertion, to complete a single physical action. Furthermore, the control device compares this actual operating time with the theoretical design cycle of the workstation, or comprehensively calculates the percentage of total effective operating time of the equipment within a specific production time window, thereby scientifically determining the utilization rate of each workstation. This step not only makes the operational efficiency of the underlying hardware transparent and quantifiable, but also enables managers to directly and accurately locate time-consuming bottleneck workstations in the entire production line through data changes. For example, it can quickly identify whether a workstation's low utilization rate is due to frequent waiting for material changes or air pressure fluctuations, thus providing extremely intuitive data support for the refined optimization of the production line's process cycle.

[0087] In this embodiment, step S830, combined with the determination result of the image feature data, generates and outputs the production capacity data, yield rate and defect rate data of the whole machine in real time.

[0088] Based on the operational efficiency of each workstation, the control device further integrates the quality inspection results from the visual inspection process and the waste removal records from the intelligent fault-tolerant process. Through internal data aggregation algorithms, the control device dynamically calculates the cumulative output of the current batch of work orders, the number of good products that pass initial inspection, and the number of defective products scrapped due to various defects such as crimping deformation or terminal loosening, thereby deriving the overall yield and defect rates. Subsequently, the control device pushes these multi-dimensional production status indicators in the form of visual charts to the equipment's built-in human-machine interface monitoring terminal or the upper-level factory's Manufacturing Execution System (MES) in real time. In this way, this application completely eliminates the management black box drawbacks of the opaque underlying operating status of traditional equipment, empowering production managers to make efficient production scheduling decisions and build a full lifecycle quality traceability system.

[0089] This application also provides a control device for implementing the control method of the automatic end-cutting and shell-inserting machine described above.

[0090] It should be noted that the specific implementation of the control method of the automatic end-cutting and shell-inserting machine is described above. Since this control device adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments.

[0091] This application also provides an automatic terminal crimping and inserting machine, which includes a wire feeding module, a vision inspection module, a terminal crimping module, an inserting module, and a control device as described above. The wire feeding module includes multiple conduits.

[0092] It should be noted that the specific embodiments of the control device are described above. Since this automatic end-cutting and shell-inserting machine adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments.

[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and not to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application, and they should all be covered within the scope of the claims and specification of this application. In particular, as long as there is no technical conflict, the various technical features mentioned in the various embodiments can be combined in any way. This application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

Claims

1. A control method for an automatic end-cutting and shell-inserting machine, characterized in that, The automatic terminal crimping and inserting machine includes a wire feeding module, a vision inspection module, a terminal crimping module, and an inserting module. The wire feeding module includes multiple conduits. The control method for the automatic terminal crimping and inserting machine includes: Obtain the set wire color configuration parameters, crimping mode parameters, and shell matrix parameters; Based on the wire color configuration parameters, a mapping relationship between the wire color and multiple guide tubes of the wire feeding module is established, and each guide tube is controlled to transport the processed wire of the corresponding wire color to the crimping position of the terminal crimping module. The terminal crimping module is controlled to perform corresponding terminal crimping operations on the processed wire in the crimping working position according to the crimping mode parameters; During the process of conveying the crimped processing wire to the next station, the visual inspection module collects image feature data of the processing wire. If the image feature data meets the preset qualification conditions, the insertion module is controlled to insert the crimped processing wire into the designated hole of the target shell according to the insertion matrix parameters.

2. The control method for the automatic end-cutting and shell-inserting machine as described in claim 1, characterized in that, The step of establishing a mapping relationship between wire color and multiple guide tubes of the wire feeding module based on the wire color configuration parameters, and controlling each guide tube to transport the processed wire of the corresponding wire color to the crimping position of the terminal crimping module, includes: Based on the wire color configuration parameters, establish a mapping relationship between the wire color and the corresponding conduit in the wire delivery module; Obtain the processing wire number of the currently processed wire, and determine the wire color of the currently processed wire based on the processing wire number and the preset wire number-color mapping table; Match the conduit among the plurality of conduits to the wire color of the processed wire, and control the matched conduit to transport the processed wire of the corresponding wire color to the crimping position of the terminal crimping module.

3. The control method for the automatic end-cutting and shell-inserting machine as described in claim 1, characterized in that, The control method for the automatic end-cutting and shell-inserting machine also includes: If the image feature data does not meet the preset qualification conditions, the currently processed wire is determined to be an abnormal processed wire; Obtain the processing wire number and wire color of the abnormally processed wire, and find a candidate processed wire with a matching color in the subsequent wire harnesses to be processed. Then, modify the processing wire number of the candidate processed wire to the processing wire number of the abnormally processed wire to replace the abnormally processed wire.

4. The control method for the automatic end-cutting and shell-inserting machine as described in claim 3, characterized in that, The step of searching for candidate wires with matching colors in the wire harnesses to be processed subsequently includes: In the same line length processing mode, find the processing line with the same color as the abnormal line in the subsequent wire harness to be processed, and use it as the candidate processing line. In the non-equal length processing mode, the wires with the same color and whose set length is consistent with the wire length of the abnormally processed wire are searched in the subsequent wire harnesses to be processed, and are used as the candidate processed wires.

5. The control method for the automatic end-cutting and shell-inserting machine as described in claim 1, characterized in that, During the process of conveying the crimped wire to the next workstation, the visual inspection module collects image feature data of the wire, including: During the process of conveying the crimped processing wire to the next station, the vision detection module is triggered to take a flying shot to obtain a set of flying images; Within the aerial image set, feature extraction is performed on the images of the core wire of the processed wire, the terminals of the processed wire, and the target casing to obtain the image feature data.

6. The control method for the automatic end-cutting and shell-inserting machine as described in claim 1, characterized in that, The terminal crimping module is controlled to perform corresponding terminal crimping operations on the processed wire in the crimping working position according to the crimping mode parameters, including: The set pressing height is obtained according to the pressing mode parameters, and the pressing mechanism is controlled to perform the corresponding pressing and positioning action according to the pressing height. In the process of starting and stopping the servo motor of the terminal pressing module to perform the terminal pressing action, an S-curve acceleration and deceleration algorithm is used to control the smooth operation of the servo motor.

7. The control method for the automatic end-cutting and shell-inserting machine as described in claim 1, characterized in that, The shell insertion matrix parameters include a one-to-many shell insertion command and a hole arrangement matrix; The step of controlling the insertion module to insert the crimped wire into the designated hole in the target housing according to the insertion matrix parameters includes: The control module inserts multiple wires of different colors into designated holes in the target shell arranged in an irregular circle or triangle, according to the one-to-many insertion instruction.

8. The control method for an automatic end-cutting and shell-inserting machine as described in any one of claims 1 to 7, characterized in that, The control method for the automatic end-cutting and shell-inserting machine also includes: The start and end operation signals of each independent station of the wire feeding module, vision inspection module, terminal crimping module and shell insertion module are collected; Based on the start and end operation signals, calculate the running time and utilization rate of each workstation; Based on the judgment results of the image feature data, the system generates and outputs the production capacity data, yield rate, and defect rate data of the entire equipment in real time.

9. A control device, characterized in that, The control device is used to implement the control method of the automatic end-cutting and shell-inserting machine as described in any one of claims 1 to 8.

10. An automatic end-cutting and shell-inserting machine, characterized in that, The automatic terminal crimping and inserting machine includes a wire feeding module, a vision inspection module, a terminal crimping module, an inserting module, and a control device as described in claim 9. The wire feeding module includes multiple conduits.