Production line control method and device, computer device and computer readable storage medium
By integrating the central control equipment with the main control equipment, detection tasks and reports are generated, solving the problems of production line fault detection and defective products caused by manufacturing execution system downtime, and realizing autonomous production and stable operation of the production line.
Patent Information
- Application Number
- CN202211741227.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2042-12-30
AI Technical Summary
Manufacturing execution system (MES) outages cause production lines to become highly dependent on it, affecting production and making it impossible to detect faults in real time, resulting in defective products.
The central control equipment receives the overall production tasks from the manufacturing execution system, integrates the central control equipment, generates inspection tasks and reports to be inspected, avoids dependence on the manufacturing execution system, monitors the production line status in real time, and sends normal production information.
It enables autonomous production and fault detection on the production line even when the manufacturing execution system (MES) is down, avoiding the generation of defective products, reducing dependence on the MES, and improving production stability.
Smart Images

Figure CN115981261B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the production field, in particular to a production line control method and device, computer equipment and a computer readable storage medium. BACKGROUND
[0002] Manufacturing Execution System (MES) is a production information management system for the execution layer of the workshop, which is used to provide the execution data of the plan, the tracking data, and the current state of the resources such as equipment and materials in the workshop for the managers. With the complication of the production line of engineering machinery, the manufacturing execution system is integrated with various production lines of engineering machinery to build an automated, digitalized and intelligent production line of engineering machinery. Usually, each production line is integrated with the manufacturing execution system through the central control, which receives the production tasks sent by the manufacturing execution system and then executes the production by controlling the field devices in the production line.
[0003] However, after the integration of the production line and the manufacturing execution system, a strong dependency relationship between the production line and the manufacturing execution system will be formed. When the manufacturing execution system is down due to network failure or other reasons, the central control cannot communicate with the manufacturing execution system, which will affect the production of the production line. In addition, when the manufacturing execution system is down, the manufacturing execution system cannot detect the production line with faults in real time. After the operator of the production line detects that the production line produces defective products, the operator needs to re-produce or rework the defective products, which will affect the production of the production line. SUMMARY
[0004] The purpose of the embodiments of the present application is to provide a device for solving the problem that the down of the manufacturing execution system affects the production of the production line.
[0005] In order to achieve the above-mentioned purpose, in a first aspect, the present application provides a production line control method applied to a general control device, the method comprising:
[0006] Based on the received general production task sent by the manufacturing execution system, a production task is sent to each central control device, wherein the central control device is used to control the production line to produce;
[0007] According to the obtained running state of the central control device, a detection task of the production line is generated;
[0008] Based on the detection task, a to-be-detected report of the production line is generated, and the to-be-detected report is sent to the central control device;
[0009] According to the received detection feedback report sent by the central control device, production line normal production information is sent to the central control device.
[0010] With reference to the first aspect, in a first possible implementation manner, the detection task includes a first detection task and a type replacement detection task, and the generating the detection task of the production line according to the obtained running state of the central control device includes:
[0011] generating the first detection task of the production line in a case where the running state of the central control device is switched to a start state;
[0012] generating the type replacement detection task of the production line in a case where the running state of the central control device is switched to a material replacement state.
[0013] With reference to the first aspect, in a second possible implementation manner, the detection task includes a process detection task, and the generating the detection task of the production line according to the obtained running state of the central control device includes:
[0014] determining production execution data of the production line according to the obtained running state of the central control device;
[0015] generating the process detection task of the production line in a case where the production execution data is greater than a preset threshold.
[0016] With reference to the first aspect, in a third possible implementation manner, the sending the production task to each central control device based on the total production task sent by the manufacturing execution system includes:
[0017] receiving synchronization data and a total production task sent by a manufacturing execution system, wherein the synchronization data includes production line data and process route data;
[0018] sending a production task to a central control device of each production line according to the total production task and the synchronization data.
[0019] With reference to the first aspect, in a fourth possible implementation manner, the generating a to-be-detected report of the production line based on the detection task and sending the to-be-detected report to the central control device includes:
[0020] sending the detection task of the production line to the manufacturing execution system, and receiving an inspection item sent by the manufacturing execution system;
[0021] generating the to-be-detected report of the production line based on the detection task and the inspection item, and sending the to-be-detected report to the central control device.
[0022] With reference to the first aspect, in a fifth possible implementation manner, the method further includes:
[0023] generating a manual detection task of the production line in response to receiving a manual detection request.
[0024] In a second aspect, the application provides a production line control method applied to a central control device, the method comprising:
[0025] sending a material distribution instruction to a production material execution system and sending a production execution instruction to the production line in response to a production task sent by a general control device;
[0026] monitoring a production state of the production line in real time in response to normal production information sent by the general control device;
[0027] sending production completion information to the general control device in a case where the production state is a production completion state.
[0028] In combination with the second aspect, in a first possible implementation manner, the method further comprises:
[0029] sending a production stop instruction to the production line and sending a defective product isolation instruction to the production material execution system in response to production line abnormal production information sent by the general control device.
[0030] In combination with the second aspect, in a second possible implementation manner, after the sending of the production stop instruction to the production line and the sending of the defective product isolation instruction to the production material execution system in response to the production line abnormal production information sent by the general control device, the method further comprises:
[0031] sending an inspection request of the production line to the general control device in a case where the production line restarts.
[0032] In a third aspect, the application provides a production line control device applied to a general control device, the device comprising:
[0033] a production task sending module configured to send a production task to each central control device based on a general production task sent by a manufacturing execution system, wherein the central control device is configured to control a production line to produce;
[0034] a detection task generation module configured to generate a detection task of the production line according to an obtained running state of the central control device;
[0035] a detection report sending module configured to generate a to-be-inspected report of the production line based on the detection task and send the to-be-inspected report to the central control device;
[0036] a normal production module configured to send production line normal production information to the central control device according to a received detection feedback report sent by the central control device.
[0037] In a fourth aspect, the application provides a production line control device applied to a central control device, the device comprising:
[0038] The production execution module is configured to send material distribution instructions to a production material execution system and send production execution instructions to the production line in response to a production task sent by the general control device.
[0039] The state monitoring module is configured to monitor a production state of the production line in real time in response to normal production information sent by the general control device.
[0040] The completion information sending module is configured to send production completion information to the general control device in a case where the production state is a production completion state.
[0041] In a fifth aspect, the present application provides a computer device, which comprises a memory and a processor, and the memory stores a computer program, and the computer program, when executed on the processor, implements the production line control method according to the first aspect or the production line control method according to the second aspect.
[0042] In a sixth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program, when executed on a processor, implements the production line control method according to the first aspect or the production line control method according to the second aspect.
[0043] The present application provides a production line control method, which is applied to a general control device, and the method comprises the following steps: based on a general production task sent by a manufacturing execution system, sending a production task to each intermediate control device, wherein the intermediate control device is configured to control a production line to produce; generating a detection task of the production line according to an obtained running state of the intermediate control device; generating a to-be-detected report of the production line based on the detection task, and sending the to-be-detected report to the intermediate control device; and sending production line normal production information to the intermediate control device according to a received detection feedback report sent by the intermediate control device. The general control device and the intermediate control device are integrated to control the production line to execute production, which avoids the dependence of the intermediate control device on the manufacturing execution system and avoids the influence of the manufacturing execution system downtime on the production of the production line. Meanwhile, the detection task can be used to detect the production line in the production process, so that the production of defective products caused by the failure of the production line can be avoided.
[0044] Other features and advantages of the present application will be described in detail in the following specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0045] The accompanying drawings are included to provide a further understanding of the present application and constitute a part of the specification, which together with the specific embodiments below, serve to explain the present application, but do not constitute a limitation of the present application. In the drawings:
[0046] Figure 1 A flowchart of a first production line control method provided by the present application is shown.
[0047] Figure 2 A flow chart of a second production line control method provided by the embodiments of the present application is shown;
[0048] Figure 3 An application scenario diagram of a central control device provided by the embodiments of the present application is shown;
[0049] Figure 4 A structural schematic diagram of a first production line control device provided by the embodiments of the present application is shown;
[0050] Figure 5 A structural schematic diagram of a second production line control device provided by the embodiments of the present application is shown.
[0051] Explanation of reference signs
[0052] 310-central control device, 320-master control device, 330-manufacturing execution system, 340-material execution system, 350-production line. DETAILED DESCRIPTION
[0053] The specific implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the embodiments of the present application, and is not intended to limit the embodiments of the present application.
[0054] The components of the embodiments of the present application generally described and illustrated herein can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0055] Hereinafter, the terms "include", "have", and their synonymous words used in various embodiments of the present application are only intended to indicate that specific features, numbers, steps, operations, elements, components, or combinations thereof are present, and should not be understood as excluding the presence or addition of one or more other features, numbers, steps, operations, elements, components, or combinations thereof.
[0056] In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0057] Unless specifically defined, all other technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the application belong. The terminology used herein (e.g., the terminology used in the description of the figures) is for the purpose of describing particular embodiments of the application and is not intended to be limiting of various embodiments of the application. Unless otherwise defined, all terms of art used herein have the same meaning as commonly understood by one of ordinary skill in the art in the field of various embodiments of the application. The terminology used herein is for the purpose of describing particular embodiments of the application only and is not intended to be limiting of various embodiments of the application.
[0058] Embodiment 1
[0059] Please refer to Figure 1 , Figure 1 A flowchart of a first production line control method provided by an embodiment of the application is shown. Figure 1 The production line control method in the embodiment is applied to a general control device, and includes the following steps.
[0060] S110, based on the general production task sent by the manufacturing execution system received, sending a production task to each intermediate control device.
[0061] The intermediate control device is used to control the production line to produce. Since the suppliers and the time of entering the factory of the production line are different, when the intermediate control device directly communicates with the manufacturing execution system, a large amount of manpower is needed to perform interface connection and joint debugging. In the embodiment, the general control device communicates with multiple intermediate control devices, and the general control device communicates with the manufacturing execution system. The intermediate control device uniformly receives the general production task of the manufacturing execution system, reduces the connection workload of the manufacturing execution system and each intermediate control device, standardizes the interface of the manufacturing execution system, and facilitates the subsequent expansion and maintenance of the manufacturing execution system.
[0062] The manufacturing execution system does not communicate with the intermediate control device, and the manufacturing execution system also communicates with the general control device after sending the general production task. When the manufacturing execution system is down, the general control device and the intermediate control device are integrated. The general control device sends a production task to each intermediate control device, which does not depend on the manufacturing execution system to control the production line to perform production, thereby avoiding the influence of the down of the manufacturing execution system on the production of the production line.
[0063] As an example, the step of sending a production task to each intermediate control device based on the general production task sent by the manufacturing execution system received includes the following steps.
[0064] Receiving the synchronization data and the general production task sent by the manufacturing execution system, wherein the synchronization data includes production line data and process route data.
[0065] According to the general production task and the synchronization data, a production task is sent to the intermediate control device of each production line.
[0066] The total control device establishes communication with the manufacturing execution system, and the total control device synchronizes data with the manufacturing execution system. Specifically, the total control device receives synchronization data sent by the manufacturing execution system, wherein the synchronization data includes line data and process route data. The line data is used to locate the central control device and the line corresponding to the central control device, and the process route data is used to determine the standard time quota in each process in a processing route. It should be understood that the synchronization data can also include other data such as station data, factory number, and line equipment data, which are set according to actual needs and are not limited here.
[0067] Meanwhile, the total control device receives the total production task sent by the manufacturing execution system. According to the synchronization data, the total production task is decomposed into multiple production tasks, and the production tasks are sent to the central control devices of the corresponding factories according to the synchronization data, and the central control devices are used to control the line to perform production.
[0068] S120, according to the running state of the central control device obtained, generating a detection task of the line.
[0069] The total control device is integrated with the central control device, which reduces the dependence on the manufacturing execution system and realizes the automatic flow of production tasks in the line. At this time, the manufacturing execution system cannot detect faults in the line, and the total control device needs to generate a detection task of the line according to the running state of the central control device obtained, to trigger the line to perform self-detection to avoid producing defective products due to line faults.
[0070] As an example, the detection task includes a first detection task and a change detection task, and the generation of the detection task of the line according to the running state of the central control device obtained includes:
[0071] In the case where the running state of the central control device switches to the start state, a first detection task of the line is generated;
[0072] In the case where the running state of the central control device switches to the material replacement state, a change detection task of the line is generated.
[0073] When the total control device detects that the central control device is on shift, that is, the running state of the central control device switches to the start state, the central control device controls the line to perform a first detection, and a first detection task of the line is generated. The first detection task is used to determine the damage of the equipment in the line such as machine tools and molds after producing a certain number of parts, and is also used to send the loopholes of part quality management, process management and other management processes, and optimize the line of parts.
[0074] The production line needs to be replaced when the material to be cut needs to be replaced. In the case where the running state of the central control device is switched to the state of replacing the material, a type replacement detection task of the production line is generated. The type replacement detection task is used to detect the production line after replacing the material to avoid production of defective products due to production line failure.
[0075] As an example, the detection task includes a process detection task, and the detection task of the production line is generated according to the acquired running state of the central control device, including:
[0076] According to the acquired running state of the central control device, the production execution data of the production line is determined;
[0077] In the case where the production execution data is greater than a preset threshold, a process detection task of the production line is generated.
[0078] According to the acquired running state of the central control device, the production execution data of the production line is determined. Specifically, the production execution data can be the running time of the central control device, or the number of times of controlling the cutting of the material by the central control device. After the production line produces a certain number of parts, the damage of the equipment in the production line such as the machine tool and the mold may occur. In the case where the production execution data is greater than a preset threshold, a process detection task of the production line is generated. For example, in the case where the running time of the central control device is greater than a preset threshold, a process detection task of the production line is generated to detect whether the equipment failure occurs in the production line that has been running for a long time.
[0079] As an example, the method further includes:
[0080] In response to receiving the manual detection request, a manual detection task of the production line is generated.
[0081] In the actual production process, the on-site operator detects the production of the production line. When the operator finds that the production line produces defective products, the operator sends a manual detection request to the central control device by using a man-machine interaction device. The central control device generates a manual detection task of the production line in response to receiving the manual detection request.
[0082] S130, based on the detection task, a to-be-detected report of the production line is generated, and the to-be-detected report is sent to the central control device.
[0083] Based on the detection task, a to-be-detected report of the production line is generated, and the to-be-detected report is used to report whether the production line fails. The central control device sends the to-be-detected report to the central control device, and the operator detects the failure of the production line and fills out the to-be-detected report. At the same time, the failure detection device can also be used to detect the failure of the production line and fill out the to-be-detected report, which will not be described here.
[0084] As an example, the generating the detection report of the production line based on the detection task and sending the detection report to the central control device comprises:
[0085] sending the detection task of the production line to the manufacturing execution system and receiving the inspection item sent by the manufacturing execution system;
[0086] generating the detection report of the production line based on the detection task and the inspection item and sending the detection report to the central control device.
[0087] The central control device sends the detection task of the production line to the manufacturing execution system, the manufacturing execution system generates the inspection item according to the detection task of the production line, and the central control device receives the inspection item sent by the manufacturing execution system. For ease of understanding, the detection task in the embodiments of the present application includes detection task number, part number, inspection machine, inspection initiator, inspection initiation time, and inspection conclusion. The inspection item includes inspection item number, inspection item name, inspection standard, quantitative / qualitative, inspection upper limit value, inspection lower limit value, inspection target value, and whether it is a mandatory inspection item. The inspection item and the detection task are in a many-to-one relationship, which will not be described here.
[0088] The central control device generates the detection report of the production line based on the detection task and the inspection item, determines the inspection execution party of the production line, and sends the detection report to the central control device. The central control device in the production field detects the production line according to the received detection report and fills in the detection report.
[0089] S140, according to the detection feedback report sent by the central control device, sending the production line normal production information to the central control device.
[0090] The central control device generates the detection conclusion according to the detection feedback report sent by the central control device, wherein the detection conclusion includes that the production line has a fault and the production line does not have a fault. The central control device can also send the detection conclusion to the manufacturing execution system, which will not be described here.
[0091] In the case of production line failure, send the production line abnormal production information to the central control device to terminate production and avoid continuing to produce defective products. In the case where the production line does not have a fault, send the production line normal production information to the central control device, and the central control device controls the production line to continue production until the production line completes production. On the basis that the manufacturing execution system does not monitor the central control device and the production line, the detection task is used to detect the production line to avoid the production of defective products due to the failure of the production line.
[0092] The application provides a production line control method, which is applied to a general control device, and the method comprises the following steps: based on a general production task sent by a manufacturing execution system, a production task is sent to each intermediate control device, wherein the intermediate control device is used for controlling the production line to produce; a detection task of the production line is generated according to an obtained running state of the intermediate control device; a to-be-detected report of the production line is generated based on the detection task, and the to-be-detected report is sent to the intermediate control device; and production line normal production information is sent to the intermediate control device according to a detection feedback report sent by the intermediate control device. The general control device and the intermediate control device are integrated to control the production line to perform production, the dependence of the intermediate control device on the manufacturing execution system is avoided, and the influence of the downtime of the manufacturing execution system on the production of the production line is avoided. Meanwhile, the detection task can be used to detect the production line in the production process, and the production of defective products caused by the failure of the production line is avoided.
[0093] Embodiment 2
[0094] Please refer to Figure 2 , Figure 2 A flow chart of a second production line control method provided by an embodiment of the application is shown. Figure 2 The production line control method in the embodiment is applied to an intermediate control device, and comprises the following steps:
[0095] S210, in response to a production task sent by the general control device, a material distribution instruction is sent to a production material execution system (LES), and a production execution instruction is sent to the production line.
[0096] Please refer to Figure 3 , Figure 3 An application scenario diagram of the intermediate control device is shown.
[0097] Generally, a plurality of intermediate control devices 310 are integrated with the general control device, and for the convenience of understanding, only one intermediate control device 310 is shown in the figure. The general control device 320 obtains a plurality of production tasks according to a general production task sent by a manufacturing execution system 330. The intermediate control device 310 receives the production task sent by the general control device 320, and locally maintains a task queue to control the production line 350 to produce. Meanwhile, the intermediate control device 210 sends a material distribution instruction to a production material execution system 340, and the material execution system 340 controls an automated guided vehicle (AGV) to distribute materials according to the material distribution instruction.
[0098] It should be understood that the intermediate control device 310 and the general control device 320 can adopt a cloud-edge-end deployment architecture. The manufacturing execution system 330 is deployed in a private cloud, the general control device 320 is deployed in the cloud, and the intermediate control device is deployed in each factory edge node.
[0099] S220, in response to the normal production information sent by the general control device, monitoring the production state of the production line in real time.
[0100] The general control device generates a detection task of the production line according to the running state of the central control device, and detects the fault of the production line. In the case where the production line does not occur fault, the general control device sends normal production information to the central control device. The central control device monitors the production state of the production line in real time in response to the received normal production information, so as to monitor the execution state of the production task.
[0101] As an example, the method further comprises:
[0102] In response to the abnormal production information of the production line sent by the general control device, sending a production stop instruction to the production line and sending a defective product isolation instruction to the production material execution system.
[0103] In the case where the production line occurs fault, the general control device sends abnormal production information to the central control device. The central control device sends a production stop instruction to the production line to control the production line to stop production to avoid the production line to continue producing defective products. At the same time, the central control device sends a defective product isolation instruction to the production material execution system, and the material execution system controls the automated guided vehicle to isolate the defective products.
[0104] As an example, the method further comprises:
[0105] In the case where the restart request of the production line is received, sending an inspection request of the production line to the general control device.
[0106] After the central control device controls the production line to stop production, the production line is maintained to eliminate the fault. After the maintenance of the production line is completed, the operator can send a restart request of the production line to the central control device by using the man-machine interaction device, and the central control device sends an inspection request of the production line to the general control device to request the first inspection and the change inspection of the production line. In the case where the production line passes the first inspection and the change inspection, the central control device controls the production line to resume production. In the case where the production line does not pass the first inspection and the change inspection, the production line is maintained again, and the first inspection and the change inspection of the production line are repeated until the production line passes the first inspection and the change inspection.
[0107] S230, in the case where the production state is a production completion state, sending a production completion information to the general control device.
[0108] In a case that the production state is a production completion state, the central control device collects processing record information of the production line, generates completion information based on the processing record information, and sends the production completion information to the general control device. The general control device receives the production completion information, maintains a finished task queue, and synchronously sends the production completion information to the manufacturing execution system. The general control device sends production tasks to each central control device, controls the production line to perform production without depending on the manufacturing execution system, and avoids the influence of the manufacturing execution system downtime on the production of the production line.
[0109] Embodiment 3
[0110] Please refer to Figure 4 , Figure 4 Fig. 1 shows a structural schematic diagram of a first production line control device provided by an embodiment of the present application. Figure 4 The production line control device 400 in Fig. 1 is applied to a general control device and includes
[0111] A production task sending module 410 is configured to send production tasks to each central control device based on a general production task received from a manufacturing execution system, where the central control device is configured to control a production line to perform production.
[0112] A detection task generation module 420 is configured to generate a detection task of the production line according to an obtained running state of the central control device.
[0113] A detection report sending module 430 is configured to generate a to-be-detected report of the production line based on the detection task and send the to-be-detected report to the central control device.
[0114] A normal production module 440 is configured to send production line normal production information to the central control device according to a detection feedback report received from the central control device.
[0115] As an example, the detection task generation module 420 includes
[0116] A first detection task generation submodule is configured to generate a first detection task of the production line in a case that the running state of the central control device is switched to a start state.
[0117] A change type detection task generation submodule is configured to generate a change type detection task of the production line in a case that the running state of the central control device is switched to a material replacement state.
[0118] As an example, the detection task generation module 420 includes
[0119] A production execution data determination submodule is configured to determine production execution data of the production line according to the obtained running state of the central control device.
[0120] The process detection task generation submodule is configured to generate a process detection task of the production line when the production execution data is greater than a preset threshold.
[0121] As an example, the production task sending module 410 includes:
[0122] The data and task receiving submodule is configured to receive synchronization data and total production tasks sent by the manufacturing execution system, wherein the synchronization data includes production line data and process route data.
[0123] The task sending submodule is configured to send production tasks to the central control device of each production line according to the total production tasks and the synchronization data.
[0124] As an example, the detection report sending module 430 includes:
[0125] The inspection item receiving submodule is configured to send the detection task of the production line to the manufacturing execution system and receive inspection items sent by the manufacturing execution system.
[0126] The report sending submodule is configured to generate a to-be-detected report of the production line based on the detection task and the inspection items, and send the to-be-detected report to the central control device.
[0127] As an example, the production line control device 400 further includes:
[0128] The manual detection task generation module is configured to generate a manual detection task of the production line in response to a received manual detection request.
[0129] The production line control device 400 is configured to perform corresponding steps in the production line control method described above, and the specific implementation of each function is not described here. In addition, the optional examples in Embodiment 1 are also applicable to the production line control device 400 of Embodiment 3.
[0130] Embodiment 4
[0131] Please refer to Figure 5 , Figure 5 FIG. 4 shows a structural schematic diagram of a second production line control device provided by an embodiment of the present application. Figure 5 The production line control device 500 in FIG. 4 is applied to a central control device and includes
[0132] The production execution module 510 is configured to send material distribution instructions to a production material execution system and send production execution instructions to a production line in response to production tasks sent by a total control device.
[0133] The state monitoring module 520 is configured to monitor the production state of the production line in real time in response to normal production information sent by the total control device.
[0134] The completion information sending module 530 is configured to send production completion information to the general control device when the production state is a production completion state.
[0135] The production line control device 500 is configured to perform the corresponding steps in the production line control method described above, and the specific implementation of each function is not described here. In addition, the optional examples in Embodiment 2 are also applicable to the production line control device 500 of Embodiment 4.
[0136] The embodiments of the present application also provide a computer device, which comprises a memory and a processor, and the memory stores a computer program, and the computer program is used to implement the production line control method of Embodiment 1 or the production line control method of Embodiment 2 when the processor executes the computer program.
[0137] The production task sending module 410, the detection task generating module 420, the detection report sending module 430, the normal production module 440, the production executing module 510, the state monitoring module 520, and the completion information sending module 530 in the embodiments of the present application are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0138] The processor comprises a core, and the core retrieves the corresponding program units from the memory. The core can be set to one or more, and the core parameters are adjusted to solve the problem that the manufacturing execution system downtime affects the production of the production line.
[0139] The memory can include a non-permanent memory in a computer readable medium, a random access memory (RAM), and / or a non-volatile memory such as a read-only memory (ROM) or a flash memory (flash RAM), and the memory comprises at least one memory chip.
[0140] The embodiments of the present application also provide a computer readable storage medium, which stores a computer program, and the computer program is used to implement the production line control method of Embodiment 1 or the production line control method of Embodiment 2 when the processor executes the computer program.
[0141] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can be in the form of a computer program product implemented on one or more computer readable storage media containing computer usable program code (including but not limited to disk storage, CD-ROM, optical storage, etc.).
[0142] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps in one or more flow or blocks
[0143] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps in one or more flow or blocks
[0144] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps in one or more flow or blocks
[0145] In one typical configuration, the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0146] The memory can include non-persistent memory and / or volatile memory, such as a random access memory (RAM) including a cache area for the temporary storage of data. The memory can also include non-volatile memory, such as read only memory (ROM), electrically programmable read only memory (EPROM), or electrically erasable programmable read only memory (EEPROM), for the storage of software that is read during runtime. The memory is an example of computer readable media.
[0147] Computer-readable storage media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile discs (DVDs) or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.
[0148] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not include only those elements in the list, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0149] The above only describes the embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the scope of claims of the present application.
Claims
1. A production line control method applied to a master control device, characterized by, The method comprises: sending a production task to each central control device based on a total production task sent by a received manufacturing execution system, wherein the central control device is used to control the production line to produce; generating a detection task of the production line according to an obtained running state of the central control device; generating a to-be-detected report of the production line based on the detection task and sending the to-be-detected report to the central control device; sending production line normal production information to the central control device according to a received detection feedback report sent by the central control device; The method comprises: receiving synchronization data and a total production task sent by a manufacturing execution system, wherein the synchronization data comprises production line data and process route data, and the production line data is used to locate the central control device and the production line corresponding to the central control device; decomposing the total production task into a plurality of production tasks according to the synchronization data and sending the production tasks to the corresponding central control devices according to the synchronization data; The detection task comprises a first detection task and a change detection task, and the generating of the detection task of the production line according to the obtained running state of the central control device comprises: generating a first detection task of the production line in the case that the running state of the central control device is switched to a start state; generating a change detection task of the production line in the case that the running state of the central control device is switched to a material replacement state.
2. The line control method of claim 1, wherein, The detection task comprises a process detection task, and the generating of the detection task of the production line according to the obtained running state of the central control device comprises: determining production execution data of the production line according to the obtained running state of the central control device; generating a process detection task of the production line in the case that the production execution data is greater than a preset threshold.
3. The line control method of claim 1, wherein, The generating of the to-be-detected report of the production line based on the detection task and the sending of the to-be-detected report to the central control device comprise: sending the detection task of the production line to the manufacturing execution system and receiving an inspection item sent by the manufacturing execution system; generating a to-be-detected report of the production line based on the detection task and the inspection item and sending the to-be-detected report to the central control device.
4. The line control method of claim 1, wherein, The method further comprises: generating a manual detection task of the production line in response to a received manual detection request.
5. A line control device applied to a general control device, characterized by, The device comprises: a production task sending module configured to send a production task to each central control device based on a total production task sent by a received manufacturing execution system, wherein the central control device is used to control the production line to produce; a detection task generating module configured to generate a detection task of the production line according to an obtained running state of the central control device; a detection report sending module configured to generate a to-be-detected report of the production line based on the detection task and send the to-be-detected report to the central control device; a normal production module configured to send production line normal production information to the central control device according to a received detection feedback report sent by the central control device; The production task sending module comprises: The data and task receiving submodule is configured to receive synchronization data and total production tasks sent by a manufacturing execution system, wherein the synchronization data comprises line data and process route data, the line data is used for positioning the central control device and a line corresponding to the central control device; The task sending submodule is configured to decompose the total production tasks into a plurality of production tasks according to the synchronization data, and send the production tasks to the corresponding central control device according to the synchronization data. The detection task generation module comprises: The first detection task generation submodule is configured to generate a first detection task of the line in a case that the running state of the central control device is switched to a starting state. The type change detection task generation submodule is configured to generate a type change detection task of the line in a case that the running state of the central control device is switched to a material replacement state.
6. A computer device, comprising: The computer device comprises a memory and a processor, the memory stores a computer program, and the computer program is executed on the processor to implement the line control method in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed on the processor to implement the line control method in any one of claims 1 to 4.
Citation Information
Patent Citations
High-efficiency wire harness adhesive tape winding workstation and method thereof
CN114927289A
Robot task scheduling method and device, readable storage medium and electronic equipment
CN115271556A
Medical imaging equipment fault diagnosis system
CN213024002U