Inventory control method, device, equipment and medium based on tool classification
Through the inventory control method based on tool classification, combined with ABC and VED classification, particle swarm-cuckoo algorithm, the problem of shortage or excess in tool procurement management is solved, inventory management efficiency and production efficiency are improved, and costs are reduced.
Patent Information
- Application Number
- CN202410741458.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-11
AI Technical Summary
Existing technologies are prone to deficiencies or excesses in tool procurement management, causing production to be hindered and inventory costs to increase, affecting the company's production efficiency and core competitiveness.
Adopt an inventory control method based on tool classification to manage tool inventory in a refined manner by determining tool types, building a demand forecast model, setting inventory control strategies and parameter values, including ABC and VED classification methods, particle swarm-cuckoo hybrid algorithm and other technologies means.
It achieves refined control of tool inventory, improves management efficiency, reduces production costs, and ensures production stability and efficiency.
Smart Images

Figure CN118313765B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of numerical control machining, and provides an inventory control method, device, equipment and medium based on tool classification. Background Art
[0002] With the introduction of the concept of "intelligent manufacturing", digital and information manufacturing technologies have developed rapidly, and the use of various digital machine tools has become more common. As the core component of CNC machine tools, the importance of cutting tools is self-evident. As the component with the most wear and tear in CNC machining, companies often reserve a large number of cutting tools. Whether the cutting tools are reasonably classified and managed, whether the storage capacity of the tool library is insufficient, and whether the reserves are excessive directly affect the delivery date of parts, the production efficiency and labor costs of the company.
[0003] In terms of tool procurement, currently tool procurement is mainly based on historical experience of production support personnel, which is prone to insufficient tool procurement or excess reserves, leading to production obstruction, increased inventory costs and other problems. This makes the problem of tool inventory management more prominent, and the delivery nodes of enterprise manufacturers are difficult to guarantee, production efficiency is low, and labor costs are increased, which directly affects the core competitiveness of enterprise manufacturers. Summary of the invention
[0004] The embodiments of the present application provide an inventory control method, device, equipment and medium based on tool classification, which are used to solve the problem of difficult tool inventory management.
[0005] In a first aspect, a method for inventory control based on tool classification is provided, comprising:
[0006] Determine the type of each tool among a plurality of tools to obtain multiple types of tools;
[0007] Determine the demand for each type of tool in each cycle according to a pre-built tool demand prediction model;
[0008] Determine the inventory control strategy for each type of tool;
[0009] According to the demand for each type of tool in each cycle, determine the parameter value in the inventory control strategy corresponding to each type of tool;
[0010] According to the parameter value in the inventory control strategy corresponding to each type of tool, inventory control is performed on each type of tool in the various tools.
[0011] Optionally, determining the type of each tool among the plurality of tools includes:
[0012] Obtaining the scores of each tool under each indicator;
[0013] According to the weights of the various indicators, weighted sums are performed on the scores of the various tools under the various indicators to obtain the comprehensive scores of the various tools;
[0014] The type of each tool is determined based on the comprehensive score of each tool and the value ratio of each tool; the value ratio of each tool refers to the ratio of the value of each tool to the total inventory value.
[0015] Optionally, the various indicators include indicators under technical characteristics, indicators under demand characteristics and indicators under supply characteristics, the indicators under technical characteristics include tool replaceability, tool maintainability, safety risk of tool missing and downtime risk of tool missing; the indicators under demand characteristics include demand predictability; the indicators under supply characteristics include tool procurement lead time, number of suppliers and tool delivery quality.
[0016] Optionally, before performing weighted summation on the scores of the various tools under the various indicators according to the weights of the various indicators to obtain the comprehensive scores of the various tools, the inventory control method based on tool classification further includes:
[0017] According to the importance values between the various indicators, a judgment matrix is constructed;
[0018] According to the judgment matrix, a plurality of eigenvalues are obtained;
[0019] A plurality of eigenvectors corresponding to the maximum eigenvalue among the plurality of eigenvalues are normalized to obtain weights of the respective indicators.
[0020] Optionally, before normalizing the multiple eigenvectors corresponding to the maximum eigenvalue among the multiple eigenvalues to obtain the weights of the various indicators, the inventory control method based on tool classification further includes:
[0021] Calculating a consistency ratio according to the plurality of eigenvalues and corresponding random consistency indicators;
[0022] If the consistency ratio is greater than a preset value, the judgment matrix is adjusted.
[0023] Optionally, determining the type of each tool according to the comprehensive score of each tool and the value ratio of each tool includes:
[0024] Obtaining a final score of each tool according to the comprehensive score of each tool and the value proportion of each tool;
[0025] The tools whose final scores are greater than or equal to a first threshold are listed as first-category tools, the tools whose final scores are greater than a second threshold and less than the first threshold are listed as second-category tools, and the tools whose final scores are less than or equal to the second threshold are listed as third-category tools; wherein the first threshold is greater than the second threshold.
[0026] Optionally, determining the inventory control strategy corresponding to each type of tool includes:
[0027] Determine a first inventory control strategy corresponding to the first type of tool; the parameter values in the first inventory control strategy include an order point, an order batch, and a safety stock;
[0028] Determine a second inventory control strategy corresponding to the second type of tool; the parameter values in the second inventory control strategy include inventory cycle, maximum inventory and safety inventory;
[0029] A third inventory control strategy corresponding to the third type of tools is determined; parameter values in the third inventory control strategy include an optimal order quantity, an optimal order cycle, and a safety stock.
[0030] Optionally, before determining the demand for each type of tool in the plurality of types in each cycle according to the pre-built tool demand prediction model, the inventory control method based on tool classification further includes:
[0031] Taking the minimum sum of the downtime cost of CNC machine tools and the total cost of tool inventory as the objective function, the tool demand prediction model is established based on the particle swarm-cuckoo hybrid algorithm.
[0032] Optionally, the formula of the objective function is as follows:
[0033]
[0034] Where n represents the number of time periods, θi is the tool demand in the i-th period, S is the tool inventory cost in each period, R is the CNC machine tool downtime cost in each period, Fi is the CNC machine tool downtime function in the i-th period, and C is the sum of the total CNC machine tool downtime cost and the total tool inventory cost.
[0035] In a second aspect, an inventory control device based on tool classification is provided, comprising:
[0036] A tool classification module is used to determine the type of each tool among a plurality of tools and obtain multiple types of tools;
[0037] A demand quantity prediction module, used to determine the demand quantity of each type of tool in the plurality of types in each cycle according to a pre-built tool demand prediction model;
[0038] A strategy determination module is used to determine the inventory control strategy corresponding to each type of tool;
[0039] A parameter calculation module is used to determine the parameter value in the inventory control strategy corresponding to each type of tool according to the demand for each type of tool in each cycle;
[0040] The inventory control module is used to perform inventory control on each type of tool in the various tools according to the parameter value in the inventory control strategy corresponding to each type of tool.
[0041] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the inventory control method based on tool classification described in the first aspect.
[0042] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and a processor executes the computer program to implement the inventory control method based on tool classification described in the first aspect.
[0043] Compared with the prior art, the beneficial effects of the embodiments of the present application are as follows:
[0044] The embodiment of the present application provides an inventory control method based on tool classification, which determines the type of each tool to obtain multiple types of tools; determines the demand for each type of tool in each cycle according to a pre-built tool demand prediction model; determines the inventory control strategy corresponding to each type of tool; determines the parameter value in the inventory control strategy corresponding to each type of tool according to the demand for each type of tool in each cycle; and performs inventory control on each type of tool in each tool according to the parameter value in the inventory control strategy corresponding to each type of tool. The present application classifies tools, and according to the characteristics of the tools, adopts corresponding inventory control strategies to control the inventory of different types of tools, which can perform refined control on tool inventory, improve the management efficiency of tool inventory, improve enterprise production efficiency, and reduce production costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0046] Attached Figure 1A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application;
[0047] Attached Figure 2 A schematic diagram of a flow chart of an inventory control method based on tool classification provided in an embodiment of the present application;
[0048] Attached Figure 3 A flow chart of a tool demand prediction model provided in an embodiment of the present application;
[0049] Attached Figure 4 A framework diagram of an inventory control method based on tool classification provided in an embodiment of the present application;
[0050] Attached Figure 5 A schematic diagram of the structure of an inventory control device based on tool classification provided in an embodiment of the present application.
[0051] Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. In addition, although the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.
[0053] In order to solve the problem of difficult tool inventory management, the present application provides an inventory control method based on tool classification, which can be executed by a computer device. Before introducing the specific technical solution of the present application, the hardware operating environment involved in the embodiment of the present application is first introduced.
[0054] See attached Figure 1 , attached Figure 1 A schematic diagram of the computer device structure of the hardware operating environment involved in the embodiment of the present application.
[0055] As attached Figure 1As shown, the computer device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a network interface 103, a user interface 104, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 105 may also be a storage device independent of the aforementioned processor 101.
[0056] Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine some components, or arrange the components differently.
[0057] As attached Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a data configuration module, a network communication module, a user interface module and an electronic program.
[0058] In the attached Figure 1 In the computer device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in the computer device of the present invention can be set in the computer device, and the computer device calls the inventory control device based on tool classification stored in the memory 105 through the processor 101, and executes the inventory control method based on tool classification provided in the embodiment of the present application.
[0059] Based on the computer device of the aforementioned embodiment, Figure 2 An inventory control method based on tool classification provided in an embodiment of the present application is introduced, and the steps are as follows:
[0060] S201. Determine the type of each tool among a plurality of tools to obtain tools of multiple types.
[0061] The tool in the embodiment of the present application is a tool used in CNC machining, such as a tool used in CNC machining in an aviation manufacturing enterprise. There are many ways to determine the type of tool, which are described below.
[0062] The first method is to use the ABC classification method to determine the tool type of each tool.
[0063] Specifically, the tools can be divided into Class A, Class B and Class C according to the proportion of tool value to the total inventory value. For example, the tools with a value of 70% of the total inventory value are classified as Class A tools (i.e., Class I tools), the tools with a value of 20% of the total inventory value are classified as Class B tools (i.e., Class II tools), and the remaining tools are classified as Class C tools (i.e., Class III tools).
[0064] The second method is to use the VED classification method to determine the tool type of each tool.
[0065] Specifically, according to the importance of the tools, the tools can be divided into important (V category), necessary (E category) and generally important (D category). For example, each tool is scored according to its importance, and tools with a score greater than or equal to 9 points are classified as V category tools (i.e., first category tools), tools with a score greater than 6 points and less than 9 points are classified as E category tools (i.e., second category tools), and tools with a score less than or equal to 6 points are classified as D category tools (i.e., third category tools).
[0066] The third method is to combine the ABC classification method and the VED classification method to determine the tool type of each tool.
[0067] In a possible embodiment, the score of each tool under each indicator is obtained; according to the weight of each indicator, the score of each tool under each indicator is weighted and summed to obtain the comprehensive score of each tool; according to the comprehensive score of each tool and the value proportion of each tool, the type of each tool is determined.
[0068] In the specific implementation process, the VED classification method can be used to calculate the comprehensive score of each tool, and the ABC classification method can be used to calculate the value proportion of each tool. The value proportion of each tool refers to the proportion of the value of each tool to the total inventory value. Finally, the type of each tool is determined based on the comprehensive score of each tool and the value proportion of each tool. The following describes how to obtain the comprehensive score of each tool.
[0069] First, construct the indicator evaluation matrix as follows:
[0070]
[0071] Among them, R represents the indicator evaluation matrix, and R1, R2, R3, and R4 represent matrices obtained from different indicators.
[0072] For each tool, score each indicator in the indicator evaluation matrix to obtain the score of each tool under each indicator. The weight of each indicator is used to indicate the contribution of each indicator to the comprehensive score, which is usually a real number between 0 and 1. According to the weight of each indicator, the score of each tool under each indicator is weighted and summed to obtain the comprehensive score of each tool.
[0073] In the embodiment of the present application, taking into account the characteristics of large differences in tool inventory value and inconsistent importance to CNC machining, ABC classification is adopted for quantitative indicators to calculate the value share of each tool, and VED classification is adopted for qualitative indicators to calculate the comprehensive score of each tool. The qualitative and quantitative indicators of the tools are considered, the two classification methods are combined, and the comprehensive score of each tool and the value share of each tool are combined to reasonably classify the tools.
[0074] In a possible embodiment, the various indicators include indicators under technical characteristics, indicators under demand characteristics and indicators under supply characteristics; the indicators under technical characteristics include tool replaceability, tool maintainability, safety risk of tool missing and downtime risk of tool missing; the indicators under demand characteristics include demand predictability; the indicators under supply characteristics include tool procurement lead time, number of suppliers and tool delivery quality.
[0075] Among them, the replaceability of the tool refers to the ability to replace tools of different types or specifications under different processing requirements or tool damage to ensure the continuity and stability of the production process. The maintainability of the tool refers to the ability of the tool to be repaired or remanufactured after it is damaged or its performance degraded. The safety risk of tool loss refers to the probability that the tool loss will cause safety risks to operators, equipment or product quality during the production process. The downtime risk of tool loss refers to the probability that the tool loss will cause the risk of production line downtime or reduce production efficiency during CNC machining. Demand predictability refers to the error between the predicted value of tool demand and the actual demand. Tool procurement lead time refers to the time to order and prepare before the tool is needed. The number of suppliers refers to the number of suppliers or manufacturers used to manufacture or provide tools. Multiple suppliers can ensure the stability and diversity of tool supply and avoid risks such as out-of-stock caused by a single supplier. Tool delivery quality refers to the probability of quality problems with the tool.
[0076] In the embodiment of the present application, in terms of the qualitative classification of tools, three criterion layers of "demand characteristics", "technical characteristics" and "supply characteristics" constitute relevant indicators for qualitative classification evaluation. These indicators support the classification decision-making process and determine the best choice. The AHP (analytic hierarchy process) method is used to quantify the qualitative indicators and give weights. The VED method is used to determine the indicator evaluation criteria, and the qualitative characteristics of the tools are scored according to the evaluation criteria. Then, the comprehensive score of each tool is determined based on the weight of each indicator.
[0077] The indicator evaluation criteria are shown in Table 1:
[0078] Table 1
[0079]
[0080] The same batch of tools in Table 1 refers to multiple tools of the same type purchased from the same manufacturer at the same time.
[0081] The qualitative evaluation score table of CNC tools is shown in Table 2:
[0082] Table 2
[0083]
[0084] This involves how to set the weights of each indicator, which is introduced below.
[0085] In a possible embodiment, the weight of each indicator can be set according to experience. Alternatively, in order to improve the accuracy of the weight of each indicator, in another possible embodiment, a judgment matrix is constructed according to the importance values between each indicator; multiple eigenvalues are obtained according to the judgment matrix; multiple eigenvectors corresponding to the maximum eigenvalue among the multiple eigenvalues are normalized to obtain the weight of each indicator.
[0086] In the specific implementation process, the importance of any two indicators is compared to determine the importance value between the two indicators. The constructed judgment matrix C is as follows:
[0087]
[0088] in, C ij Indicates the importance of indicator i relative to indicator j. If indicator i is more important than indicator j, then C ij >1, if indicator i is as important as indicator j, then C ij = 1. Obviously there is C ii =1; if indicator i is less important than indicator j, then C ij < 1.
[0089]
[0090] Solving the problem yields the judgment matrix The maximum eigenvalue of λ max , and the maximum eigenvalue λ max The corresponding multiple feature vectors , normalizing multiple feature vectors can obtain the weights of each indicator: .
[0091] In a possible embodiment, before weighted summing of the scores of each tool under each indicator is performed according to the weight of each indicator to obtain the comprehensive score of each tool, the characteristic value may be checked for consistency, and the steps are as follows:
[0092] The consistency ratio is calculated based on multiple eigenvalues and corresponding random consistency indicators; if the consistency ratio is greater than a preset value, the judgment matrix is adjusted.
[0093] In the specific implementation process, the consistency index is calculated based on multiple eigenvalues: CI=( λ max -n) / (n-1), where CI represents the consistency index, λ max Indicates the maximum eigenvalue among multiple eigenvalues, and n indicates the number of multiple eigenvalues. Determine the random consistency index (RI) corresponding to the number of eigenvalues in the random consistency index table, and calculate the consistency ratio CR according to the consistency index CI and the random consistency index RI, that is, CR=CI / RI. If the consistency ratio CR is greater than or equal to the preset value, such as 0.1, the judgment matrix C needs to be adjusted. ij The value of CR is adjusted until it is less than 0.1, which meets the requirement.
[0094] In the embodiment of the present application, a consistency check is performed on the eigenvalues to verify the reliability and accuracy of the eigenvalues, thereby ensuring the accuracy of the weights of each indicator.
[0095] In a possible embodiment, the type of each tool is determined according to the comprehensive score of each tool and the value ratio of each tool, including:
[0096] The final score of each tool is obtained according to the comprehensive score of each tool and the value proportion of each tool; the tools with a final score greater than or equal to a first threshold are listed as first-category tools, the tools with a final score greater than a second threshold and less than the first threshold are listed as second-category tools, and the tools with a final score less than or equal to the second threshold are listed as third-category tools; wherein the first threshold is greater than the second threshold.
[0097] In the specific implementation process, the comprehensive score and value proportion of each tool are standardized by a standardized method to obtain a standardized comprehensive score and a standardized value proportion. Standardization methods include minimum-maximum standardization, Z-score standardization, etc. The sum of the standardized comprehensive score and the standardized value proportion can be determined as the final score of each tool, that is, the final score = comprehensive score + value proportion. The product of the standardized comprehensive score and the standardized value proportion can be determined as the final score of each tool, that is, the final score = comprehensive score * value proportion. Alternatively, weights are set for the standardized comprehensive score and the standardized value proportion respectively, and the standardized comprehensive score and the standardized value proportion are weighted and summed to obtain the final score of each tool. For example, the weight of the comprehensive score is set to 0.7, and the weight of the value proportion is set to 0.3, and the final score = 0.7 * standardized comprehensive score + 0.3 * standardized value proportion. Further, according to the size of the final score of each tool, each tool is divided into a first-class tool, a second-class tool, and a third-class tool.
[0098] In the embodiment of the present application, standardization processing is adopted to ensure that the comprehensive score and the value proportion are calculated on the same scale, and then the comprehensive score of the tool and the value proportion of the tool are combined, that is, the VED classification and the ABC classification are combined to obtain the final score of the tool. According to the final score of the tool, the tool is reasonably divided into first category tools, second category tools, and third category tools.
[0099] S202: Determine the demand for each type of tool in each cycle according to a pre-built tool demand prediction model.
[0100] In the specific implementation process, the computer equipment pre-builds a tool demand prediction model. The tool demand prediction model can be various neural network models, which are used to predict the demand for tools in each cycle. The following introduces how to build a tool demand prediction model.
[0101] In a possible embodiment, the objective function is to minimize the sum of the downtime cost of the CNC machine tool and the total cost of the tool inventory, and a tool demand prediction model is established based on a particle swarm-cuckoo hybrid algorithm.
[0102] In the specific implementation process, the objective function can be established based on the tool failure maintenance records and tool replacement records at the production site, combined with the distribution function of the tool failure probability and cost factors. The formula of the objective function is as follows:
[0103]
[0104] Where n is the number of time periods, θ iis the tool demand in the i-th cycle, S is the tool inventory cost in each cycle, R is the CNC machine tool downtime cost in each cycle, F i is the downtime function of the CNC machine tool in the i-th cycle, F i It obeys Weibull distribution, and its proportion parameter and shape parameter are given by the machine tool manager, which are 3.16 and 6.78 respectively. C is the sum of the total downtime cost of the CNC machine tool and the total cost of tool inventory, and min represents the minimum value. Tool inventory cost It is the sum of purchase cost Cp, quality loss cost Cq and tool capital occupation cost Co.
[0105] The particle swarm-cuckoo (PSO-CS) hybrid algorithm combines the particle swarm optimization (PSO) algorithm and the cuckoo search (CS) algorithm. In the iterative process, the PSO algorithm and the CS algorithm alternate with each other, continuously updating the individual position and the nest position, so as to find the optimal solution of the objective function and obtain the tool demand θ in each cycle. i .
[0106] S203: Determine the inventory control strategy corresponding to each type of tool.
[0107] In the specific implementation process, each type of tool has a one-to-one correspondence with an inventory control strategy. A first inventory control strategy corresponding to a first type of tool can be determined, a second inventory control strategy corresponding to a second type of tool can be determined, and a third inventory control strategy corresponding to a third type of tool can be determined.
[0108] Among them, the inventory value of the first type of tools is relatively large and the importance is relatively high. It plays an important role in ensuring the smooth operation of key CNC machining equipment. For the first type of tools in CNC machining of aviation manufacturing enterprises, the first inventory control strategy, namely (R, Q) inventory control strategy, is adopted. The parameter values in the first inventory control strategy include the order point R, the order batch Q, and the safety stock Ss. The order point R refers to the point that triggers the order when the inventory level drops to a certain predetermined level. The order batch Q is the number of tools purchased at one time when ordering. The safety stock Ss is the additional inventory reserved to deal with uncertainty.
[0109] The inventory value and importance of the second type of tools are at a medium level. For the second type of tools for CNC machining in aviation manufacturing enterprises, the second inventory control strategy, namely (T, S) inventory control strategy, is adopted. The parameter values in the second inventory control strategy include inventory cycle T, maximum inventory S, and safety stock Ss. The inventory cycle T refers to the time interval between inventory counting and replenishment. At the end of each inventory cycle, the inventory level is checked to determine whether an order is needed. The maximum inventory S is the maximum inventory level allowed. If it exceeds this level, no more goods will be purchased. The safety stock Ss is the additional inventory reserved to deal with uncertainty.
[0110] The inventory value and importance of the third type of tools are small, and the inventory consumption cycle of the third type of tools is long. For the third type of tools used in CNC machining of aviation manufacturing enterprises, the third inventory control strategy, namely the EOQ economic ordering model, is adopted. The parameter values in the third inventory control strategy include the optimal order quantity Q, the optimal order cycle T, and the safety stock Ss. The optimal order quantity Q is the order quantity that can minimize the total inventory cost under given cost and demand conditions. The optimal order cycle T refers to the time interval for ordering at the optimal order quantity. The safety stock Ss is the additional inventory reserved to cope with uncertainty.
[0111] S204: Determine the parameter value in the inventory control strategy corresponding to each type of tool according to the demand for each type of tool in each cycle.
[0112] For the first inventory control strategy, i.e., the (R, Q) inventory control strategy, the total tool demand in each cycle multiplied by the proportion of tool procurement lead time in the CNC machine tool operation cycle is the result of the safety stock Ss. The maximum tool demand in the entire cycle is the order batch Q, and the safety stock plus the average demand for tools in all CNC machine tool operation cycles is the order point R, thereby determining the order point R, order batch Q, and safety stock Ss in the (R, Q) inventory control strategy.
[0113] For the second inventory control strategy, namely the (T, S) inventory control strategy, the maximum value of the tool demand in each cycle is the safety stock Ss, the safety stock plus the average demand for tools in the operation cycle of the CNC machine tool is the maximum inventory S, and the inventory counting cycle T is the minimum maintenance cycle of the tool to ensure the supply of tools in each cycle. The inventory counting cycle T, maximum inventory S and safety stock Ss in the (T, S) inventory control strategy are calculated.
[0114] For the third inventory control strategy, the EOQ economic ordering model, the optimal order quantity EOQ = sqrt ((2 × average tool demand per unit cycle × purchase cost) / storage cost), the purchase cost and storage cost are known and do not change with the order quantity. The optimal order cycle T is the ratio between the optimal order quantity EOQ and the average tool demand per unit cycle, and the safety stock Ss is the product of the average tool demand per unit cycle and the tool procurement lead time.
[0115] S205 , performing inventory control on tools of each tool type according to the parameter values in the tool classification-based inventory control strategy corresponding to each tool type.
[0116] The first inventory control strategy, namely (R, Q) inventory control strategy, is adopted to control the inventory of the first type of tools. When the inventory level reaches the ordering point R, ordering begins. The number of tools ordered each time is the ordering batch Q. The safety stock Ss is controlled to ensure that its value is at a stable level, thereby controlling the inventory of the first type of tools.
[0117] The second inventory control strategy, namely (T, S) inventory control strategy, is used to control the inventory of the second type of tools. At the end of each inventory cycle T, an inventory count is performed to calculate the current inventory level. If the current inventory is lower than the maximum inventory level S, a replenishment order is triggered, and the safety stock Ss is controlled to ensure that its value is at a stable level, thereby controlling the inventory of the second type of tools.
[0118] The third inventory control strategy, namely the EOQ economic ordering model, is used to control the inventory of the third type of tools. Every optimal ordering cycle T, orders are placed with the optimal order quantity EOQ, and the safety stock Ss is controlled to ensure that its value is at a stable level, thereby controlling the inventory of the third type of tools.
[0119] For example, the historical data of the first type of tools is shown in Table 3:
[0120] Table 3
[0121]
[0122] The monthly consumption of the first category of tools is shown in Table 4:
[0123] Table 4
[0124]
[0125] Forecast the demand for the first type of tools within 180 days, and divide 180 days into 6 periods, ti is the i-th period, i={1,2,...,6}.
[0126] The objective function is:
[0127]
[0128] Among them, the sum of the operating time and repair time of each maintenance cycle of the equipment should not be greater than the total equipment operating cycle time, and the tool inventory should be greater than the tool demand.
[0129] In order to more clearly explain the process of tool demand prediction model, the following is combined with the attached Figure 3 Provide a detailed introduction.
[0130] S301, setting parameters and initializing the population.
[0131] Set the population size sizepop, the maximum number of iterations run, and the upper limit Ub , lower limit L b , acceleration constant a, acceleration constant b, discovery probability P a 、Adjustment coefficient η1 in the range of (0,1), adjustment coefficient η2 in the range of (0,1), maximum inertia weight w max , minimum inertia weight w min The population is randomly initialized, including the initial position p and velocity v of the individual.
[0132] S302: Calculate the initial fitness value of the population.
[0133] The objective function is used to calculate the initial fitness value of the population, determine the individual with the best fitness value in the current population, and record its fitness value and position as the global optimal individual.
[0134] S303, start the cuckoo algorithm search mode.
[0135] Start the Cuckoo (OC) algorithm search mode. In each iteration, the position of the individual is updated according to the Levy flight search strategy, new individuals are generated and their fitness values are calculated, the fitness values of the new and old individuals are compared, and the individuals with better fitness values are used as the new generation of individuals.
[0136] S304, start the particle swarm algorithm search mode.
[0137] Start the particle swarm (PSO) algorithm search mode. In each iteration, the position and velocity of the current individual are updated and a new individual is generated. The position and velocity of the individual are updated to generate a new individual, and then the position and velocity are updated. Before updating the velocity, the inertia weight coefficient needs to be updated. By comparing the fitness values of the new and old individuals, the individual with a better fitness value is selected as the new individual, and the global optimal individual is updated.
[0138]
[0139] Among them, w is the inertia weight coefficient, iter is the current number of iterations, run is the maximum number of iterations, and w max is the maximum inertia weight, w min is the minimum inertia weight.
[0140] S305. Use a random elimination mechanism.
[0141] r i is a random number that obeys a uniform distribution between [0,1]. When the randomly generated r i Greater than the probability of discovery P a When the fitness values of the new and old nests are compared, the individual with the better fitness value will be selected as the new generation of individuals in the population.
[0142] S306: Update the global optimal value and the individual optimal value.
[0143] According to the fitness value in the current population, update the best position of all individuals and the entire population.
[0144] S307: Determine whether the end condition is reached.
[0145] If the end condition is reached, such as the maximum number of iterations, S308 is executed, that is, the optimal solution is output; otherwise, the process returns to S303.
[0146] S308. Output the optimal solution.
[0147] By outputting the optimal solution, you can get the tool demand in each cycle.
[0148] For example, the demand for the first type of tools is shown in Table 5:
[0149] Table 5
[0150]
[0151] As can be seen from Table 5, in the t1, t2, t4 and t5 cycles, the CNC machine tool was shut down due to the shortage of this type of tool, and the tool demand in each cycle was 1, 2, 1, and 2 respectively. The average demand for tools in the operation cycle of the CNC machine tool is (1+2+1+2) / 6=1. The (R,Q) inventory control strategy is adopted for this first type of tool, with the order batch Q being 2, the order point R being 3, and the safety stock Ss being 2.
[0152] In order to more clearly illustrate the overall process of an inventory control method based on tool classification provided by an embodiment of the present application, the following is a flowchart of the inventory control method based on tool classification provided by the embodiment of the present application. Figure 4 Give further introduction.
[0153] The embodiment of the present application performs tool inventory control based on tool classification evaluation. First, ABC classification of tools is performed based on tool quantitative classification evaluation indicators. At the same time, VED classification is performed quantitatively using AHP evaluation indicators based on tool qualitative classification evaluation indicators. Then, ABC classification and VED classification are combined to obtain the classification of tools under comprehensive classification evaluation indicators, and the tools are divided into first-category tools, second-category tools, and third-category tools. Finally, based on the inventory control strategy of tool classification evaluation, the first inventory control strategy is adopted for the first-category tools, the second inventory control strategy is adopted for the second-category tools, and the third inventory control strategy is adopted for the third-category tools.
[0154] In summary, the embodiment of the present application provides an inventory control method based on tool classification, which reasonably classifies the tools according to the ABC quantitative classification method and the VED qualitative classification method, and establishes a tool demand prediction model based on the PSOCS hybrid search algorithm in combination with the past usage of the tools. By establishing the total cost function of the tool inventory as the input of the model, the demand for the tool is predicted, and on this basis, combined with the tool classification situation, a suitable inventory control strategy is selected for the tool, which effectively improves the inventory management efficiency of the tool, improves the production efficiency of CNC machining, and reduces production costs.
[0155] Based on the same inventive concept, as shown in the attached Figure 5 As shown, the embodiment of the present application also provides an inventory control device based on tool classification, including:
[0156] A tool classification module is used to determine the type of each tool among a plurality of tools and obtain multiple types of tools;
[0157] A demand forecasting module, for determining the demand for each type of tool in each cycle according to a pre-built tool demand forecasting model;
[0158] A strategy determination module is used to determine the inventory control strategy corresponding to each type of tool;
[0159] A parameter calculation module is used to determine the parameter value in the inventory control strategy corresponding to each type of tool according to the demand for each type of tool in each cycle;
[0160] The inventory control module is used to perform inventory control on each type of tool in each tool according to the parameter value in the inventory control strategy corresponding to each type of tool.
[0161] It should be noted that each module in the inventory control device based on tool classification in this embodiment corresponds one-to-one to each step in the inventory control method based on tool classification in the aforementioned embodiment. Therefore, the specific implementation method of this embodiment can refer to the implementation method of the aforementioned inventory control method based on tool classification, which will not be repeated here.
[0162] In addition, in one embodiment, the present application also provides a computer device, which includes a processor, a memory, and a computer program stored in the memory, and the computer program implements the aforementioned inventory control method based on tool classification when executed by the processor.
[0163] In addition, in one embodiment, the present application also provides a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the aforementioned inventory control method based on tool classification is implemented.
[0164] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0165] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0166] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0167] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0168] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0169] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0171] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. An inventory control method based on tool classification, characterized in that: include: Determine the type of each tool among a plurality of tools to obtain multiple types of tools; Determine the demand for each type of tool in each cycle according to a pre-built tool demand prediction model; Determine the inventory control strategy for each type of tool; According to the demand for each type of tool in each cycle, determine the parameter value in the inventory control strategy corresponding to each type of tool; According to the parameter value in the inventory control strategy corresponding to each type of tool, the inventory of each type of tool in the respective tools is controlled; Before determining the demand quantity of each type of tool in the plurality of types in each cycle according to the pre-built tool demand prediction model, the inventory control method based on tool classification further includes: Taking the minimum sum of the downtime cost of CNC machine tools and the total cost of tool inventory as the objective function, the tool demand prediction model is established according to the particle swarm-cuckoo hybrid algorithm; the formula of the objective function is as follows: Where n represents the number of time periods, θi is the tool demand in the i-th period, S is the tool inventory cost in each period, R is the CNC machine tool downtime cost in each period, Fi is the CNC machine tool downtime function in the i-th period, and C is the sum of the total CNC machine tool downtime cost and the total tool inventory cost.
2. The inventory control method based on tool classification according to claim 1, characterized in that: Determining the type of each tool among the plurality of tools comprises: Obtain the score of each tool among a plurality of tools under each indicator; According to the weights of the various indicators, weighted sums are performed on the scores of the various tools under the various indicators to obtain the comprehensive scores of the various tools; The type of each tool is determined based on the comprehensive score of each tool and the value ratio of each tool; the value ratio of each tool refers to the ratio of the value of each tool to the total inventory value.
3. The inventory control method based on tool classification according to claim 2, characterized in that: The various indicators include indicators under technical characteristics, indicators under demand characteristics and indicators under supply characteristics. The indicators under technical characteristics include tool replaceability, tool maintainability, safety risk of tool missing and downtime risk of tool missing; the indicators under demand characteristics include demand predictability; the indicators under supply characteristics include tool procurement lead time, number of suppliers and tool delivery quality.
4. The inventory control method based on tool classification according to claim 2, characterized in that: Before weighted summing of the scores of the various tools under the various indicators is performed according to the weights of the various indicators to obtain the comprehensive scores of the various tools, the inventory control method based on tool classification further includes: According to the importance values between the various indicators, a judgment matrix is constructed; According to the judgment matrix, a plurality of eigenvalues are obtained; A plurality of eigenvectors corresponding to the maximum eigenvalue among the plurality of eigenvalues are normalized to obtain weights of the respective indicators.
5. The inventory control method based on tool classification according to claim 4, characterized in that: Before normalizing the multiple eigenvectors corresponding to the maximum eigenvalue among the multiple eigenvalues to obtain the weights of the various indicators, the inventory control method based on tool classification further includes: Calculating a consistency ratio according to the plurality of eigenvalues and corresponding random consistency indicators; If the consistency ratio is greater than a preset value, the judgment matrix is adjusted.
6. The inventory control method based on tool classification according to claim 2, characterized in that: Determining the type of each tool according to the comprehensive score of each tool and the value ratio of each tool includes: Obtaining a final score of each tool according to the comprehensive score of each tool and the value proportion of each tool; The tools whose final scores are greater than or equal to a first threshold are listed as first-category tools, the tools whose final scores are greater than a second threshold and less than the first threshold are listed as second-category tools, and the tools whose final scores are less than or equal to the second threshold are listed as third-category tools; wherein the first threshold is greater than the second threshold.
7. The inventory control method based on tool classification according to claim 6, characterized in that: The determining of the inventory control strategy corresponding to each type of tool includes: Determine a first inventory control strategy corresponding to the first type of tool; the parameter values in the first inventory control strategy include an order point, an order batch, and a safety stock; Determine a second inventory control strategy corresponding to the second type of tool; the parameter values in the second inventory control strategy include inventory cycle, maximum inventory and safety inventory; A third inventory control strategy corresponding to the third type of tools is determined; parameter values in the third inventory control strategy include an optimal order quantity, an optimal order cycle, and a safety stock.
8. An inventory control device based on tool classification, characterized in that: include: A tool classification module is used to determine the type of each tool among a plurality of tools and obtain multiple types of tools; A demand quantity prediction module, used to determine the demand quantity of each type of tool in the plurality of types in each cycle according to a pre-built tool demand prediction model; A strategy determination module is used to determine the inventory control strategy corresponding to each type of tool; A parameter calculation module is used to determine the parameter value in the inventory control strategy corresponding to each type of tool according to the demand for each type of tool in each cycle; An inventory control module, used for performing inventory control on each type of tool in the various tools according to a parameter value in an inventory control strategy corresponding to each type of tool; The demand quantity prediction module is also used to establish the tool demand prediction model according to the particle swarm-cuckoo hybrid algorithm with the minimum sum of the downtime cost of the CNC machine tool and the total cost of the tool inventory as the objective function before determining the demand quantity of each type of tools in each cycle according to the pre-built tool demand prediction model; the formula of the objective function is as follows: Where n represents the number of time periods, θi is the tool demand in the i-th period, S is the tool inventory cost in each period, R is the CNC machine tool downtime cost in each period, Fi is the CNC machine tool downtime function in the i-th period, and C is the sum of the total CNC machine tool downtime cost and the total tool inventory cost.
9. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the inventory control method based on tool classification as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the inventory control method based on tool classification according to any one of claims 1 to 7.
