A code frame control method, device and medium for a liquid storage cylinder

By obtaining the data of the upstream production node and target frame placement parameters, and generating and controlling the code frame task of the reservoir cylinder, the energy consumption imbalance caused by fixed parameters is solved, efficiency and adaptability are improved, and automated code frame is realized control.

CN118637372BActive Publication Date: 2024-11-15TAIAN YONGRUI INTELLIGENT EQUIPMENT CO LID
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410818384.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-11-15
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

The existing reservoir cylinder code frame control method adopts fixed control parameters, which leads to separation from upstream and downstream production processes such as shearing and spin forming. The automatic code frame equipment has additional energy consumption, which cannot meet the code frame efficiency and equipment energy. The balance between consumption.

Method used

By obtaining the upstream shear parameters and target frame placement parameters, multiple frame tasks are generated, and the theoretical number of single-grabbing cylinders for each task is determined, and the magnetic suction control parameters are set according to the shear cylinder size data and energy consumption control strategy. Determine the displacement time of the magnetic cylinder body and the module reset time to realize automatic code frame control.

Benefits of technology

Improve production efficiency, reduce energy consumption, ensure full utilization of frames, avoid waste and overload, reduce manual operation dependence, adapt to cylinders and frames of different specifications and needs, realize equipment flexibility and a variety of application scenarios .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118637372B_ABST
    Figure CN118637372B_ABST
Patent Text Reader

Abstract

The embodiments of the present specification disclose a code frame control method, device and medium for a liquid storage cylinder, and relate to the field of control technology. The method comprises: obtaining current stacking frame parameters corresponding to upstream pipe cutting parameters and target stacking frames; generating corresponding multiple code frame tasks through the current stacking frame remaining cylinder data, the target stacking frame capacity parameters and the pipe cutting cylinder size data in the current stacking frame parameters, and determining the theoretical number of single-grabbed cylinders; determining the corresponding code frame magnetic suction control parameter set according to the pipe cutting cylinder size data and the theoretical number of single-grabbed cylinders and the energy consumption control strategy; determining the magnetic suction cylinder displacement time parameters and the magnetic suction module reset time parameters corresponding to each code frame task based on the current stacking frame position data, so as to determine the task start time of each code frame task; and performing code frame control on the liquid storage cylinder CNC code frame device according to the code frame magnetic suction control parameter set and the task start time corresponding to the code frame task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the field of control technology, and in particular to a code frame control method, device and medium for a liquid storage cylinder. Background Art

[0002] The liquid accumulator is an important component of the compressor system. It plays the role of storage, gas-liquid separation, filtration, silencing and refrigerant buffering. The raw material of the liquid accumulator is steel pipe. During the production process of the liquid accumulator, it needs to go through multiple production processes such as pipe cutting and spinning. Between pipe cutting and spinning, the liquid accumulator cylinders formed after pipe cutting need to be stacked in the storage frame to facilitate the batch transportation of the liquid accumulator cylinders to the spinning production node. Traditional stacking operations mostly rely on manual completion, which is not only inefficient, but also prone to operational errors due to human factors, thus affecting production safety and product quality.

[0003] With the rapid development of automation and intelligent technology, more and more companies are seeking to improve the framing operation of liquid storage cylinders by introducing advanced automation equipment and technology. Most of the current automated framing operations automatically grab and stack the liquid storage cylinders by setting fixed control parameters. For example, the maximum grabbing parameters are set to ensure that the maximum number of cylinders are grabbed at one time, which also increases the energy consumption of the equipment. In addition, the framing operation is between the two production processes of tube cutting and spin forming. The two production processes have production change characteristics. For example, the parameters of the liquid storage cylinders produced in the tube cutting stage are different. For another example, there are differences in the spinning efficiency in the spin forming stage, resulting in residual cylinders in the storage frame. The change characteristics of the two production processes of tube cutting and spin forming will affect the actual operating parameters of the framing operation. Therefore, the current framing control method adopts fixed control parameters, which is relatively separated from the upstream and downstream production processes such as tube cutting and spin forming. The automated framing equipment has additional energy consumption and cannot meet the balance between framing efficiency and equipment energy consumption. Summary of the invention

[0004] One or more embodiments of the present specification provide a code frame control method, equipment and medium for a liquid storage cylinder, which are used to solve the following technical problems: the current code frame control method adopts fixed control parameters, which is relatively separated from upstream and downstream production processes such as tube cutting and spin forming. The automated code frame equipment has additional energy consumption and cannot meet the balance between code frame efficiency and equipment energy consumption.

[0005] One or more embodiments of this specification adopt the following technical solutions:

[0006] One or more embodiments of the present specification provide a code frame control method for a liquid reservoir cylinder, which is applied to a numerical control code frame device for a liquid reservoir cylinder, the method comprising: obtaining upstream pipe cutting parameters corresponding to an upstream production node located at the numerical control code frame device for the liquid reservoir cylinder and current stacking frame parameters corresponding to a target stacking frame, wherein the upstream pipe cutting parameters include pipe cutting cylinder size data, and the current stacking frame parameters include current stacking frame position data, current stacking frame remaining cylinder data, and capacity parameters of the target stacking frame; generating multiple code frame tasks corresponding to the target stacking frame through the current stacking frame remaining cylinder data, the target stacking frame capacity parameters, and the pipe cutting cylinder size data in the current stacking frame parameters, and determining the theoretical single-grab cylinder quantity corresponding to each of the code frame tasks; determining the theoretical single-grab cylinder quantity corresponding to each of the code frame tasks according to the pipe cutting cylinder size data and the capacity parameters of each of the code frame tasks; According to the theoretical single-grabbing cylinder quantity, the code frame magnetic control parameter set corresponding to each of the code frame tasks is determined according to the preset energy consumption control strategy, wherein each of the code frame magnetic control parameter sets includes at least one designated magnetic module to be enabled and the magnetic electrical parameters of the designated magnetic module; based on the current stacking frame position data of the current stacking frame parameters, the magnetic cylinder displacement time parameters and the magnetic module reset time parameters corresponding to each of the code frame tasks are determined, so as to determine the task start time of each of the code frame tasks through the magnetic cylinder displacement time parameters and the magnetic module reset time parameters; according to the code frame magnetic control parameter set corresponding to each of the code frame tasks and the task start time of each of the code frame tasks, the liquid storage cylinder CNC code frame device is controlled to realize the stacking operation of the tube cutting cylinder in the target stacking frame.

[0007] One or more embodiments of the present specification provide a code frame control device for a liquid storage cylinder, including:

[0008] at least one processor; and,

[0009] a memory communicatively connected to the at least one processor; wherein,

[0010] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above method.

[0011] One or more embodiments of this specification provide a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured to:

[0012] The upstream pipe cutting parameters corresponding to the upstream production node of the liquid storage cylinder numerical control coding frame device and the current stacking frame parameters corresponding to the target stacking frame are obtained, wherein the upstream pipe cutting parameters include the pipe cutting cylinder size data, and the current stacking frame parameters include the current stacking frame position data, the remaining cylinder data of the current stacking frame and the capacity parameters of the target stacking frame; a plurality of coding frame tasks corresponding to the target stacking frame are generated through the remaining cylinder data of the current stacking frame in the current stacking frame parameters, the capacity parameters of the target stacking frame and the pipe cutting cylinder size data, and the theoretical single grabbing cylinder quantity corresponding to each coding frame task is determined; according to the pipe cutting cylinder size data and the theoretical single grabbing cylinder quantity corresponding to each coding frame task, the energy consumption control strategy set in advance is used to determine the number of each coding frame task. A set of code frame magnetic control parameters corresponding to each of the code frame tasks, wherein each of the code frame magnetic control parameter sets includes at least one designated magnetic module to be enabled and the magnetic electrical parameters of the designated magnetic module; based on the current stacking frame position data of the current stacking frame parameters, the magnetic cylinder displacement time parameters and the magnetic module reset time parameters corresponding to each of the code frame tasks are determined, so as to determine the task start time of each of the code frame tasks through the magnetic cylinder displacement time parameters and the magnetic module reset time parameters; according to the code frame magnetic control parameter set corresponding to each of the code frame tasks and the task start time of each of the code frame tasks, the liquid storage cylinder CNC code frame device is controlled to realize the stacking operation of the tube cutting cylinder in the target stacking frame.

