Winding control method and device of flat cable, storage medium and electronic equipment
By obtaining the actual and expected number of turns of the wire in the multi-wire cutting machine, the winding process is dynamically adjusted, eliminating accumulated errors, improving the accuracy of winding control, solving the problem of large errors in the total number of turns, improving production efficiency and reducing the wire breakage rate.
Patent Information
- Application Number
- CN202410577355.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2025-11-11
AI Technical Summary
Existing wire winding control methods suffer from significant errors in the total number of winding turns, leading to error accumulation during the multi-wire cutting process, which affects production efficiency and wire breakage rate.
By obtaining the current actual cumulative number of turns of the cable and comparing it with the preset expected cumulative number of turns, the winding process of the cable is dynamically adjusted to ensure that the actual cumulative number of turns is consistent with the expected cumulative number of turns. Errors are eliminated by using early reversal and speed superposition.
It achieves zero-cumulative error tangential routing of multi-wire cutting machine wires, improving production efficiency and reducing wire breakage rate.
Smart Images

Figure CN120922674A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of multi-wire cutting machine technology, and more specifically, to a wire winding control method and device, storage medium and electronic device. Background Technology
[0002] Currently, the winding control method in related technologies is the fixed winding spacing method. The spool rotates at a fixed speed, and the winding spool calculates a fixed speed ratio to follow the rotation of the spool based on the winding stroke and winding spacing. It then switches directions when it encounters the soft limits of the left and right limits. However, because the winding spool cannot immediately switch directions under the load of the instrument, there is an acceleration and deceleration delay time for each reversal, resulting in a discrepancy between the actual reversal position and the left and right limits. Coupled with the scanning cycle of the PLC (Programmable Logic Controller), the error accumulates and is difficult to eliminate.
[0003] It is evident that the winding control method in the relevant technology has a problem of large error in the total number of winding turns. Summary of the Invention
[0004] This application provides a method and apparatus for controlling the winding of a cabling, a storage medium, and an electronic device, to at least solve the problem of large errors in the total number of winding turns in the cabling control methods of related technologies.
[0005] According to one embodiment of this application, a wire winding control method is provided, comprising: during the wire winding process of a multi-wire cutting machine's wire winding shaft, obtaining the current actual cumulative winding coil number of the wire; determining the current expected cumulative winding coil number of the wire based on a preset winding coil number per layer of the wire; and controlling the winding process of the wire based on the actual cumulative winding coil number and the expected cumulative winding coil number, so that the actual cumulative winding coil number is consistent with the expected cumulative winding coil number.
[0006] According to another embodiment of this application, a wire winding control device is provided, comprising: an acquisition unit, configured to acquire the current actual cumulative number of winding turns of the wire during the wire winding process of the wire winding shaft of a multi-wire cutting machine; a first determination unit, configured to determine the current expected cumulative number of winding turns of the wire based on a preset number of winding turns per layer of the wire; and a first control unit, configured to control the winding process of the wire based on the actual cumulative number of winding turns and the expected cumulative number of winding turns, so that the actual cumulative number of winding turns is consistent with the expected cumulative number of winding turns.
[0007] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the above-described wiring control method when running.
[0008] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the winding control method of the above-mentioned ribbon cable through the computer program.
[0009] According to another aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above-described embodiments of the wiring control method for cabling.
[0010] Through the embodiments of this application, the winding process of the wiring harness is controlled by using the actual cumulative number of winding turns and the expected cumulative number of winding turns, thereby eliminating cumulative errors and achieving the technical effect of improving the accuracy of the winding control of the wiring harness. This solves the problem that the winding control method of the wiring harness in the related art has a large error in the total number of winding turns. Attached Figure Description
[0011] Figure 1 This is a flowchart illustrating an optional wiring control method according to an embodiment of this application.
[0012] Figure 2 This is a hardware structure block diagram of an optional wiring control method according to an embodiment of this application;
[0013] Figure 3 This is a flowchart illustrating another optional wiring control method according to an embodiment of this application;
[0014] Figure 4 This is a flowchart illustrating another optional wiring control method according to an embodiment of this application;
[0015] Figure 5 This is a schematic diagram illustrating the speed and position of an optional ribbon cable spool changing over time, according to an embodiment of this application.
[0016] Figure 6 This is a structural block diagram of an optional wiring control device according to an embodiment of this application;
[0017] Figure 7 This is a structural block diagram of an optional electronic device according to an embodiment of this application. Detailed Implementation
[0018] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0020] According to one aspect of the embodiments of this application, a method for controlling the winding of a cabling is provided.
[0021] Figure 1 This is a flowchart illustrating an optional wiring control method according to an embodiment of this application, as shown below. Figure 1 As shown, the process of this method may include the following steps:
[0022] Step S102: During the wire laying process of the wire laying shaft of the multi-wire cutting machine, obtain the current actual cumulative number of windings of the wire.
[0023] The wire winding control method in this embodiment can be applied to control the winding process of wires used in multi-wire cutting machines. The wire can be diamond wire, and this embodiment does not limit it. Current wire winding methods use a method where the wire spool speed follows the thread spool speed, switching direction only when encountering soft limits on the left and right sides. Because the machine load prevents the wire spool from immediately switching direction, there is an acceleration / deceleration delay time for each direction change. Combined with the PLC scanning cycle, errors accumulate and are difficult to eliminate. Furthermore, because the wire stroke and spacing are different for each multi-wire cutting machine, the errors vary from machine to machine. Current diamond wire winding has inherent deviations; factory-made wires are not universally compatible with all multi-wire cutting machines, leading to wire skewing problems during cutting. A new roll of diamond wire will accumulate skewing during use, requiring manual adjustment, making forward cutting difficult and forcing the use of reverse cutting, resulting in low efficiency.
[0024] Here, a multi-wire cutting machine is a precision cutting device used to cut hard and brittle materials such as stone, glass, and ceramics. It uses a high-speed moving metal wire (usually diamond or steel wire) as a cutting tool, and achieves cutting of the material through the relative movement between the wire and the material.
[0025] like Figure 2 As shown, Figure 2 This diagram illustrates the use of ribbon wire (e.g., diamond wire) on a multi-wire cutting machine. The spool rotates at high speed, and the ribbon wire moves back and forth on the spool as it rotates. To ensure the ribbon wire remains perpendicular to the spool, the ribbon wire spool, carrying guide wheels, follows the spool's left-right reciprocating motion at a certain speed ratio. This requires a fixed number of turns of diamond wire per layer on the spool, with no cumulative error; otherwise, the ribbon wire will become increasingly misaligned with the use of the wire.
[0026] In addition to ensuring that there is no cumulative error in the total number of turns, the diamond wire winding must also be full (the left and right edges of the wire roller must be completely wrapped with wire, with an error within 0.1mm), otherwise the diamond wire will break due to lateral tension after being left for a period of time.
[0027] The current winding method uses a fixed wire spacing method. The spool rotates at a fixed speed, and the winding shaft calculates a fixed speed ratio to follow the spool's rotation based on the wire travel and the wire spacing. Left and right limits are set according to the left and right travel of the wire roller (for example, a travel of 200mm from the left edge to the right edge of the roller). The left-to-right travel of the wire roller is the left-to-right travel of the winding shaft during winding. The wire spacing is set to 0.3mm (one turn of wire every 0.3mm, approximately 666.66 turns per layer). The winding shaft switches its direction of movement when it touches the left or right limit. However, due to the mechanical inertia of the winding shaft, it cannot immediately switch its direction of movement at the left and right limits. Each direction change has an acceleration / deceleration delay time. Combined with the PLC's scanning cycle error, the error accumulates and cannot be eliminated, resulting in an inconsistent number of winding turns (more turns per layer than 666.66), and the exact number of turns is unknown.
[0028] To at least partially solve the above problems, in this embodiment, the winding process of the wire is controlled based on the current actual cumulative number of turns and the expected cumulative number of turns, so that the actual cumulative number of turns of the wire is consistent with the expected cumulative number of turns. That is, this application provides a diamond wire winding method, which, when used in conjunction with the same wire winding operation mode at the multi-wire cutting machine end, completely eliminates cumulative errors, and can achieve tangential winding without cumulative errors in the multi-wire cutting machine, thereby improving production efficiency and reducing the wire breakage rate.
[0029] In this embodiment, the current actual cumulative number of turns of the ribbon cable is the number of turns the ribbon cable is wound onto the spool by the ribbon cable shaft during the reciprocating movement of the ribbon cable shaft following the rotation of the spool. Here, the ribbon cable shaft can reciprocate between up and down, between left and right, or in other directions. This embodiment does not limit this.
[0030] Step S104: Determine the current expected cumulative number of windings of the ribbon cable based on the preset number of windings per layer of the ribbon cable.
[0031] Based on the soft limit of the reciprocating commutation limit of the ribbon cable spool and the preset ribbon cable spacing, the number of coils per layer of the ribbon cable can be preset, that is, the number of coils per layer of the ribbon cable on the spool.
[0032] For example, in this embodiment, the distance between the soft limiters of the left and right reversing limiters of the ribbon cable shaft is equal to 200mm, and the ribbon cable spacing is set to 0.3mm (one turn of wire every 0.3mm). Therefore, each layer has approximately 666.66 turns, meaning the preset number of turns per layer of the ribbon cable is 666.66. Of course, the preset number of turns per layer of the ribbon cable can be set according to actual conditions, such as 667, 668, or 800 turns.
[0033] Optionally, in this embodiment, when the starting position of the ribbon cable spool stops at the middle position of the spool, the number of initial reversing turns can be determined based on the distance from the starting position of the ribbon cable spool to the reversing limit and the distance between the reciprocating reversing limit.
[0034] Step S106: Control the winding process of the wire arrangement according to the actual cumulative number of turns and the expected cumulative number of turns, so that the actual cumulative number of turns is consistent with the expected cumulative number of turns.
[0035] The winding process of the wiring harness is controlled based on the actual cumulative number of winding turns and the expected cumulative number of winding turns. This can be done by making the actual cumulative number of winding turns in a single layer of the wiring harness consistent with the expected cumulative number of winding turns in a single layer, or by making the actual total number of winding turns in the wiring harness consistent with the expected total number of winding turns in the wiring harness. This embodiment does not limit this.
[0036] Through steps S102 to S106 above, during the wire laying process of the multi-wire cutting machine's wire laying shaft, the current actual cumulative number of winding turns of the wire is obtained; based on the preset number of winding turns per layer of the wire, the current expected cumulative number of winding turns of the wire is determined; based on the actual cumulative number of winding turns and the expected cumulative number of winding turns, the wire laying process is controlled to ensure that the actual cumulative number of winding turns is consistent with the expected cumulative number of winding turns. Since the wire laying process is dynamically controlled based on the difference between the actual cumulative number of winding turns and the expected cumulative number of winding turns, the problem of continuous accumulation of winding errors caused by using a fixed winding speed in related technologies can be avoided, and the problem of large errors in the total number of winding turns in the wire laying control methods of related technologies can be solved.
[0037] In one exemplary embodiment, before obtaining the current actual cumulative number of turns of the cable, the method further includes:
[0038] S11, when the winding mode of the cable is the first winding mode, the first reversing reference position of the cable shaft is determined according to the first historical movement curve of the cable shaft during the cable winding process, wherein the cable shaft moves back and forth according to the preset limit position during the cable winding process.
[0039] S12, determine the first reversing position of the ribbon cable shaft based on the distance between the first reversing reference position and the preset limit position, wherein the first reversing position is the position where the ribbon cable shaft begins to reverse;
[0040] S13, control the cable tray to start reversing when it reaches the first reversing position, and complete the reversing when it reaches the preset limit position;
[0041] The first winding mode is a winding mode in which the direction of change is completed when the spool reaches the preset limit position.
[0042] When the winding mode of the ribbon cable is the first winding mode, the first reversing reference position of the ribbon cable shaft is determined according to the first historical movement curve of the ribbon cable shaft. Here, the first historical movement curve can be the data of the change of the position of the ribbon cable shaft over time during the reciprocating movement of the ribbon cable shaft according to the preset limit position. The first reversing reference position is the position where the ribbon cable shaft completes the reversal. Optionally, the first reversing reference position can be the position that exceeds the preset limit position of the ribbon cable shaft (i.e., the soft limit of the reciprocating reversal limit). The preset limit position is the preset reversal completion position.
[0043] In order to ensure that the ribbon cable spool completes the reversal at the preset limit position, in the first winding mode, the first reversal position of the ribbon cable spool is determined according to the distance between the first reversal reference position and the preset limit position. Here, the first reversal position is the position where the ribbon cable spool begins to reverse. Corresponding to the first reversal reference position, the first reversal position can be a position within the preset limit position of the ribbon cable spool (i.e., the soft limit of the reciprocating reversal limit). Based on this, by starting the reversal in advance at the first reversal position, it can be ensured that the ribbon cable spool completes the reversal at the preset limit position.
[0044] It should be noted that the actual cumulative number of winding turns can be obtained after the spool has completed its reversal, before the next winding has started.
[0045] This embodiment improves the accuracy of ribbon cable reversal by starting the reversal before reaching the preset limit position of the ribbon cable spool and completing the reversal when the preset limit position is reached.
[0046] In an exemplary embodiment, determining the first reversing position of the cable spool based on the distance between the first reversing reference position and the preset limit position includes:
[0047] S21, determine the first reversing position of the ribbon cable shaft based on the target distance before the preset limit position, wherein the target distance is equal to the distance between the first reversing reference position and the preset limit position.
[0048] Similar to the aforementioned embodiments, the distance between the first reversing position before the preset limit position and the preset limit position (i.e., the target distance) is equal to the distance between the first reversing reference position after the preset limit position and the preset limit position.
[0049] For example, in this embodiment, the position curve of the multi-wire cutting machine's wire guide shaft movement, displayed by the first historical movement curve monitored by the PLC, shows that the wire guide shaft moved 198mm in 20 seconds when it encountered the reversing limit, resulting in a speed of 9.9mm / s. The left limit position (preset limit position) is 10.8mm, and the right limit position (preset limit position) is 208.8mm. If the monitored first reversing reference position of the wire guide shaft is approximately 10.758mm, and the left limit is 10.8mm, it is concluded that the position exceeds the limit by 0.042mm when reversing at a wire guide shaft speed of 9.9mm / s. That is, the distance between the first reversing reference position and the preset limit position is 0.042mm. Therefore, the left first reversing position is 10.8 + 0.042 = 10.842mm, and the right first reversing position is 208.8 - 0.042 = 208.7mm.
[0050] In one exemplary embodiment, the winding process of the cable is controlled based on the actual cumulative number of turns and the expected cumulative number of turns, including:
[0051] S31, when the spool has completed the reversal, determine the number of windings to be compensated based on the difference between the expected cumulative number of windings and the actual cumulative number of windings.
[0052] S32, determine the first moving speed of the wire guide shaft based on the result of dividing the number of winding coils in each layer by the number of winding coils after compensation and the target speed of the wire guide shaft, wherein the number of winding coils after compensation is the sum of the number of winding coils in each layer and the number of winding coils to be compensated;
[0053] S33, the ribbon cable spool is controlled to move along the reversed direction according to the first moving speed so as to wind the ribbon cable onto the spool.
[0054] The number of windings to be compensated can be a number greater than or equal to 0, or a number less than 0.
[0055] For example, in this embodiment, if after the previous winding cycle is completed and the reversal is completed, it is detected that the actual cumulative number of winding turns is one more turn than the expected cumulative number of winding turns, then the current winding cycle needs to reduce the number of turns by one. Taking the standard winding speed of 666.666 turns per layer as an example, which is 9.9 mm / s, then this cycle only needs to wind 665.666 turns. With the spool rotation speed remaining constant, the spool speed is:
[0056] 666.666 / 665.666*9.9=9.9148723mm / s
[0057] Here, the target speed of the ribbon cable spool can refer to the data monitored by the PLC when it encounters the reversing limit and begins to reverse: the ribbon cable spool moves 198mm in 20 seconds, resulting in a speed of 9.9mm / s. Alternatively, it can refer to the compensated winding speed corresponding to the current winding coil. For example, during the acceleration process of the ribbon cable speed from 0mm / s to 9.9mm / s after reversing, the ribbon cable makes more turns compared to winding at 9.9mm / s. The extra turns are compensated by the superimposed speed after reversing. At this time, the target speed of the ribbon cable spool is greater than or equal to 9.9mm / s.
[0058] In this embodiment, the error in the number of turns per layer is corrected by subtracting the actual number of turns from the expected number of turns, thereby reducing the cumulative error in the total number of turns.
[0059] In an exemplary embodiment, during the process of the ribbon cable shaft moving from the first reversing position to the preset limit position, the above method further includes:
[0060] S41, reduce the moving speed of the ribbon cable spool, wherein the reduced moving speed of the ribbon cable spool is less than the specified speed of the ribbon cable spool;
[0061] Similar to the aforementioned embodiments, during the process of the ribbon cable spool moving from the first reversing position to the preset limit position, the moving speed of the ribbon cable spool is reduced. The reduced moving speed of the ribbon cable spool is less than the specified speed of the ribbon cable spool, so as to complete the reversal at the preset limit position of the ribbon cable spool. Optionally, the speed of the ribbon cable spool when it reaches the preset limit position can be approximately 0.
[0062] Here, the specified speed is the running speed of the wire guide shaft determined based on the first historical movement curve. For example, the first historical movement curve monitored by the PLC shows the position curve of the wire guide shaft of the multi-wire cutting machine. When it encounters the reversing limit and starts to reverse, the data shows that the wire guide shaft moves 198mm in 20 seconds, so the specified speed can be determined to be 9.9mm / s.
[0063] After the ribbon cable reel has completed its reversal, the above method also includes:
[0064] S42, Increase the moving speed of the ribbon cable spool until the moving speed of the ribbon cable spool reaches the second moving speed, wherein the second moving speed is greater than the specified speed of the ribbon cable spool.
[0065] During the process of increasing the speed of the ribbon cable spool from the set speed to the specified speed, the number of turns of the ribbon cable spool will be more than when the ribbon cable spool runs at the specified speed. That is, the ribbon cable spool will generate extra turns during acceleration. In order to eliminate this error, after the ribbon cable spool reverses direction, a speed is added to compensate for the extra turns of the ribbon cable spool during acceleration.
[0066] For example, in this embodiment, taking the position curve of the multi-wire cutting machine's wire guide shaft movement displayed by the first historical movement curve monitored by the PLC, the data that the wire guide shaft moved 198mm in 20 seconds when it encountered the reversing limit and started to reverse, and taking the specified speed of 9.9mm / s as an example, the acceleration and deceleration time of the servo is the same. The superimposed speed is to eliminate the amount of movement due to the acceleration time. It is also 0.042mm, the same as the early reversing position (i.e., the first reversing position). The 0.042mm is accumulated into the stroke after reversing, and the superimposed speed is 0.042 / 20 = 0.0021mm / s. That is, the second speed is 9.9 + 0.0021 = 9.9021mm / s.
[0067] The superimposed speed after reversal is used to compensate for the extra turns during the acceleration phase after reversal, to avoid reversing before reaching the limit due to the extra turns caused by the acceleration phase, and to achieve winding saturation.
[0068] Optionally, the ribbon cable spool can complete the reversal when it reaches a set speed, which can be 2mm / s-0mm / s. Among them, completing the reversal at 0mm / s will cause less damage to the equipment.
[0069] In this embodiment, the winding spool is braked in advance before the reversal to ensure a more accurate reversal position. After the reversal, the winding spool is accelerated in the same direction to achieve winding saturation. Braking can compensate for the deceleration time of the winding spool before the reversal, and acceleration can compensate for the acceleration time of the winding spool after the reversal. Under the premise of ensuring a stable number of turns per layer, each layer of winding can reach the preset limit position (e.g., the left and right edges of the steel wire roller), avoiding the wire from breaking due to lateral tension after being left to rest for a period of time due to insufficient winding.
[0070] In one exemplary embodiment, the winding process of the cable is controlled based on the actual cumulative number of turns and the expected cumulative number of turns, including:
[0071] S51, when the winding mode of the cable is the second winding mode, determine the second reversing reference position of the cable shaft according to the second historical movement curve of the cable shaft during the cable winding process;
[0072] S52, determine the second reversing position of the ribbon cable shaft based on the distance between the second reversing reference position and the preset limit position, wherein the second reversing position is the position where the ribbon cable shaft begins to reverse;
[0073] S53 controls the cable tray to start reversing when it reaches the second reversing position, and completes the reversing when the actual accumulated number of coils reaches the expected accumulated number of coils.
[0074] The second winding mode is a winding mode in which the winding shaft completes the reversal when the actual cumulative number of winding turns of the winding is the same as the expected cumulative number of winding turns of the winding.
[0075] When the winding mode of the cable is the second winding mode, the second reversing reference position of the cable shaft is determined according to the second historical movement curve of the cable shaft. Here, the second historical movement curve can be used to describe the change of the position of the cable shaft over time during the reciprocating movement of the cable shaft according to the expected cumulative number of winding turns. The second reversing reference position is the position where the cable shaft actually completes the reversal. Optionally, due to the inertia of the instrument, the second reversing reference position can be a position that exceeds the preset limit position of the cable shaft (i.e., the soft limit of the reciprocating reversing limit).
[0076] In order to ensure that the ribbon cable spool completes the reversal at the preset limit position, in the second winding mode, the second reversal position of the ribbon cable spool is determined according to the distance between the second reversal reference position and the preset limit position. Here, the second reversal position is the position where the ribbon cable spool begins to reverse. Corresponding to the second reversal reference position, the second reversal position can be a position within the preset limit position of the ribbon cable spool (i.e., the soft limit of the reciprocating reversal limit). Based on this, by starting the reversal in advance at the second reversal position, it can be ensured that the ribbon cable spool completes the reversal at the preset limit position.
[0077] It should be noted that the ribbon cable spool moves back and forth according to the preset limit position following the rotation of the spool. The actual cumulative number of turns can be obtained after the ribbon cable spool has completed the reversal, when the reversal is complete and the next winding has not yet started.
[0078] In this embodiment, the spool is controlled to reverse by the expected cumulative number of winding turns. The spool reversal method is bound to the total number of turns of the spool. The reversal is performed when the current total number of turns equals the number of reversal turns, without having to correct the cumulative number of turns. Optionally, in order to limit the range of movement of the spool by the preset limit position of the spool (e.g., left and right limit), an advance reversal turn number (or advance spool reversal stroke) can be added, and a spool speed in the same direction can be superimposed after the reversal to improve the saturation of the winding.
[0079] In one exemplary embodiment, determining the current expected cumulative number of turns of the cable based on a preset number of turns per layer includes:
[0080] S61, Based on the starting position of the cable winding, determine the number of first commutation winding turns of the cable, wherein the number of first commutation winding turns is the expected cumulative number of winding turns of the cable when the cable shaft first commutates;
[0081] S62, determine the current expected cumulative number of windings based on the product of the number of windings in each layer and the current number of winding layers minus 1, and the sum of the number of windings in the first commutation.
[0082] For example, in this embodiment, the number of initial reversing turns is calculated based on the distance from the starting position of the cable spool to the initial reversing limit, for example, the starting position of the cable spool is at the very center of the spool:
[0083] Initial commutation turn count = 0.5 * number of turns per layer (666.6666) = 333.3333 turns.
[0084] Theoretical number of winding turns = (current layer number - 1) * number of winding turns per layer + number of turns during the first commutation
[0085] If the cable is wound from the middle position of the spool, then the theoretical total number of turns for the tenth layer of winding (i.e., the expected cumulative number of turns) = 9 * 666.6666 + 333.3333.
[0086] As an optional exemplary embodiment of this application, the winding control of the spool in the embodiment of this application is explained by taking the first winding mode as encountering the left and right soft limit reversal of the spool and then using the cumulative total number of turns to correct the single layer of turns error; and the first winding mode as using the cumulative total number of turns to control the spool reversal and then superimposing a spool speed to compensate for the saturation of the winding.
[0087] Combination Figure 3 The winding control method (first winding mode) for wiring in this application may specifically include the following steps:
[0088] Step 1: Calculate the following speed ratio of the ribbon cable spool.
[0089] Step 2: Based on the characteristics of the cable reel and the soft limit, obtain the two advance reversal position values (i.e., the first reversal position).
[0090] Step 3: The spool and the bobbin begin to wind the wire.
[0091] Step 4: Upon reaching the pre-change position, begin the change of direction. After the change of direction, detect that the speed and direction have switched and determine whether it is the first change of direction.
[0092] Step 5: In the case of the first reversal, start recording the total number of rotations of the spool; in the case of subsequent reversals, determine the current cumulative number of rotations of the spool.
[0093] Step 6: Subtract the theoretical total number of rotations from the current total number of rotations. If the difference is greater than the theoretical total number of rotations, increase the spindle speed according to the difference; if the difference is less than the theoretical total number of rotations, decrease the spindle speed according to the theoretical total number of rotations.
[0094] Step 7: Add a commutator speed in the same direction to eliminate the commutation acceleration error (the magnitude depends on the performance of the ribbon cable spool).
[0095] Step 8: If the total number of winding layers has been reached, end the winding process; otherwise, return to step 4.
[0096] Among them, (1) the calculation method of the speed following ratio of the spool to the spool:
[0097] The speed units of the bobbin and the spool are mm / s and r / s, respectively. When calculating the following speed ratio, assuming the number of turns per layer is 666.6666 and the travel distance from the left limit to the right limit of the bobbin is 200mm, then:
[0098] Linear speed: spool speed = 200:666.6666 ≈ 0.3.
[0099] (2) The number of turns for the first reversal is calculated based on the distance from the starting position of the spool to the first reversal limit. For example, if the starting position of the spool is at the very center of the spool: the number of turns for the first reversal = 0.5 * the number of turns per layer.
[0100] = 333.3333 laps;
[0101] (3) The theoretical number of winding turns is calculated as follows: theoretical number of winding turns = (current layer number - 1) * number of winding turns per layer + number of turns for the first reversal. For example, if the wire is wound from the middle position of the spool, the theoretical total number of winding turns for the tenth layer is 9 * 666.6666 + 333.3333.
[0102] (4) The origin of the early reversing position: The deceleration response curve of the reversing position of the cable shaft is monitored by PLC and combined with the position of the left and right limit switches.
[0103] (5) The origin of the superimposed cable speed: It is obtained by using the PLC to monitor the reversing position of the cable shaft and the acceleration response curve, combined with the position of the left and right limit switches.
[0104] Combination Figure 4 Another method for controlling the winding of a cabling in this application may specifically include the following steps:
[0105] Step 1: Obtain the initial position of the ribbon cable spool and calculate the following speed ratio of the ribbon cable spool.
[0106] Step 2: Calculate the number of windings for the first reversal based on the current position of the ribbon cable shaft and the number of windings per layer.
[0107] Step 3: The spool and the bobbin begin to wind the wire.
[0108] Step 4: Upon reaching the pre-change position, begin the change of direction. After the change of direction, detect that the speed and direction have switched and determine whether it is the first change of direction.
[0109] Step 5: In the case of the first reversal, reverse the direction according to the calculated number of turns for the first reversal; in the case of a non-first reversal, reverse the direction according to the total number of turns accumulated in the winding.
[0110] Step 6, number of commutation turns = number of turns in the first commutation + (number of layers - 1) * number of windings per layer.
[0111] Step 7: Based on the characteristics of the cable reel and the soft limit, obtain the two advance reversal position values (i.e., the second reversal position). Optionally, step 7 can also be obtained in step 2.
[0112] Step 8: Upon reaching the pre-reversing position, begin the limit brake; once the reversing rotation is completed, the cable spool completes the reversing.
[0113] Step 9: Add a same-direction ribbon cable speed to eliminate the commutation acceleration error (the magnitude depends on the performance of the ribbon cable spool).
[0114] Step 10: If the total number of winding layers has been reached, end the winding process; otherwise, return to step 4.
[0115] Combination Figure 5 , Figure 5 The first and second curves in the figure correspond to the right and left limits of the ribbon cable spool, respectively; the changes in the ribbon cable spool speed over time for pre-reversal deceleration before reversal and reverse acceleration after reversal are shown in the figure. Figure 5 As shown in the third curve; the change in the position of the ribbon cable shaft over time for deceleration before swivel and acceleration in the opposite direction after swivel is as follows. Figure 5 As shown in the fourth curve in the figure.
[0116] It should be noted that in this application, whether the cable winding pattern is the first winding pattern or the second winding pattern, it can be achieved through... Figure 5 Before the spool reverses direction, the brakes are applied in advance to ensure a more precise reversal position. After the spool reverses direction, the speed compensation is added to compensate for the extra turns during the acceleration phase after the reversal, thus avoiding the extra turns due to the acceleration phase and preventing the reversal from occurring before reaching the limit, thereby achieving saturation of the winding.
[0117] This embodiment proposes a high-precision diamond wire winding method. When combined with the same wire routing operation mode at the multi-wire cutting machine end, it can completely eliminate accumulated errors, achieve tangential winding without accumulated errors in the multi-wire cutting machine, improve production efficiency, and reduce wire breakage rate.
[0118] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0119] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware servers. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM (Read-Only Memory) / RAM (Random Access Memory), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0120] According to another aspect of the embodiments of this application, a winding control device for implementing the winding control method of the above-described wiring is also provided. Figure 6 This is a structural block diagram of an optional cable winding control device according to an embodiment of this application, such as... Figure 6 As shown, the device may include:
[0121] The acquisition unit 602 is used to acquire the current actual cumulative number of turns of the ribbon cable. The actual cumulative number of turns of the ribbon cable is the number of turns of the ribbon cable wound onto the spool by the ribbon cable shaft during the reciprocating movement of the ribbon cable shaft following the rotation of the spool.
[0122] The first determining unit 604 is used to determine the current expected cumulative number of windings of the ribbon cable based on the preset number of windings per layer of the ribbon cable.
[0123] The first control unit 606 is used to control the winding process of the wiring harness according to the actual cumulative number of winding turns and the expected cumulative number of winding turns, so that the actual cumulative number of winding turns of the wiring harness is consistent with the expected cumulative number of winding turns of the wiring harness.
[0124] Through the embodiments of this application, during the wire laying process of the wire laying shaft of the multi-wire cutting machine, the current actual cumulative number of winding turns of the wire is obtained; based on the preset number of winding turns per layer of the wire, the current expected cumulative number of winding turns of the wire is determined; based on the actual cumulative number of winding turns and the expected cumulative number of winding turns, the winding process of the wire is controlled so that the actual cumulative number of winding turns is consistent with the expected cumulative number of winding turns, thus solving the problem that the winding control method of the wire laying in the related technology has a large error in the total number of winding turns.
[0125] In one exemplary embodiment, the above-described apparatus further includes:
[0126] The second determining unit is used to determine the first reversing reference position of the ribbon cable shaft according to the first historical movement curve of the ribbon cable shaft during the ribbon cable winding process, before obtaining the current actual cumulative number of winding turns of the ribbon cable, when the winding mode of the ribbon cable is the first winding mode. The ribbon cable shaft moves back and forth according to the preset limit position during the ribbon cable winding process.
[0127] The third determining unit is used to determine the first reversing position of the ribbon cable shaft based on the distance between the first reversing reference position and the preset limit position, wherein the first reversing position is the position where the ribbon cable shaft begins to reverse.
[0128] The second control unit is used to control the ribbon cable shaft to start reversing when it reaches the first reversing position and to complete the reversing when it reaches the preset limit position.
[0129] The first winding mode is a winding mode in which the direction of change is completed when the spool reaches the preset limit position.
[0130] In one exemplary embodiment, the third determining unit includes:
[0131] The first determining module is used to determine the first reversing position of the ribbon cable shaft based on the target distance before the preset limit position, wherein the target distance is equal to the distance between the first reversing reference position and the preset limit position.
[0132] In one exemplary embodiment, the first control unit includes:
[0133] The second determining module is used to determine the number of windings to be compensated based on the difference between the expected cumulative winding count and the actual cumulative winding count when the spool has completed the reversal.
[0134] The third determining module is used to determine the first moving speed of the wire guide shaft based on the result of dividing the number of winding coils in each layer by the number of winding coils after compensation and the target speed of the wire guide shaft. The number of winding coils after compensation is the sum of the number of winding coils in each layer and the number of winding coils to be compensated.
[0135] The first control module is used to control the ribbon cable spool to move along the reversed direction according to the first moving speed, so as to wind the ribbon cable onto the spool.
[0136] In one exemplary embodiment, the above-described apparatus further includes:
[0137] The first execution unit is used to reduce the moving speed of the ribbon cable shaft during the process of the ribbon cable shaft moving from the first reversing position to the preset limit position, wherein the reduced moving speed of the ribbon cable shaft is less than the specified speed of the ribbon cable shaft.
[0138] The above-mentioned device also includes:
[0139] The second execution unit is used to increase the moving speed of the ribbon cable spool after the ribbon cable spool completes the reversal until the moving speed of the ribbon cable spool reaches the second moving speed, wherein the second moving speed is greater than the specified speed of the ribbon cable spool.
[0140] The ribbon cable spool reverses direction when it reaches a set speed.
[0141] In one exemplary embodiment, the first control unit includes:
[0142] The fourth determining module is used to determine the second reversing reference position of the cable shaft based on the second historical movement curve of the cable shaft during the cable laying process when the cable winding mode is the second winding mode.
[0143] The fifth determining module is used to determine the second reversing position of the ribbon cable shaft based on the distance between the second reversing reference position and the preset limit position, wherein the second reversing position is the position where the ribbon cable shaft begins to reverse.
[0144] The second control module is used to control the cable shaft to start commutation when it reaches the second commutation position, and to complete commutation when the actual cumulative number of windings reaches the expected cumulative number of windings.
[0145] The second winding mode is a winding mode in which the winding shaft completes the reversal when the actual cumulative number of winding turns of the winding is the same as the expected cumulative number of winding turns of the winding.
[0146] In one exemplary embodiment, the first determining unit includes:
[0147] The sixth determining module is used to determine the number of first commutation winding turns of the ribbon cable based on the starting position of the winding of the ribbon cable. The number of first commutation winding turns is the expected cumulative number of winding turns of the ribbon cable when the ribbon cable shaft first reverses.
[0148] The seventh determining module is used to determine the current expected cumulative number of winding coils based on the product of the number of winding coils in each layer and the current number of winding layers minus 1, plus the number of winding coils in the first commutation.
[0149] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should also be noted that the above modules, as part of a device, can operate in environments such as... Figure 2 The hardware environment shown can be implemented through software or hardware, and the hardware environment includes the network environment.
[0150] According to another aspect of the embodiments of this application, a storage medium is also provided. Optionally, in this embodiment, the storage medium can be used to execute program code for any of the wiring control methods described above in the embodiments of this application.
[0151] Optionally, in this embodiment, the storage medium may be located on at least one of the multiple network devices in the network shown in the above embodiment.
[0152] Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
[0153] S1, during the wire laying process of the wire laying shaft of the multi-wire cutting machine, obtain the current actual cumulative number of windings of the wire;
[0154] S2, determine the current expected cumulative number of coils of the ribbon cable based on the preset number of coils per layer of the ribbon cable;
[0155] S3 controls the winding process of the wire arrangement based on the actual cumulative number of turns and the expected cumulative number of turns, so that the actual cumulative number of turns is consistent with the expected cumulative number of turns.
[0156] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated in this embodiment.
[0157] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, ROMs, RAMs, portable hard drives, magnetic disks, or optical disks.
[0158] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described wiring control method is also provided. The electronic device may be a smart device, a server, a terminal, or a combination thereof.
[0159] Figure 7 This is a structural block diagram of an optional electronic device according to an embodiment of this application, such as... Figure 7 As shown, it includes a processor 702, a communication interface 704, a memory 706, and a communication bus 708. The processor 702, communication interface 704, and memory 706 communicate with each other via the communication bus 708.
[0160] Memory 706 is used to store computer programs;
[0161] When processor 702 executes a computer program stored in memory 706, it performs the following steps:
[0162] S1, during the wire laying process of the wire laying shaft of the multi-wire cutting machine, obtain the current actual cumulative number of windings of the wire;
[0163] S2, determine the current expected cumulative number of coils of the ribbon cable based on the preset number of coils per layer of the ribbon cable;
[0164] S3 controls the winding process of the wire arrangement based on the actual cumulative number of turns and the expected cumulative number of turns, so that the actual cumulative number of turns is consistent with the expected cumulative number of turns.
[0165] Optionally, the communication bus can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 The symbol is represented by a single thick line, but this does not indicate that there is only one bus or one type of bus. The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0166] The memory may include RAM, or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0167] As an example, the memory 706 described above may include, but is not limited to, the acquisition unit 602, the first determination unit 604, and the first control unit 606 of the winding control device for the aforementioned cable. Furthermore, it may include, but is not limited to, other module units in the winding control device for the aforementioned cable, which will not be elaborated upon in this example.
[0168] The processors mentioned above can be general-purpose processors, including but not limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; they can also be DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0169] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated here.
[0170] Those skilled in the art will understand that Figure 7The structure shown is for illustrative purposes only. The device implementing the above-described wiring control method can be a terminal device, such as a smartphone (e.g., Android phone, iOS phone), tablet computer, PDA, mobile Internet Devices (MID), PAD, etc. Figure 7 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 7 The more or fewer components shown (such as network interfaces, display devices, etc.), or having the same Figure 7 The different configurations shown.
[0171] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0172] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0173] The embodiments described herein also provide a computer program that includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in any of the above method embodiments.
[0174] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, ROM, RAM, disk or optical disk, etc.
[0175] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0176] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0177] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0178] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.
[0179] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the solution provided in this embodiment, depending on actual needs.
[0180] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or at least two units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0181] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for controlling the winding of a wiring harness, characterized in that, include: During the wire laying process of the wire laying shaft of the multi-wire cutting machine, the current actual cumulative number of wire windings is obtained; Based on the preset number of coils per layer of the cable, determine the current expected cumulative number of coils of the cable; The winding process of the cable is controlled based on the actual cumulative number of turns and the expected cumulative number of turns, so that the actual cumulative number of turns is consistent with the expected cumulative number of turns.
2. The method according to claim 1, characterized in that, Before obtaining the current actual cumulative number of turns of the cable, the method further includes: When the winding mode of the cable is the first winding mode, the first reversing reference position of the cable shaft is determined according to the first historical movement curve of the cable shaft during the winding process, wherein the cable shaft moves back and forth according to a preset limit position during the winding process; The first reversing position of the ribbon cable shaft is determined based on the distance between the first reversing reference position and the preset limit position, wherein the first reversing position is the position where the ribbon cable shaft begins to reverse. The control system initiates reversal when the ribbon cable shaft reaches the first reversal position and completes reversal when it reaches the preset limit position. The first winding mode is the winding mode in which the direction of change is completed when the cable shaft reaches the preset limit position.
3. The method according to claim 2, characterized in that, Determining the first reversing position of the cable spool based on the distance between the first reversing reference position and the preset limit position includes: The first reversing position of the ribbon cable shaft is determined based on the target distance before the preset limit position, wherein the target distance is equal to the distance between the first reversing reference position and the preset limit position.
4. The method according to claim 2, characterized in that, The step of controlling the winding process of the cable based on the actual cumulative number of turns and the expected cumulative number of turns includes: When the spool has completed its reversal, the number of windings to be compensated is determined based on the difference between the expected cumulative number of windings and the actual cumulative number of windings. The first moving speed of the cable spool is determined based on the result of dividing the number of winding coils in each layer by the number of winding coils after compensation and the target speed of the cable spool, wherein the number of winding coils after compensation is the sum of the number of winding coils in each layer and the number of winding coils to be compensated; The ribbon cable spool is controlled to move along the reversed direction according to the first moving speed, so as to wind the ribbon cable onto the spool.
5. The method according to claim 2, characterized in that, During the process of the ribbon cable spool moving from the first reversing position to the preset limit position, the method further includes: reducing the moving speed of the ribbon cable spool, wherein the reduced moving speed of the ribbon cable spool is less than the specified speed of the ribbon cable spool. After the ribbon cable spool completes its reversal, the method further includes: Increase the moving speed of the ribbon cable spool until the moving speed of the ribbon cable spool reaches a second moving speed, wherein the second moving speed is greater than the specified speed of the ribbon cable spool; The cable spool completes the reversal when it reaches a set speed.
6. The method according to claim 1, characterized in that, The step of controlling the winding process of the cable based on the actual cumulative number of turns and the expected cumulative number of turns includes: When the winding mode of the cable is the second winding mode, the second reversing reference position of the cable shaft is determined according to the second historical movement curve of the cable shaft during the cable winding process; The second reversing position of the ribbon cable shaft is determined based on the distance between the second reversing reference position and the preset limit position, wherein the second reversing position is the position where the ribbon cable shaft begins to reverse. The control system initiates reversal when the cable shaft reaches the second reversal position, and completes the reversal when the actual cumulative number of windings reaches the expected cumulative number of windings. The second winding mode is a winding mode in which the cable shaft completes a reversal when the actual cumulative number of turns of the cable is the same as the expected cumulative number of turns of the cable.
7. The method according to any one of claims 1 to 6, characterized in that, The step of determining the current expected cumulative number of windings of the cable based on the preset number of windings per layer includes: Based on the starting position of the winding of the cable, the number of first commutation winding turns of the cable is determined, wherein the number of first commutation winding turns is the expected cumulative number of winding turns of the cable when the cable shaft first commutates; The current expected cumulative number of windings is determined by multiplying the number of windings in each layer by the current number of winding layers minus 1, and summing this product with the number of windings in the first commutation.
8. A winding control device for a cable, characterized in that, include: The acquisition unit is used to acquire the current actual cumulative number of turns of the wire during the wire laying process of the wire laying shaft of the multi-wire cutting machine. The first determining unit is used to determine the current expected cumulative number of windings of the cable based on the preset number of windings per layer of the cable; A first control unit is configured to control the winding process of the cable according to the actual cumulative number of turns and the expected cumulative number of turns, so that the actual cumulative number of turns is consistent with the expected cumulative number of turns.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
10. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method as described in any one of claims 1 to 7.