Method, device and equipment for optimizing grain assembly production line and storage medium
By combining the particle swarm optimization algorithm and the Plant Simulation simulation platform, the key parameters of the drug column assembly production line are optimized, and the poor results caused by the large amount of simulation models in the existing technology are solved, and the efficiency improvement and resource optimization of the production line is achieved, and the efficiency improvement and resource optimization of the production line is reduced. Cost and waste.
Patent Information
- Application Number
- CN202410956280.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The simulation model of the existing medicine column assembly production line has a large amount of calculation, which leads to poor simulation results and is difficult to effectively optimize production line parameters, which in turn affects production efficiency and resource utilization.
Combining the particle swarm optimization algorithm and the Plant Simulation simulation platform, by optimizing the key parameters of the production line, the simulation model is updated to improve the balance rate and equipment busyness rate of the production line and reduce resource waste.
It has increased the total output of the medicine column assembly production line, reduced equipment resource waste, improved overall equipment busyness, reduced manpower and material expenditure, and has the advantages of low cost and operability.
Smart Images

Figure CN118915652A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of drug column production, and in particular to a drug column assembly production line optimization method, device, equipment and storage medium. Background Art
[0002] In the manufacturing process of explosive products, the charge assembly process is a key process in the production of explosive products. How to reduce production costs and increase production capacity is an urgent problem that manufacturers need to solve. In recent years, with the development of science and technology, the digitization and intelligence of production workshops have become a trend. Modeling and simulation analysis of the charge assembly production line has become a possibility to improve production efficiency and reduce resource waste.
[0003] In the prior art, Plant Simulation software is usually used to establish a simulation model of an explosive assembly production line. Through this model, the production bottlenecks and production imbalances of the production line are directly calculated, and finally the simulation model parameters are adjusted according to the calculation results. However, due to the huge amount of calculation, the simulation effect is often not good.
[0004] Therefore, how to provide a method for optimizing a drug column assembly production line and improve the effectiveness of parameter optimization is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the invention
[0005] In view of the above problems, the present invention provides a method, device, equipment and storage medium for optimizing a drug column assembly production line for overcoming the above problems or at least partially solving the above problems. By optimizing the key parameters of the drug column assembly production line and updating the Plant Simulation simulation model of the drug column assembly production line according to the optimal solution of the optimized key parameters, the improvement effect of the model is achieved. The improved model increases the total output of the drug column assembly production line, reduces the waste of equipment resources, increases the overall equipment busy rate, and reduces resource waste.
[0006] The present invention provides the following scheme:
[0007] A method for optimizing a drug column assembly production line, comprising:
[0008] The Plant Simulation platform is used to model the drug column assembly production line to obtain the Plant Simulation model of the drug column assembly production line;
[0009] Utilize the Plant Simulation model to analyze and determine bottleneck processes and key processes;
[0010] The production line balance rate is used as the optimization target of the particle swarm optimization algorithm, and the objective function of the key parameters that need to be optimized is determined;
[0011] The objective function is used as the fitness function optimized by the particle swarm optimization algorithm, and the particle swarm optimization algorithm is used to find the optimal solution for the key parameters of the drug column assembly production line;
[0012] The Plant Simulation model is updated according to the optimal solution of the key parameters.
[0013] Preferably: the objective function is expressed by the following formula:
[0014]
[0015] Where: a is the number of equipment for assembly of the drug column, b is the number of equipment for assembly of auxiliary parts, c is the number of equipment for assembly of the spring, d is the number of equipment for detection of the central tube, e is the number of equipment for detection of the centroid, f is the number of equipment for detection of the interface size, T i is the time cycle of each process, CT is the time cycle of the bottleneck station, and m is the total number of stations.
[0016] Preferably, a, b, c, d, e, and f satisfy the following conditions:
[0017] a+b+c=26, 1≤d≤7, 1≤e≤7, 1≤f≤7.
[0018] Preferably: the objective function is added to the particle swarm optimization algorithm using MATLAB software to replace the default fitness function.
[0019] Preferably: the speed update of the particle swarm optimization algorithm is expressed by the following formula:
[0020] v ij (t+1)=wv ij (t)+c1r1(p bestij (t))-x ij (t))+c2r2(g bestj -x ij (t))
[0021] The position update of the particle swarm optimization algorithm is expressed as follows:
[0022] x ij (t+1)=x ij (t)+v ij (t+1)
[0023] Where: v ij (t) represents the velocity of the i-th particle of the t-th generation, the subscript j represents the j-th dimension of the particle, w is the inertia weight, C1 and C2 are learning factors, r1 and r2 are random numbers between [0,1], x ij(t) represents the velocity of the ith particle of the tth generation.
[0024] Preferably: the modeling process of the Plant Simulation model includes:
[0025] Determine the problems that need to be solved in the simulation of the drug assembly production line;
[0026] Determine the value or necessity of simulation based on the problem that needs to be solved;
[0027] Determine the simulation objectives of the Plant Simulation model, which include simulating the processing and flow status of the explosive assembly production line and monitoring the number of finished products produced in a fixed time;
[0028] Acquiring target data, wherein the target data includes at least design data of the production line, equipment performance data, and production process data;
[0029] Analyzing and processing the target data to obtain analysis results, wherein the analysis results are used to understand the performance and behavior of the production line;
[0030] According to the simulation target and the result of the analysis, the Plant Simulation simulation model is constructed using the Plant Simulation simulation platform.
[0031] Preferably, the modeling process of the Plant Simulation model includes the following elements:
[0032] Workpiece processing is achieved through equipment parameter setting;
[0033] The time spent by operators in the flow between the various devices is not considered, and the flow of workpieces between processes is simulated by connecting the equipment;
[0034] There will be no interruption in the entire production process and the supply of assembly raw materials is sufficient;
[0035] There are no defective products or rework in all processed products;
[0036] Each processing equipment follows the principle of first come first served.
[0037] A device for optimizing a drug column assembly production line, used to execute the above-mentioned method for optimizing a drug column assembly production line, the device comprising:
[0038] A simulation model building unit, used for modeling the drug column assembly production line by using the Plant Simulation simulation platform to obtain a Plant Simulation simulation model of the drug column assembly production line;
[0039] A bottleneck process and a key process determination unit, used to analyze and determine the bottleneck process and the key process using the Plant Simulation simulation model;
[0040] The objective function writing unit is used to take the production line balance rate as the optimization target of the particle swarm optimization algorithm and determine the objective function of the key parameters that need to be optimized;
[0041] The optimal solution solving unit of the key parameters is used to use the objective function as the fitness function optimized by the particle swarm optimization algorithm, and use the particle swarm optimization algorithm to find the optimal solution of the key parameters of the drug column assembly production line;
[0042] A simulation model updating unit is used to update the Plant Simulation simulation model according to the optimal solution of the key parameters.
[0043] A drug column assembly production line optimization device, the device comprising a processor and a memory:
[0044] The memory is used to store program code and transmit the program code to the processor;
[0045] The processor is used to execute the above-mentioned drug column assembly production line optimization method according to the instructions in the program code.
[0046] A computer-readable storage medium is used to store program codes, and the program codes are used to execute the above-mentioned drug column assembly production line optimization method.
[0047] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0048] The embodiment of the present application provides a method, device, equipment and storage medium for optimizing the drug column assembly production line. The method combines the particle swarm optimization algorithm with the Plant Simulation simulation analysis, takes the production line balance rate as the goal of PSO optimization, writes the objective function of the key parameters to be optimized, optimizes the key parameters of the drug column assembly production line, and optimizes the drug column assembly production line. The optimized production line increases the total output of the drug column assembly production line, reduces the waste of equipment resources, increases the overall equipment busy rate, reduces the consumption of manpower and material resources, and has the advantages of low cost and high operability.
[0049] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0051] Figure 1 It is a flow chart of a method for optimizing a drug column assembly production line provided by an embodiment of the present invention;
[0052] Figure 2 It is a schematic diagram of the assembly process of the drug column assembly production line provided by an embodiment of the present invention;
[0053] Figure 3 is a Plant Simulation model diagram of a drug column assembly production line before updating provided in an embodiment of the present invention;
[0054] Figure 4 is a flow chart of a particle swarm optimization algorithm provided by an embodiment of the present invention;
[0055] Figure 5 is an evolution curve diagram of the objective function of the particle swarm optimization algorithm provided by an embodiment of the present invention;
[0056] Figure 6 is a Plant Simulation model diagram of an updated drug column assembly production line provided in an embodiment of the present invention;
[0057] Figure 7 It is a schematic diagram of a drug column assembly production line optimization device provided by an embodiment of the present invention;
[0058] Figure 8 It is a schematic diagram of a drug column assembly production line optimization device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.
[0060] See also Figure 1 , is a method for optimizing a drug column assembly production line provided by an embodiment of the present invention, such as Figure 1 As shown, the method may include:
[0061] S101: Modeling the drug column assembly production line using the Plant Simulation platform to obtain a Plant Simulation model of the drug column assembly production line; in specific implementation, the modeling process of the Plant Simulation model provided by the embodiment of the present application includes:
[0062] Determine the problems that need to be solved in the simulation of the drug assembly production line;
[0063] Determine the value or necessity of simulation based on the problem that needs to be solved;
[0064] Determine the simulation objectives of the Plant Simulation model, which include simulating the processing and flow status of the explosive assembly production line and monitoring the number of finished products produced in a fixed time;
[0065] Acquiring target data, wherein the target data includes at least design data of the production line, equipment performance data, and production process data;
[0066] Analyzing and processing the target data to obtain analysis results, wherein the analysis results are used to understand the performance and behavior of the production line;
[0067] According to the simulation target and the result of the analysis, the Plant Simulation simulation model is constructed using the Plant Simulation simulation platform.
[0068] In order to better achieve the research purpose, the embodiment of the present application can also provide that the modeling process of the Plant Simulation model includes the following elements:
[0069] Workpiece processing is achieved through equipment parameter setting;
[0070] The time spent by operators in the flow between the various devices is not considered, and the flow of workpieces between processes is simulated by connecting the equipment;
[0071] There will be no interruption in the entire production process and the supply of assembly raw materials is sufficient;
[0072] There are no defective products or rework in all processed products;
[0073] Each processing equipment follows the principle of first come first served.
[0074] S102: Analyze and determine bottleneck processes and key processes using the Plant Simulation model;
[0075] S103: Taking the production line balance rate as the optimization target of the particle swarm optimization algorithm, determining the objective function of the key parameters to be optimized; in specific implementation, the embodiment of the present application can provide that the objective function is expressed by the following formula:
[0076]
[0077] Where: a is the number of equipment for assembly of the grain column, b is the number of equipment for assembly of the auxiliary parts, c is the number of equipment for assembly of the retaining spring, d is the number of equipment for detection of the central tube, e is the number of equipment for detection of the centroid, f is the number of equipment for detection of the interface size, T i is the time cycle of each process, CT is the time cycle of the bottleneck station, and m is the total number of stations.
[0078] Furthermore, a, b, c, d, e, and f satisfy the following conditions:
[0079] a+b+c=26, 1≤d≤7, 1≤e≤7, 1≤f≤7.
[0080] S104: Using the objective function as the fitness function optimized by the particle swarm optimization algorithm, and using the particle swarm optimization algorithm to find the optimal solution for the key parameters of the drug column assembly production line; in specific implementation, the embodiment of the present application can provide the use of MATLAB software to add the objective function to the particle swarm optimization algorithm to replace the default fitness function.
[0081] In specific implementation, the embodiment of the present application can provide that the speed update of the particle swarm optimization algorithm is expressed by the following formula:
[0082] v ij (t+1)=wv ij (t)+c1r1(p bestij (t))-x ij (t))+c2r2(g bestj -x ij (t))
[0083] The position update of the particle swarm optimization algorithm is expressed as follows:
[0084] x ij (t+1)=x ij (t)+v ij (t+1)
[0085] Where: v ij (t) represents the velocity of the i-th particle of the t-th generation, the subscript j represents the j-th dimension of the particle, w is the inertia weight, C1 and C2 are learning factors, r1 and r2 are random numbers between [0,1], x ij (t) represents the velocity of the ith particle of the tth generation.
[0086] S105: Update the Plant Simulation model according to the optimal solution of the key parameters.
[0087] The optimization method of the charge assembly production line provided in the embodiment of the present application is optimized by combining the particle swarm optimization algorithm with the simulation model of the explosive assembly production line. First, the balance rate of the charge assembly production line is used as the goal of PSO optimization, and the objective function of the key parameters to be optimized as needed is written. By combining with the particle swarm optimization algorithm, the optimal solution of the key parameters is obtained. Then, the PlantSimulation simulation model of the charge assembly production line is updated according to the optimized approximate values of the key parameters. Through re-simulation, the experimental results show the effectiveness of the optimization.
[0088] The method for optimizing the drug column assembly production line provided in the embodiment of the present application optimizes the key parameters of the drug column assembly production line and updates the Plant Simulation model of the drug column assembly production line according to the optimal solution of the optimized key parameters, thereby achieving an improvement effect on the model. The improved model increases the total output of the drug column assembly production line, reduces the waste of equipment resources, increases the overall equipment busy rate, and reduces resource waste.
[0089] Particle Swarm Optimization (PSO) was proposed by Dr. Kennedy et al. in 1995. It is an intelligent optimization algorithm that simulates the group intelligent behaviors of birds such as foraging. The flowchart of PSO is as follows: Figure 4 shown.
[0090] The method provided in the embodiments of the present application is described in detail below.
[0091] The Plant Simulation modeling method for the drug column assembly production line includes formulating simulation problems, verifying the value of simulation, formulating simulation goals, data collection and data analysis, and modeling process. The Plant Simulation simulation platform is an industrial simulation software developed by Siemens in Germany. It is used to simulate and optimize the operation of manufacturing plants, production lines, and logistics systems.
[0092] The Plant Simulation model of the drug assembly production line is constructed in strict accordance with the assembly process of the drug assembly production line. Figure 2 The specific steps for constructing the Plant Simulation model of the drug column assembly production line are as follows:
[0093] Formulate simulation problems: Identify the problems that need to be solved in the simulation of the drug-cartridge assembly line. In order to optimize the production speed, equipment utilization, and product output of the drug-cartridge assembly line under certain production conditions, it is necessary to study how to optimize the production process to achieve the highest production efficiency or the lowest manufacturing cost.
[0094] Verify the value of simulation: After determining the problem to be simulated, it is necessary to determine the value or necessity of simulation. Determine whether simulation can solve the problem mentioned in S31 of the drug assembly production line. After determining that simulation has value, proceed to the next step.
[0095] Set simulation goals: The simulation goal of the Plant Simulation model of the charge assembly line is to simulate the processing and flow status of the explosive assembly line and monitor the number of finished products produced at a fixed time. According to the simulation problem and the value of the simulation, set specific simulation goals. The simulation goal of the Plant Simulation model of the charge assembly line is to simulate the processing and flow status of the explosive assembly line and monitor the number of finished products produced at a fixed time.
[0096] Data collection and data processing: Before building a simulation model, it is usually necessary to collect relevant data. This data may include production line design data, equipment performance data, production process data, etc. After collecting this data, data processing is required to better understand the performance and behavior of the production line.
[0097] Model construction: According to the simulation objectives and data analysis results, the model is constructed using simulation platforms such as Plant Simulation. The collected production data of the drug column assembly line is analyzed and selected. In order to better achieve the research purpose, a Plant Simulation simulation model is established for the assembly line. It is necessary to make assumptions and simplifications on the work elements, including: workpiece processing is achieved through equipment parameter settings, the time spent by operators on the flow between various equipment is not considered, and the workpiece flow between processes is simulated through equipment connection, there will be no interruption in the entire production process, the assembly raw materials are in sufficient supply, there are no defective products in all processed products, there is no rework, and each processing equipment follows the principle of first come first served.
[0098] Finally, based on the simulation objectives and the results of data analysis, a model is built using simulation platforms such as Plant Simulation. This model will simulate the operation of the drug assembly line and be able to predict its performance under different conditions.
[0099] Analysis of the Plant Simulation model for the grain assembly line.
[0100] The main processing equipment of the simplified grain assembly production line model includes grain assembly machine, auxiliary assembly machine, retainer assembly machine, center tube detection machine, centroid detection, and interface size detection. The grain assembly production line is a typical unidirectional production line. The processing equipment is distributed in a continuous U shape. The layout is carried out according to the process sequence to obtain the grain assembly production line model.
[0101] The Plant Simulation model of the drug assembly line was analyzed, and the model running time was set to 30 days. The model was run multiple times with the same data set by internal verification and the results were compared to check the consistency of the model. By analyzing the Plant Simulation model of the drug assembly line, the problems of the drug assembly line were analyzed, the machine occupancy rate of the key process and the total output of the drug assembly line were analyzed, and the bottleneck process and key process were determined. Figure 3 shown.
[0102] The production line balance rate is used as the optimization target of the particle swarm optimization algorithm. The dimension of each particle is set to 6. The objective function based on the key parameters of the optimized production line is written. By combining it with the particle swarm optimization algorithm, the optimal solution of the key parameters is obtained. Then, the Plant Simulation model of the drug column assembly production line is updated according to the optimized optimal solution of the key parameters.
[0103] The process of constructing the optimization objective function of the drug column assembly production line includes:
[0104] The production line balance rate is taken as the optimization target of the particle swarm optimization algorithm, and the objective function of the key parameters to be optimized is written. By combining it with the particle swarm optimization algorithm, the optimal solution of the key parameters is obtained.
[0105] The production line balance rate refers to the process balance rate, which is used to measure the average operation time of each process in the production line and the production efficiency of the production line. The production line balance rate is used as the optimization target of the particle swarm optimization algorithm, and the objective function of the key parameters to be optimized is written.
[0106] The construction method of the optimization objective function includes:
[0107] The production line balance rate is taken as the optimization target of the particle swarm optimization algorithm, and the objective function of the key parameters to be optimized is written. By combining it with the particle swarm optimization algorithm, the optimal solution of the key parameters is obtained.
[0108] The production line balance rate is an indicator expressed as a percentage, which is used to evaluate the balance of work distribution on the production line to ensure efficient operation of the production line. It reflects the relationship between actual output and theoretical maximum output, and its calculation formula is as follows:
[0109] Production line balance rate = (total time of each process / CT × number of workstations) × 100%
[0110] According to the actual situation of the grain assembly production line, the equipment quantity codes for grain assembly, auxiliary assembly, spring assembly, center tube detection, center of mass detection, and interface size detection are a, b, c, d, e, and f respectively. According to the actual production situation and the actual number of equipment, a, b, c, d, e, and f meet the following conditions:
[0111] a+b+c=26 (1)
[0112] 1≤d≤7 (2)
[0113] 1≤e≤7 (3)
[0114] 1≤f≤7 (4)
[0115] According to the above constraints, the objective function expression of the design planning is:
[0116]
[0117] Among them: a is the number of equipment for assembly of the medicine column, b is the number of equipment for assembly of auxiliary parts, c is the number of equipment for assembly of the spring, d is the number of equipment for detection of the central tube, e is the number of equipment for detection of the center of mass, f is the number of equipment for detection of the interface size, T i is the time cycle of each process, CT is the time cycle of the bottleneck station, and m is the total number of stations.
[0118] According to the actual situation of the grain assembly production line, the equipment numbers for grain assembly, accessory assembly, spring assembly, center tube detection, center of mass detection, and interface size detection are coded as a, b, c, d, e, and f, respectively. According to the actual production situation and the actual number of equipment, the objective function constraints are constructed as shown in formulas (1), (2), (3), and (4). According to the above constraints and the production line balance rate formula, the objective function expression of the design planning is shown in formula (5).
[0119] By combining the objective function with the particle swarm optimization algorithm, the optimal solution of key parameters is obtained. In specific implementation, the optimization method of the drug column assembly production line includes:
[0120] The optimization objective function of the drug assembly production line is used as the fitness function optimized by the particle swarm optimization algorithm. The PSO algorithm is used to find the optimal solution of the key parameters of the drug assembly production line. Then, the Plant Simulation model of the drug assembly production line is updated according to the optimized optimal solution of the key parameters.
[0121] The PSO algorithm is an optimization algorithm for iterative optimization, namely, the particle swarm optimization algorithm (Particle Swarm Optimization). After the PSO generates the initial population (feasible solution), the particles iteratively update their positions by tracking the historical optimal value and the global optimal value. The speed update formula (6) and position update formula (7) are shown as follows:
[0122] v ij (t+1)=wv ij (t)+c1r1(p bestij (t))-x ij (t))+c2r2(g bestj -x ij (t)) (6)
[0123] x ij (t+1)=x ij (t)+v ij (t+1) (7)
[0124] Among them, formula (6) and formula (7) are the velocity update formula and position update formula of PSO respectively, where v ij (t) represents the velocity of the i-th particle of the t-th generation, the subscript j represents the j-th dimension of the particle, w is the inertia weight, C1 and C2 are learning factors, r1 and r2 are random numbers between [0,1], x ij (t) represents the velocity of the ith particle of the tth generation.
[0125] The method of using the optimization objective function of the drug column assembly production line as the fitness function optimized by the particle swarm optimization algorithm is to use MATLAB software to add the above objective function to the particle swarm optimization algorithm to replace the default fitness function.
[0126] The optimization objective function of the drug column assembly production line is used as the fitness function optimized by the particle swarm optimization algorithm, and the particle swarm optimization algorithm is written using MATLAB software. Then, the particle swarm optimization algorithm is used to find the optimal solution for the key parameters of the drug column assembly production line. The objective function evolution curve of the particle swarm optimization algorithm is shown in the figure below. Figure 5 As shown in the figure, from the analysis of the algorithm operation results, when the number of iterations is 25, the optimal production line balance rate is 98.8%, and at this time, the key parameters a, b, c, d, e, and f also get the optimal solution.
[0127] The optimized key parameter optimal solution was used to update the Plant Simulation model of the drug column assembly production line for result verification and analysis. The model was set to run for 30 days, and the results were statistically analyzed through multiple simulations. The equipment busy rate of each process has been greatly improved. The total output of the optimized production line is 83274, which is 12.5% higher than that of the unoptimized one. The balance rate of the production line was 77.81% and 95.68% before and after optimization, respectively, and increased by 17.81% after optimization. The updated Plant Simulation model diagram of the drug column assembly production line is shown in the figure below. Figure 6 shown.
[0128] In summary, the drug column assembly production line optimization method provided by this application combines the particle swarm optimization algorithm with the PlantSimulation simulation analysis, takes the production line balance rate as the goal of PSO optimization, writes the objective function of the key parameters to be optimized according to the needs, and optimizes the key parameters of the drug column assembly production line to achieve the optimization of the drug column assembly production line. The optimized production line increases the total output of the drug column assembly production line, reduces the waste of equipment resources, increases the overall equipment busy rate, reduces the consumption of manpower and material resources, and has the advantages of low cost and high operability.
[0129] See also Figure 7 The embodiment of the present application can also provide a device for optimizing a drug column assembly production line, such as Figure 7 As shown, the device for executing the above-mentioned drug column assembly production line optimization method may include:
[0130] The simulation model building unit 701 is used to model the drug column assembly production line using the Plant Simulation simulation platform to obtain a Plant Simulation simulation model of the drug column assembly production line;
[0131] A bottleneck process and a key process determining unit 702, used to analyze and determine the bottleneck process and the key process using the Plant Simulation simulation model;
[0132] The objective function writing unit 703 is used to use the production line balance rate as the optimization target of the particle swarm optimization algorithm and determine the objective function of the key parameters that need to be optimized;
[0133] The optimal solution for key parameters solving unit 704 is used to use the objective function as the fitness function optimized by the particle swarm optimization algorithm, and use the particle swarm optimization algorithm to find the optimal solution for the key parameters of the drug column assembly production line;
[0134] The simulation model updating unit 705 is used to update the PlantSimulation simulation model according to the optimal solution of the key parameters.
[0135] The embodiment of the present application may also provide a drug column assembly production line optimization device, the device comprising a processor and a memory:
[0136] The memory is used to store program code and transmit the program code to the processor;
[0137] The processor is used to execute the steps of the above-mentioned drug column assembly production line optimization method according to the instructions in the program code.
[0138] like Figure 8 As shown, a drug column assembly production line optimization device provided in an embodiment of the present application may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11, and the communication interface 12 all communicate with each other through the communication bus 13.
[0139] In the embodiment of the present application, the processor 10 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic devices, etc.
[0140] The processor 10 may call a program stored in the memory 11. Specifically, the processor 10 may execute operations in an embodiment of the method for optimizing a drug column assembly production line.
[0141] The memory 11 is used to store one or more programs, which may include program codes, and the program codes include computer operation instructions. In the embodiment of the present application, the memory 11 at least stores programs for implementing the following functions:
[0142] The Plant Simulation platform is used to model the drug column assembly production line to obtain the Plant Simulation model of the drug column assembly production line;
[0143] Utilize the Plant Simulation model to analyze and determine bottleneck processes and key processes;
[0144] The production line balance rate is used as the optimization target of the particle swarm optimization algorithm, and the objective function of the key parameters that need to be optimized is determined;
[0145] The objective function is used as the fitness function optimized by the particle swarm optimization algorithm, and the particle swarm optimization algorithm is used to find the optimal solution for the key parameters of the drug column assembly production line;
[0146] The Plant Simulation model is updated according to the optimal solution of the key parameters.
[0147] In one possible implementation, the memory 11 may include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required for at least one function (such as a file creation function, a data reading and writing function), etc.; the data storage area can store data created during use, such as initialization data, etc.
[0148] In addition, the memory 11 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.
[0149] The communication interface 12 may be an interface of a communication module, and is used to connect to other devices or systems.
[0150] Of course, it should be noted that Figure 8 The structure shown does not constitute a limitation on the device for optimizing the drug column assembly production line in the embodiment of the present application. In actual applications, the device for optimizing the drug column assembly production line may include Figure 8 More or fewer components than shown, or combinations of certain components.
[0151] The embodiment of the present application may also provide a computer-readable storage medium, wherein the computer-readable storage medium is used to store program codes, and the program codes are used to execute the steps of the above-mentioned drug column assembly production line optimization method.
[0152] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0153] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0154] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0155] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A method for optimizing a drug column assembly production line, characterized in that: include: The Plant Simulation platform is used to model the drug column assembly production line to obtain the Plant Simulation model of the drug column assembly production line; Utilize the Plant Simulation model to analyze and determine bottleneck processes and key processes; The production line balance rate is used as the optimization target of the particle swarm optimization algorithm, and the objective function of the key parameters that need to be optimized is determined; The objective function is used as the fitness function optimized by the particle swarm optimization algorithm, and the particle swarm optimization algorithm is used to find the optimal solution for the key parameters of the drug column assembly production line; The Plant Simulation model is updated according to the optimal solution of the key parameters.
2. The method for optimizing the drug column assembly production line according to claim 1, characterized in that: The objective function is expressed as follows: Where: a is the number of equipment for assembly of the grain column, b is the number of equipment for assembly of the auxiliary parts, c is the number of equipment for assembly of the retaining spring, d is the number of equipment for detection of the central tube, e is the number of equipment for detection of the centroid, f is the number of equipment for detection of the interface size, T i is the time cycle of each process, CT is the time cycle of the bottleneck station, and m is the total number of stations.
3. The method for optimizing the drug column assembly production line according to claim 2, characterized in that: The a, b, c, d, e, and f satisfy the following conditions: a+b+c=26, 1≤d≤7, 1≤e≤7, 1≤f≤7.
4. The method for optimizing the drug column assembly production line according to claim 1, characterized in that: The objective function is added to the particle swarm optimization algorithm using MATLAB software to replace the default fitness function.
5. The method for optimizing the drug column assembly production line according to claim 1, characterized in that: The speed update of the particle swarm optimization algorithm is expressed as follows: v ij (t+1)=wv ij (t)+c1r1(p bestij (t))-x ij (t))+c2r2(g bestj -x ij (t)) The position update of the particle swarm optimization algorithm is expressed as follows: x ij (t+1)=x ij (t)+v ij (t+1) Where: v ij (t) represents the velocity of the i-th particle of the t-th generation, the subscript j represents the j-th dimension of the particle, w is the inertia weight, C1 and C2 are learning factors, r1 and r2 are random numbers between [0,1], x ij (t) represents the velocity of the ith particle of the tth generation.
6. The method for optimizing the drug column assembly production line according to claim 1, characterized in that: The modeling process of the PlantSimulation simulation model includes: Determine the problems that need to be solved in the simulation of the drug cartridge assembly production line; Determine the value or necessity of simulation based on the problem that needs to be solved; Determine the simulation objectives of the Plant Simulation model, which include simulating the processing and flow status of the explosive assembly production line and monitoring the number of finished products produced in a fixed time; Acquiring target data, wherein the target data includes at least design data of the production line, equipment performance data, and production process data; Analyzing and processing the target data to obtain analysis results, wherein the analysis results are used to understand the performance and behavior of the production line; According to the simulation target and the result of the analysis, the Plant Simulation simulation model is constructed using the Plant Simulation simulation platform.
7. The method for optimizing the drug column assembly production line according to claim 6, characterized in that: The modeling process of the PlantSimulation simulation model includes the following elements: Workpiece processing is achieved through equipment parameter setting; The time spent by operators in the flow between the various devices is not considered, and the flow of workpieces between processes is simulated by connecting the equipment; The entire production process will not be interrupted and the supply of assembly raw materials is sufficient; There are no defective products or rework in all processed products; Each processing equipment follows the principle of first come first served.
8. A device for optimizing a drug column assembly production line, characterized in that: Used to implement the method for optimizing the drug column assembly production line according to any one of claims 1 to 7, the device comprises: A simulation model building unit, used for modeling the drug column assembly production line by using the Plant Simulation simulation platform to obtain a Plant Simulation simulation model of the drug column assembly production line; A bottleneck process and a key process determination unit, used to analyze and determine the bottleneck process and the key process using the Plant Simulation simulation model; The objective function writing unit is used to take the production line balance rate as the optimization target of the particle swarm optimization algorithm and determine the objective function of the key parameters that need to be optimized; The optimal solution solving unit of the key parameters is used to use the objective function as the fitness function optimized by the particle swarm optimization algorithm, and use the particle swarm optimization algorithm to find the optimal solution of the key parameters of the drug column assembly production line; A simulation model updating unit is used to update the Plant Simulation simulation model according to the optimal solution of the key parameters.
9. A drug column assembly production line optimization device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the drug column assembly production line optimization method according to any one of claims 1-7 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the drug cartridge assembly production line optimization method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Detonating tool explosive casting automatic production technology and equipment
CN102944139A
Balancing method of warp knitting machine assembly line for multi-task optimization
CN107316107A
Optimized scheduling method of vulcanization process in rubber tire production
CN108828942A
Pipeline planning method and device based on data driven modeling and simulation optimization
CN109375601A
Beer filling production line equipment model selection system based on particle swarm algorithm
CN109992919A