[0013] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects: through the above technical solution, the upstream and downstream influencing factors of the code frame process are taken into account. Before the code frame control is performed, comprehensive upstream and downstream reference data are obtained, which provides a comprehensive data source for the subsequent code frame control process, takes into account the diversity of scenarios, improves the scene coverage of the source data, and increases the correlation with the upstream and downstream production nodes; through precise data analysis and task planning, it can efficiently generate multiple code frame tasks, and reasonably allocate the theoretical number of single-grasping barrels for each task, thereby reducing invalid operations and waiting time, and improving overall production efficiency; determine the magnetic suction control parameters based on the tube cutting barrel size data and the theoretical number of single-grasping barrels for each code frame task, while ensuring the code frame efficiency, reduce energy consumption, and meet the balance between code frame efficiency and equipment energy consumption; by acquiring the remaining barrel data of the current stacking frame and the capacity parameters of the target stacking frame in real time, resources can be reasonably allocated, Ensuring that each stacking frame is fully utilized can plan stacking more accurately, avoid wasting space or exceeding capacity, and thus improve stacking efficiency; determining the displacement time parameters of the magnetic cylinder and the reset time parameters of the magnetic module based on the current stacking frame position data can ensure that the encoding task is started at the exact time point, avoiding unnecessary waiting and delays, and ensuring that the CNC encoding device of the liquid storage cylinder maintains a continuous and stable state when working, reducing resource waste caused by waiting or idleness; through the automatic control system, the CNC encoding device of the liquid storage cylinder is controlled according to the encoding frame magnetic control parameter set and the task start time, realizing the automation of the production process, reducing dependence on manual operation, and improving production efficiency and stability. It can dynamically adjust the encoding task and magnetic control parameters according to the pipe cutting parameters of the upstream production node and the current stacking frame parameters, making the production process more flexible, and can adapt to pipe cutting cylinders and stacking frames of different specifications and requirements, and can be suitable for a variety of application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:

[0015] Figure 1 A schematic flow chart of a code frame control method for a liquid storage cylinder provided in an embodiment of this specification;

[0016] Figure 2 A schematic diagram of the structure of a liquid storage cylinder numerical control code frame device provided in an embodiment of this specification;

[0017] Figure 3 A schematic diagram of the structure of a code frame control device for a liquid storage cylinder provided in an embodiment of this specification. DETAILED DESCRIPTION

[0018] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0019] The liquid accumulator is an important component of the compressor system. It plays the role of storage, gas-liquid separation, filtration, silencing and refrigerant buffering. The raw material of the liquid accumulator is steel pipe. During the production process of the liquid accumulator, it needs to go through multiple production processes such as pipe cutting and spinning. Between pipe cutting and spinning, the liquid accumulator cylinders formed after pipe cutting need to be stacked in the storage frame to facilitate the batch transportation of the liquid accumulator cylinders to the spinning production node. Traditional stacking operations mostly rely on manual completion, which is not only inefficient, but also prone to operational errors due to human factors, thus affecting production safety and product quality.

[0020] With the rapid development of automation and intelligent technology, more and more companies are seeking to improve the framing operation of liquid reservoir cylinders by introducing advanced automation equipment and technologies. Most of the current automated framing operations automatically grab and stack the liquid reservoir cylinders by setting fixed control parameters. Generally, changes to the control parameters require modifications at the code level, which increases the difficulty of equipment maintenance. When setting fixed control parameters, the maximum grabbing parameters are generally set to ensure that the maximum number of cylinders are grabbed at one time, which also increases the energy consumption of the equipment. In addition, the framing operation is between the two production processes of tube cutting and spin forming. The two production processes have production change characteristics. For example, the parameters of the liquid reservoir cylinders generated in the tube cutting stage are different, and the control parameters required for tube cutting cylinders with different parameters are different. If the cylinder parameters change, the fixed control parameters may cause low equipment energy utilization. For example, there are differences in the spinning efficiency during the spin forming stage, resulting in residual cylinders in the storage frame. In this case, the number of frames in a storage frame will change. If the frames are framed according to fixed parameters, there will be no storage area for the cylinders in the storage frame, and there may be safety hazards such as the cylinders falling. It can be seen that the changing characteristics of the two production processes of tube cutting and spin forming will affect the actual operating parameters of the frame operation. Therefore, the current frame control method uses fixed control parameters, which is relatively separated from upstream and downstream production processes such as tube cutting and spin forming. The automated frame equipment has additional energy consumption and cannot meet the balance between frame efficiency and equipment energy consumption.

[0021] The embodiment of this specification provides a code frame control method for a liquid storage cylinder. It should be noted that the execution subject in the embodiment of this specification can be a server or any device with data processing capabilities. Figure 1 A flow chart of a code frame control method for a liquid storage cylinder provided in an embodiment of this specification, such as Figure 1 As shown, it mainly includes the following steps:

[0022] Step S101, obtaining upstream pipe cutting parameters corresponding to an upstream production node of a numerically controlled stacking frame device of a liquid storage cylinder and current stacking frame parameters corresponding to a target stacking frame.

[0023] The upstream pipe cutting parameters include pipe cutting barrel size data, and the current stacking frame parameters include current stacking frame position data, current stacking frame remaining barrel data, and the target stacking frame capacity parameters;

[0024] In one embodiment of the present specification, the CNC frame-stacking equipment for liquid storage cylinders is used to automatically stack the cylinders produced after tube cutting in a stacking frame, and batch-transport multiple cylinders in the stacking frame to the next production node. The CNC frame-stacking equipment for liquid storage cylinders is a fully automatic frame-stacking equipment. Figure 2A schematic diagram of a structure of a liquid storage cylinder numerical control code frame device provided in an embodiment of this specification, such as Figure 2 As shown, the CNC code frame device for the liquid storage cylinder includes an electrical box component 1, a frame component 2, a conveyor 3, a pusher component 4, a front baffle plate component 5, an electromagnetic suction component 6 and a slide plate component. The cylinder blank is sent to the pusher component 4 by the conveyor 3 in the code frame device. The pusher cylinder of the pusher component 4 is actuated to push the cylinder blank to the front baffle plate component 5 in the Y direction in sequence. After the slideway is full of storage materials, the thin oil cylinder of the electromagnetic suction component 6 is actuated to push the electromagnet down in the magnet slot so that the electromagnet absorbs the cylinder blank. The electromagnet here can be a modular component. The magnetic suction module that absorbs the cylinder blank is transported to the target code frame position through the slide plate component. The thin oil cylinder of the electromagnetic suction component is retracted, and the electromagnet moves up in the magnet slot so that the electromagnet releases the cylinder blank and neatly puts the cylinder blank into the frame. Finally, the entire component returns to the original position again and waits for the cylinder blank in the slideway to be full before the next frame is loaded.

[0025] It should be noted that the magnetic suction module that absorbs the barrel blank is transported to the target code frame position by the slide assembly. The slide assembly can be a one-way transport assembly or a multi-way transport assembly. A servo drive motor is provided in the slide assembly, which is specifically set according to the application scenario of the liquid storage barrel CNC code frame device. For example, it can include an X-direction slide assembly and a Z-direction slide assembly, such as Figure 2 As shown, it includes a Z-direction slide assembly 7, an X-direction slide assembly 8, an X-direction slide assembly 9, a left Y-direction slide assembly 10 and a right Y-direction slide assembly 11. The Z-direction servo motor on the X-direction slide assembly 8 drives the Z-direction slide assembly 7 to move upward as a whole, and the X-direction servo motor on the X-direction slide assembly 8 drives the X-direction slide assembly 8 to move right as a whole. After reaching a certain position, the Y-direction servo motors at both ends of the X-direction slide assembly 9 drive the X-direction slide assembly 9 to fine-tune the whole along the Y direction to a suitable position, and the Z-direction servo motor on the X-direction slide assembly 8 drives the Z-direction slide assembly 7 to move downward.

[0026] In this process, the picking of the barrel blank is based on the adsorption of the electromagnet. The more the number of blanks adsorbed at a time, the greater the traction force, which is conducive to transmission. The strong adsorption force of the electromagnet and the narrow contact surface reduce the scratches on the blank surface caused by friction. The current control process adopts the method of setting the maximum parameter to ensure the maximum traction force of the electromagnet. However, due to the different actual conditions of each framing process, the use of a fixed maximum parameter will result in additional energy waste.

