Flexible manufacturing system, scheduling and executing method and storage medium
By adopting the CPS-Agent-based intelligent factory scheduling model in the flexible manufacturing system of small and medium-sized enterprises, the problem of complex scheduling management in small batches and multiple varieties of production is solved, and the rapid response and efficient production of production tasks are achieved.
Patent Information
- Application Number
- CN202411677462.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-11
AI Technical Summary
When small and medium-sized enterprises face small batches and multiple varieties of production, they find it difficult to deal with complex scheduling and management problems, especially when frequently switching production tasks, the existing technology lacks practical and implemented solutions.
Using the CPS-Agent-based FJSP flexible manufacturing system scheduling model, Agent is used as the carrier for realizing CPS communication and computing functions, a task management system, a CPS-Agent system, a real-time data management model system and a workshop system are established to realize data interaction and production scheduling.
It realizes rapid response and flexible switching of production tasks, improves the balance between production efficiency and customer needs, and dynamically adjusts the production scheduling plan through real-time data collection and processing, solving the problem that traditional methods are difficult to respond quickly to changes in the production environment.
Smart Images

Figure CN119599374A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of flexible manufacturing and scheduling systems, and in particular relates to a flexible manufacturing system and a scheduling, execution method and storage medium. Background Art
[0002] Flexible Manufacturing System (FMS) is composed of a unified information control system, material storage and transportation system and several CNC equipment.
[0003] Due to factors such as capital, site, technical means, small batch and multi-variety production characteristics, etc. Especially in small and medium-sized enterprises.
[0004] For the system and scheduling scheme of small batch and multi-variety production, the system faces overly complex scheduling management problems and is difficult to cope with frequently switched production tasks. As a result, most of the research on manufacturing execution systems that adapt to the production characteristics of small and medium-sized enterprises in China is still only in the scope of theoretical research, lacking systematic practice and implementation.
[0005] In view of this, how to solve the defects existing in the above technical solutions has become one of the problems to be solved urgently in the field of flexible manufacturing and scheduling system technology. Summary of the invention
[0006] In view of the problems existing in the background technology, the present invention provides a flexible manufacturing system, characterized in that it includes:
[0007] The main system of the FJSP flexible manufacturing system scheduling model of the smart factory based on CPS-Agent,
[0008] By realizing the perception and control of entities in the real layer, communication and computing are realized in the virtual layer.
[0009] The cyber-physical system (CPS) that forms the mapping relationship between the physical layer and the virtual layer and the agent that has the ability to communicate and calculate to make decisions,
[0010] Establish a scheduling model of FJSP flexible manufacturing system of smart factory based on CPS-Agent;
[0011] Logistics system;
[0012] CNC system, and
[0013] The main system also includes
[0014] Basic data management module,
[0015] A production line management module that only needs to analyze and manage the production line and generate a production plan based on the production work order unit.
[0016] It includes process setting unit, process flow unit, production work order unit, production scheduling unit, scheduling management unit, production reporting unit and process inspection unit;
[0017] Warehousing management module for the storage location settings of various raw materials, semi-finished products and finished products;
[0018] Manage CNC machining programs and three-coordinate measurement programs, and provide the scheduling system of the production line management module with a service scheduling module that calls according to machining and measurement requirements.
[0019] Equipment management module line;
[0020] Quality management module for quality control of the entire process;
[0021] The scheduling model of the CPS-Agent-based FJSP flexible manufacturing system of the smart factory includes a task management system, a CPS-Agent system, a real-time data management model system and a workshop system;
[0022] Send tasks to the management decision system agent through the task management system, and
[0023] The management decision system Agent is connected to the workshop system through the real-time data management system to achieve data interaction;
[0024] The CPS-Agent system includes a management decision system Agent established by a hybrid multi-agent system modeling method and an Agent that interacts with the Agent for data.
[0025] The Agent model is established by acquiring the real-time data of the corresponding workshop system through a "plug-and-play" RFID device.
[0026] The Agents include several workpiece Agents, several machine tool Agents, and several AGV Agents.
[0027] Optionally, the specific process of establishing the Agent model is as follows;
[0028] (1) Other Agents 401 interact with the communication module 402 through communication interaction.
[0029] (2) The communication module 402 is interactively connected with the reactor 403;
[0030] (3) The reactor 403 is interactively connected with the computing module 404;
[0031] (4) The computing module 404 is interactively connected with the decision module 405 and the database or knowledge base 408 respectively;
[0032] (5) The decision module 405 is interactively connected with the actuator 406;
[0033] (6) The executor 406 transmits all the above decision execution information to the workshop system 50, and
[0034] All information is transferred to a database or knowledge base 408 via a data interface 407 .
[0035] Optionally, the scheduling process based on multiple groups of Agent systems includes the following steps:
[0036] Step 1: When the workpiece is in the stage of selecting a processing machine, the workpiece arrives at the production system and the workpiece agent initiates a bidding message;
[0037] Step 2: The machine tool agent queries the real-time data of the corresponding physical entity, calculates the pheromone value of the machine tool agent based on the real-time data, and transmits the pheromone value to the workpiece agent for bidding;
[0038] Step 3: The workpiece agent calculates the transfer coefficient values of all the machine tool agents participating in the bidding and selects the machine tool with the largest coefficient for processing;
[0039] Step 4: When the machine tool selects the processing workpiece sequence, the machine tool agent sends a bidding message to the set of workpieces to be processed in the buffer;
[0040] Step 5: The workpiece Agent queries the real-time data of the corresponding physical entity, calculates the pheromone value of the workpiece based on the real-time data, and transmits the pheromone value to the machine tool Agent for bidding;
[0041] Step 6: The machine tool agent calculates the transfer coefficient values of all the workpiece agents participating in the bidding.
[0042] And select the machine tool with the largest coefficient for processing;
[0043] Step 7: After the workpiece is processed, a transport request is sent and the AGV selection stage is entered;
[0044] Step 8: The AGV Agent queries the real-time data of the corresponding physical entity, calculates the pheromone value, and transmits the pheromone value to the workpiece Agent for bidding;
[0045] Step 9: The management agent calculates the transfer coefficients of all bidders and selects the AGV with the largest transfer coefficient to transport the workpiece;
[0046] Step 10: Check whether all workpieces have been processed. If not, jump to the corresponding stage. When processing is completed, output the scheduling results.
[0047] Optionally, the real-time data management system includes a real-time data acquisition unit, a data transmission unit and a data processing unit;
[0048] The real-time data acquisition unit is used to collect real-time data in production. There are two ways to collect data:
[0049] S12, collect data of CNC equipment through automated collection;
[0050] S13, collect production condition data through semi-automatic collection and manual collection.
[0051] The real-time data acquisition unit transmits all the collected information to the data processing unit through the data transmission unit for data processing.
[0052] Optionally, specific steps of performing data processing by a data processing unit;
[0053] S21, the data processing unit of the CPS-Agent system of the cyber-physical system CPS receives all the information collected from the real-time data collection unit;
[0054] S22, using big data technology and deep learning-based feature extraction methods to extract relevant data features;
[0055] S33, then extracting relevant data features and saving them in a database.
[0056] Optionally, the method is applied to a flexible manufacturing system,
[0057] The method comprises the following steps:
[0058] Step 1: The production line management module of the main system generates a product work order process;
[0059] Step 2: Receive the product work order process sent by the production line management module through the scheduling management unit of the production line management module, and determine whether the product work order process corresponding to the production task is correct; if correct, perform reasonable scheduling and execution;
[0060] At the same time, a self-check instruction is sent to the warehouse management module;
[0061] Step 3: Check the inventory quantity of the materials picked up by the work order through the warehouse management module and send instructions to the logistics system;
[0062] Step 4: Determine whether the current state of the logistics system is normal (normal or busy);
[0063] 4.1 If it is in normal state, the required information will be fed back to the CNC system of the machining center where the work order process is located;
[0064] 4.2 If it is in a busy state, it will enter the +logistics system polling waiting period;
[0065] Step 5: The process setting unit receives information from the logistics system; the process setting unit determines whether the CNC system of the machining center of the work order process in the process is in a normal state (normal or idle);
[0066] 5.1 If it is in normal state, the required information will be fed back to the warehouse management module, and the work order picking of the required process will be sent to the CNC system of the machining center of the corresponding work order process through the warehouse management module;
[0067] 5.2 If it is in idle state, it will enter the CNC system and enter the polling waiting period. When the waiting time set in advance is reached, the required information will be fed back to the process setting unit, and the process setting unit will be used to determine whether the CNC system of the machining center of the work order process in the process is in a normal state;
[0068] If it is in normal state, repeat step 5.1
[0069] If it is in idle state, repeat step 4.2
[0070] Step 6
[0071] The CNC system of the machining center corresponding to the work order process of the process receives the information, and the work order is processed by the machining center. When the process is completed, the required information is transmitted to the main system;
[0072] Step 7
[0073] The main system receives the above information and determines whether process transfer is required;
[0074] 7.1 If no process transfer is required, the work order is directly put into storage and the work order is ended / suspended;
[0075] 7.2 If process transfer is required, proceed to step 4;
[0076] Step 8
[0077] Receive information from the logistics system through the process setting unit; determine whether the CNC system of the machining center of the work order process in the process is in a normal state (normal or idle) through the process setting unit;
[0078] 8.1 If it is in a normal state, the required information will be fed back to the warehouse management module, and the warehouse management module will send the work order of the required process to the CNC system of the machining center of the corresponding work order process, or determine whether there is a process transfer order for the previous process. If so, it will be transferred to the warehouse for processing;
[0079] The process is completed and goes to step 7;
[0080] 8.2 is in idle state, and the process is transferred to the warehouse;
[0081] Step 9: After the main system receives the information from step 8.2, it determines that the work order transferred into the warehouse enters the CNC system polling waiting period; after entering the polling waiting period, when the pre-set waiting time is reached, the required information is fed back to the process setting unit, and the process setting unit determines whether the CNC system of the machining center of the work order process in the process is in a normal state;
[0082] If it is in normal state, go to step 8.1;
[0083] If it is in idle state, it will enter the logistics system and enter the polling waiting period; repeat the above steps again until the work order is put into storage.
[0084] Optionally, step one also includes:
[0085] S1. Obtain various basic data during system operation from the basic data management module;
[0086] S2. Decouple and associate all basic information, and generate a workpiece product process setting unit through data processing and feature extraction;
[0087] S3. Decouple all related processes to decompose product processes into multiple processes and generate process flow units; and each process, as the smallest unit of processing, directly participates in the automatic generation and scheduling of production work orders;
[0088] S4. The main system automatically sets up units and process flow units according to the order and the process flow units of the related products, and decomposes the process flow unit into several production order units;
[0089] S5. Obtain the production work order unit, decompose the production work order unit into WBS tasks through the main system, split it into multiple processes, set the start time and duration of each task group, generate the production scheduling unit, and obtain the production work order; and send each process to the equipment in the workshop processing center;
[0090] S6. The scheduling management unit of the production line management module conducts a comprehensive analysis based on the time schedule, urgency, accuracy of related equipment, production capacity, personnel and other information set by the production work order unit, arranges processing reasonably, and completes part processing through the CNC system of the equipment in the workshop processing center;
[0091] S7. After the parts are processed, they automatically enter the process inspection unit of the main system, are inspected by the measuring machine of the process inspection unit, an inspection report is generated, and qualified products and unqualified products are classified and stored.
[0092] Optionally, the steps of the product automatic measurement and inspection process in step S7 are as follows:
[0093] Step S71, issuing a measurement task through the main system;
[0094] Step S72: The measuring machine of the process inspection unit receives the measuring task and feeds back the required information to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece and loads it;
[0095] Step S73: Start the measuring machine of the process inspection unit, perform measurement through the measurement program, and use the measuring machine to independently determine whether the workpiece is qualified.
[0096] If qualified, proceed to step S721.
[0097] Step S721: The required information is transmitted to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece, unloads the workpiece, and places the workpiece in the qualified product storage area;
[0098] If it is unqualified, go to the next step S74.
[0099] Step S74: The required information is transmitted to the main system, and the main system determines whether retesting is required.
[0100] If retest is required, go to step S73.
[0101] If retest is not required, proceed to the next step S75.
[0102] Step S75: The required information is transmitted to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece, unloads the workpiece, and places the workpiece in the defective product storage area;
[0103] Step S76: Feedback all product information to the measuring machine system, generate an output report, store it in the database of the basic data management module, and transmit the output report to the main system.
[0104] Optionally, a processor; configured to execute a computer program stored in the memory;
[0105] The memory is used to store a computer program, and when the computer program is executed by the processor, the method according to any one of claims 6 to 7 is implemented. In summary, the beneficial effects of the present invention are:
[0106] 1. The present invention applies CPS to the modeling of Agent to establish a scheduling model of the FJSP flexible manufacturing system of the intelligent factory based on CPS-Agent; Agent is used as a carrier to realize the communication and computing functions of CPS, so that the functions and models of Agent are more reliable and support distributed performance, and can obtain the status information of the production site in real time. The management decision system Agent dynamically adjusts the production scheduling through coordination and interaction in the multi-agent system (workpiece Agent, machine tool Agent, AGV Agent). Each Agent makes decisions based on real-time data (such as processing status, equipment performance, workpiece location, etc.) and cooperates with other Agents to ensure that production tasks can be switched quickly and flexibly.
[0107] 2. The present invention can effectively integrate the information of each link of the workshop through real-time data collection and processing, so that the coordination between each link is closer; compared with traditional methods, production decisions are closer to the actual manufacturing environment, so as to solve the problem that the traditional production scheduling method is difficult to respond quickly as the production environment continues to change (such as order changes, material supply fluctuations, etc.). The present invention adopts big data technology through the combination of real-time data collection unit and data processing unit. When facing multiple dynamically changing factors, it can comprehensively consider various factors (such as equipment load, workpiece priority, material inventory, etc.) and adjust the production scheduling plan in real time to ensure the balance between production efficiency and customer needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] Figure 1 A flowchart of an embodiment of a flexible manufacturing system, scheduling, execution method and storage medium of the present invention;
[0109] Figure 2 A logic diagram of an embodiment of a flexible manufacturing system, scheduling, execution method and storage medium of the present invention;
[0110] Figure 3 For the present invention Figure 2 The middle part of the logic diagram;
[0111] Figure 4 For the present invention Figure 2 Another part of the logic diagram;
[0112] Figure 5 A flexible manufacturing system and a scheduling and execution method and a product automatic measurement and inspection flow chart in a storage medium of the present invention;
[0113] Figure 6 An Agent model diagram of a flexible manufacturing system, a scheduling method, an execution method and a storage medium of the present invention;
[0114] Figure 7 It is an abstract model diagram of the CPS connotation structure in a flexible manufacturing system, scheduling, execution method and storage medium of the present invention;
[0115] Figure 8 The present invention discloses a flexible manufacturing system and a scheduling and execution method and each sub-scheduling flow chart in a storage medium.
[0116] Reference numerals:
[0117] 10. Logistics system;
[0118] 20. Main system;
[0119] 201. Basic data management module;
[0120] 202. Warehouse management module;
[0121] 203, production management module; 2031, process setting unit; 2032, process flow unit; 2033, production work order unit; 2034, production scheduling unit;
[0122] 204. Service scheduling module;
[0123] 205. Equipment management module;
[0124] 206. Quality management module;
[0125] 207. Production work order;
[0126] 208. Dispatching management unit;
[0127] 209. Process inspection unit;
[0128] 30. CNC system;
[0129] 401, other agents;
[0130] 402. Communication module;
[0131] 403. Reactor;
[0132] 404. Calculation module;
[0133] 405. Decision making unit;
[0134] 406, actuator;
[0135] 407, data interface;
[0136] 408, Database;
[0137] 50. Workshop system. DETAILED DESCRIPTION
[0138] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Although exemplary embodiments are disclosed in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to facilitate a thorough understanding of the present invention and to fully convey the concept of the present invention to those skilled in the art.
[0139] In the description of this specification, the description with reference to the terms "certain embodiments", "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0140] In the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance; the term "plurality" refers to two or more, unless otherwise clearly defined. The terms "installed", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; "connected" can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0141] like Figures 1 to 8 As shown, this embodiment provides a flexible manufacturing system and a scheduling, execution method and storage medium.
[0142] include:
[0143] Basic data management module: configuration of various basic data used when the system is running;
[0144] The production line management module is mainly used to analyze and manage the production line and generate production plans based on production work order units;
[0145] Warehouse management module for the location setting of various raw materials, semi-finished products and finished products: ingredients are batched in the warehouse management system according to the production plan for automatic loading and unloading system to automatically grab;
[0146] Service scheduling module: manages CNC machining programs and three-coordinate measurement programs, and provides the scheduling system of the production line management module with calls based on machining and measurement requirements;
[0147] Equipment management module: online maintenance and repair management of basic data such as specifications, accuracy, production capacity, maintenance cycle, etc. of various machine tools and measuring machines;
[0148] Quality management module: used for quality control of the entire process;
[0149] Among them, the production line management module includes: process setting unit, process flow unit, production work order unit, production scheduling unit, scheduling management unit, production reporting unit and process inspection unit;
[0150] Among them, the basic data management module includes: a real-time data acquisition unit, a data transmission unit and a data processing unit;
[0151] The following steps are also included:
[0152] Step 1: The production line management module of the main system generates a product work order process;
[0153] Step 2: Receive the product work order process sent by the production line management module through the scheduling management unit of the production line management module, and determine whether the product work order process corresponding to the production task is correct; if correct, perform reasonable scheduling and execute (specify execution / execute according to the work order date);
[0154] At the same time, a self-check instruction is sent to the warehouse management module;
[0155] Step 3: Check the inventory quantity of the materials picked up by the work order through the warehouse management module and send instructions to the logistics system;
[0156] Step 4: Determine whether the current state of the logistics system is normal (normal or busy);
[0157] 4.1 If it is in normal state, the required information will be fed back to the machining center (CNC system) where the work order process is located;
[0158] 4.2 If it is in a busy state, it will enter the logistics system polling waiting period;
[0159] Step 5: The process setting unit receives information from the logistics system; the process setting unit determines whether the machining center (CNC system) of the work order process (process flow unit and production work order unit) in the process is in a normal state (normal or idle);
[0160] 5.1 If it is in normal state, the required information will be fed back to the warehouse management module, and the work order picking of the required process will be sent to the processing center (CNC system) of the corresponding work order process through the warehouse management module.
[0161] 5.2 If it is in idle state, it will enter the CNC system and enter the polling waiting period. When the waiting time set in advance is reached, the required information will be fed back to the process setting unit. The process setting unit will determine whether the machining center (CNC system) of the work order process (process flow unit and production work order unit) in the process is in a normal state;
[0162] If it is in normal state, repeat step 5.1
[0163] If it is in idle state, repeat step 4.2
[0164] Step 6
[0165] The information is received through the machining center (CNC system) of the corresponding work order process of the process, and the work order is processed by the machining center. When the process processing is completed, the required information is transmitted to the main system;
[0166] Step 7
[0167] The main system receives the above information and determines whether process transfer is required;
[0168] 7.1 If no process transfer is required, the work order is directly put into storage and the work order is ended / suspended;
[0169] 7.2 If process transfer is required, proceed to step 4;
[0170] Step 8
[0171] Receive information from the logistics system through the process setting unit; determine whether the machining center (CNC system) of the work order process (process flow unit and production work order unit) in the process is in a normal state (normal or idle) through the process setting unit;
[0172] 8.1 If it is in a normal state, the required information will be fed back to the warehouse management module, and the warehouse management module will send the work order of the required process to the processing center (CNC system) of the corresponding work order process, or determine whether there is a process transfer order for the previous process. If so, it will be transferred to the warehouse for processing;
[0173] The process is completed and goes to step 7;
[0174] 8.2 is in idle state, and the process is transferred to the warehouse (the semi-finished product warehouse operation is carried out after the previous process is completed, and it is provided for the next process to be processed)
[0175] Step 9: After the main system receives the information from step 8.2, it determines whether the work order transferred into the warehouse enters the CNC system polling waiting period; after entering the polling waiting period, when the waiting time set in advance is reached, the required information is fed back to the process setting unit, and the process setting unit determines whether the machining center (CNC system) of the work order process (process flow unit and production work order unit) in the process is in a normal state;
[0176] If it is in normal state, go to step 8.1;
[0177] If it is in idle state, it will enter the logistics system and enter the polling waiting period; repeat the above steps again until the work order is put into storage.
[0178] Furthermore, if Figure 1 As shown, step one includes:
[0179] S1. Obtain various basic data during system operation from the basic data management module, such as work order information, warehouse information, production line information, CNC information, etc.
[0180] S2. Decouple and associate all basic information, and generate a workpiece product process setting unit through data processing and feature extraction;
[0181] S3. Decouple all related processes to decompose product processes into multiple processes and generate process flow units; and each process, as the smallest unit of processing, directly participates in the automatic generation and scheduling of production work orders;
[0182] S4. The main system automatically sets up units and process flow units according to the order and the process flow units of the related products, and decomposes the process flow unit into several production order units;
[0183] S5. Obtain the production work order unit, decompose the production work order unit into WBS tasks through the main system, split it into multiple processes, set the start time and duration of each task group, generate the production scheduling unit, and obtain the production work order; and send each process to the equipment in the workshop processing center;
[0184] S6. The scheduling management unit of the production line management module conducts a comprehensive analysis based on the time schedule, urgency, accuracy of related equipment, production capacity, personnel and other information set by the production work order unit, arranges processing reasonably, and completes part processing through the equipment (CNC system) of the workshop processing center;
[0185] S7. After the parts are processed, they automatically enter the process inspection unit of the main system, are inspected by the measuring machine of the process inspection unit, an inspection report is generated, and qualified products and unqualified products are classified and stored.
[0186] In actual application, various data generated during system operation (for example, basic data generated by process setting units, process flow units, production work order units, etc.) are stored in the basic data management module.
[0187] Furthermore, in the production management module, all production line systems update the task status in real time. The system automatically generates a production work order containing personnel information, order information, CNC information, product information, qualification rate, and task execution information, which is used to calculate production costs, track order progress, and monitor raw material inventory.
[0188] In practical applications, Figure 5 As shown, the steps of the product automatic measurement and inspection process in step S7 are as follows:
[0189] Step S71, issuing a measurement task through the main system;
[0190] Step S72: The measuring machine of the process inspection unit receives the measuring task and feeds back the required information to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece and loads it;
[0191] Step S73: Start the measuring machine of the process inspection unit, perform measurement through the measurement program, and use the measuring machine to independently determine whether the workpiece is qualified.
[0192] If qualified, proceed to step S721.
[0193] Step S721: The required information is transmitted to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece, unloads the workpiece, and places the workpiece in the qualified product storage area;
[0194] If it is unqualified, go to the next step S74.
[0195] Step S74: The required information is transmitted to the main system, and the main system determines whether retesting is required.
[0196] If retest is required, go to step S73.
[0197] If retest is not required, proceed to the next step S75.
[0198] Step S75: The required information is transmitted to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece, unloads the workpiece, and places the workpiece in the defective product storage area;
[0199] Step S76: Feedback all product information (qualified information and unqualified information) to the measuring machine system, generate an output report, store it in the database of the basic data management module, and transmit the output report to the main system.
[0200] In actual application, the measuring machine is connected to an external data interface and a large screen, and the measuring results of the measuring machine are transmitted to the large screen for display, and at the same time the output report is transmitted to the quality management module through the data interface for storage.
[0201] In actual applications, especially for systems and scheduling solutions for small-batch and multi-variety production, the system faces overly complex scheduling management problems and has difficulty coping with frequently switched production tasks.
[0202] The flexible manufacturing system scheduling and execution method comprises the following steps:
[0203] Step ①, by realizing the perception and control of entities in the real layer and realizing communication and calculation in the virtual layer, a cyber-physical system CPS with a mapping relationship between the physical layer and the virtual layer and an agent with the ability to communicate and calculate to make decisions are formed, and a scheduling model of the FJSP flexible manufacturing system of the smart factory based on CPS-Agent is established;
[0204] The scheduling model of the CPS-Agent-based FJSP flexible manufacturing system of the smart factory includes a task management system, a CPS-Agent system, a real-time data management model system and a workshop system;
[0205] The task management system sends tasks to the management decision system agent, and the management decision system agent is connected to the workshop system through the real-time data management system to achieve data interaction;
[0206] The CPS-Agent system includes a management decision system Agent and an Agent that interacts with it (in a flexible job shop, equipment, AGV, and workpieces are manufacturing entities, which are defined as virtual Agent intelligent entities in the management decision system Agent);
[0207] The workshop system includes machine tools, workpieces and AGVs (in a flexible job shop, equipment, AGVs and workpieces are manufacturing entities);
[0208] Step ②, obtain the real-time data (including processing status data and its own performance status data) of the corresponding physical entity (workshop system) through the "plug-and-play" RFID device, and establish the Agent model;
[0209] In this embodiment, the real-time data (including processing status data and self-performance status data) of the corresponding physical entity (workshop system) is obtained through a "plug-and-play" RFID device, and the above real-time data is transmitted to the management decision system Agent and used to dynamically adjust production tasks and scheduling decisions. Each Agent's perception and feedback of the physical environment can help the system update the production plan at any time. Then, the processing sequence, machine tool selection, AGV transportation and other decisions can be adjusted in real time to reduce waiting time and transportation costs.
[0210] Step ③: In the CPS-Agent system, the workpiece agent, machine tool agent, and AGV agent corresponding to the physical environment (machine tools, workpieces, AGVs, etc. in the workshop system) are established, and the management decision system agent is established using a hybrid multi-agent system modeling method.
[0211] In this embodiment, the cyber-physical system (CPS) is a system that integrates computing, communication and control. The system realizes the perception and control of entities in the real layer and realizes communication and computing in the virtual layer, thus forming a mapping relationship between the physical layer and the virtual layer. The abstract model of the CPS connotation structure is as follows: Figure 7 shown.
[0212] For agent individuals in the field of distributed artificial intelligence, they should have the ability to communicate and calculate to make decisions.
[0213] Based on this, by applying CPS to Agent modeling and using Agent as a carrier to realize CPS communication and computing functions, the Agent's functions and models are made more reliable and support distributed performance.
[0214] Furthermore, in step ②, the Agent model is as follows Figure 6 As shown, the specific process is:
[0215] (1) Other Agent 401( Figure 6 The part below the Agent is a model of an Agent, and the model of "other Agents" above is the same as that below, which is to show that Agents can communicate with each other) and is interactively connected with the communication module 402 through communication interaction;
[0216] (2) The communication module 402 is interactively connected with the reactor 403, and is responsible for monitoring and feeding back the system status through the reactor;
[0217] (3) The reactor 403 is interactively connected with the computing module 404, and the computing module analyzes, processes and calculates the data;
[0218] (4) The computing module 404 is interactively connected with the decision module 405 and the database or knowledge base 408 respectively.
[0219] After data processing, the computing module first exchanges data with the decision-making module to help make decisions.
[0220] At the same time, the computing module can also interact with the database or knowledge base to obtain more historical data or rule support;
[0221] (1) The decision module 405 is interactively connected with the executor 406. According to the calculation and analysis results, the decision module transmits the decision information to the executor, and the executor is responsible for executing the specific task;
[0222] (2) The actuator 406 transmits all the above decision execution information to the workshop system 50, and transmits all the information to the database or knowledge base 408 through the data interface 407; the actuator ultimately controls the machine tools or workpieces in the workshop, performs corresponding operations or adjustments, and transmits the real-time data in the workshop system (such as the machine tool operating status, workpiece position, etc.) back to the database or knowledge base through the data interface to update the system data and support subsequent decision-making and optimization.
[0223] Furthermore, step ③ also includes the following steps:
[0224] 1》Issuing tasks to the management decision system agent through the task management system;
[0225] 2》The management decision system Agent receives information from the task management system and the Agent respectively;
[0226] The machine tool agent obtains the information of the machine tools in the real workshop in real time.
[0227] The workpiece agent obtains the information of the workpiece in the real workshop in real time.
[0228] AGV Agent obtains the information of AGV in the real workshop in real time and transmits all the information to the management decision system Agent;
[0229] 3》Carry out production scheduling through the management decision-making system Agent, and transmit all information to the workshop system for processing;
[0230] The entire production scheduling includes three self-scheduling units, namely:
[0231] A, workpiece selection processing machine tool;
[0232] B, the machine tool selects the workpiece processing sequence;
[0233] C, workpiece selection and transportation AGV.
[0234] Based on step 3》, the multi-agent (workpiece agent, machine tool agent, AGV agent) system scheduling process has the following steps:
[0235] Step 1: When the workpiece is in the stage of selecting a processing machine, the workpiece arrives at the production system and the workpiece agent initiates a bidding message;
[0236] Step 2: The machine tool agent queries the real-time data of the corresponding physical entity, calculates the pheromone value of the machine tool agent based on the real-time data, and transmits the pheromone value to the workpiece agent for bidding;
[0237] Step 3: The workpiece agent calculates the transfer coefficient values of all the machine tool agents participating in the bidding and selects the machine tool with the largest coefficient for processing;
[0238] Step 4: When the machine tool selects the processing workpiece sequence, the machine tool agent sends a bidding message to the set of workpieces to be processed in the buffer;
[0239] Step 5: The workpiece Agent queries the real-time data of the corresponding physical entity, calculates the pheromone value of the workpiece based on the real-time data, and transmits the pheromone value to the machine tool Agent for bidding;
[0240] Step 6: The machine tool agent calculates the transfer coefficient values of all the workpiece agents participating in the bidding and selects the machine tool with the largest coefficient for processing;
[0241] Step 7: After the workpiece is processed, a transport request is sent and the AGV selection stage is entered;
[0242] Step 8: The AGV Agent queries the real-time data of the corresponding physical entity, calculates the pheromone value, and transmits the pheromone value to the workpiece Agent for bidding;
[0243] Step 9: The management agent calculates the transfer coefficients of all bidders and selects the AGV with the largest transfer coefficient to transport the workpiece;
[0244] Step 10: Check whether all workpieces have been processed. If not, jump to the corresponding stage. When processing is completed, output the scheduling results.
[0245] In practical applications, in order to realize the organic integration of resources in the manufacturing environment, can they perceive each other, and enable them to communicate on the basis of intelligent equipment. In the present invention, a real-time data management system is added, wherein the real-time data management system includes: a real-time data acquisition unit, a data transmission unit and a data processing unit; the real-time data acquisition unit collects real-time data in production, and the real-time data acquisition unit transmits all collected information to the data processing unit through the data transmission unit to process the data.
[0246] In the actual production process, the existing data sources are mainly from the entire manufacturing life cycle from receiving orders to completing shipments, including data information from operators, processing and transportation equipment, production materials, inventory storage, etc. In the intelligent development of enterprises, the manufacturing environment is more complex than the previous production environment, and all manufacturing equipment is intelligent, which is quite different from traditional equipment in terms of communication interface, drive, transmission method, etc. Therefore, the traditional manual data collection method can no longer meet the requirements of real-time dynamic data, and accurate and efficient collection is particularly important.
[0247] Real-time data collection methods, including:
[0248] S12. Collect data of CNC equipment by automated collection, where the collected data mainly includes the health status data of the equipment itself, the status of the workpiece to be processed or processed by the equipment, and the automated processing program;
[0249] S13, collect production condition data through semi-automatic collection and manual collection.
[0250] Data collection is performed on workpieces or personnel entering the production site covered by RFID by using semi-automatic collection and manual collection;
[0251] There are three collection methods: manual collection, semi-automatic collection, and automatic collection. The differences between the three collection methods are as follows:
[0252]
[0253]
[0254] Based on the cyber-physical system CPS, data processing is performed in the virtual space of the CPS-Agent system. The specific steps are as follows:
[0255] S21, the data processing unit of the CPS-Agent system of the cyber-physical system CPS receives all the information collected from the real-time data collection unit;
[0256] S22, using big data technology and deep learning-based feature extraction methods to extract relevant data features;
[0257] S33, then extracting relevant data features and saving them in a database.
[0258] In this embodiment, by adopting big data technology, relevant data features are extracted compared with the traditional method of using data processing. Since traditional decision-making methods based on data processing are mostly based on manufacturing historical data, the data sample size is small; and this embodiment, based on the use of historical data to form a relevant database, makes real-time decisions in production through online data; through the cooperation of real-time data acquisition units and data processing units, through real-time collection and processing of data, information from various links in the workshop can be effectively integrated, making the coordination between various links closer; compared with traditional methods, production decisions are closer to the actual manufacturing environment.
[0259] In this embodiment, through the cooperation of the real-time data acquisition unit and the data processing unit, the information of each link of the workshop can be effectively integrated through the real-time collection and processing of data, so that the coordination between each link is closer; compared with the traditional method, the production decision is closer to the actual manufacturing environment, so as to solve the problem that the traditional production scheduling method is difficult to respond quickly with the continuous changes in the production environment (such as order changes, material supply fluctuations, etc.). The present invention adopts big data technology through the cooperation of the real-time data acquisition unit and the data processing unit, and can comprehensively consider various factors (such as equipment load, workpiece priority, material inventory, etc.) when facing multiple dynamic changing factors, and adjust the production scheduling plan in real time to ensure the balance between production efficiency and customer needs.
[0260] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not restrictive. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention, and should be included in the scope of the claims of the present invention.
Claims
1. A flexible manufacturing system, characterized in that: include: According to the information physical system CPS that realizes the perception and control of the real layer entities, realizes communication and calculation in the virtual layer, forms the mapping relationship between the physical layer and the virtual layer, and the agent with the ability to communicate and calculate to make decisions, the intelligent factory FJSP flexible manufacturing system scheduling model based on CPS-Agent is established; The main system of the FJSP flexible manufacturing system scheduling model of the smart factory based on CPS-Agent, Logistics system; CNC system, and The main system also includes Basic data management module, A production line management module used to analyze and manage production lines and generate production plans based on production work order units. The production line management module includes process setting unit, process flow unit, production work order unit, production scheduling unit, scheduling management unit, production reporting unit and process inspection unit; Warehousing management module for the storage location settings of various raw materials, semi-finished products and finished products; Manage CNC machining programs and three-coordinate measurement programs, and provide the scheduling system of the production line management module with a service scheduling module that calls according to machining and measurement requirements. Equipment management module line; Quality management module for quality control of the entire process; The scheduling model of the CPS-Agent-based FJSP flexible manufacturing system of the smart factory includes a task management system, a CPS-Agent system, a real-time data management model system and a workshop system; Send tasks to the management decision system agent through the task management system, and The management decision system Agent is connected to the workshop system through the real-time data management system to achieve data interaction; The CPS-Agent system includes a management decision system Agent established by a hybrid multi-agent system modeling method and an Agent that interacts with the Agent for data. The Agent model is established by acquiring the real-time data of the corresponding workshop system through a "plug-and-play" RFID device. The Agents include several workpiece Agents, several machine tool Agents, and several AGV Agents.
2. A flexible manufacturing system according to claim 1, characterized in that: The specific process of establishing the Agent model is as follows; (1) Other Agents 401 interact with the communication module 402 through communication interaction. (2) The communication module 402 is interactively connected with the reactor 403; (3) The reactor 403 is interactively connected with the computing module 404; (4) The calculation module 404 is interactively connected with the decision module 405 and the database 408 respectively; (5) The decision module 405 is interactively connected with the actuator 406; (6) The executor 406 transmits all the above decision execution information to the workshop system 50, and All information is transmitted to a database 408 via a data interface 407 .
3. A flexible manufacturing system according to claim 2, characterized in that: The specific steps of the scheduling process based on multiple Agent systems are as follows: Step 1: When the workpiece is in the stage of selecting a processing machine, the workpiece arrives at the production system and the workpiece agent initiates a bidding message; Step 2: The machine tool agent queries the real-time data of the corresponding physical entity, calculates the pheromone value of the machine tool agent based on the real-time data, and transmits the pheromone value to the workpiece agent for bidding; Step 3: The workpiece agent calculates the transfer coefficient values of all the machine tool agents participating in the bidding and selects the machine tool with the largest coefficient for processing; Step 4: When the machine tool selects the processing workpiece sequence, the machine tool agent sends a bidding message to the set of workpieces to be processed in the buffer; Step 5: The workpiece Agent queries the real-time data of the corresponding physical entity, calculates the pheromone value of the workpiece based on the real-time data, and transmits the pheromone value to the machine tool Agent for bidding; Step 6: The machine tool agent calculates the transfer coefficient values of all the workpiece agents participating in the bidding and selects the machine tool with the largest coefficient for processing; Step 7: After the workpiece is processed, a transport request is sent and the AGV selection stage is entered; Step 8: The AGV Agent queries the real-time data of the corresponding physical entity, calculates the pheromone value, and transmits the pheromone value to the workpiece Agent for bidding; Step 9: The management agent calculates the transfer coefficients of all bidders and selects the AGV with the largest transfer coefficient to transport the workpiece; Step 10: Check whether all workpieces have been processed. If not, jump to the corresponding stage. When processing is completed, output the scheduling results.
4. A flexible manufacturing system according to claim 1, characterized in that: The real-time data management system includes a real-time data acquisition unit, a data transmission unit and a data processing unit; The real-time data acquisition unit is used to collect real-time data in production. There are two ways to collect data: S12, collect data of CNC equipment through automated collection; S13, collect production condition data through semi-automatic collection and manual collection. The real-time data acquisition unit transmits all the collected information to the data processing unit through the data transmission unit for data processing.
5. A flexible manufacturing system according to claim 4, characterized in that: Specific steps of data processing by the data processing unit; S21, the data processing unit of the CPS-Agent system of the cyber-physical system CPS receives all the information collected from the real-time data collection unit; S22, using big data technology and deep learning-based feature extraction methods to extract relevant data features; S33, then extracting relevant data features and saving them in a database.
6. A scheduling and execution method for a flexible manufacturing system, characterized in that: The method is applied to a flexible manufacturing system. The method comprises the following steps: Step 1: The production line management module of the main system generates a product work order process; Step 2: Receive the product work order process sent by the production line management module through the scheduling management unit of the production line management module, and determine whether the product work order process corresponding to the production task is correct; if correct, perform reasonable scheduling and execution; At the same time, a self-check instruction is sent to the warehouse management module; Step 3: Check the inventory quantity of the materials picked up by the work order through the warehouse management module and send instructions to the logistics system; Step 4: Determine whether the current state of the logistics system is normal (normal or busy); 4.1 If it is in normal state, the required information will be fed back to the CNC system of the machining center where the work order process is located; 4.2 If it is in a busy state, it will enter the +logistics system polling waiting period; Step 5: The process setting unit receives information from the logistics system; the process setting unit determines whether the CNC system of the machining center of the work order process in the process is in a normal state (normal or idle); 5.1 If it is in normal state, the required information will be fed back to the warehouse management module, and the work order picking of the required process will be sent to the CNC system of the machining center of the corresponding work order process through the warehouse management module; 5.2 If it is in idle state, it will enter the CNC system and enter the polling waiting period. When the waiting time set in advance is reached, the required information will be fed back to the process setting unit, and the process setting unit will be used to determine whether the CNC system of the machining center of the work order process in the process is in a normal state; If it is in normal state, repeat step 5.1 If it is in idle state, repeat step 4.2 Step 6 The CNC system of the machining center corresponding to the work order process of the process receives the information, and the work order is processed by the machining center. When the process is completed, the required information is transmitted to the main system; Step 7 The main system receives the above information and determines whether process transfer is required; 7.1 If no process transfer is required, the work order is directly put into storage and the work order is ended / suspended; 7.2 If process transfer is required, proceed to step 4; Step 8 Receive information from the logistics system through the process setting unit; determine whether the CNC system of the machining center of the work order process in the process is in a normal state (normal or idle) through the process setting unit; 8.1 If it is in a normal state, the required information will be fed back to the warehouse management module, and the warehouse management module will send the work order of the required process to the CNC system of the machining center of the corresponding work order process, or determine whether there is a process transfer order for the previous process. If so, it will be transferred to the warehouse for processing; The process is completed and goes to step 7; 8.2 is in idle state, and the process is transferred to the warehouse; Step 9: After the main system receives the information from step 8.2, it determines the work order for process transfer and storage and enters the CNC system for polling and waiting; Entering the polling waiting period, when the pre-set waiting time is reached, the required information is fed back to the process setting unit, and the process setting unit determines whether the CNC system of the machining center of the work order process in the process is in a normal state; If it is in normal state, go to step 8.1; If it is in idle state, it will enter the logistics system and enter the polling waiting period; repeat the above steps again until the work order is put into storage.
7. According to claim 6, a scheduling and execution method for a flexible manufacturing system, characterized in that: Step 1 also includes: S1. Obtain various basic data during system operation from the basic data management module; S2. Decouple and associate all basic information, and generate a workpiece product process setting unit through data processing and feature extraction; S3. Decouple all related processes to decompose product processes into multiple processes and generate process flow units; and each process, as the smallest unit of processing, directly participates in the automatic generation and scheduling of production work orders; S4. The main system automatically sets up units and process flow units according to the order and the process flow units of the related products, and decomposes the process flow unit into several production order units; S5. Obtain the production work order unit, decompose the production work order unit into WBS tasks through the main system, split it into multiple processes, set the start time and duration of each task group, generate the production scheduling unit, and obtain the production work order; and send each process to the equipment in the workshop processing center; S6. The scheduling management unit of the production line management module conducts a comprehensive analysis based on the time schedule, urgency, accuracy of related equipment, production capacity, personnel and other information set by the production work order unit, arranges processing reasonably, and completes part processing through the CNC system of the equipment in the workshop processing center; S7. After the parts are processed, they automatically enter the process inspection unit of the main system, are inspected by the measuring machine of the process inspection unit, an inspection report is generated, and qualified products and unqualified products are classified and stored.
8. According to claim 7, a scheduling and execution method for a flexible manufacturing system is characterized in that: The steps of the product automatic measurement and inspection process in step S7 are as follows: Step S71, issuing a measurement task through the main system; Step S72: The measuring machine of the process inspection unit receives the measuring task and feeds back the required information to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece and loads it; Step S73: Start the measuring machine of the process inspection unit, perform measurement through the measurement program, and use the measuring machine to independently determine whether the workpiece is qualified. If qualified, proceed to step S721. Step S721: The required information is transmitted to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece, unloads the workpiece, and places the workpiece in the qualified product storage area; If it is unqualified, go to the next step S74. Step S74: The required information is transmitted to the main system, and the main system determines whether retesting is required. If retest is required, go to step S73. If retest is not required, proceed to the next step S75. Step S75: The required information is transmitted to the warehouse management module, and the automatic loading and unloading system of the warehouse management module automatically grabs the workpiece, unloads the workpiece, and places the workpiece in the defective product storage area; Step S76: Feedback all product information to the measuring machine system, generate an output report, store it in the database of the basic data management module, and transmit the output report to the main system.
9. A storage medium for a flexible manufacturing system, characterized in that: include; processor; for executing a computer program stored in the memory; The memory is used to store a computer program, and when the computer program is executed by the processor, the method according to any one of claims 6 to 7 is implemented.