Method and apparatus for acquiring estimated unit energy consumption of workpieces, electronic device and medium
By obtaining the energy used in the production line and the number of workpieces, generating sample pairs and inputting them into statistical models, the problem of estimating the unit energy consumption of workpieces is solved and more refined energy management is achieved.
Patent Information
- Application Number
- PCT/CN2023/120772
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-03-27
AI Technical Summary
In a modern factory environment, although the manufacturing process of each workpiece on the production line can be tracked through the Manufacturing Execution System (MES), the unit energy consumption of the workpiece in each process of the production line cannot be effectively estimated, which is an important drawback of refined energy consumption management.
By obtaining the energy used in the production line within multiple time periods and the number of workpieces passed through each process, a sample pair is generated, and these sample pairs are input into a preset statistical model for calculation, to output the unit energy consumption estimate of each type of workpiece in each process.
It has achieved rapid acquisition of workpiece unit energy consumption estimates, helping modern factories arrange energy plans more reasonably and improve the precision and accuracy of energy management.
Smart Images

Figure CN2023120772_27032025_PF_FP_ABST
Abstract
Description
Method, device, electronic device and medium for obtaining workpiece unit energy consumption estimation Technical Field
[0001] The embodiments of the present application mainly relate to the field of production, and in particular to a method, device, electronic device and medium for obtaining an estimate of the unit energy consumption of a workpiece. Background Art
[0002] Each production system typically includes several large automated production lines, each of which consists of multiple processes. In modern factory environments, with the development of Manufacturing Execution Systems (MES), while the manufacturing process of each workpiece on the production line can now be tracked through MES systems, estimating the unit energy consumption of each workpiece in each process of the production line remains infeasible. However, unit energy consumption of a workpiece is a key indicator for refined energy management, helping modern factories to more rationally plan their energy consumption.
[0003] Summary of the Invention
[0004] The embodiments of the present application provide a method, device, electronic device, and medium for obtaining an estimate of the unit energy consumption of a workpiece. The embodiments of the present application can help users quickly obtain an estimate of the unit energy consumption of a workpiece in a related process.
[0005] In a first aspect, a method for obtaining an estimate of unit energy consumption of a workpiece is provided, comprising: obtaining the energy consumption of a first production line in a first time period; obtaining the number of workpieces passing through each process of the first production line for each of a plurality of production types in the first production line; generating a sample pair corresponding to the first time period, wherein the sample pair includes the energy consumption of the first production line in the first time period, the number of workpieces of each type passing through each process of the first production line, and the first time period; determining a plurality of time periods, and generating a sample pair for each of the plurality of time periods; inputting all the sample pairs into a preset statistical model for calculation, so as to output an estimate of unit energy consumption of each type of workpiece in each process through the preset statistical model.
[0006] In a second aspect, a device for obtaining an estimate of unit energy consumption of a workpiece is provided, comprising: a first acquisition module, configured to obtain the energy consumption of a first production line in a first time period; a second acquisition module, configured to obtain, for each of a plurality of production types in the first production line, the number of workpieces passing through each process of the first production line; a generation module, configured to generate a sample pair corresponding to the first time period, wherein the sample pair includes the energy consumption of the first production line in the first time period, the number of workpieces of each type passing through each process of the first production line, and the first time period; a determination module, configured to determine a plurality of time periods and generate a sample pair for each of the plurality of time periods; an estimation module, configured to input all the sample pairs into a preset statistical model for calculation, so as to output an estimate of unit energy consumption of each type of workpiece in each process through the preset statistical model.
[0007] In a third aspect, an electronic device is provided, comprising: at least one memory configured to store computer-readable code; and at least one processor configured to call the computer-readable code and execute each step of the method provided in the first aspect.
[0008] In a fourth aspect, a computer-readable medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the processor executes each step in the method provided in the first aspect.
[0009] In a fifth aspect, a computer program product is provided, which is tangibly stored on a computer-readable medium and includes computer-executable instructions, which, when executed, cause at least one processor to perform the steps in the method provided in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The following figures are intended only to illustrate and explain the embodiments of the present application and are not intended to limit the scope of the embodiments of the present application.
[0011] FIG1 is a schematic diagram of a method for obtaining an estimate of unit energy consumption of a workpiece according to an embodiment of the present application;
[0012] FIG2 is a schematic diagram of an apparatus for obtaining an estimate of unit energy consumption of a workpiece according to an embodiment of the present application;
[0013] FIG3 is a schematic diagram of an electronic device according to an embodiment of the present application.
[0014] Explanation of reference numerals 100: Method for obtaining workpiece unit energy consumption estimation 101-105: Method steps 20: Apparatus for obtaining workpiece unit energy consumption estimation 21: First acquisition module 22: Second acquisition module 23: Generation module 24: Determination module 25: Estimation module 300: Electronic device 301: Processor 302: Communication interface 303: Memory 304: Communication bus
[0015] 305: Procedure DETAILED DESCRIPTION
[0016] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that discussing these embodiments is intended only to enable those skilled in the art to better understand and implement the subject matter described herein, and is not intended to limit the scope of protection, applicability, or examples set forth in the claims. The functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the embodiments of the present application. Various examples may omit, replace, or add various processes or components as needed. For example, the described method may be performed in an order different from the described order, and various steps may be added, omitted, or combined. In addition, features described relative to some examples may also be combined in other examples.
[0017] As used herein, the term "including" and its variations are open terms meaning "including but not limited to". The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other definitions may be included below, whether explicit or implicit. Unless the context clearly indicates otherwise, the definition of a term is consistent throughout the specification.
[0018] This embodiment of the present application obtains a plurality of time periods corresponding to the energy consumption of a production line, the number of workpieces of each type passing through each process of the production line, and sample pairs for the first time period. All obtained sample pairs are then input into a preset statistical model for calculation, thereby obtaining an estimated unit energy consumption for each type of workpiece in each process.
[0019] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0020] FIG1 is a schematic diagram of a method for obtaining an estimated unit energy consumption of a workpiece according to an embodiment of the present application. As shown in FIG1 , the method 100 for obtaining an estimated unit energy consumption of a workpiece includes:
[0021] Step 101: Obtain energy consumption of a first production line in a first time period.
[0022] Optionally, energy consumption includes electricity consumption or gas consumption.
[0023] Step 102 : For each of the multiple production types in the first production line, obtain the number of workpieces that have passed through each process of the first production line.
[0024] Optionally, a Manufacturing Execution System (MES) may be used to obtain information such as the energy consumption of the production line and the number of workpieces passing through the relevant process.
[0025] Optionally, before step 102, the IDs (unique identification numbers) of all workpieces that passed through the first production line during the first time period can be obtained. Based on the IDs of all workpieces, the production types / brands corresponding to the IDs of all workpieces can be determined. Alternatively, the IDs can be obtained by scanning a QR code on the workpiece with a scanner.
[0026] In one embodiment, before step 102, for workpieces corresponding to the subsequent process of the process at the start of the first time period that have not yet completed the process at the end of the first time period, the time when the workpiece entered the subsequent process and the time when the workpiece entered the subsequent process are obtained to calculate the production time ratio. The production time ratio is then used as a correction value. Next, based on the number of workpieces that passed through each process of the first production line and the correction value, the number of workpieces that passed through each process of the first production line is obtained.
[0027] In one embodiment, assuming that the first time period is [t s ,t e ], for the production line 1 at t e For workpieces that have not completed the second process at this moment, we obtain the time t′2 when they enter the second process from MES, where t s ≤t′2 <t e , and the time t′3 when entering the third process, where t′3>t e , we use the production time ratio As a supplement to this number of artifacts.
[0028] Step 103 : Generate sample pairs corresponding to the first time period, wherein the sample pairs include the energy consumption of the first production line during the first time period, the number of workpieces of each type passing through each process of the first production line, and the first time period.
[0029] In one embodiment, the energy consumption of the i-th production line in the first time period can be expressed as E i Indicates that x can be used ijk represents the number of workpieces of the kth type that have passed the jth process in the first time period, and the sample pairs corresponding to the first time period can be expressed as Wherein, i=1…n, n is a positive integer; represents any j, represents any k. Optionally, x ijk It does not have to be an integer, and decimals can be used depending on the completion status.
[0030] In one embodiment, before step 103, the production characteristics of the first time period are obtained. The characteristic information of the workpieces passing through each process of the first production line is obtained. The production characteristics can be expressed as F i1 For example, factory weather data, worker schedule data, etc. The feature information of the workpiece can be represented by F i2 Indicates, for example, vehicle length, engine power, vehicle weight, etc. The sample pair in this scenario can be expressed as Wherein, i=1…n, n is a positive integer; represents any j, represents any k.
[0031] Step 104 : determining multiple time periods and generating sample pairs for each of the multiple time periods.
[0032] In other words, referring to steps 101 to 103, sample pairs corresponding to multiple time periods can be generated. For example, the sample pair corresponding to the first time period is (2500, ((30.3, 28.5), (10, 6.2)), 1), where 2500 kilowatt-hours (kwh) is the total power consumption of the first production line in the first time period, 30.3 (pieces) is the number of brand A produced in the first process in the first time period, and 28.5 (pieces) is the number of brand A produced in the second process in the first time period; 10 (pieces) is the number of brand B produced in the first process in the first time period, and 6.2 (pieces) is the number of brand B produced in the second process in the first time period. The length of the first time period is 1 hour. The sample pairs corresponding to the second time period are (4300, ((10, 9.5), (50, 42.8)), 2) where 4300 kilowatt-hours (kwh) is the total power consumption of the first production line in the second time period, 10 (pieces) is the quantity produced by brand A in the first process in the first time period, and 9.5 (pieces) is the quantity produced by brand A in the second process in the first time period; 50 (pieces) is the quantity produced by brand B in the first process in the first time period, and 42.8 (pieces) is the quantity produced by brand B in the second process in the first time period. The length of the first time period is 2 hours.
[0033] In step 105 , all sample pairs are input into a preset statistical model for calculation, so as to output an estimated unit energy consumption of each type of workpiece in each process through the preset statistical model.
[0034] Optionally, the preset statistical model includes a self-explanatory neural network model.
[0035] The preset statistical model can be expressed by the following formula:
[0036] Where, Δt i Represents a certain period of time, x ijk Indicates that the length is Δt i The number of workpieces of the kth type that pass through the jth process in the i-th time interval; E i Indicates the energy consumption of the production line in a certain period of time; β jk represents the unit energy consumption of the kth type of workpiece in the jth process; α represents the basic energy consumption of the first production line per unit time, such as the energy consumption of the lighting system or conveyor belt. jk It can be a scalar (i.e. fixed value), or the above formula can be about α and β jk , included in the self-explanatory neural network model.
[0037] Consider a car factory with multiple production lines, such as one for chassis, one for interior trim, and one for final assembly. The chassis production line has multiple processes, such as axle assembly, engine assembly, and wheel assembly. Each production line can also produce parts of multiple brands. Using the examples in this application, we can estimate the unit energy consumption of chassis of multiple brands at each process.
[0038] This embodiment of the application benefits from the rich data recorded in the MES. MES data better represents the actual production situation, which is subject to randomness caused by various factors. A regression model is used to incorporate the coupling of different production processes into the unit energy consumption estimation of the workpiece. The resulting estimate is more accurate and helps users with subsequent energy planning. Furthermore, this embodiment of the application is low-cost, easy to operate, and does not affect any production processes.
[0039] FIG2 is a schematic diagram of an apparatus for obtaining an estimated unit energy consumption of a workpiece according to an embodiment of the present application. As shown in FIG2 , the apparatus 20 for obtaining an estimated unit energy consumption of a workpiece includes:
[0040] The first acquisition module 21 is configured to acquire energy consumption of the first production line within a first time period.
[0041] The second acquisition module 22 is configured to acquire, for each of the multiple production types in the first production line, the number of workpieces that have passed through each process of the first production line.
[0042] The generation module 23 is configured to generate a sample pair corresponding to the first time period, wherein the sample pair includes the energy consumption of the first production line in the first time period, the number of workpieces of each type passing through each process of the first production line, and the first time period.
[0043] The determination module 24 is configured to: determine a plurality of time periods, and generate a sample pair for each of the plurality of time periods.
[0044] The estimation module 25 is configured to input all sample pairs into a preset statistical model for calculation, so as to output an estimate of the unit energy consumption of each type of workpiece in each process through the preset statistical model.
[0045] The embodiments of the present application can help users quickly obtain an estimate of the unit energy consumption of workpieces in related processes.
[0046] FIG3 is a schematic diagram of an electronic device according to an embodiment of the present application. The specific embodiments of the present application do not limit the specific implementation of the electronic device. As shown in FIG3 , the electronic device 300 may include: a processor 301, a communications interface 302, a memory 303, and a communication bus 304.
[0047] The processor 301 , the communication interface 302 , and the memory 303 communicate with each other via the communication bus 304 .
[0048] The communication interface 302 is used to communicate with other electronic devices or servers.
[0049] The processor 301 is configured to execute the program 302 , and specifically may execute the relevant steps in any one of the aforementioned method embodiments.
[0050] Specifically, the program 305 may include program codes, which include computer operation instructions.
[0051] Processor 301 may be a CPU, an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs, or processors of different types, such as one or more CPUs and one or more ASICs.
[0052] The memory 303 is used to store the program 305. The memory 303 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0053] The program 305 can be specifically used to enable the processor 301 to execute any one of the multiple method embodiments in the aforementioned embodiments.
[0054] The specific implementation of each step in procedure 305 can be found in the corresponding descriptions of the corresponding steps and units in the aforementioned embodiment of the method for obtaining a workpiece unit energy consumption estimate, and will not be repeated here. Those skilled in the art will clearly understand that for ease and brevity of description, the specific operating processes of the devices and modules described above can be referenced to the corresponding process descriptions in the aforementioned method embodiment, and will not be repeated here.
[0055] The present application also provides a computer-readable storage medium storing instructions for causing a machine to perform any of the multiple method embodiments described herein. Specifically, a system or device equipped with a storage medium can be provided, wherein the storage medium stores software program code that implements the functions of any of the above-described embodiments, and a computer (or CPU or MPU) of the system or device can read and execute the program code stored in the storage medium.
[0056] In this case, the program code read from the storage medium itself can realize the function of any one of the above embodiments, so the program code and the storage medium storing the program code constitute part of this application.
[0057] Examples of storage media for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, the program code can be downloaded from a server computer via a communication network.
[0058] An embodiment of the present application also provides a computer program product, including computer instructions, which instruct a computing device to perform any corresponding operation in the above-mentioned multiple method embodiments.
[0059] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0060] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or can be implemented as software or computer code that can be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or can be implemented as computer code that is originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded via a network and will be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a special-purpose processor or programmable or special-purpose hardware (such as ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the method shown here, the execution of the code converts the general-purpose computer into a special-purpose computer for executing the method shown here.
[0061] It should be noted that not all steps and modules in the above processes and system structure diagrams are required, and certain steps or modules can be omitted according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or may be implemented by certain components in multiple independent devices.
[0062] In the above embodiments, the hardware module can be implemented mechanically or electrically. For example, a hardware module can include a permanent dedicated circuit or logic (such as a dedicated processor, FPGA or ASIC) to complete the corresponding operation. The hardware module can also include programmable logic or circuits (such as a general-purpose processor or other programmable processors), which can be temporarily set by software to complete the corresponding operation. The specific implementation method (mechanical method, or dedicated permanent circuit, or temporarily set circuit) can be determined based on cost and time considerations.
[0063] The present invention has been shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the code review methods in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the scope of protection of the present invention.
[0064] Nouns and pronouns referring to persons in this patent application are not limited to a specific gender.
Claims
1. A method for obtaining an estimate of unit energy consumption of a workpiece, comprising: - obtaining (101) energy consumption of a first production line in a first time period; - for each of a plurality of production types in the first production line, obtaining (102) the number of workpieces that have passed through each process of the first production line; - generating (103) a sample pair corresponding to the first time period, wherein the sample pair includes the energy consumption of the first production line in the first time period, the number of workpieces of each type passing through each process of the first production line, and the first time period; - determining (104) a plurality of time periods and generating a sample pair for each of the plurality of time periods; - Input all sample pairs into a preset statistical model for calculation (105), so as to output the estimated unit energy consumption of each type of workpiece in each process through the preset statistical model.
2. The method according to claim 1, wherein: The preset statistical model includes a self-explanatory neural network model.
3. The method according to claim 1, wherein: - before obtaining (102) the number of workpieces that have passed through each process of the first production line for each of the plurality of production types in the first production line, the method further comprises: - Obtaining the IDs of all workpieces that passed through the first production line during the first time period; - According to the IDs of all the workpieces, the types corresponding to the IDs of all the workpieces are determined.
4. The method according to claim 1, wherein: - The step of obtaining (102) the number of workpieces that pass through each process of the first production line includes: -According to the number of workpieces passing through each process of the first production line and the correction value, obtaining the number of workpieces passing through each process of the first production line; - Before obtaining (102) the number of workpieces that have passed through each process of the first production line, the method further comprises: - for a workpiece corresponding to a subsequent process of the process at the start time of the first time period that has not been completed at the end time of the first time period, obtaining the time when the workpiece enters the subsequent process and the time when the workpiece enters the next process after the subsequent process, so as to calculate the production time ratio; - Using the production time ratio as a correction value.
5. The method according to claim 1, wherein: - Before generating (103) the sample pairs corresponding to the first time period, the method further comprises: - obtaining production characteristics of the first time period; - Obtaining feature information of workpieces passing through each process of the first production line.
6. The method according to claim 1, wherein: The energy consumption includes: electricity consumption or gas consumption.
7. A device for obtaining an estimate of unit energy consumption of a workpiece, comprising: - a first acquisition module (21), configured to: acquire energy consumption of a first production line within a first time period; - a second acquisition module (22), configured to: for each of a plurality of production types in the first production line, acquire the number of workpieces that have passed through each process of the first production line; - a generation module (23), configured to: generate a sample pair corresponding to the first time period, wherein the sample pair includes the energy consumption of the first production line in the first time period, the number of workpieces of each type passing through each process of the first production line, and the first time period; - a determination module (24), configured to: determine a plurality of time periods, and generate a sample pair for each of the plurality of time periods; - An estimation module (25) configured to: input all sample pairs into a preset statistical model for calculation, so as to output a unit energy consumption estimation of each type of workpiece in each process through the preset statistical model.
8. An electronic device (300), comprising: A processor (301), a communication interface (302), a memory (303) and a communication bus (304), wherein the processor (301), the memory (303) and the communication interface (302) communicate with each other via the communication bus (304); The memory (303) is used to store at least one executable instruction, and the executable instruction enables the processor to execute an operation corresponding to the method for obtaining an estimate of unit energy consumption of a workpiece according to any one of claims 1 to 6.
9. A computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for obtaining an estimate of unit energy consumption of a workpiece according to any one of claims 1 to 6.
10. A computer program product, the computer program product being tangibly stored on a computer-readable medium and comprising computer-executable instructions, which when executed cause at least one processor to perform the method for obtaining workpiece specific energy consumption estimation according to any one of claims 1-6.
Citation Information
Patent Citations
Machining workshop workpiece energy consumption quota formulation method
CN104678890A
Level-3 energy consumption and production management method suitable for small and medium-sized production enterprises
CN105160476A
Unit consumption monitoring method for product production line
CN110111028A
Energy consumption calculation method for multi-product production line
CN110991938A
Methods, systems, media, and program products for energy monitoring and management
CN114596693A