[0027] In one embodiment of the present specification, when obtaining the upstream pipe cutting parameters corresponding to the upstream production node of the liquid storage barrel CNC code frame device, the production process data of the upstream production node, i.e., the pipe cutting production node, can be obtained through the production management system (MES) or enterprise resource planning (ERP) system, and data extraction is performed in the production process data to obtain the pipe cutting barrel size data, such as the barrel inner diameter, barrel outer diameter, and barrel length of the pipe cutting barrel. In addition to the above method, a visual acquisition component can also be set at the starting point of the conveyor of the data code frame device to collect the visual data of the pipe cutting barrel delivered by the upper production node, and perform real-time image feature recognition on the visual data of the pipe cutting barrel to obtain the real-time conveying pipe cutting barrel features, and each pipe cutting barrel is identified through the image recognition algorithm, and the pipe cutting barrel size data of each pipe cutting barrel is determined.

[0028] In one embodiment of the present specification, a real-time data acquisition system is set at the target storage frame placement area of ​​the liquid storage cylinder numerical control code frame device. The real-time data acquisition system here can be a sensor network, an RFID system or an Internet of Things device. In addition, there are target storage frames of different sizes. Therefore, the target storage frame placement area is a position area, and the target storage frame can be placed in the target storage frame placement area by a conveyor belt or manually. Through the real-time data acquisition system set in the target storage frame placement area, the current stacking frame parameters corresponding to the target stacking frame are obtained, and the current stacking frame parameters include the current stacking frame position data, the current stacking frame remaining barrel data and the capacity parameters of the target stacking frame. For example, the stacking frame identification information of the current target stacking frame is obtained by setting an RFID tag on the target stacking frame. The capacity parameters of the target stacking frame are usually fixed. The capacity parameters of this stacking frame are obtained in the system through the stacking frame identification information. In addition, the current stacking frame position data of this stacking frame is obtained through the position sensor in the real-time data acquisition system. The current stacking frame position data can also be obtained synchronously when scanning the RFID tag. In addition, the empty weight data of this stacking frame is obtained in the system through the stacking frame identification information, and the weight sensor set in the placement area of ​​the target storage frame is used to obtain the empty weight data of this stacking frame. The sensor collects the real-time stacking frame weight data, determines the remaining barrel weight data of the current stacking frame according to the empty weight data and the real-time stacking frame weight data, obtains the conveying barrel information of the last conveying process of this stacking frame in the production management system, such as the historical conveying barrel unit weight data and the historical conveying barrel size data, determines the number of remaining barrels in the current stacking frame corresponding to the target stacking frame according to the ratio of the current stacking frame remaining barrel weight data and the historical conveying barrel unit weight data, and determines the remaining barrel parameters of the current stacking frame based on the current stacking frame remaining barrel number and the historical conveying barrel size data. When obtaining the remaining barrel parameters of the current stacking frame, the current image data of the target stacking frame can also be collected through the image acquisition device, and the current image data can be identified to obtain the remaining barrel parameters of the current stacking frame in the frame.

[0029] Through the above technical solution, the upstream and downstream influencing factors of the code frame process are taken into account. Before performing code frame control, comprehensive upstream and downstream reference data are obtained, which provides a comprehensive data source for the subsequent code frame control process. Taking into account the diversity of scenarios, the scenario coverage of the source data is improved.

[0030] Step S102, generating multiple stacking frame tasks corresponding to the target stacking frame through the remaining tube data of the current stacking frame in the current stacking frame parameters, the capacity parameters of the target stacking frame and the size data of the cut tube tube, and determining the theoretical single-grab tube quantity corresponding to each stacking frame task.

[0031] In one embodiment of the present specification, the number of cylinders that the CNC stacking frame equipment of the liquid storage cylinder can grab at one time is limited. In order to improve the utilization rate of the target stacking frame, the target stacking frame should be fully loaded as much as possible before being transmitted to the next production node. Multiple grabbing processes are required to stack the target stacking frame full. Therefore, in the embodiment of the present specification, the full load of the target stacking frame is used as a complete control process, and multiple grabbing processes are involved in this process. If a fixed number of grabs is used in each grabbing process, since there may be a cylinder left over from the last time in the current stacking frame, it will cause the grabbed cylinder to be larger than the storage capacity of the stacking frame, causing the cylinder to fall.

[0032] Through the remaining barrel data of the current stacking frame in the current stacking frame parameters, the capacity parameters of the target stacking frame and the size data of the tube-cutting barrel, multiple code frame tasks corresponding to the target stacking frame are generated, and the theoretical single-grab barrel quantity corresponding to each code frame task is determined, which specifically includes: determining the available capacity information of the target stacking frame through the remaining barrel data of the current stacking frame in the current stacking frame parameters and the capacity parameters of the target stacking frame; obtaining the barrel outer diameter parameter in the tube-cutting barrel size data, so as to determine the unit barrel occupied capacity parameter corresponding to each tube-cutting barrel through the barrel outer diameter parameter; generating the current theoretical full-load barrel parameter corresponding to the target stacking frame according to the unit barrel occupied capacity parameter and the available capacity information; obtaining the single-grab barrel parameter threshold of the liquid storage barrel CNC code frame device; determining the number of code frame tasks corresponding to the target stacking frame according to the current theoretical full-load barrel parameter and the single-grab barrel parameter threshold through the preset constraint conditions, wherein the constraint conditions are: , n is the number of code frame tasks, is the single grab barrel parameter threshold, is the current theoretical full-load cylinder parameter; the number of single-grab full-load tasks and the number of single-grab non-full-load tasks are determined through the number of code frame tasks; based on the number of single-grab full-load tasks and the number of single-grab non-full-load tasks corresponding to the target stacking frame, the theoretical number of single-grab cylinders corresponding to each code frame task is determined.

[0033] In one embodiment of the present specification, the storage capacity of the target stacking frame occupied by the remaining cylinders is calculated through the remaining cylinder data of the current stacking frame in the current stacking frame parameters, such as the number of remaining cylinders, the size of remaining cylinders, etc., and the available capacity information of the target stacking frame is calculated according to the difference between the capacity parameter of the target stacking frame and the occupied storage capacity. The outer diameter parameter of the cylinder and the height of the cylinder (or length) in the size data of the cut tube cylinder are obtained, and the unit cylinder occupied capacity parameter corresponding to each cut tube cylinder is calculated through the inner diameter parameter of the cylinder and the height of the cylinder. The ratio of the available capacity parameter to the unit cylinder occupied capacity parameter in the available capacity information is calculated, and the ratio is rounded down to generate the current theoretical full load cylinder parameter corresponding to the target stacking frame, that is, the threshold value of the number of cylinders that can be currently loaded in the target stacking frame. The cylinder number threshold here is related to the size of the cut tube cylinder of the upstream production node of this stacking process, and is related to the initial state of the target stacking frame.

[0034] Get the single grab barrel parameter threshold of the liquid storage barrel CNC code frame device, that is, the maximum number of barrels to be grabbed each time. It should be noted that the single grab barrel parameter threshold here can also be determined according to the size of the shear barrel to be grabbed in the current state. Since the sizes of different shear barrels are different, the number that can be grabbed at one time is also different. Pre-set constraints, according to the current theoretical full-load barrel parameters and the single grab barrel parameter threshold, determine the number of code frame tasks corresponding to the target stacking frame according to the constraints. The constraints are: , n is the number of code frame tasks, which is a positive integer, is the single grab barrel parameter threshold, is the current theoretical full-load cylinder parameter. For example, the current theoretical full-load cylinder parameter is 17, and the single grab cylinder parameter threshold is 5. Substituting the above values ​​into the constraint conditions, we can get n greater than or equal to 3.6 and less than 4.4. The value of n is 4, which means that the target stacking box is filled through four grab tasks.

[0035] In actual application scenarios, under the corresponding number of code frame tasks, there may be a situation where the number of grasps in a certain grasping task is quite different from the number of other grasping tasks. Continuing with the above example, under normal circumstances, when grasping 17 cylinders four times, there are three grasps that are full load, that is, three grasps of 5 and one grasp of 2, that is, 5-5-5-2. However, the grasping energy required to grasp 5 is different from the grasping energy required to grasp 2. In order to avoid the instability caused by frequent adjustment of control parameters and large-scale adjustment of control parameters during the control process, the embodiment of this specification balances the number of planned grasps each time. For example, the number of grasps of 5-5-5-2 is adjusted to 4-4-4-5. The adjustment target here is to ensure that the maximum number of grasps and the minimum number of grasps meet the preset conditions when there are multiple identical grasping numbers. Ensuring that there are multiple grasping tasks with the same number of grasps can avoid frequent adjustment of control parameters in the subsequent process, and the difference between the maximum number of grasps and the minimum number of grasps meets the preset conditions, which can avoid control instability caused by a large adjustment range of control parameters. According to the above-mentioned balancing method, the number of single-grab full-load tasks and the number of single-grab non-full-load tasks are determined through the number of code frame tasks. In the above example 4-4-4-5, the number of single-grab full-load tasks is 1, and the number of single-grab non-full-load tasks is 3. Based on the number of single-grab full-load tasks and the number of single-grab non-full-load tasks corresponding to the target stacking frame, the theoretical number of single-grab cylinders corresponding to each code frame task is determined.

