Cable production scheme intelligent recommendation method based on deep learning
By employing a deep learning-based intelligent recommendation method for cable production solutions, the problems of untimely and inaccurate recommendations caused by the uncertainty of equipment processing time have been solved. This enables quantitative management of equipment idle time and production connection risks, thereby improving the efficiency and accuracy of cable production.
Patent Information
- Application Number
- CN202611255613.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-24
AI Technical Summary
Existing cable production solutions suffer from unpredictable equipment processing times, leading to untimely and inaccurate intelligent recommendations. This can result in time conflicts between processes or prolonged waiting times, increasing equipment idle costs and the risk of order delivery delays.
Using a deep learning-based approach, the system receives cable production orders and extracts hard constraints. It then predicts processing time using an equipment production prediction plugin, and filters equipment according to the process sequence based on the hard constraints to construct a candidate equipment sequence space. Finally, it searches for the optimal equipment sequence recommendation with the goal of minimizing equipment idle time and production connection risks.
It enables intelligent recommendation of cable production solutions, improves the efficiency and accuracy of equipment collaborative scheduling, and reduces equipment idle costs and delivery delay risks.
Smart Images

Figure CN123159740A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of deep learning technology, specifically to a method for intelligent recommendation of cable production solutions based on deep learning. Background Technology
[0002] Cable production typically involves multiple processes such as wire drawing, stranding, extrusion, and winding. Each process involves different equipment groups, and multiple pieces of equipment operate in parallel within the same process, with the equipment status changing dynamically.
[0003] The current production plan has uncertainties in equipment processing time, and the existing queued tasks will affect the availability of equipment. If equipment is matched only according to the static idle state, it may lead to time conflicts between processes or long waiting times, resulting in increased equipment idle costs and the risk of order delivery delays. Summary of the Invention
[0004] This invention provides a deep learning-based intelligent recommendation method for cable production schemes, which solves the technical problems in the prior art where the intelligent recommendation of cable production schemes is not timely and the recommendation results are inaccurate due to the uncertainty of equipment processing time.
[0005] This invention provides a deep learning-based intelligent recommendation method for cable production solutions, the method comprising: Upon receiving cable production orders, extract product specification constraints, material type constraints, production quality constraints, and production rate constraints as hard constraints. Obtain the status information of available equipment groups for each production process, and predict the estimated completion time of the corresponding processing tasks for each equipment; Based on the aforementioned hard constraints, the available equipment groups for each process are rolled out according to the process sequence to construct a candidate equipment sequence space. The equipment selection for the subsequent process is determined based on the estimated completion time of the equipment selected in the preceding process. With the optimization objectives of minimizing equipment idle time between adjacent processes and minimizing production connection risks, a search is performed in the candidate equipment sequence space, and the optimal equipment sequence is output as the recommended result of the cable production scheme. Here, the equipment idle time is the waiting time from the completion of the previous process to the start of the next process in an adjacent process, and the production connection risk is the product of the probability that the start time of the next process is later than the completion time of the previous process and the expected overtime period.
[0006] Preferably, the product specification constraints include conductor cross-sectional area range, conductor outer diameter range, and cable outer diameter range; the material type constraints include the compatibility relationship between the equipment screw type and the cable insulation material or sheath material type; the production quality constraints include equipment precision level requirements; and the production rate constraints include the range requirements for the minimum and maximum production speeds of the equipment.
[0007] Preferably, the estimated completion time of the processing task corresponding to each device is predicted, including: The pre-built equipment production prediction plugin predicts the estimated completion time of the current processing task of each equipment and outputs the probability distribution of the predicted completion time. The input features of the equipment production prediction plugin include: product specification parameters of the current processing task of the equipment, the equipment's historical processing time record, the equipment's current running time, and the number of queued tasks of the equipment. The output of the equipment production prediction plugin is the distribution parameter of the predicted completion time probability distribution, which is used to characterize the uncertainty range of the expected completion time.
[0008] Preferably, the construction steps of the equipment production prediction plugin include: Obtain the historical processing records of each device, and extract the product specification parameters, the running time of the device in the processing task, the number of queued tasks when the device starts the processing task, and the actual completion time of the processing task from each historical processing record. A training sample set is constructed using the product specification parameters, runtime, and number of queued tasks as training input features and the actual completion time as the training label. The initial deep neural network is trained using the training sample set, with the negative log-likelihood loss function as the training loss function, until the deviation between the predicted completion time probability distribution output by the initial deep neural network and the actual completion time meets the preset convergence condition, thus obtaining the equipment production prediction plug-in.
[0009] Preferably, based on the hard constraints, a rolling screening of available equipment groups for each process is performed according to the process sequence, including: The product specification constraints, material type constraints, production quality constraints, and production rate constraints are compared one by one with the processing capacity attributes of each piece of equipment. If the processing capability attribute of any equipment fails to meet any of the hard constraints, the equipment shall be removed from the available equipment group for the corresponding process. Using the order placement time as the starting point of the first process time window, compare and eliminate the available equipment groups for the first process to obtain the set of optional equipment for the first process; The cable production process includes four steps: the first step is wire drawing, the second step is wire stranding, the third step is extrusion, and the fourth step is wire winding.
[0010] Preferably, the rolling screening of available equipment groups for each process step according to the process sequence further includes: For each wire drawing machine in the set of optional equipment for the first process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the first connection time node corresponding to the wire drawing machine, and the start time window of the second process is determined based on the first connection time node. During the start time window of the second process, the comparison and elimination operation is performed on the available equipment group of the second process, and the equipment that is not in an idle state at that time is eliminated to obtain the set of optional equipment for the second process. For each stranding machine in the set of optional equipment for the second process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the second connection time node corresponding to the stranding machine, and the start time window of the third process is determined based on the second connection time node. During the start time window of the third process, the comparison and elimination operation is performed on the available equipment group of the third process, and the equipment that is not idle at that time is eliminated to obtain the set of optional equipment for the third process. For each extrusion machine in the set of optional equipment for the third process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the third connection time node corresponding to the extrusion machine, and the start time window of the fourth process is determined based on the third connection time node. During the start time window of the fourth process, the comparison and elimination operation is performed on the available equipment group of the fourth process, and the equipment that is not in an idle state at that time is eliminated, so as to obtain the set of optional equipment for the fourth process.
[0011] Preferably, constructing a candidate device sequence space includes: Randomly select one wire drawing machine from the set of optional equipment for the first process, one stranding machine from the set of optional equipment for the second process, one extrusion machine from the set of optional equipment for the third process, and one take-up machine from the set of optional equipment for the fourth process. Arrange the selected equipment in the order of wire drawing, stranding, extrusion, and take-up to form a candidate equipment sequence. Traverse all equipment combinations in the set of available equipment for each process step, and form a candidate equipment sequence space from all the resulting candidate equipment sequences.
[0012] Preferably, the method for calculating the equipment idle time includes: For a candidate equipment sequence, obtain the connection time node corresponding to the equipment selected in the preceding process in each adjacent process, and the expected start time of the equipment selected in the following process; Subtract the connection time node corresponding to the selected equipment in the preceding process from the estimated start time of the equipment selected in the subsequent process to obtain the time difference between the adjacent processes. When the time difference is positive, the time difference is recorded as the waiting time for the corresponding adjacent process; When the time difference is not positive, the waiting time of the corresponding adjacent process is recorded as zero; The idle time of the candidate equipment sequence is obtained by summing the waiting times of all adjacent processes in the candidate equipment sequence.
[0013] Preferably, the calculation method for the production continuity risk includes: For a candidate equipment sequence, obtain the expected completion time distribution of the selected equipment in the preceding process and the expected start time of the selected equipment in the following process in each adjacent process; Based on the expected completion time distribution, the probability that the actual completion time of the equipment selected in the preceding process is earlier than the earliest time node of the expected completion time distribution is calculated, which is used as the probability that the expected start time of the equipment selected in the subsequent process is later than the earliest time node. When the estimated start time of the equipment selected in the subsequent process is later than the earliest time node of the estimated completion time distribution of the equipment selected in the preceding process, the estimated start time of the equipment selected in the subsequent process exceeds the expected duration of the earliest time node. The product of the probability of occurrence and the expected duration is recorded as the connection risk value of the corresponding adjacent process; The production connection risk of the candidate equipment sequence is obtained by summing the connection risk values of all adjacent processes in the candidate equipment sequence.
[0014] Preferably, the search is performed in the candidate device sequence space, and the optimal device sequence is output as a recommended result for the cable production scheme, including: Based on the order attributes of the current cable production order, determine the idle time weight and the connection risk weight. The order attributes include the urgency of delivery and the cost sensitivity. The higher the urgency of delivery, the greater the value of the connection risk weight. The higher the cost sensitivity, the greater the value of the idle time weight. For each candidate device sequence in the candidate device sequence space, the idle time of the candidate device sequence is multiplied by the idle time weight to obtain the weighted idle time, and the production connection risk of the candidate device sequence is multiplied by the connection risk weight to obtain the weighted connection risk. The weighted idle time is added to the weighted connection risk to obtain a comprehensive optimization index for the candidate device sequence. Based on minimizing the comprehensive optimization index, an exhaustive search is performed in the candidate device sequence space, and the candidate device sequence with the smallest comprehensive optimization index is taken as the optimal device sequence.
[0015] One or more technical solutions provided in this invention have at least the following technical effects or advantages: This invention first extracts product specification constraints, material type constraints, production quality constraints, and production rate constraints as hard constraints after receiving cable production orders, providing clear and quantifiable criteria for subsequent equipment selection. Second, it utilizes an equipment production prediction plugin to obtain the estimated completion time of each equipment's current processing task, providing a time input basis for rolling selection. Third, based on the hard constraints, it performs rolling selection of available equipment groups for each process sequentially, ensuring that equipment selection for subsequent processes is based on the estimated completion time of equipment selected in previous processes, constructing a candidate equipment sequence space, narrowing the search scope without overlooking feasible solutions. Furthermore, it searches using equipment idle time and production connection risks as optimization objectives, quantifying equipment idle costs and delivery delay risks. Finally, it searches the candidate equipment sequence space and outputs the optimal equipment sequence as a recommended solution, achieving intelligent cable production scheme formulation and improving the efficiency and accuracy of multi-process equipment collaborative scheduling. Attached Figure Description
[0016] Figure 1 This is a flowchart illustrating the intelligent recommendation method for cable production solutions based on deep learning provided by the present invention. Figure 2 This is a logical diagram of the intelligent recommendation method for cable production solutions based on deep learning provided by the present invention. Detailed Implementation
[0017] This invention provides a deep learning-based intelligent recommendation method for cable production schemes, which solves the technical problems in the prior art where the intelligent recommendation of cable production schemes is not timely and the recommendation results are inaccurate due to the uncertainty of equipment processing time.
[0018] The present invention will now be described in detail with reference to the accompanying drawings.
[0019] Specific implementation examples, such as Figure 1 , Figure 2 As shown, this invention provides an intelligent recommendation method for cable production solutions based on deep learning, the method comprising: S100: Receive cable production orders and extract product specification constraints, material type constraints, production quality constraints, and production rate constraints as hard constraints. In this embodiment of the invention, a cable production order is a production task instruction received by the cable manufacturing enterprise from a customer or production planning department. This instruction includes all technical parameters and production requirements of the cable product to be produced. Product specification constraints are the physical dimensional parameters of the cable product itself, including the conductor cross-section range. Material type constraints are the adaptation requirements of the cable insulation or sheath material type to the production equipment, specifically reflected in the matching relationship between the equipment screw type and the material type. Production quality constraints are the order's requirements for the quality grade of the finished cable, reflected in the minimum requirement for the equipment's precision grade. Production rate constraints are the order's restrictions on production speed, expressed as the range requirements for the equipment's minimum and maximum production speeds. Hard constraints refer to restrictive conditions that must be unconditionally met in the production plan decision-making process; any equipment that does not meet hard constraints cannot be selected for the production plan.
[0020] Specifically, the process involves receiving cable production orders. Using these orders as the data source, the text or structured data of the orders is parsed. During parsing, four categories of constraint parameters are identified from the order data according to preset data extraction rules: product specification constraints, material type constraints, production quality constraints, and production rate constraints. These four types of constraints are uniformly marked as hard constraints, serving as mandatory criteria that must be met in the subsequent equipment selection stage.
[0021] In step S100 of the method of this embodiment of the invention, the product specification constraints include the conductor cross-section range, the conductor outer diameter range, and the cable outer diameter range; the material type constraints include the compatibility relationship between the equipment screw type and the cable insulation material or sheath material type; the production quality constraints include the equipment precision level requirements; and the production rate constraints include the range requirements of the equipment minimum production speed and maximum production speed.
[0022] In this embodiment of the invention, product specification constraints include conductor cross-sectional area range, conductor outer diameter range, and cable outer diameter range. The conductor cross-sectional area refers to the nominal cross-sectional area of the cable conductor, measured in mm², and its value ranges from 0.5 mm² to 2500 mm², according to standard cable conductor specifications. The conductor outer diameter refers to the actual diameter of the cable conductor, measured in mm, and its value is related to the conductor cross-sectional area and conductor structure. The cable outer diameter refers to the nominal outer diameter of the finished cable, measured in mm, and its value is equal to the conductor diameter plus the insulation layer thickness and the sheath layer thickness.
[0023] Specifically, when the cable production management system receives a new production order, it reads the product model code or product specification description field of the target cable from the order data structure. Then, based on this field, it references a pre-built product specification parameter library to query the conductor cross-section value, conductor outer diameter value, and cable outer diameter value corresponding to that cable model. The product specification parameter library includes all historical production order records, each containing a product model field and its corresponding conductor cross-section value, conductor outer diameter value, and cable outer diameter value. Subsequently, it verifies and corrects the data according to cable conductor standards, removing historical abnormal data that exceeds the standard's allowable deviation range. Then, the verified data is grouped and aggregated according to product model, and the mode or mean of the same specification parameter from multiple production records under the same model is taken as the standard parameter value for that model, forming an initial mapping table between product models and specification parameters. Finally, the mapping table is stored as a relational database table.
[0024] The three values are then recorded in the product specification constraints for conductor cross-section range, conductor outer diameter range, and cable outer diameter range, respectively. For the same product model, due to manufacturing tolerances, these three parameters are usually expressed as range values, for example, conductor cross-section of 2.5mm² ± 0.1mm².
[0025] Material type constraints include the compatibility between the equipment screw type and the cable insulation or sheath material type. Cable insulation and sheath layers are typically made of plastic materials through continuous extrusion molding, with the screw being the core component of the extrusion equipment. Different types of plastic materials have different physical properties and processing characteristics; therefore, matching the appropriate screw type is necessary to achieve good plasticization and extrusion quality. For example, polyvinyl chloride (PVC) is typically compatible with PVC-specific screws, and polyethylene (PE) is compatible with PE-specific screws.
[0026] Specifically, the insulation material type and sheath material type fields are read from the production order to obtain the specific names of the insulation and sheath materials required for the target cable. Then, the material type names are matched against a pre-built material-screw matching database. This database retrieves all historical material data from the cable material management system, verifies the retrieved historical data, removes abnormal historical material data, and constructs a mapping relationship between the equipment screw type and the cable insulation or sheath material type. This mapping relationship is recorded in the material type constraints and used as a criterion for selecting extrusion equipment.
[0027] Production quality constraints include equipment precision requirements. Since different cable products have varying precision requirements for each process step in production, equipment precision is a key indicator of whether equipment can meet the target product quality standards. For example, in the stranding process, the spindle speed and traction speed of the equipment are linked in real time via a programmable logic controller, and the pitch error can be controlled within ±0.5%.
[0028] Specifically, the quality grade field or quality acceptance standard field of the target cable is read from the production order to obtain the quality grade code required by the order. Then, the quality grade code or standard number is matched with a pre-built quality-precision mapping library, which stores the precision grade requirements of each process and equipment corresponding to different quality grades. Preferably, the quality grade codes, corresponding product application scopes, and acceptance rules explicitly specified in each standard are entered into a basic information table. Then, for the four processes of wire drawing, stranding, extrusion, and winding, the precision indicators and their allowable deviation ranges for each process under each quality grade are extracted one by one, and the extraction results are stored in a two-dimensional table with process number as columns and quality grade as rows. Next, the measured precision records for cable products of different quality grades during the company's historical production process are retrieved, and the measured precision distribution is compared with the standard values, supplemented based on the statistical results of the measured data. All precision requirements are written into the mapping table in a four-tuple format of quality grade code-process number-precision indicator-value range, thus obtaining the quality-precision mapping library.
[0029] Production rate constraints include the minimum and maximum production speed requirements for the equipment. Production rate refers to the quantity or length of processing tasks completed by the equipment per unit time, and its value directly affects production efficiency and order delivery dates. Different cable products have different production rate requirements due to varying levels of process complexity. A production rate that is too low may result in late delivery, while a production rate that is too high may affect product quality stability.
[0030] Specifically, the rated production rate and delivery time requirement fields of the target cable are retrieved from historical production orders. The rated production rate is typically predetermined by the process design department based on the cable's specifications and material properties, while the delivery time requirement reflects the order's time urgency. Based on the rated production rate and delivery time requirement, and considering the order quantity, the minimum and maximum production speed ranges required for each process are calculated. For example, a production order requires the production of 1000 meters of wire with a conductor cross-section of 2.5mm², a rated production rate of 80 meters / minute for the extrusion process, and a delivery time requirement of 3 working days. Therefore, the minimum production speed for the extrusion process must not be less than 60 meters / minute, and the maximum production speed must not be less than 80 meters / minute. These minimum and maximum production speed ranges are then recorded as production rate constraints.
[0031] In this embodiment of the invention, by constraining product specifications, material types, production quality, and production rates, the screening dimensions of hard constraints are made more comprehensive and the judgment criteria are more specific, thereby improving the process adaptability and screening accuracy of equipment in the candidate equipment sequence space and ensuring the feasibility of the recommended solution in actual production.
[0032] S200: Obtain the status information of available equipment groups for each production process, and predict the estimated completion time of the corresponding processing tasks for each equipment; In this embodiment of the invention, the production process refers to the various processing stages in cable production according to the process sequence; the available equipment group is a collection of all equipment currently in a schedulable state in a certain process; the status information is the current operating status data of the equipment, including but not limited to whether the equipment is performing a processing task, the product specification parameters of the current processing task, the equipment running time, the number of tasks in the queue of the equipment, etc.
[0033] Specifically, the process iterates through all four stages of cable production, acquiring the current status information of all available equipment in each stage. Based on this status information, for each piece of equipment currently executing a processing task or with tasks waiting in the queue, the equipment production prediction plugin is invoked. The product specifications of the current processing task, the historical processing time records of the equipment, the current running time of the equipment, and the number of tasks in the queue are input into the plugin. The plugin then outputs the probability distribution of the estimated completion time of the current processing task for that equipment.
[0034] Step S200 in the method of this embodiment of the invention, predicting the estimated completion time of the processing task corresponding to each device, includes: The pre-built equipment production prediction plugin predicts the estimated completion time of the current processing task of each equipment and outputs the probability distribution of the predicted completion time. The input features of the equipment production prediction plugin include: product specification parameters of the current processing task of the equipment, the equipment's historical processing time record, the equipment's current running time, and the number of queued tasks of the equipment. The output of the equipment production prediction plugin is the distribution parameter of the predicted completion time probability distribution, which is used to characterize the uncertainty range of the expected completion time.
[0035] In this embodiment of the invention, firstly, a pre-built equipment production prediction plugin is used to predict the estimated completion time of the current processing task of each piece of equipment, outputting a probability distribution of the predicted completion time. The input features of the equipment production prediction plugin include: product specification parameters of the current processing task, historical processing time records of the equipment, current running time of the equipment, and the number of queued tasks for the equipment. The product specification parameters refer to the key specification information of the cable product currently being processed by the equipment, including conductor cross-section, conductor outer diameter, and cable outer diameter. In the cable production workshop, each piece of production equipment is connected in real-time to the data acquisition and monitoring control system of the production management system via industrial Ethernet. When the operator confirms the product model of the current processing task on the equipment's human-machine interface, this information is automatically uploaded to the system. Subsequently, the corresponding conductor cross-section, conductor outer diameter, and cable outer diameter values are retrieved from the product specification parameter database, and these three values are recorded as the product specification parameters of the current processing task in the real-time database.
[0036] The equipment's historical processing time record is a collection of data showing the processing time consumed by the equipment in completing various processing tasks throughout history. Obtaining this historical processing time record relies on the production management system. After the equipment completes a processing task, the production management system records multiple historical processing time records. By reading these records, the end processing time and start processing time are obtained, and the difference between the two is calculated to obtain the actual processing time: Actual processing time = End processing time - Start processing time. This actual processing time is then stored.
[0037] The current running time of the equipment refers to the duration that the equipment has been running from the start time to the current time in the current processing task. If the equipment is in operation, the running time of each production device up to the current time is directly read from the production management system and used as the current running time of the equipment.
[0038] Then, the product specifications of the current processing task, the historical processing time records of the equipment, the current running time of the equipment, and the number of queued tasks of the equipment are organized in a certain order to form input features, such as: [product specifications, historical processing time records of the equipment, current running time of the equipment, number of queued tasks of the equipment].
[0039] Secondly, the equipment production prediction plugin takes the input features as input, performs forward propagation calculations through a deep neural network, and outputs the distribution parameters of the probability distribution of the predicted completion time.
[0040] Due to uncertainties such as fluctuations in raw material performance, changes in equipment status, and differences in operator proficiency during equipment operation, the estimated completion time is a random variable that follows a certain probability distribution, such as a normal distribution or a log-normal distribution. Therefore, the range of uncertainty in the estimated completion time can be characterized by the distribution parameters of the probability distribution of the predicted completion time.
[0041] In step S200 of the method of this embodiment of the invention, the construction step of the equipment production prediction plug-in includes: Obtain the historical processing records of each device, and extract the product specification parameters, the running time of the device in the processing task, the number of queued tasks when the device starts the processing task, and the actual completion time of the processing task from each historical processing record. A training sample set is constructed using the product specification parameters, runtime, and number of queued tasks as training input features and the actual completion time as the training label. The initial deep neural network is trained using the training sample set, with the negative log-likelihood loss function as the training loss function, until the deviation between the predicted completion time probability distribution output by the initial deep neural network and the actual completion time meets the preset convergence condition, thus obtaining the equipment production prediction plug-in.
[0042] In this embodiment of the invention, firstly, historical processing records of each device are obtained from the production execution system. These historical processing records are complete processing data archives generated by the devices during past production processes, with each record corresponding to a completed processing task. Subsequently, product specification parameters, the device's runtime in the processing task, the number of tasks queued at the start of the processing task, and the actual completion time of the processing task are extracted from each historical processing record.
[0043] Secondly, the four types of data extracted from each historical processing record are functionally divided into training input features and training labels. Specifically, product specifications, runtime, and the number of queued tasks are used as training input features, and the actual completion time is used as the training label. For each historical processing record, its input features are combined with the corresponding training label to form a training sample. After processing all historical processing records in the above manner, they are summarized to construct the training sample set.
[0044] Subsequently, before constructing the training sample set, necessary preprocessing of the input features is performed. For numerical data in product specification parameters, a min-max normalization method is used to scale them to a uniform numerical range to eliminate the influence of different units on model training, where the normalized value = (current value - maximum value) / (maximum value - minimum value). Numerical data such as runtime and the number of queued tasks are also normalized. After normalization, the input feature vector corresponding to each record is paired with the training label to form training samples. After converting all historical processing records into training samples according to the above steps, the construction of the training sample set is complete.
[0045] Finally, the initial deep neural network is trained using a training sample set, with the negative log-likelihood loss function as the training loss function, until the deviation between the predicted completion time probability distribution output by the initial deep neural network and the actual completion time meets the preset convergence condition, thus obtaining the equipment production prediction plugin. The initial deep neural network is a fully connected feedforward neural network containing multiple hidden layers.
[0046] Specifically, the initial deep neural network adopts a fully connected feedforward neural network architecture, whose basic components include an input layer, hidden layers, and an output layer. The input, hidden, and output layers are connected sequentially, with full connectivity between layers. The number of nodes in the input layer is the same as the dimension of the training input feature vector, containing 3 neurons. The hidden layers employ a multi-layer fully connected structure; preferably, three hidden layers are used, with the first hidden layer having 16 neurons and the second hidden layer having 32 neurons. The number of neurons in each hidden layer decreases progressively, and each hidden layer uses a ReLU activation function. The mathematical expression for the ReLU activation function is f(x) = max(0,x), used to introduce nonlinear transformation capabilities into the network, enabling the neural network to fit the complex nonlinear mapping relationship between the input and output. The output layer has two neurons and no activation function; it outputs the mean and variance parameters of the Gaussian probability distribution that the predicted completion time follows.
[0047] Subsequently, during model training, the training sample set was divided into a training set and a validation set in an 8:2 ratio. The initial deep neural network was then iteratively trained using the training set. The training process employed the negative log-likelihood loss function as the optimization objective. The negative log-likelihood loss function is a loss function used for probability distribution prediction tasks, and its mathematical principle is based on maximum likelihood estimation. For each training sample, the mean parameter μ and variance parameter σ² of the model output define a Gaussian probability distribution function, which describes the model's prediction of the possible location and range of the actual completion time. The negative log-likelihood loss function is calculated as follows: the actual completion time label y of the training sample is substituted into the Gaussian probability density function determined by μ and σ², the probability density value of the actual value appearing under this distribution is calculated, and then the negative logarithm of this probability density value is taken. For a batch containing N training samples, the formula for calculating the negative log-likelihood loss function is: Among them, y ᵢ Let μ be the actual completion time of the i-th sample. ᵢ and σ ᵢ² represents the mean and variance of the model's prediction for the i-th sample, respectively. Minimizing the negative log-likelihood loss function is equivalent to maximizing the joint likelihood probability of all actual completion times in the training sample set under the model's predicted distribution, thus driving the model's output probability distribution to accurately fit the distribution of the actual completion times.
[0048] A mini-batch stochastic gradient descent algorithm is employed, for example, setting the batch size to 32 samples. One batch of samples is randomly selected from the training sample set each time. During the forward propagation phase, input data enters the network from the input layer, and the results of each layer are calculated and stored layer by layer in the order from the input layer to the output layer. The average negative log-likelihood loss of that batch of samples is calculated. Then, using the backpropagation algorithm based on the chain rule, starting from the loss function, the partial derivatives of each weight matrix and bias vector with respect to the loss value are derived layer by layer. The gradients are then backpropagated layer by layer to the second hidden layer and the first hidden layer using the chain rule, finally calculating the gradient values of all weight matrices and bias vectors in the network. After calculation, the Adam optimizer synchronously updates all trainable parameters in the network according to the calculated gradient values and the preset learning rate, following the parameter update rules of the Adam algorithm. For example, the initial learning rate is set to 0.001. The maximum number of training epochs is set to 100, meaning the training sample set is traversed a maximum of 100 times. After each training epoch, the average negative log-likelihood loss of the current model on the validation set is calculated.
[0049] Repeat the above iterative process. The validation set is used to monitor the model's generalization performance and does not participate in parameter updates. Set the early stopping patience value to 10 rounds; that is, if the average negative log-likelihood loss on the validation set does not reach a new historical low within 10 consecutive rounds, the early stopping mechanism is triggered to terminate training. At this point, the model training is considered to have met the preset convergence condition. Deploy the trained deep neural network model as a device production prediction plugin. This plugin can receive the product specification parameters of the current processing task, the device's running time, and the number of tasks in the queue as input, and output the distribution parameters of the probability distribution of the expected completion time of the current processing task.
[0050] For example, assume the training sample set contains 5000 historical processing records, divided into 4000 training samples and 1000 validation samples in an 8:2 ratio. The input feature vector has a dimension of 3, so the input layer has 3 nodes. The hidden layers have 2 layers with 16 and 32 neurons respectively, both using the ReLU activation function. The output layer has 2 nodes, outputting the mean and variance parameters respectively, without any activation function. The batch size is set to 32, the initial learning rate to 0.001, the maximum training epochs to 100, and the early stopping tolerance value to 10. After training begins, in each epoch, 32 samples are sequentially taken from the training set to form a mini-batch. For each mini-batch, forward propagation is performed to calculate the predicted mean and variance, the negative log-likelihood loss is calculated, backpropagation is performed to calculate the gradient, and the Adam optimizer updates the network parameters. After each epoch, the average negative log-likelihood loss is calculated on 2000 validation samples. Assuming the validation loss is 0.85 after the first round, the current model parameters are saved until the loss reaches 0.031 in the 15th round. Subsequently, if the loss does not fall below the historical low of 0.031 for 10 consecutive rounds, the early stop mechanism is triggered, and training terminates. At this point, the model parameters saved in the 15th round are returned as the final model parameters, completing the construction of the equipment production prediction plugin. This plugin can receive the product specification parameters of the current processing task of the equipment as input, and output the predicted distribution of the estimated completion time of the current processing task after forward propagation calculation.
[0051] In this embodiment of the invention, product specification parameters, elapsed runtime, and the number of queued tasks are extracted from historical processing records. A deep neural network is trained using a negative log-likelihood loss function, enabling the equipment production prediction plugin to accurately fit the actual completion time distribution, thereby improving prediction accuracy and the reliability of the recommended solution. Subsequently, based on the predicted completion time probability distribution and its distribution parameters output by the equipment production prediction plugin, the uncertainty range of the estimated completion time for each piece of equipment is quantified, providing a reliable time input for rolling screening and optimization.
[0052] S300: Based on the hard constraints, the available equipment groups for each process are rolled out according to the process sequence to construct a candidate equipment sequence space. The equipment selection for the subsequent process is determined based on the expected completion time of the equipment selected in the preceding process. In this embodiment of the invention, the candidate device sequence space is a set consisting of all possible candidate device sequences. Each candidate device sequence is a combination of devices obtained by selecting one device from the set of optional devices for each process and arranging them in the order of the processes. The candidate device sequence is an ordered list of devices formed by selecting one device in sequence from the wire drawing process to the wire taking process for a complete cable production order.
[0053] Based on four types of hard constraints, the available equipment groups for each process were screened in the order of wire drawing, stranding, extrusion, and take-up.
[0054] Specifically, product specification constraints, material type constraints, production quality constraints, and production rate constraints are compared one by one with the processing capacity attributes of each piece of equipment in the wire drawing process. Equipment that does not meet any of the hard constraints is eliminated, resulting in the set of optional equipment for the first process. Then, for each piece of equipment in the first process's set, its estimated completion time is obtained, and based on this estimated completion time, the start time window for the second process is determined. The available equipment for the second process is again compared and eliminated based on hard constraints, further eliminating equipment that cannot be idle within the start time window, resulting in the set of optional equipment for the second process. This process is repeated until the fourth process, resulting in the set of optional equipment for all four processes. Finally, one piece of equipment is selected from each process's set and arranged in process order. All possible equipment combinations are traversed, forming a candidate equipment sequence space from all candidate equipment sequences.
[0055] Step S300 in the method of this embodiment of the invention includes: The product specification constraints, material type constraints, production quality constraints, and production rate constraints are compared one by one with the processing capacity attributes of each piece of equipment. If the processing capability attribute of any equipment fails to meet any of the hard constraints, the equipment shall be removed from the available equipment group for the corresponding process. Using the order placement time as the starting point of the first process time window, compare and eliminate the available equipment groups for the first process to obtain the set of optional equipment for the first process; The cable production process includes four steps: the first step is wire drawing, the second step is wire stranding, the third step is extrusion, and the fourth step is wire winding.
[0056] In this embodiment of the invention, firstly, after obtaining the status information of the available equipment groups for each production process, since each piece of equipment has different processing capability attributes, and the newly received cable production order puts forward clear hard requirements on product specifications, material type, production quality and production rate, it is necessary to compare the four types of hard constraints—product specification constraints, material type constraints, production quality constraints and production rate constraints—with the processing capability attributes of each piece of equipment, and screen out equipment that does not have the processing capability of the target product.
[0057] If any equipment fails to meet any of the hard constraints in terms of its processing capability attribute, the equipment will be removed from the available equipment group for the corresponding process.
[0058] Specifically, the following checks are performed sequentially: whether the range of conductor cross-sections that the equipment can process completely covers the range of conductor cross-sections in the product specifications; whether the range of conductor outer diameters that the equipment can process completely covers the range of conductor outer diameters in the product specifications; and whether the range of cable outer diameters that the equipment can process completely covers the range of cable outer diameters in the product specifications. If any of the above three items fails to meet the coverage condition, it is determined that the processing capability attribute of the equipment does not meet the product specifications, and the equipment is removed from the available equipment group.
[0059] The recommended screw type corresponding to the insulation and sheath materials of the target cable is obtained from the material type constraints, and then the recommended screw type is matched with the screw type in the equipment's processing capability attribute. If they match, the equipment is determined to meet the material type constraints; otherwise, the equipment is determined not to meet the material type constraints and is removed from the available equipment group.
[0060] The required precision level for the target cable product in the corresponding process is obtained from the production quality constraints, and this value is compared with the equipment precision level value in the equipment processing capability attribute. If the equipment precision level value is greater than or equal to the required precision level value of the production quality constraints, the equipment is determined to meet the production quality constraints; if the equipment precision level value is less than the required precision level value of the production quality constraints, the equipment is determined to not meet the production quality constraints and is removed from the available equipment group.
[0061] The system sequentially checks whether the minimum production speed in the equipment's processing capacity attribute is less than or equal to the minimum production speed requirement in the production rate constraint, and whether the maximum production speed in the equipment's processing capacity attribute is greater than or equal to the maximum production speed requirement in the production rate constraint. If both of the above conditions are met, the equipment is determined to meet the production rate constraint; if either of the above conditions is not met, the equipment is determined to not meet the production rate constraint and is removed from the available equipment group.
[0062] Secondly, taking the order placement time as the starting point of the first process time window, a comparison and elimination operation is performed on the available equipment group of the first process. That is, all equipment in the available equipment group of the wire drawing process is screened one by one according to the aforementioned product specification constraints, material type constraints, production quality constraints and production rate constraints. Equipment that meets all four hard constraints is retained, and equipment that does not meet any hard constraint is eliminated, and finally the set of optional equipment for the first process is obtained.
[0063] The cable production process includes four steps: wire drawing, stranding, extrusion, and take-up. Wire drawing involves pulling metal wire through a drawing die, reducing its cross-section to the target conductor cross-section, producing conductor filaments that meet specifications. Stranding involves twisting multiple conductor filaments together according to a specified pitch and direction to form a circular or fan-shaped conductor, producing a stranded conductor. Extrusion involves heating and plasticizing insulation or sheathing material through an extruder, then continuously and evenly coating the conductor or cable core with it, producing a semi-finished or finished cable with an insulation or sheath layer. Take-up involves winding the extruded cable onto a take-up reel according to specified wiring methods and tension requirements, producing a fully packaged finished cable reel.
[0064] Specifically, the wire drawing process corresponds to the wire drawing equipment group, the stranding process corresponds to the stranding equipment group, the extrusion process corresponds to the extrusion equipment group, and the take-up process corresponds to the take-up equipment group.
[0065] Step S300 of the method in this embodiment of the invention, which involves rolling screening of available equipment groups for each process according to the process sequence, further includes: For each wire drawing machine in the set of optional equipment for the first process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the first connection time node corresponding to the wire drawing machine, and the start time window of the second process is determined based on the first connection time node. During the start time window of the second process, the comparison and elimination operation is performed on the available equipment group of the second process, and the equipment that is not in an idle state at that time is eliminated to obtain the set of optional equipment for the second process. For each stranding machine in the set of optional equipment for the second process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the second connection time node corresponding to the stranding machine, and the start time window of the third process is determined based on the second connection time node. During the start time window of the third process, the comparison and elimination operation is performed on the available equipment group of the third process, and the equipment that is not idle at that time is eliminated to obtain the set of optional equipment for the third process. For each extrusion machine in the set of optional equipment for the third process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the third connection time node corresponding to the extrusion machine, and the start time window of the fourth process is determined based on the third connection time node. During the start time window of the fourth process, the comparison and elimination operation is performed on the available equipment group of the fourth process, and the equipment that is not in an idle state at that time is eliminated, so as to obtain the set of optional equipment for the fourth process.
[0066] In this embodiment of the invention, firstly, for each wire drawing machine in the set of selectable equipment for the first process, the previously constructed equipment production prediction plugin is invoked. The product specification parameters of the current processing task, the machine's running time, and the number of queued tasks are input. After forward propagation calculation, the expected completion time distribution after completing the current processing task is calculated. The earliest time node of the expected completion time distribution is taken as the first connection time node corresponding to the wire drawing machine. Here, the earliest time node is the earliest possible completion time of the machine under the current processing task load conditions. Subsequently, the start time window of the second process is determined based on the first connection time node; for example, the first connection time node can be used as the start time of the second process. The start time window of the second process is determined by adding a preset buffer time to the start time of the second process.
[0067] Specifically, the preset buffer duration is used to reserve a margin of error for fluctuations in the actual completion time of the preceding process at the end of the start time window of the subsequent process. The value of this buffer duration is determined based on the statistical distribution of the historical processing completion times of each piece of equipment. Specifically, it involves collecting the delay data of the actual completion time of each equipment's historical processing tasks relative to the predicted earliest time node, calculating its standard deviation, and setting the buffer duration as a multiple of this standard deviation, such as two or three times, to cover most normal fluctuations. For example, assuming the standard deviation of the historical delay data for a wire drawing machine is twelve minutes, setting the multiple to two times would determine the buffer duration as twenty-four minutes. If the equipment has good stability and the order delivery date is tight, the multiple can be adjusted to one time, shortening the buffer duration to twelve minutes.
[0068] Secondly, within the start time window of the second process, a comparison and elimination operation is performed on the available equipment group for the second process. Product specification constraints, material type constraints, production quality constraints, and production rate constraints are compared one by one with the processing capacity attributes of each stranding machine, eliminating equipment that cannot meet any of the hard constraints. The remaining stranding machines after screening constitute the optional equipment set for the second process.
[0069] Secondly, for each stranding machine in the set of optional equipment for the second process, the same method as described above is used to call the equipment production prediction plugin to predict the expected completion time distribution after completing the current processing task, and the earliest time node of this distribution is extracted as the second connection time node. This second connection time node represents the earliest possible completion time of the stranding machine under the current load conditions, and the start time window of the third process is determined based on the second connection time node. The second connection time node can be used as the start time of the third process. Starting from the start time of the third process, a preset buffer time is added to determine the start time window of the third process.
[0070] Furthermore, during the start time window of the third process, a comparison and elimination operation is performed on the available equipment group for the third process. The screening process is the same as that of the second process: first, the hard constraints are compared with the processing capacity attributes of each extrusion equipment one by one, and equipment that is not in an idle state and cannot meet any hard constraint is eliminated, thus obtaining the set of optional equipment for the third process.
[0071] Furthermore, for each extrusion machine in the set of optional equipment for the third process, the same method is used to call the equipment production prediction plugin to predict the expected completion time distribution after completing the current processing task. The earliest time node of the expected completion time distribution is taken as the third connection time node corresponding to that extrusion machine, and the start time window of the fourth process is determined based on the third connection time node. The third connection time node can be used as the start time of the fourth process. Starting from the start time of the fourth process, a preset buffer time is added to determine the start time window of the fourth process.
[0072] Finally, at the start time window of the fourth process, a comparison and elimination operation is performed on the available equipment group for the fourth process. That is, the hard constraints are compared with the processing capacity attributes of each take-up equipment, and the equipment that is not in an idle state at that time is eliminated, so as to obtain the set of optional equipment for the fourth process.
[0073] Step S300 of the method in this embodiment of the invention involves constructing a candidate device sequence space, including: Randomly select one wire drawing machine from the set of optional equipment for the first process, one stranding machine from the set of optional equipment for the second process, one extrusion machine from the set of optional equipment for the third process, and one take-up machine from the set of optional equipment for the fourth process. Arrange the selected equipment in the order of wire drawing, stranding, extrusion, and take-up to form a candidate equipment sequence. Traverse all equipment combinations in the set of available equipment for each process step, and form a candidate equipment sequence space from all the resulting candidate equipment sequences.
[0074] In this embodiment of the invention, since the set of optional equipment for each process usually includes multiple devices, and the combination of devices between different processes determines the equipment configuration scheme of the entire production process, it is necessary to combine the optional devices of each process to form a complete candidate device sequence space.
[0075] First, randomly select a wire drawing machine from the set of optional equipment for the first process as the first machine in the candidate equipment sequence. If the set of optional equipment for the first process contains m1 machines, then the first machine has m1 possible values. Next, randomly select a stranding machine from the set of optional equipment for the second process as the second machine in the candidate equipment sequence. If the set of optional equipment for the second process contains m2 machines, then the second machine has m2 possible values. Then, randomly select an extrusion machine from the set of optional equipment for the third process as the third machine in the candidate equipment sequence. If the set of optional equipment for the third process contains m3 machines, then the third machine has m3 possible values. Finally, randomly select a take-up machine from the set of optional equipment for the fourth process as the fourth machine in the candidate equipment sequence. If the set of optional equipment for the fourth process contains m4 machines, then the fourth machine has m4 possible values.
[0076] The selected equipment is arranged in the order of wire drawing, stranding, extrusion, and take-up to form a candidate equipment sequence.
[0077] Next, iterate through all equipment combinations in the available equipment sets for each process step. Specifically, perform a Cartesian product operation on the four sets: the first set, the second set, the third set, and the fourth set. This involves taking one element from each set to form a quadruple. All possible quadruples constitute the candidate equipment sequence space. Finally, combine all the resulting candidate equipment sequences into the candidate equipment sequence space.
[0078] Preferably, a nested loop approach can be used for traversal. The outermost loop iterates through each wire drawing device in the first process's optional equipment set; the second loop iterates through each stranding device in the second process's optional equipment set; the third loop iterates through each extrusion device in the third process's optional equipment set; and the innermost loop iterates through each take-up device in the fourth process's optional equipment set. Each loop combines the current four devices into a candidate device sequence and stores it in the candidate device sequence space list. The total number of candidate device sequences is the product of the sizes of the optional equipment sets for each process, i.e., the total number of candidate sequences = the number of devices in the first process's optional equipment set × the number of devices in the second process's optional equipment set × the number of devices in the third process's optional equipment set × the number of devices in the fourth process's optional equipment set.
[0079] In this embodiment of the invention, hard constraints are compared with the processing capacity attributes of the equipment one by one, and unqualified equipment is eliminated to ensure the process adaptability of the initial screening; then, the equipment production prediction plugin is used to predict the expected completion time distribution and take the earliest time node as the connecting time node, and the start time window of each process is determined in a rolling manner and non-idle equipment is eliminated to ensure the feasibility of the timing; finally, all equipment combinations are traversed to construct the candidate equipment sequence space, providing a complete search domain for subsequent optimization.
[0080] S400: With the optimization objectives of minimizing equipment idle time between adjacent processes and minimizing production connection risks, a search is performed in the candidate equipment sequence space, and the optimal equipment sequence is output as the recommended result of the cable production scheme. The equipment idle time is the waiting time from the completion of the previous process to the start of the next process in an adjacent process. The production connection risk is the product of the probability that the start time of the next process is later than the completion time of the previous process and the expected overtime period.
[0081] In this embodiment of the invention, the equipment idle time is the waiting time from the completion of the previous process to the start of the next process in an adjacent process; the production connection risk is the product of the probability that the start time of the next process in an adjacent process is later than the completion time of the previous process and the expected overtime duration; the optimal equipment sequence is the optimal equipment sequence among all candidate equipment sequences according to the optimization objective.
[0082] Specifically, the search scope is the candidate equipment sequence space, and the optimization direction is the minimization of two indicators. For each candidate equipment sequence in the candidate equipment sequence space, the sum of the idle times of all adjacent processes is calculated. For each candidate equipment sequence, the connection risk value of each adjacent process is calculated and summed, where the connection risk value of each pair of adjacent processes is equal to the product of the probability that the start time of the subsequent process is later than the completion time of the preceding process and the expected overtime duration. Using the two optimization indicators as the comprehensive evaluation criteria, an exhaustive search is performed in the candidate equipment sequence space, traversing all candidate equipment sequences, calculating the two indicator values for each sequence, and finally selecting the equipment sequence with the best overall performance as the output result.
[0083] In step S400 of the method of this embodiment of the invention, the calculation method of the device idle time includes: For a candidate equipment sequence, obtain the connection time node corresponding to the equipment selected in the preceding process in each adjacent process, and the expected start time of the equipment selected in the following process; Subtract the connection time node corresponding to the selected equipment in the preceding process from the estimated start time of the equipment selected in the subsequent process to obtain the time difference between the adjacent processes. When the time difference is positive, the time difference is recorded as the waiting time for the corresponding adjacent process; When the time difference is not positive, the waiting time of the corresponding adjacent process is recorded as zero; The idle time of the candidate equipment sequence is obtained by summing the waiting times of all adjacent processes in the candidate equipment sequence.
[0084] In this embodiment of the invention, firstly, for a candidate equipment sequence, the connection time node corresponding to the equipment selected in the preceding process and the expected start time of the equipment selected in the following process are obtained. Specifically, for a candidate equipment sequence, there are three pairs of adjacent processes.
[0085] Secondly, subtract the corresponding connection time node of the selected equipment in the preceding process from the estimated start time of the selected equipment in the subsequent process to obtain the time difference between adjacent processes. Time difference between adjacent processes = Estimated start time of the selected equipment in the subsequent process - Corresponding connection time node of the selected equipment in the preceding process.
[0086] Furthermore, when the time difference is positive, it indicates that the expected start time of the subsequent process equipment is later than the expected completion time of the preceding process equipment, meaning there is a time gap between the preceding and following processes. This time difference is recorded as the waiting time for the corresponding adjacent process.
[0087] When the time difference is not positive, it means that the expected start time of the subsequent process equipment is no later than the expected completion time of the preceding process equipment. In other words, there is no time gap between the preceding and following processes. The waiting time of the corresponding adjacent process is recorded as zero to avoid the negative waiting time from producing an unreasonable offsetting effect in the subsequent summation process.
[0088] Finally, the waiting times of all adjacent processes in the candidate equipment sequence are summed to obtain the equipment idle time of the candidate equipment sequence. Among them, the equipment idle time is a quantitative indicator to measure the tightness of the time connection of the candidate equipment sequence. The smaller the equipment idle time, the shorter the waiting time between adjacent processes and the higher the equipment utilization efficiency.
[0089] For example, suppose a candidate equipment sequence consists of wire drawing equipment A, stranding equipment D, extrusion equipment G, and take-up equipment K. For the first pair of adjacent processes, the time difference is 30 minutes, and the waiting time for this pair is 30 minutes. For the second pair of adjacent processes, the time difference is 10 minutes, and the waiting time is 10 minutes. For the third pair of adjacent processes, the time difference is -10 minutes, which is not positive, so the waiting time is recorded as 0 minutes. Summing the waiting times of the three pairs of adjacent processes, the equipment idle time of this candidate equipment sequence is 30 + 10 + 0 = 40 minutes.
[0090] In step S400 of the method of this embodiment of the invention, the calculation method for production continuity risk includes: For a candidate equipment sequence, obtain the expected completion time distribution of the selected equipment in the preceding process and the expected start time of the selected equipment in the following process in each adjacent process; Based on the expected completion time distribution, the probability that the actual completion time of the equipment selected in the preceding process is earlier than the earliest time node of the expected completion time distribution is calculated, which is used as the probability that the expected start time of the equipment selected in the subsequent process is later than the earliest time node. When the estimated start time of the equipment selected in the subsequent process is later than the earliest time node of the estimated completion time distribution of the equipment selected in the preceding process, the estimated start time of the equipment selected in the subsequent process exceeds the expected duration of the earliest time node. The product of the probability of occurrence and the expected duration is recorded as the connection risk value of the corresponding adjacent process; The production connection risk of the candidate equipment sequence is obtained by summing the connection risk values of all adjacent processes in the candidate equipment sequence.
[0091] In this embodiment of the invention, since the estimated completion time output by the equipment production prediction plugin is a probability distribution rather than a single, fixed value, the actual completion time of the preceding process equipment is uncertain. Therefore, calculating the equipment idle time based on the earliest time node cannot fully assess the risk of connecting adjacent processes. Thus, a production connection risk index is used to quantify the probability loss of connection failure between adjacent processes due to the uncertainty of the preceding process's completion time.
[0092] First, for a candidate equipment sequence, the expected completion time distribution of the selected equipment in the preceding process and the expected start time of the selected equipment in the following process are obtained. The expected completion time distribution is typically represented by a Gaussian or log-normal distribution. The equipment production prediction plugin outputs the mean and standard deviation parameters of this distribution. The earliest time node of the expected completion time distribution refers to the left quantile of this probability distribution, which, under the Gaussian distribution assumption, is specifically the mean parameter minus the standard deviation parameter.
[0093] Secondly, based on the expected completion time distribution, the probability that the actual completion time of the equipment selected in the preceding process is earlier than the earliest time node of the expected completion time distribution is calculated, which is used as the probability that the expected start time of the equipment selected in the subsequent process is later than the earliest time node.
[0094] Specifically, the equipment production prediction plugin outputs a probability distribution of predicted completion times. Assuming the predicted completion time distribution follows a Gaussian distribution with parameters of mean and standard deviation, the probability distribution of predicted completion times conforms to: T 完成 ~N(μ,σ²). The earliest time node, i.e., T.最前 A low quantile of the predicted completion time probability distribution can be chosen, such as 5% or μ-2σ. A later predicted start time for the equipment selected in a subsequent process compared to the earliest time node is equivalent to a earlier actual completion time for the preceding process than T. 最前 The probability of its occurrence is: in, It is the cumulative distribution function of the standard normal distribution.
[0095] For example, suppose the expected completion time distribution of a certain wire drawing equipment is N(13, 1) 2 Let the earliest time point be u-2σ=11 minutes. Then P(T) 完成 <11)=Φ(-2)≈0.0228. That is, the probability that the start time of the later process is later than the start time node is about 2.28%.
[0096] Next, calculate the expected duration by which the expected start time of the equipment selected in the subsequent process exceeds the earliest time node in the distribution of the expected completion time of the equipment selected in the preceding process. Here, the expected duration refers to the average duration of the excess time under the aforementioned event conditions.
[0097] Specifically, under the assumption of a normal distribution, this expected duration equals the conditional expectation, where the expected duration is: Where p(t) is the probability density function of the estimated completion time of the preceding process equipment.
[0098] Furthermore, the product of the probability of occurrence and the expected duration is denoted as the connection risk value for the corresponding adjacent process. Connection risk value = probability of occurrence × expected duration, used to represent the expected loss from risk exposure.
[0099] Finally, all adjacent process pairs in the candidate equipment sequence are traversed, including: wire drawing-stranding, stranding-extrusion, and extrusion-winding. The connection risk value of all adjacent process pairs in the candidate equipment sequence is obtained through the above calculation method. Then, the connection risk values of all adjacent processes are summed to obtain the production connection risk of the candidate equipment sequence.
[0100] Step S400 of the method in this embodiment of the invention involves searching the candidate device sequence space and outputting the optimal device sequence as a recommended result for cable production schemes, including: Based on the order attributes of the current cable production order, determine the idle time weight and the connection risk weight. The order attributes include the urgency of delivery and the cost sensitivity. The higher the urgency of delivery, the greater the value of the connection risk weight. The higher the cost sensitivity, the greater the value of the idle time weight. For each candidate device sequence in the candidate device sequence space, the idle time of the candidate device sequence is multiplied by the idle time weight to obtain the weighted idle time, and the production connection risk of the candidate device sequence is multiplied by the connection risk weight to obtain the weighted connection risk. The weighted idle time is added to the weighted connection risk to obtain a comprehensive optimization index for the candidate device sequence. Based on minimizing the comprehensive optimization index, an exhaustive search is performed in the candidate device sequence space, and the candidate device sequence with the smallest comprehensive optimization index is taken as the optimal device sequence.
[0101] In this embodiment of the invention, firstly, based on the order attributes of the current cable production order, idle time weight and connection risk weight are determined. Order attributes refer to characteristic information describing the order's delivery requirements and cost control requirements, including delivery urgency and cost sensitivity. Delivery urgency characterizes the order's sensitivity to delivery time; when the order requires a short delivery cycle or carries a risk of late payment, the delivery urgency is higher, and the connection risk weight is larger; conversely, when the delivery time is more flexible, the delivery urgency is lower, and the connection risk weight is smaller. Cost sensitivity characterizes the order's focus on production costs; when the order's profit margin is low or production costs account for a high proportion of total costs, the cost sensitivity is higher, and the idle time weight is larger; conversely, when cost control requirements are more lenient, the cost sensitivity is lower, and the idle time weight is smaller.
[0102] Preferably, the values of the idle time weight and the connection risk weight are both between 0 and 1, and their sum equals 1. The specific values of the weights can be determined by preset mapping rules. For example, the urgency of delivery can be divided into five levels, with each level corresponding to a connection risk weight value; the cost sensitivity can be divided into five levels, with each level corresponding to an idle time weight value. Alternatively, production managers can set them directly according to actual business needs.
[0103] For example: Level 1 corresponds to a delivery cycle of 15 days or more; Level 2 corresponds to a delivery cycle of 10 days or more but less than 15 days; Level 3 corresponds to a delivery cycle of 7 days or more but less than 14 days; Level 4 corresponds to a delivery cycle of 3 days or more but less than 7 days; and Level 5 corresponds to a delivery cycle of less than 3 days. Each level has a preset risk weight value; the higher the urgency of the delivery, the larger the risk weight value. For example, the risk weights for the five levels are 0.1, 0.25, 0.4, 0.55, and 0.7, respectively. Cost sensitivity is divided into five levels based on order profit margin or production cost ratio. For example: Level 1 corresponds to a profit margin higher than 30%; Level 2 corresponds to a profit margin higher than 20% but not exceeding 30%; Level 3 corresponds to a profit margin higher than 10% but not exceeding 20%; Level 4 corresponds to a profit margin higher than 5% but not exceeding 10%; and Level 5 corresponds to a profit margin not exceeding 5%. Each level has a preset idle time weight value. The higher the cost sensitivity, the larger the idle time weight value. For example, the idle time weights corresponding to the five levels are 0.1, 0.25, 0.4, 0.55, and 0.7, respectively. For example, according to the preset mapping rules, the high urgency of delivery corresponds to a connection risk weight of 0.7, and the medium cost sensitivity corresponds to an idle time weight of 0.3, with the sum of the two being 1.
[0104] Secondly, for each candidate equipment sequence in the candidate equipment sequence space, the idle time of the candidate equipment sequence is multiplied by the idle time weight to obtain the weighted idle time, which is: Weighted Idle Time = Idle Time × Idle Time Weight. The production connection risk of the candidate equipment sequence is multiplied by the connection risk weight to obtain the weighted connection risk, which is: Weighted Connection Risk = Production Connection Risk × Connection Risk Weight.
[0105] Finally, the weighted idle time and weighted connection risk are added together to obtain the comprehensive optimization index of the candidate device sequence, i.e., comprehensive optimization index = weighted idle time + weighted connection risk. An exhaustive search is then performed in the candidate device sequence space based on minimizing the comprehensive optimization index.
[0106] Preferably, the comprehensive optimization index is calculated for each candidate device sequence in the candidate device sequence space, and the candidate device sequence with the smallest comprehensive optimization index is found. Since the candidate device sequence space is constructed by traversing all combinations of devices in the set of optional devices for each process, its size is limited. Exhaustive search can guarantee the global optimality of the search results within an acceptable computation time. Then, the candidate device sequence with the smallest comprehensive optimization index is output as the optimal device sequence, which serves as the recommended production plan for the cable production order.
[0107] In this embodiment of the invention, the time difference between the connection time node of the selected equipment in the preceding process and the expected start time of the selected equipment in the following process is calculated, and the positive difference is accumulated as the equipment idle time. Then, based on the expected completion time distribution, the product of the probability of the following process starting later than the earliest time node and the expected overtime duration is calculated as the connection risk value to quantify the production connection risk. Finally, the idle time weight and connection risk weight are determined according to the order attributes, and the weighted sum is used to obtain the comprehensive optimization index and exhaustively search to output the optimal equipment sequence that matches the urgency of delivery and cost sensitivity.
[0108] The embodiments of this application, through the above specific implementation methods, achieve the following technical effects: In this embodiment, firstly, by constraining product specifications, material types, production quality, and production rate, the screening dimensions of hard constraints are made more comprehensive and the judgment criteria are more specific, thereby improving the process adaptability and screening accuracy of equipment in the candidate equipment sequence space and ensuring the feasibility of the recommended solution in actual production.
[0109] Secondly, product specification parameters, runtime, and queued task numbers are extracted from historical processing records. A deep neural network is trained using a negative log-likelihood loss function, enabling the equipment production prediction plugin to accurately fit the actual completion time distribution, thereby improving prediction accuracy and the reliability of the recommended solutions. Subsequently, based on the probability distribution of predicted completion times and its distribution parameters output by the equipment production prediction plugin, the uncertainty range of the estimated completion time for each piece of equipment is quantified, providing a reliable time input for rolling screening and optimization.
[0110] Next, the hard constraints are compared with the processing capacity attributes of the equipment one by one, and unqualified equipment is eliminated to ensure the process adaptability of the initial screening. Then, the equipment production prediction plugin is used to predict the expected completion time distribution and take the earliest time node as the connection time node. The start time window of each process is determined in a rolling manner and non-idle equipment is eliminated to ensure the feasibility of the sequence. Finally, all equipment combinations are traversed to construct the candidate equipment sequence space, providing a complete search domain for subsequent optimization.
[0111] Finally, the time difference between the connection time node of the selected equipment in the preceding process and the expected start time of the selected equipment in the following process is calculated, and the positive difference is accumulated as the equipment idle time. Then, based on the expected completion time distribution, the product of the probability of the following process starting later than the earliest time node and the expected overtime duration is calculated as the connection risk value to quantify the production connection risk. Finally, the idle time weight and connection risk weight are determined according to the order attributes, and the weighted sum is used to obtain the comprehensive optimization index and exhaustively search to output the optimal equipment sequence that matches the urgency of delivery and cost sensitivity.
Claims
1. A method for intelligent recommendation of cable production solutions based on deep learning, characterized in that, include: Upon receiving cable production orders, extract product specification constraints, material type constraints, production quality constraints, and production rate constraints as hard constraints. Obtain the status information of available equipment groups for each production process, and predict the estimated completion time of the corresponding processing tasks for each equipment; Based on the aforementioned hard constraints, the available equipment groups for each process are rolled out according to the process sequence to construct a candidate equipment sequence space. The equipment selection for the subsequent process is determined based on the estimated completion time of the equipment selected in the preceding process. With the optimization objectives of minimizing equipment idle time between adjacent processes and minimizing production connection risks, a search is performed in the candidate equipment sequence space, and the optimal equipment sequence is output as the recommended result of the cable production scheme. Here, the equipment idle time is the waiting time from the completion of the previous process to the start of the next process in an adjacent process, and the production connection risk is the product of the probability that the start time of the next process is later than the completion time of the previous process and the expected overtime period.
2. The intelligent recommendation method for cable production schemes based on deep learning according to claim 1, characterized in that, The product specification constraints include conductor cross-sectional area range, conductor outer diameter range, and cable outer diameter range. The material type constraints include the compatibility between the equipment screw type and the cable insulation material or sheath material type. The production quality constraints include equipment precision level requirements. The production rate constraints include the range requirements for the minimum and maximum production speeds of the equipment.
3. The intelligent recommendation method for cable production schemes based on deep learning according to claim 1, characterized in that, The estimated completion time for each processing task corresponding to each piece of equipment is predicted, including: The pre-built equipment production prediction plugin predicts the estimated completion time of the current processing task of each equipment and outputs the probability distribution of the predicted completion time. The input features of the equipment production prediction plugin include: product specification parameters of the current processing task of the equipment, the equipment's historical processing time record, the equipment's current running time, and the number of queued tasks of the equipment. The output of the equipment production prediction plugin is the distribution parameter of the predicted completion time probability distribution, which is used to characterize the uncertainty range of the expected completion time.
4. The intelligent recommendation method for cable production schemes based on deep learning according to claim 3, characterized in that, The construction steps of the equipment production prediction plugin include: Obtain the historical processing records of each device, and extract the product specification parameters, the running time of the device in the processing task, the number of queued tasks when the device starts the processing task, and the actual completion time of the processing task from each historical processing record. A training sample set is constructed using the product specification parameters, runtime, and number of queued tasks as training input features and the actual completion time as the training label. The initial deep neural network is trained using the training sample set, with the negative log-likelihood loss function as the training loss function, until the deviation between the predicted completion time probability distribution output by the initial deep neural network and the actual completion time meets the preset convergence condition, thus obtaining the equipment production prediction plug-in.
5. The intelligent recommendation method for cable production schemes based on deep learning according to claim 1, characterized in that, Based on the aforementioned hard constraints, a rolling screening of available equipment groups for each process is performed according to the process sequence, including: The product specification constraints, material type constraints, production quality constraints, and production rate constraints are compared one by one with the processing capacity attributes of each piece of equipment. If the processing capability attribute of any equipment fails to meet any of the hard constraints, the equipment shall be removed from the available equipment group for the corresponding process. Using the order placement time as the starting point of the first process time window, compare and eliminate the available equipment groups for the first process to obtain the set of optional equipment for the first process; The cable production process includes four steps: the first step is wire drawing, the second step is wire stranding, the third step is extrusion, and the fourth step is wire winding.
6. The intelligent recommendation method for cable production schemes based on deep learning according to claim 5, characterized in that, The rolling screening of available equipment groups for each process step according to the process sequence also includes: For each wire drawing machine in the set of optional equipment for the first process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the first connection time node corresponding to the wire drawing machine, and the start time window of the second process is determined based on the first connection time node. During the start time window of the second process, the comparison and elimination operation is performed on the available equipment group of the second process, and the equipment that is not in an idle state at that time is eliminated to obtain the set of optional equipment for the second process. For each stranding machine in the set of optional equipment for the second process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the second connection time node corresponding to the stranding machine, and the start time window of the third process is determined based on the second connection time node. During the start time window of the third process, the comparison and elimination operation is performed on the available equipment group of the third process, and the equipment that is not idle at that time is eliminated to obtain the set of optional equipment for the third process. For each extrusion machine in the set of optional equipment for the third process, the expected completion time distribution after completing the current processing task is predicted by the equipment production prediction plug-in. The earliest time node of the expected completion time distribution is taken as the third connection time node corresponding to the extrusion machine, and the start time window of the fourth process is determined based on the third connection time node. During the start time window of the fourth process, the comparison and elimination operation is performed on the available equipment group of the fourth process, and the equipment that is not in an idle state at that time is eliminated, so as to obtain the set of optional equipment for the fourth process.
7. The intelligent recommendation method for cable production schemes based on deep learning according to claim 6, characterized in that, Constructing a candidate device sequence space includes: Randomly select one wire drawing machine from the set of optional equipment for the first process, one stranding machine from the set of optional equipment for the second process, one extrusion machine from the set of optional equipment for the third process, and one take-up machine from the set of optional equipment for the fourth process. Arrange the selected equipment in the order of wire drawing, stranding, extrusion, and take-up to form a candidate equipment sequence. Traverse all equipment combinations in the set of available equipment for each process step, and form a candidate equipment sequence space from all the resulting candidate equipment sequences.
8. The intelligent recommendation method for cable production schemes based on deep learning according to claim 1, characterized in that, The calculation method for the equipment idle time includes: For a candidate equipment sequence, obtain the connection time node corresponding to the equipment selected in the preceding process in each adjacent process, and the expected start time of the equipment selected in the following process; Subtract the connection time node corresponding to the selected equipment in the preceding process from the estimated start time of the equipment selected in the subsequent process to obtain the time difference between the adjacent processes. When the time difference is positive, the time difference is recorded as the waiting time for the corresponding adjacent process; When the time difference is not positive, the waiting time of the corresponding adjacent process is recorded as zero; The idle time of the candidate equipment sequence is obtained by summing the waiting times of all adjacent processes in the candidate equipment sequence.
9. The intelligent recommendation method for cable production schemes based on deep learning according to claim 8, characterized in that, The calculation method for the production continuity risk includes: For a candidate equipment sequence, obtain the expected completion time distribution of the selected equipment in the preceding process and the expected start time of the selected equipment in the following process in each adjacent process; Based on the expected completion time distribution, the probability that the actual completion time of the equipment selected in the preceding process is earlier than the earliest time node of the expected completion time distribution is calculated, which is used as the probability that the expected start time of the equipment selected in the subsequent process is later than the earliest time node. When the estimated start time of the equipment selected in the subsequent process is later than the earliest time node of the estimated completion time distribution of the equipment selected in the preceding process, the estimated start time of the equipment selected in the subsequent process exceeds the expected duration of the earliest time node. The product of the probability of occurrence and the expected duration is recorded as the connection risk value of the corresponding adjacent process; The production connection risk of the candidate equipment sequence is obtained by summing the connection risk values of all adjacent processes in the candidate equipment sequence.
10. The intelligent recommendation method for cable production schemes based on deep learning according to claim 9, characterized in that, A search is performed in the candidate device sequence space, and the optimal device sequence is output as a recommended result for cable production scheme, including: Based on the order attributes of the current cable production order, determine the idle time weight and the connection risk weight. The order attributes include the urgency of delivery and the cost sensitivity. The higher the urgency of delivery, the greater the value of the connection risk weight. The higher the cost sensitivity, the greater the value of the idle time weight. For each candidate device sequence in the candidate device sequence space, the idle time of the candidate device sequence is multiplied by the idle time weight to obtain the weighted idle time, and the production connection risk of the candidate device sequence is multiplied by the connection risk weight to obtain the weighted connection risk. The weighted idle time is added to the weighted connection risk to obtain a comprehensive optimization index for the candidate device sequence. Based on minimizing the comprehensive optimization index, an exhaustive search is performed in the candidate device sequence space, and the candidate device sequence with the smallest comprehensive optimization index is taken as the optimal device sequence.