[0036] Through the above technical solution, by accurately calculating the available capacity of the target stacking frame and the capacity occupied by each pipe cutting cylinder, the equipment can plan the stacking more accurately to avoid wasting space or exceeding the capacity, thereby improving the stacking efficiency; accurate stacking planning means that the equipment can make full use of the capacity of the target stacking frame and reduce the space waste caused by improper stacking; when the stacking frame capacity is close to or exceeds its limit, overloading may cause safety problems. By accurately controlling the stacking quantity, the risk of overloading can be reduced and safety can be improved; according to the capacity of the target stacking frame and the size of the pipe cutting cylinder, the number of stacking frame tasks is automatically calculated, It is further divided into single-grab full-load task and single-grab non-full-load task. The optimized task allocation can improve the grasping operation efficiency. The calculation is based on the actual size of the pipe cutting cylinder and the capacity of the target stacking frame. It has strong adaptability. Whether it is a pipe cutting cylinder of different sizes or a target stacking frame of different capacities, corresponding adjustments and optimizations can be made. In addition, in the task setting stage, ensuring that there are multiple tasks with the same number of grasps can avoid frequent adjustments to the control parameters in the subsequent process. The difference between the maximum number of grasps and the minimum number of grasps meets the preset conditions to avoid control instability caused by a large adjustment range of the control parameters.

[0037] Step S103, according to the tube cutting barrel size data and the theoretical single grab barrel quantity corresponding to each code frame task, and in accordance with a preset energy consumption control strategy, a code frame magnetic suction control parameter set corresponding to each code frame task is determined.

[0038] Each code frame magnetic attraction control parameter set includes at least one designated magnetic attraction module to be enabled and the magnetic attraction electrical parameters of the designated magnetic attraction module.

[0039] In actual application scenarios, the magnetic attraction component is set up in a modular manner, that is, the magnetic attraction component includes multiple magnetic attraction modules. Since different code frame tasks correspond to different numbers of single grabbing cylinders, the magnetic attraction energy required for each code frame task is different. Therefore, it is necessary to set the code frame magnetic attraction parameters for each code frame task and determine the code frame magnetic attraction control parameter set, wherein the code frame magnetic attraction control parameter set includes at least one specified magnetic attraction module to be enabled and the magnetic attraction electrical parameters of the specified magnetic attraction module.

[0040] According to the tube cutting cylinder size data and the theoretical single grab cylinder number corresponding to each of the code frame tasks, according to the preset energy consumption control strategy, the code frame magnetic suction control parameter set corresponding to each of the code frame tasks is determined, specifically including: determining the cylinder quality parameter corresponding to each of the tube cutting cylinders according to the tube cutting cylinder size data; determining the single task magnetic suction quality data corresponding to each of the code frame tasks through the theoretical single grab cylinder number corresponding to each of the code frame tasks and the cylinder quality parameter corresponding to each of the tube cutting cylinders; obtaining the magnetic suction module information of multiple magnetic suction modules, wherein the magnetic suction module information includes the module position information and module quality information of each of the magnetic suction modules Block magnetic parameters; according to the preset energy consumption control strategy, the number of magnetic modules corresponding to each code frame task is determined through the module magnetic parameters of each magnetic module and the single-task magnetic quality data corresponding to each code frame task; according to the number of magnetic modules corresponding to each code frame task and the module position information of each magnetic module, at least one designated magnetic module that meets the preset requirements is determined among the multiple magnetic modules to determine the set of magnetic modules to be enabled corresponding to each code frame task; based on the single-task magnetic quality data corresponding to each code frame task, the magnetic electrical parameters corresponding to each set of magnetic modules to be enabled are determined.

[0041] In one embodiment of the present specification, the volume of the tube cutting cylinder is calculated according to the inner diameter of the cylinder, the outer diameter of the cylinder and the length of the cylinder in the tube cutting cylinder size data, and the cylinder mass parameter corresponding to each tube cutting cylinder is determined by the volume of the tube cutting cylinder and the predetermined cylinder density. The single-task magnetic absorption mass data corresponding to each code frame task is determined by multiplying the theoretical number of single grabbing cylinders corresponding to each code frame task and the cylinder mass parameter corresponding to each tube cutting cylinder. Here, the single-task magnetic absorption mass data is the total magnetic absorption mass corresponding to a single code frame task.

[0042] The magnetic module information of multiple magnetic modules is obtained through the device inherent parameters of the CNC code frame device of the liquid storage cylinder. The magnetic module information includes the module position information and module magnetic parameters of each magnetic module. The module magnetic parameters here can be the properties of the magnetic module, such as magnetic force and other parameters used to represent the magnetic ability of this magnetic module. The module magnetic parameters of each magnetic module are the same. According to the pre-set energy consumption control strategy, the number of magnetic modules corresponding to each code frame task is determined through the module magnetic parameters of each magnetic module and the single task magnetic quality data corresponding to each code frame task. The energy consumption control strategy here can be obtained through historical data, for example, historical magnetic data, including the number of historical magnetic modules enabled, the historical power-on current of the enabled magnetic modules, and the mass of the magnetic cylinder. Analyze the historical magnetic suction data, summarize the historical magnetic suction processes corresponding to the same magnetic suction cylinder mass, count the number of multiple historical magnetic suction modules and the corresponding multiple historical power-on currents under the same magnetic suction cylinder mass, obtain the number of multiple specified historical magnetic suction modules corresponding to the historical power-on current, calculate the average of the number of multiple specified historical magnetic suction modules, and round up to the integer to obtain the reference number of magnetic suction modules corresponding to the current magnetic suction cylinder mass. According to the above method, the reference number of magnetic suction modules corresponding to the masses of multiple magnetic suction cylinders is obtained, and a corresponding relationship table between mass and the number of enabled modules is constructed.

[0043] According to the single-task magnetic mass data, a lookup is performed in the correspondence table. If the same magnetic mass item exists in the table, the number of magnetic modules corresponding to the code frame task is determined according to the reference magnetic module corresponding to the magnetic mass; if the same magnetic mass item does not exist in the table, two adjacent magnetic mass items are searched in the table. For example, the single-task magnetic mass data is 1.5 kg, and there is no 1.5 kg magnetic mass item in the table, but there are 1 kg and 2 kg magnetic masses. The number of magnetic modules corresponding to 1 kg magnetic mass and the number of magnetic modules corresponding to 2 kg can be used to calculate the average of the two and round them up to get the number of magnetic modules corresponding to the single-task magnetic mass data.

[0044] According to the number of magnetic modules corresponding to each code frame task and the module position information of each magnetic module, at least one designated magnetic module that meets the preset requirements is determined among the multiple magnetic modules. It should be noted that the designated magnetic modules that meet the preset requirements here can be multiple adjacent magnetic modules with similar positions. Through at least one designated magnetic module that meets the preset requirements, the set of magnetic modules to be enabled corresponding to each code frame task is determined. According to the single-task magnetic quality data corresponding to each code frame task, the magnetic electrical parameters corresponding to each set of magnetic modules to be enabled are determined.

[0045] Based on the single-task magnetic mass data corresponding to each code frame task, the magnetic electrical parameters corresponding to each set of magnetic modules to be enabled are determined, specifically including: obtaining the basic code frame speed and code frame speed threshold of the liquid storage cylinder CNC code frame device, wherein the basic code frame speed is the running speed under no-load state; determining the speed increment corresponding to the unit mass cylinder according to the pre-acquired single code frame cylinder mass threshold and the code frame speed threshold; performing code frame speed matching on each code frame task through the single-task magnetic mass data corresponding to each code frame task and the speed increment corresponding to the unit mass cylinder to determine the reference code frame speed corresponding to each code frame task; obtaining a predetermined specified mapping function, wherein the specified mapping function is used to represent the correlation between the magnetic electrical parameters and the magnetic mass and the code frame speed; through the specified mapping function, according to the single-task magnetic mass data corresponding to each code frame task and the reference code frame speed corresponding to each code frame task, determining the magnetic electrical parameters corresponding to the set of magnetic modules to be enabled.

[0046] Obtaining a predetermined specified mapping function specifically includes: the specified mapping function is: , where I is the magnetic attraction current, is the friction coefficient, m is the magnetic mass, is the acceleration due to gravity, is the transport resistance constant, is the frame speed, is the system constant, is the proportionality coefficient between magnetic field strength and current.

[0047] In one embodiment of the present specification, when determining the magnetic suction electrical parameters corresponding to the magnetic suction module, since it involves steps such as magnetic suction and movement, it is necessary to consider factors such as the mass and running speed of the magnetic suction cylinder. The greater the movement speed, the greater the impact on the magnetic suction cylinder, and the lower the stability of the code frame during operation. Therefore, it is necessary to comprehensively consider multiple factors such as the mass of the magnetic suction cylinder and the running speed of the code frame, and set magnetic suction electrical control parameters that match the above factors. Obtain the code frame process parameters of the CNC code frame device of the liquid storage cylinder, that is, the running process parameters after the magnetic suction module grabs the cylinder, including the running speed in the no-load state, that is, the basic code frame speed, and also include the code frame speed threshold, that is, the maximum code frame speed corresponding to the device. In addition, in addition to the speed parameters, the single code frame cylinder quality threshold, that is, the maximum cylinder quality in the single code frame process, can also be obtained through historical code frame process data. According to the ratio of the code frame speed threshold and the single code frame cylinder mass threshold, the speed increment corresponding to the unit mass cylinder is determined, and the code frame speed is matched for each code frame task by multiplying the single task magnetic mass data corresponding to each code frame task and the speed increment corresponding to the unit mass cylinder to generate a reference code frame speed corresponding to each code frame task.

[0048] In one embodiment of the present specification, a specified mapping function is pre-constructed, and the specified mapping function is used to represent the correlation between the magnetic attraction electrical parameters and the magnetic attraction mass and the code frame speed. When constructing the specified mapping function, the parameters such as the magnetic attraction mass and the conveying speed are associated with the magnetic attraction electrical parameters (power-on current). A mechanical analysis is performed on the magnetic attraction process and the magnetic attraction conveying process after magnetic attraction. From a mechanical perspective, the magnetic attraction mass and the conveying speed are converted into the force in the process, and a mapping function related to the magnetic attraction electrical parameters (such as current) and the magnetic attraction mass and the conveying speed is designed. The magnetic attraction force and the dynamic effect need to be considered.

[0049] It should be noted that the larger the mass of the cylinder, the greater the magnetic attraction required. The magnetic attraction is the force generated by the magnetic field, which is used to attract and move the cylinder under the magnetic mass. The magnitude of the magnetic attraction is usually proportional to the magnetic field strength and the current. The magnetic field strength is related to electrical parameters such as the current. Therefore, the magnetic attraction is proportional to the product of the magnetic field strength and the magnetic mass. The magnetic field strength is usually proportional to the current. Therefore, the magnetic attraction F m The calculation formula is as follows: ,in, is the system constant, B is the magnetic field strength, B , It is the proportional coefficient between magnetic field strength and current. This proportional coefficient is related to the module structure of the magnetic module set. The structural parameters of different magnetic module sets are different. Therefore, the proportional coefficients corresponding to magnetic module sets with different module data are different. System constant By conducting a current experiment on the magnetic module set, experimental data on the magnetic attraction force under different currents and different magnetic masses can be collected, and the system constants can be fitted to the above experimental data to express the proportional coefficient between the magnetic attraction force of the magnetic module set and the magnetic mass and current parameters. Experiments can be conducted on magnetic module sets with various quantity combinations to obtain system constants corresponding to magnetic module sets with different quantities.

[0050] In terms of dynamic effects, the dynamic force (F d ) consists of two parts: one is the friction force that is independent of speed ( ), and the other part is the air resistance which is proportional to the square of the speed ( ), the dynamic force is the total resistance that the cylinder encounters when moving, part of which is constant friction, and the other part is air resistance that increases with speed. is the transport resistance constant, which is related to air resistance and is also called the air resistance coefficient or shape resistance coefficient. Determine the constant related to air resistance The value of can be estimated by conducting experiments or based on existing theories and data.

[0051] In the case of stable transmission, the magnetic attraction should be equal to the dynamic force, that is, the magnetic attraction generated by the magnetic module assembly is equal to the total resistance encountered by the cylinder when moving to maintain a constant speed. Therefore, the following equation can be established to express the balance between the magnetic attraction and the dynamic force: , the specified mapping function is: , where I is the magnetic attraction current, is the friction coefficient, m is the magnetic mass, is the acceleration due to gravity, is the transport resistance constant, is the frame speed, is a system constant, which is used to represent the proportional coefficient between the magnetic attraction force of the magnetic attraction module set and the magnetic attraction mass and the current parameters. The system constants of different magnetic attraction module sets are different and need to be determined according to the number of magnetic attraction module sets to be enabled corresponding to each code frame task. is the proportional coefficient between the magnetic field strength and the current. Different magnetic attraction module sets have different corresponding proportional coefficients. The coefficients and constants in the above formula can be obtained through experiments.

[0052] In one embodiment of the present specification, a predetermined designated mapping function is obtained, and the single-task magnetic attraction quality data corresponding to each code frame task and the reference code frame speed corresponding to each code frame task are substituted into the designated mapping function to determine the magnetic attraction electrical parameters corresponding to the set of magnetic attraction modules to be enabled, that is, the power-on current control parameters of the magnetic attraction modules. It should be noted that when determining the power-on current control parameters, the corresponding set of magnetic attraction modules to be enabled is analyzed as a whole, and the system constants corresponding to different sets of magnetic attraction modules are , the proportionality coefficient between magnetic field strength and current The difference is related to the number of enabled magnetic modules in the magnetic module set.

[0053] Through the above technical solution, by accurately controlling the current, it is possible to ensure that the size of the magnetic attraction force matches the magnetic attraction quality and the conveying speed, thereby achieving smooth and jitter-free transmission and reducing damage or errors caused by vibration or impact. By accurately calculating the required current, unnecessary energy waste can be avoided. When the magnetic attraction quality and the conveying speed change, timely adjustment of the current can ensure that the system always operates at optimal efficiency; by adjusting the current in real time to adapt to different magnetic attraction qualities and conveying speeds, system failures caused by overload or underload can be reduced, and the overall reliability and service life of the system can be improved; stable transmission can ensure the continuity and efficiency of the production line, reduce production interruptions and delays caused by transmission problems, and thus improve production efficiency; when the magnetic attraction quality or conveying speed changes, the current can be automatically adjusted to adapt to the new conditions, with stronger adaptability and flexibility, and can meet the needs of various code frame scenarios; by accurately calculating the current control parameters corresponding to each code frame task, more precise position control and speed control can be achieved.

[0054] Step S104, based on the current stacking frame position data of the current stacking frame parameters, determine the magnetic cylinder displacement time parameters and the magnetic module reset time parameters corresponding to each code frame task, so as to determine the task start time of each code frame task through the magnetic cylinder displacement time parameters and the magnetic module reset time parameters.

[0055] In one embodiment of the present specification, after determining the current control parameters, it is also necessary to determine the task start time of each code frame task. First, it is necessary to collect the relevant parameters of the current stacking frame, including its position data, etc., as the basis for determining the displacement time parameters of the magnetic suction cylinder and the reset time parameters of the magnetic suction module. Based on the position data of the current stacking frame, combined with the physical characteristics of the magnetic suction cylinder such as the code frame speed, the time required for the magnetic suction cylinder to move from the current position to the target position can be calculated, that is, the displacement time parameter of the magnetic suction cylinder. The reset time parameter of the magnetic suction module is used to represent the time parameter for returning to the initial position after the magnetic suction cylinder is moved to the position of the current stacking frame to complete the code frame action, that is, the time parameter for releasing the magnetic suction cylinder and running to the initial position to facilitate the next magnetic suction operation. According to the displacement time parameter of the magnetic suction cylinder and the reset time parameter of the magnetic suction module, the task start time of each code frame task can be determined. The task start time corresponds to the control start time of the magnetic suction module, that is, the current parameter of the magnetic suction module is controlled according to the task start time.

[0056] By accurately calculating the task start time of each code frame task, it can ensure that the magnetic cylinder and magnetic module act at the best time, thereby reducing waiting time and unnecessary actions and improving the production efficiency of the entire production line; by optimizing the task start time, unnecessary energy consumption can be avoided, such as the magnetic module being continuously powered when not needed; accurate task start time can ensure that the magnetic cylinder and magnetic module act at the correct time, avoiding failures and downtime caused by timing errors, and improving the reliability and stability of the system.

[0057] Based on the current stacking frame position data of the current stacking frame parameters, the magnetic cylinder displacement time parameters and the magnetic module reset time parameters corresponding to each of the code frame tasks are determined, specifically including: determining the magnetic cylinder displacement information corresponding to the code frame task through the current stacking frame position data in the current stacking frame parameters; determining the magnetic cylinder displacement time parameters corresponding to each of the code frame tasks according to the reference code frame speed corresponding to each of the code frame tasks and the magnetic cylinder displacement information corresponding to the code frame task; determining the magnetic module reset time parameters based on the basic code frame speed of the liquid storage cylinder CNC code frame device and the magnetic cylinder displacement information.

[0058] In one embodiment of the present specification, the magnetic suction cylinder displacement information corresponding to the code frame task is determined by the current code frame position data in the current code frame parameters. The magnetic suction cylinder displacement time parameter corresponding to each code frame task is calculated according to the reference code frame speed corresponding to each code frame task and the magnetic suction cylinder displacement information corresponding to the code frame task. The magnetic suction module reset time parameter is calculated by the basic code frame speed of the liquid reservoir cylinder numerical control code frame device in the no-load state and the magnetic suction cylinder displacement information.

[0059] The task start time of each code frame task is determined by the displacement time parameter of the magnetic cylinder and the reset time parameter of the magnetic module, specifically including: obtaining the transportation efficiency between the upstream production node and the CNC code frame device of the liquid storage cylinder, wherein the transportation efficiency is used to represent the transportation time corresponding to the unit pipe cutting cylinder; the task start time of each code frame task is determined by the transportation efficiency, the displacement time parameter of the magnetic cylinder and the reset time parameter of the magnetic module.

[0060] In one embodiment of the present specification, the transportation efficiency between the upstream production node and the CNC code frame device of the liquid storage cylinder is obtained. The transportation efficiency here is used to represent the transportation time corresponding to a unit cut tube cylinder, that is, the transportation efficiency of transporting the cut tube cylinder formed after the upstream production node cuts the tube to the magnetic suction position, and the transportation time required to transport a cut tube cylinder to the magnetic suction position.

[0061] The task start time of each code frame task is determined by the conveying efficiency, the displacement time parameter of the magnetic suction cylinder and the reset time parameter of the magnetic suction module, specifically including: constructing a code frame task sequence corresponding to a plurality of the code frame tasks, obtaining the first code frame task at the first position of the code frame task sequence, to determine the first theoretical single-grasping cylinder quantity and the first magnetic suction cylinder displacement time parameter corresponding to the first code frame task; determining the first tube cutting cylinder storage time corresponding to the first code frame task by the conveying efficiency and the first theoretical single-grasping cylinder quantity corresponding to the first code frame task, to determine the first tube cutting cylinder storage time according to the first tube cutting cylinder storage time. The first task start time of the first code frame task; determine the first code frame reset duration of the first code frame task according to the displacement time parameter of the first magnetic cylinder and the reset time parameter of the magnetic module; obtain the second code frame task that is located after the first code frame task in the code frame task sequence, determine the second theoretical single-grabbing cylinder number corresponding to the second code frame task, and determine the second pipe cutting cylinder storage time corresponding to the second code frame task through the second theoretical single-grabbing cylinder number and the conveying efficiency; determine the second task start time corresponding to the second code frame task based on the first code frame reset time and the second pipe cutting cylinder storage time.

[0062] In one embodiment of the present specification, a plurality of code frame task sequences corresponding to the code frame tasks are constructed. The code frame task sequence here is a plurality of code frame tasks set in sequence. The sequence can be set according to a preset rule, for example, the plurality of code frame tasks can be sorted in order from large to small according to the theoretical number of single grabbing cylinders corresponding to each code frame task, or in order from small to large, according to the requirements. The first code frame task at the top of the code frame task sequence is obtained, and the first theoretical number of single grabbing cylinders and the displacement time parameters of the first magnetic suction cylinder corresponding to the first code frame task are obtained. The storage time of the first tube cutting cylinder corresponding to the first code frame task is determined by multiplying the conveying efficiency and the first theoretical number of single grabbing cylinders corresponding to the first code frame task, that is, the total time to transport the plurality of tube cutting cylinders of the first theoretical number of single grabbing cylinders to the magnetic suction position. According to the first tube cutting cylinder storage time, the first task start time of the first code frame task is determined. The first tube cutting cylinder storage time here is the storage time of the cylinders corresponding to the grabbing quantity of the first code frame task. When a sufficient number of cylinders are stored, the magnetic suction action of the magnetic suction module assembly is executed by controlling the current parameters.

[0063] After the first code frame task completes the magnetic attraction action, the first code frame reset duration of the first code frame task is determined according to the sum of the displacement time parameter of the first magnetic cylinder after magnetic attraction and the reset time parameter of the magnetic module. It should be noted that the reset duration of the first code frame task here includes the time it takes for the magnetic cylinder to move to the target stacking frame, and also includes the time it takes for the magnetic cylinder to return to the initial magnetic position after being placed in the target stacking frame.

[0064] The second code frame task located after the first code frame task in the code frame task sequence is obtained, and the second theoretical single-grab barrel quantity corresponding to the second code frame task is determined. The second cutting barrel storage time corresponding to the second code frame task is determined by multiplying the second theoretical single-grab barrel quantity and the conveying efficiency. Based on the first code frame reset time and the second cutting barrel storage time, the second task start time corresponding to the second code frame task is determined.

[0065] When the first code frame reset time is not less than the second pipe cutting cylinder storage time, it means that at or before the first code frame reset, the second theoretical single grabbing cylinder number of the pipe cutting cylinders of the second code frame task have completed the storage. Therefore, the second task start time corresponding to the second code frame task is determined according to the first code frame reset time. On the basis of the first task start time, the first code frame reset time is added to obtain the second task start time. When the first code frame reset time is less than the second pipe cutting cylinder storage time, it means that at the time of the first code frame reset, the second code frame task has not completed the second theoretical single grabbing cylinder number of the pipe cutting cylinder storage. Therefore, the second task start time corresponding to the second code frame task needs to be determined according to the second pipe cutting cylinder storage time, calculate the time difference between the second pipe cutting cylinder storage time and the first code frame reset time, consider this time difference on the basis of the first code frame reset time, obtain the adjustment time, and add the adjustment time on the basis of the first task start time to obtain the second task start time. By analogy, the task start time of each code frame task is obtained. It should be noted that if the theoretical number of single-grasping barrels in two code frame tasks is the same, it means that the corresponding shear barrel storage time is the same.

[0066] Through the above technical scheme, by accurately calculating the displacement time parameters of the magnetic cylinder and the reset time parameters of the magnetic module corresponding to each code frame task, it can be ensured that the code frame task is started at the exact time point, avoiding unnecessary waiting and delays, thereby improving the production efficiency of the entire production line; optimizing the task start time can ensure that the CNC code frame equipment of the liquid reservoir cylinder maintains a continuous and stable state when working, reducing the waste of resources caused by waiting or idleness; by accurately controlling the execution time of the code frame task, it can be ensured that each liquid reservoir cylinder is processed consistently and reliably during the stacking process, thereby improving product quality, and can dynamically adjust the task start time according to different production needs, so that the CNC code frame equipment of the liquid reservoir cylinder can adapt to the changing production environment, enhancing the flexibility and adaptability of the equipment, and by considering the transmission efficiency between the upstream production node and the CNC code frame equipment of the liquid reservoir cylinder, the node correlation with the upstream production node is increased, and the execution time of the code frame task can be more accurately predicted and planned, further optimizing the scheduling and management of the entire code frame task.

[0067] Step S105, according to the code frame magnetic control parameter set corresponding to each code frame task and the task start time of each code frame task, the liquid storage cylinder CNC code frame device is controlled to realize the stacking operation of the cut tube cylinder in the target stacking frame.

[0068] In one embodiment of the present specification, in the numerical control code frame device of the liquid reservoir cylinder, according to the code frame magnetic control parameter set corresponding to each code frame task and the task start time of each code frame task, the code frame control scheme corresponding to the numerical control code frame device of the liquid reservoir cylinder is generated, so as to accurately control the equipment according to the code frame control scheme to realize the stacking operation of the cut tube cylinder in the target stacking frame. By setting specific magnetic control parameters for each code frame task, it can be ensured that the cut tube cylinder is accurately adsorbed and placed in the target stacking frame, which improves the precision and accuracy of stacking and reduces errors and waste caused by position deviation. In addition, combined with the task start time, the numerical control code frame device of the liquid reservoir cylinder can efficiently arrange and execute code frame tasks, avoid unnecessary waiting and delays, and improve the overall efficiency of the code frame process. Through precise magnetic control and task scheduling, the automation level of the equipment is improved, the need for manual intervention is reduced, the possibility of human error is reduced, and the stability and reliability of the code frame process are improved. Since the magnetic control parameters and task start time can be adjusted according to specific needs, the equipment can adapt to pipe cutting barrels and stacking frames of different specifications and sizes, making the equipment more flexible and adaptable, and able to cope with changing production needs.

[0069] Through the above technical scheme, the upstream and downstream influencing factors of the coding frame process are taken into account. Before the coding frame control is carried out, comprehensive upstream and downstream reference data are obtained, which provides a comprehensive data source for the subsequent coding frame control process. Taking into account the diversity of scenarios, the scenario coverage of the source data is improved, and the correlation with the upstream and downstream production nodes is increased; through precise data analysis and task planning, multiple coding frame tasks can be efficiently generated, and the theoretical number of single-grabbing barrels for each task can be reasonably allocated, thereby reducing invalid operations and waiting time, and improving overall production efficiency; the magnetic suction control parameters are determined according to the shear barrel size data and the theoretical number of single-grabbing barrels for each coding frame task, while ensuring the coding frame efficiency, reducing energy consumption, and meeting the balance between coding frame efficiency and equipment energy consumption; by obtaining the remaining barrel data of the current stacking frame and the capacity parameters of the target stacking frame in real time, resources are reasonably allocated to ensure that each stacking frame is fully utilized, which can be achieved. More accurate stacking planning can be achieved to avoid wasting space or exceeding capacity, thereby improving stacking efficiency. The displacement time parameters of the magnetic cylinder and the reset time parameters of the magnetic module are determined based on the current stacking frame position data, which can ensure that the encoding task is started at the exact time point, avoiding unnecessary waiting and delays, and ensuring that the CNC encoding device of the liquid storage cylinder maintains a continuous and stable state when working, reducing resource waste caused by waiting or idleness. Through the automatic control system, the CNC encoding device of the liquid storage cylinder is controlled according to the encoding frame magnetic control parameter set and the task start time, realizing the automation of the production process, reducing dependence on manual operation, and improving production efficiency and stability. It can dynamically adjust the encoding task and magnetic control parameters according to the pipe cutting parameters of the upstream production node and the current stacking frame parameters, making the production process more flexible, and can adapt to pipe cutting cylinders and stacking frames of different specifications and requirements, and can be suitable for a variety of application scenarios.

[0070] The embodiment of this specification also provides a code frame control device for a liquid storage cylinder, such as Figure 3 As shown, the device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above method.

[0071] The embodiment of the present specification also provides a non-volatile computer storage medium, which stores computer executable instructions, and the computer executable instructions are configured to: obtain upstream pipe cutting parameters corresponding to the upstream production node of the liquid storage cylinder numerical control code frame device and current stacking frame parameters corresponding to the target stacking frame, wherein the upstream pipe cutting parameters include pipe cutting cylinder size data, and the current stacking frame parameters include current stacking frame position data, current stacking frame remaining cylinder data and the capacity parameters of the target stacking frame; generate multiple code frame tasks corresponding to the target stacking frame through the current stacking frame remaining cylinder data, the capacity parameters of the target stacking frame and the pipe cutting cylinder size data in the current stacking frame parameters, and determine the theoretical single grab cylinder quantity corresponding to each of the code frame tasks; and determine the theoretical single grab cylinder quantity corresponding to each of the code frame tasks according to the pipe cutting cylinder size data and the theoretical single grab cylinder quantity corresponding to each of the code frame tasks. According to the number of single-grabbing cylinders, the code frame magnetic control parameter set corresponding to each of the code frame tasks is determined according to the preset energy consumption control strategy, wherein each of the code frame magnetic control parameter sets includes at least one designated magnetic module to be enabled and the magnetic electrical parameters of the designated magnetic module; based on the current stacking frame position data of the current stacking frame parameters, the magnetic cylinder displacement time parameters and the magnetic module reset time parameters corresponding to each of the code frame tasks are determined, so as to determine the task start time of each of the code frame tasks through the magnetic cylinder displacement time parameters and the magnetic module reset time parameters; according to the code frame magnetic control parameter set corresponding to each of the code frame tasks and the task start time of each of the code frame tasks, the liquid storage cylinder CNC code frame device is controlled to realize the stacking operation of the tube cutting cylinder in the target stacking frame.

[0072] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0073] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0074] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.

Claims

1. A code frame control method for a liquid storage cylinder, characterized in that: Applied to the numerical control code frame equipment of the liquid storage cylinder, the method comprises: Acquire the upstream pipe cutting parameters corresponding to the upstream production node of the liquid storage cylinder numerical control stacking frame device and the current stacking frame parameters corresponding to the target stacking frame, wherein the upstream pipe cutting parameters include the pipe cutting cylinder size data, and the current stacking frame parameters include the current stacking frame position data, the current stacking frame remaining cylinder data and the capacity parameters of the target stacking frame; Generate multiple stacking frame tasks corresponding to the target stacking frame through the remaining barrel data of the current stacking frame in the current stacking frame parameters, the capacity parameters of the target stacking frame and the size data of the cut barrel, and determine the theoretical single-grab barrel quantity corresponding to each stacking frame task; According to the tube cutting barrel size data and the theoretical single grab barrel quantity corresponding to each of the code frame tasks, and in accordance with a preset energy consumption control strategy, a code frame magnetic attraction control parameter set corresponding to each of the code frame tasks is determined, wherein each of the code frame magnetic attraction control parameter sets includes at least one designated magnetic attraction module to be enabled and the magnetic attraction electrical parameters of the designated magnetic attraction module; Based on the current stacking frame position data of the current stacking frame parameters, determine the magnetic suction cylinder displacement time parameters and the magnetic suction module reset time parameters corresponding to each of the code frame tasks, so as to determine the task start time of each of the code frame tasks through the magnetic suction cylinder displacement time parameters and the magnetic suction module reset time parameters; According to the code frame magnetic control parameter set corresponding to each of the code frame tasks and the task start time of each of the code frame tasks, the liquid storage cylinder CNC code frame device is controlled to realize the stacking operation of the tube cutting cylinder in the target stacking frame; through the current stacking frame remaining cylinder data in the current stacking frame parameters, the capacity parameters of the target stacking frame and the tube cutting cylinder size data, multiple code frame tasks corresponding to the target stacking frame are generated, and the theoretical single grab cylinder quantity corresponding to each of the code frame tasks is determined, specifically including: Determine the available capacity information of the target stacking frame through the remaining cylinder data of the current stacking frame in the current stacking frame parameters and the capacity parameters of the target stacking frame; Obtaining a cylinder outer diameter parameter in the tube cutting cylinder size data, so as to determine a unit cylinder occupancy capacity parameter corresponding to each tube cutting cylinder through the cylinder outer diameter parameter; Generate current theoretical full-load cylinder parameters corresponding to the target stacking frame according to the unit cylinder occupied capacity parameter and the available capacity information; Obtaining a single-catch cylinder parameter threshold of the liquid storage cylinder numerical control code frame device; Through the preset constraints, according to the current theoretical full-load cylinder parameters and the single-grab cylinder parameter threshold, the number of stacking frame tasks corresponding to the target stacking frame is determined, wherein the constraints are: , n is the number of code frame tasks, is the single grab barrel parameter threshold, is the current theoretical full-load cylinder parameter; Determine the number of single grab full load tasks and the number of single grab non-full load tasks according to the number of code frame tasks; Based on the number of single-grab full-load tasks and the number of single-grab non-full-load tasks corresponding to the target stacking frame, the theoretical number of single-grab cylinders corresponding to each stacking frame task is determined.

2. A code frame control method for a liquid storage cylinder according to claim 1, characterized in that: According to the tube cutting barrel size data and the theoretical single grab barrel quantity corresponding to each code frame task, according to the preset energy consumption control strategy, the code frame magnetic suction control parameter set corresponding to each code frame task is determined, specifically including: Determining the barrel quality parameter corresponding to each of the pipe cutting barrels according to the pipe cutting barrel size data; Determine the single-task magnetic suction quality data corresponding to each of the code frame tasks through the theoretical single-grasping cylinder quantity corresponding to each of the code frame tasks and the cylinder quality parameter corresponding to each of the tube cutting cylinders; Acquire magnetic attraction module information of multiple magnetic attraction modules, wherein the magnetic attraction module information includes module position information and module magnetic attraction parameters of each magnetic attraction module; According to the preset energy consumption control strategy, the number of magnetic suction modules corresponding to each code frame task is determined through the module magnetic suction parameters of each magnetic suction module and the single task magnetic suction quality data corresponding to each code frame task; According to the number of magnetic modules corresponding to each code frame task and the module position information of each magnetic module, at least one designated magnetic module that meets the preset requirements is determined from the multiple magnetic modules to determine the set of magnetic modules to be enabled corresponding to each code frame task; Based on the single-task magnetic attraction quality data corresponding to each of the code frame tasks, the magnetic attraction electrical parameters corresponding to each of the to-be-activated magnetic attraction module sets are determined.

3. A code frame control method for a liquid storage cylinder according to claim 2, characterized in that: Based on the single-task magnetic attraction quality data corresponding to each of the code frame tasks, determining the magnetic attraction electrical parameters corresponding to each of the to-be-enabled magnetic attraction module sets specifically includes: Obtaining a basic code frame speed and a code frame speed threshold of the liquid storage cylinder numerical control code frame device, wherein the basic code frame speed is the running speed in a no-load state; Determine the speed increment corresponding to the unit mass cylinder according to the pre-acquired single code frame cylinder mass threshold and the code frame speed threshold; By using the single-task magnetic mass data corresponding to each of the code frame tasks and the speed increment corresponding to the unit mass cylinder, code frame speed matching is performed on each of the code frame tasks to determine a reference code frame speed corresponding to each of the code frame tasks; Acquire a predetermined designated mapping function, wherein the designated mapping function is used to represent the correlation between the magnetic attraction electrical parameter and the magnetic attraction quality and the code frame speed; The magnetic attraction electrical parameters corresponding to the magnetic attraction module set to be enabled are determined through the specified mapping function according to the single-task magnetic attraction quality data corresponding to each of the code frame tasks and the reference code frame speed corresponding to each of the code frame tasks.

4. A code frame control method for a liquid storage cylinder according to claim 3, characterized in that: Get the predetermined specified mapping function, including: The specified mapping function is: , Where, I is the magnetic attraction current, is the friction coefficient, m is the magnetic mass, is the acceleration due to gravity, is the transport resistance constant, is the frame speed, is the system constant, is the proportionality coefficient between magnetic field strength and current.

5. The code frame control method of a liquid storage cylinder according to claim 3, characterized in that: Based on the current stacking frame position data of the current stacking frame parameters, determining the magnetic suction cylinder displacement time parameter and the magnetic suction module reset time parameter corresponding to each of the stacking frame tasks specifically includes: Determine the displacement information of the magnetic cylinder corresponding to the stacking frame task through the current stacking frame position data in the current stacking frame parameters; Determine the magnetic cylinder displacement time parameter corresponding to each code frame task according to the reference code frame speed corresponding to each code frame task and the magnetic cylinder displacement information corresponding to the code frame task; Based on the basic code frame speed of the numerical control code frame device of the liquid storage cylinder and the displacement information of the magnetic suction cylinder, the reset time parameter of the magnetic suction module is determined.

6. A code frame control method for a liquid storage cylinder according to claim 1, characterized in that: Determining the task start time of each code frame task by using the magnetic suction cylinder displacement time parameter and the magnetic suction module reset time parameter specifically includes: Acquire the transportation efficiency between the upstream production node and the liquid storage cylinder numerical control code frame device, wherein the transportation efficiency is used to represent the transportation time corresponding to the unit shearing cylinder; The task start time of each of the code frame tasks is determined by the conveying efficiency, the displacement time parameter of the magnetic suction cylinder and the reset time parameter of the magnetic suction module.

7. A code frame control method for a liquid storage cylinder according to claim 6, characterized in that: Determining the task start time of each code frame task by using the conveying efficiency, the displacement time parameter of the magnetic suction cylinder and the reset time parameter of the magnetic suction module, specifically includes: Construct a code frame task sequence corresponding to a plurality of the code frame tasks, obtain a first code frame task located at the first position of the code frame task sequence, and determine a first theoretical single grasping cylinder quantity and a first magnetic suction cylinder displacement time parameter corresponding to the first code frame task; Determine the first tube cutting cylinder storage time corresponding to the first code frame task according to the conveying efficiency and the first theoretical single grabbing cylinder quantity corresponding to the first code frame task, so as to determine the first task start time of the first code frame task according to the first tube cutting cylinder storage time; Determining a first code frame reset time length of the first code frame task according to the first magnetic cylinder displacement time parameter and the magnetic module reset time parameter; Acquire a second code frame task located after the first code frame task in the code frame task sequence, determine a second theoretical single-grasping barrel quantity corresponding to the second code frame task, and determine a second tube cutting barrel storage time corresponding to the second code frame task according to the second theoretical single-grasping barrel quantity and the conveying efficiency; Based on the first code frame reset time and the second pipe cutting cylinder material storage time, a second task start time corresponding to the second code frame task is determined.

8. A code frame control device for a liquid storage cylinder, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 7.

9. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: Acquire the upstream pipe cutting parameters corresponding to the upstream production node of the liquid storage cylinder numerical control stacking frame device and the current stacking frame parameters corresponding to the target stacking frame, wherein the upstream pipe cutting parameters include the pipe cutting cylinder size data, and the current stacking frame parameters include the current stacking frame position data, the current stacking frame remaining cylinder data and the capacity parameters of the target stacking frame; Generate multiple stacking frame tasks corresponding to the target stacking frame through the remaining barrel data of the current stacking frame in the current stacking frame parameters, the capacity parameters of the target stacking frame and the size data of the cut barrel, and determine the theoretical single-grab barrel quantity corresponding to each stacking frame task; According to the tube cutting barrel size data and the theoretical single grab barrel quantity corresponding to each of the code frame tasks, and in accordance with a preset energy consumption control strategy, a code frame magnetic attraction control parameter set corresponding to each of the code frame tasks is determined, wherein each of the code frame magnetic attraction control parameter sets includes at least one designated magnetic attraction module to be enabled and the magnetic attraction electrical parameters of the designated magnetic attraction module; Based on the current stacking frame position data of the current stacking frame parameters, determine the magnetic suction cylinder displacement time parameters and the magnetic suction module reset time parameters corresponding to each of the code frame tasks, so as to determine the task start time of each of the code frame tasks through the magnetic suction cylinder displacement time parameters and the magnetic suction module reset time parameters; According to the code frame magnetic control parameter set corresponding to each of the code frame tasks and the task start time of each of the code frame tasks, the liquid reservoir cylinder CNC code frame device is controlled to realize the stacking operation of the tube cutting cylinder in the target stacking frame; Through the remaining barrel data of the current stacking frame in the current stacking frame parameters, the capacity parameters of the target stacking frame and the size data of the cut barrel, multiple stacking frame tasks corresponding to the target stacking frame are generated, and the theoretical single-grab barrel quantity corresponding to each stacking frame task is determined, specifically including: Determine the available capacity information of the target stacking frame through the remaining cylinder data of the current stacking frame in the current stacking frame parameters and the capacity parameters of the target stacking frame; Obtaining a cylinder outer diameter parameter in the tube cutting cylinder size data, so as to determine a unit cylinder occupancy capacity parameter corresponding to each tube cutting cylinder through the cylinder outer diameter parameter; Generate current theoretical full-load cylinder parameters corresponding to the target stacking frame according to the unit cylinder occupied capacity parameter and the available capacity information; Obtaining a single-catch cylinder parameter threshold of the liquid storage cylinder numerical control code frame device; Through the preset constraints, according to the current theoretical full-load cylinder parameters and the single-grab cylinder parameter threshold, the number of stacking frame tasks corresponding to the target stacking frame is determined, wherein the constraints are: , n is the number of code frame tasks, is the single grab barrel parameter threshold, is the current theoretical full-load cylinder parameter; Determine the number of single grab full load tasks and the number of single grab non-full load tasks according to the number of code frame tasks; Based on the number of single-grab full-load tasks and the number of single-grab non-full-load tasks corresponding to the target stacking frame, the theoretical number of single-grab cylinders corresponding to each stacking frame task is determined.