FUZZY ENERGY SAVING CONTROL METHOD FOR MANUFACTURING SYSTEM BASED ON REAL-TIME PRODUCTION DATA
20190041810 ยท 2019-02-07
Inventors
- Junfeng WANG (Wuhan, CN)
- Jin XUE (Wuhan, CN)
- Shiqi LI (Wuhan, CN)
- Yan FU (Wuhan, CN)
- Zicheng FEI (Wuhan, CN)
Cpc classification
G06F1/3287
PHYSICS
G05B13/042
PHYSICS
International classification
Abstract
The present invention belongs to the field of energy-saving control of manufacturing system and specifically discloses a fuzzy energy saving control method for a manufacturing system based on real-time production data, comprising: (1) obtaining the amount of work-in-process (WIP) in an upstream buffer and the amount of WIP in a downstream buffer of a currently running machine as two input variables for fuzzy reasoning; (2) performing fuzzy reasoning with a fuzzy rule based on the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer to obtain a fuzzy output value; and (3) comparing the fuzzy output value with a predefined threshold to determine whether the fuzzy output value is less than the threshold or not, if yes, stopping the currently running machine, and if not, keeping the current state. In the present invention, the effective energy consumption control of the manufacturing system can be realized, and this method has the advantages of convenience in operation, high applicability and the like.
Claims
1. A fuzzy energy saving control method for a manufacturing system based on real-time production data, comprising: (1) obtaining the amount of work-in-process (WIP) in an upstream buffer and the amount of WIP in a downstream buffer of a currently running machine as two input variables for fuzzy reasoning; (2) performing fuzzy reasoning with a fuzzy rule based on the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer to obtain a fuzzy output value; and (3) comparing the fuzzy output value with a predefined threshold to determine whether the fuzzy output value is less than the threshold or not, if yes, stopping the currently running machine, and if not, keeping the current state.
2. The fuzzy energy saving control method for the manufacturing system based on real-time production data of claim 1, wherein the step (2) specifically comprises the following sub-steps: (2.1) buffer capacity partition: equally dividing respective capacities of the upstream buffer and the downstream buffer into four intervals, the four intervals containing five equal diversion points which are respectively defined as an empty point, an almost-empty point, a normal point, an almost-full point and a full point; (2.2) machine state decision: based on the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer, respectively determining points to which they belong, and determining the machine state with a fuzzy rule according to the points to which the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer belong, the machine state including an ON state and an OFF state; and (2.3) fuzzy output value outputting: according to the points to which the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer belong, respectively calculating a membership degree or membership degrees corresponding to the amount of WIP in the upstream buffer and a membership degree or membership degrees corresponding to the amount of WIP in the downstream buffer, selecting corresponding membership degrees as output membership degrees according to the machine state, and finally selecting the largest output membership degree as a fuzzy output value.
3. The fuzzy energy saving control method for the manufacturing system based on real-time production data of claim 2, wherein the membership degrees are calculated by a center of gravity method, the specific process comprising: A) constructing X axis with the capacity of the upstream buffer or the capacity of the downstream buffer, equally dividing the capacity into four intervals, constructing Y axis with the membership degree, and then constructing a plurality of triangles with a height of 1 with the X axis as bases of the triangles; B) determining an interval at which the amount of WIP in the upstream buffer or the amount of WIP in the downstream buffer is located, namely, determining an interval at which the first input variable or the second input variable is located, obtaining an intersection point of the vertical line passing through the first input variable or the second input variable and the constructed triangle, and then cutting the constructed triangle with the horizontal line passing through the intersection point to obtain a triangle or trapezoid; and C) calculating the center of gravity of the triangle or trapezoid obtained in the step B) as a membership degree of the first input variable or the second input variable.
4. The fuzzy energy saving control method for the manufacturing system based on real-time production data of claim 2, wherein the method of selecting corresponding membership degrees as output membership degrees according to the machine state comprises: when the machine state is the ON state, selecting the larger membership degree in the membership degrees corresponding to the two input variables as an output membership degree; and when the machine state is the OFF state, selecting the smaller membership degree in the membership degrees corresponding to the two input variables as an output membership degree.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0038] For clear understanding of the objectives, features and advantages of the present invention, detailed description of the present invention will be given below in conjunction with accompanying drawings and specific embodiments. It should be noted that the embodiments described herein are only meant to explain the present invention, and not to limit the scope of the present invention.
[0039] During the running process of the manufacturing system, the running state and the energy consumption state of the machine correspond to each other, and different running states correspond to different energy consumption states. During the system operation, the machine has multiple running states, and the transition of these states may cause the power change in the device, thereby resulting in the change in the energy consumption of the machine, as shown in
[0040] In the present invention, by virtue of the sensors in the production site, level information in the buffers is obtained and shared in real time at discrete time points. A fuzzy logic controller is provided for the machine to process data information collected by the sensors in the production site so as to evaluate the state of the manufacturing system with the real-time data and make a decision (as shown in
[0041] Specifically, as shown in
[0042] (1) obtaining the amount of WIP in the upstream buffer (i.e., WIP level B.sub.i-1 in the upstream buffer) and the amount of WIP in the downstream buffer (i.e., WIP level B.sub.i in the downstream buffer) of a currently running machine M.sub.i (i is a positive integer, for example, M.sub.1 represents the first machine and M.sub.2 represents the second machine), and using these two data as two input variables for fuzzy reasoning;
[0043] (2) based on the two input variables (i.e., the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer), performing fuzzy reasoning with a fuzzy rule to obtain a fuzzy output value;
[0044] (3) comparing the fuzzy output value with a predefined threshold to determine whether the fuzzy output value is less than the threshold or not, if yes, stopping the currently running machine, and if not, keeping the currently running machine in the current state.
[0045] In actual operation, the above steps in the present invention can be implemented by adding sensors and fuzzy controllers to the manufacturing system so as to achieve energy-saving control of the machine.
[0046] Specifically, the step (2) comprises the following sub-steps:
[0047] (2.1) buffer capacity partition: equally dividing respective capacities n of the upstream buffer and the downstream buffer into four intervals, as shown in
[0048] (2.2) machine state decision: based on the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer, respectively determining points to which they belong, and according to the points to which the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer belong, determining the machine state with a fuzzy rule, the machine state including an ON state and an OFF state. Specifically, when the amount of WIP is equal to a value of one of the above five points, the corresponding point is the point to which the amount of WIP belongs; when the amount of WIP is between values of two adjacent points, it can be belong to the two adjacent points, respectively. For example, if the amount of WIP in the upstream buffer is 0.1n which is in the interval [0, 0.25n], it belongs to the empty point and the almost-empty point; and if the amount of WIP in the downstream buffer is 0.6n which is in the interval [0.5n, 0.75n], it belongs to the normal point and the almost-full point. In this case, four judgments are required with the fuzzy rule, i.e., judging the machine state in the following four cases: the amount of WIP in the upstream buffer belongs to the empty point and the amount of WIP in the downstream buffer belongs to the normal point; the amount of WIP in the upstream buffer belongs to the empty point and the amount of WIP in the downstream buffer belongs to the almost-full point; the amount of WIP in the upstream buffer belongs to the almost-empty point and the amount of WIP in the downstream buffer belongs to the normal point; and the amount of WIP in the upstream buffer belongs to the almost-empty point and the amount of WIP in the downstream buffer belongs to the almost-full point.
[0049] (2.3) fuzzy output value outputing: according to the points to which the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer belong, respectively calculating membership degrees corresponding to the amount of WIP in the upstream buffer and the amount of WIP in the downstream buffer, selecting corresponding membership degrees as output membership degrees according to the machine state, and finally selecting the largest output membership degree as a fuzzy output value with a value range of [0, 1]. For example, in the step (2.2), four judgments are performed, each judgment corresponds to one output membership degree, and finally the largest output membership degree among the four output membership degrees is selected as the fuzzy output value.
[0050] The step (2) is the core of the fuzzy control method of the present invention, in which the real-time WIP level in the buffers of the manufacturing process is described by membership degree functions. The WIP levels (i.e., the amount of WIP) in the upstream and downstream buffers are used as input values. Two fuzzy sets (i.e., two states of the machine) are determined by a fuzzy rule, as shown in
[0051] Further, the fuzzy rules are obtained based on expert knowledge, and are related to the type of the production line of the manufacturing system. Generally, in the production line of the manufacturing system, a serial unit (
[0052] A fuzzy rule is provided for each production unit. Specifically, as shown in Table 1-Table 3, for an assembly unit which has multiple upstream WIP levels and a disassembly unit which has multiple downstream WIP levels, each upstream WIP level or downstream WIP level is required to be judged.
TABLE-US-00001 TABLE 1 a fuzzy rule of a serial unit upstream downstream state empty almost-empty normal almost-full full empty N N Y Y Y almost-empty N N Y Y Y normal N N Y Y Y almost-full N N N N N full N N N N N
TABLE-US-00002 TABLE 2 a fuzzy rule of an assembly unit downstream j upstream downstream k state empty almost-empty normal almost-full full empty N N Y Y Y almost-empty N N Y Y Y normal N N Y Y Y almost-full N N N N N full N N N N N
TABLE-US-00003 TABLE 3 a fuzzy rule of a disassembly unit upstream k upstream j downstream state empty almost-empty normal almost-full full empty N N Y Y Y almost-empty N N Y Y Y normal N N Y Y Y almost-full N N N N N full N N N N N
[0053] The membership degree refers to the degree to which the input value belongs to a fuzzy set. The higher the membership degree, the higher the degree to which the input value belongs to the fuzzy set. The membership degree has a maximum value of 1, and when values of two input variables B.sub.i-1 and B.sub.i are input, the controller performs fuzzy reasoning on the input values with the fuzzy rule to obtain membership degrees corresponding to the two input variables.
[0054] In the present invention, a center of gravity method is preferably adopted for calculation. As shown in
[0055] Subsequently, the center of gravity of the triangle or trapezoid is calculated as a membership degree of the first input variable or the second input variable. Taking one of the input variables as an example, when the value of the input variable is equal to the value of a certain point, the vertical line passing through the point value intersects the vertex of the constructed triangle and in this case, the center of gravity of the triangle can be calculated as the membership degree of the input variable; when the value of the input variable is between two adjacent points, the vertical line passing through the input variable may intersects one side of each of two triangles to obtain two trapezoids, and in this case, center of gravities of the trapezoids are respectively calculated as membership degrees of the input variable, that is, the input variable may has two membership degrees.
TABLE-US-00004 TABLE 4 type and parameter of the membership degree function Membership degree function Type Parameter Upstream empty right angled triangle [0 0 0.25n] buffer almost-empty isosceles triangle [0 0.25n 0.5n] normal isosceles triangle [0.25n 0.5n 0.75n] almost-full isosceles triangle [0.5n 0.75n n] full right angled triangle [0.75n n n] Downstream empty right angled triangle [0 0 0.25n] buffer almost-empty isosceles triangle [0 0.25n 0.5n] normal isosceles triangle [0.25n 0.5n 0.75n] almost-full isosceles triangle [0.5n 0.75n n] full right angled triangle [0.75n n n]
[0056] In the present invention, the method of selecting corresponding membership degrees as output membership degrees according to the machine state comprises: if the machine is in an ON state, that is, the output fuzzy set corresponding to the rule is N, the larger membership degree in the membership degrees corresponding to the two input variables is selected as an output membership degree; and if the machine is in an OFF state, that is, the output fuzzy set corresponding to the rule is Y, the smaller membership degree in the membership degrees corresponding to the two input variables is selected as an output membership degree. Since the same input variables may correspond to multiple output fuzzy sets, i.e., corresponding to multiple output membership degrees, the largest output membership degree is finally used as a fuzzy output value.
[0057] After obtaining the fuzzy output value, it is necessary to determine whether the value reaches the criterion for changing the machine state. Thus, it is necessary to provide a decision threshold (i.e., a predefined threshold), so that when the fuzzy output value reaches a certain value, the criterion for changing the machine state is met, thereby achieving the control of the machine state. Specifically, when the fuzzy output value is less than the decision threshold, it tends to halt the machine and deliver stop information to the control system for the machine server; otherwise, the machine is not controlled.
[0058] The selection of the decision threshold value may have an impact on the throughput. The larger threshold means the larger control range, that is, the fuzzy control strength may be enhanced and the current machine throughput loss may be increased. In the present invention, energy consumption is controlled under the premise of minimizing the influence on the machine throughput. In order to reduce the impact on the machine throughput as much as possible, the choice of the threshold value cannot be too large. The smaller threshold value may result in the decrease of the fuzzy control strength and weakening of the energy consumption control of the current machine. Therefore, it is necessary to strike a balance between the machine throughput and the energy consumption control effect by optimizing the throughput and energy consumption based on an appropriate threshold. In general, multiple simulations can be carried out to control the machine throughput loss to be within 5% by the exhaustive method, and in this case, by comparing the machine throughput corresponding to different thresholds and the energy consumption value of a single product, an appropriate threshold of the controller is determined. The specific threshold can be defined according to the actual needs, and the invention is not limited thereto.
[0059] The following is an exemplary description of the fuzzy rules of the present invention.
Embodiment 1
[0060] This embodiment takes a serial unit as an example, in which the capacity of WIP in the upstream buffer is 100, and the capacity of WIP in the downstream buffer is 120. The specific method comprises:
[0061] (1) obtaining the amount of WIP of 50 in the upstream buffer and the amount of WIP of 25 in the downstream buffer in the currently running machine M.sub.3 based on sensors, and transmitting them to a fuzzy controller;
[0062] (2) based on the real-time data from the sensors, performing fuzzy reasoning with a fuzzy rule by the fuzzy controller to obtain a fuzzy output value. The specific process is as follows: an upstream buffer coordinate system and a downstream buffer coordinate system are respectively established; in the upstream buffer coordinate system, the X axis has a maximum value of 100 and is divided into four intervals including five points, the Y axis has a maximum value of 1 and the five points are respectively an empty point 0, an almost-empty point 25, a normal point 50, an almost-full point 75 and a full point 100. In the downstream buffer coordinate system, the X axis has a maximum value of 120 and is divided into four intervals including five points, the Y axis has a maximum value of 1 and the five points are respectively an empty point 0, an almost-empty point 30, a normal point 60, an almost-full point 90 and a full point 120. It is known that the amount of WIP of 50 in the upstream buffer belongs to the normal point and the amount of WIP of 25 in the downstream buffer belongs to the empty point and the almost-empty point, and then two judgments are required according to the fuzzy rule (see Table 1), the reasoning result being Y. According to the amount of WIP of 50 in the upstream buffer, the corresponding membership degree A is calculated in the following way. As shown in
[0063] (3) comparing the fuzzy output value with a predefined threshold (which is defined according to actual needs) by the fuzzy controller to determine whether the fuzzy output value is less than the threshold or not, if yes, sending a stop control command to stop the currently running machine, and if not, keeping the currently running machine in the current state, namely, keeping the currently machine running without stopping.
Embodiment 2
[0064] This embodiment takes a serial unit as an example, in which capacity of WIP in the upstream buffer is 200, and the capacity of WIP in the downstream buffer is 200. The specific method comprises:
[0065] (1) obtaining the amount of WIP of 190 in the upstream buffer and the amount of WIP of 140 in the downstream buffer in the currently running machine M.sub.8 by sensors, and transmitting them to a fuzzy controller;
[0066] (2) based on the real-time data from the sensors, performing fuzzy reasoning with a fuzzy rule by the fuzzy controller to obtain a fuzzy output value. The specific process is as follows: respectively establishing an upstream buffer coordinate system and a downstream buffer coordinate system, in which in the upstream buffer coordinate system, the X axis has a maximum value of 200 and is divided into four intervals including five points, the Y axis has a maximum value of 1 and the five points are respectively an empty point 0, an almost-empty point 50, a normal point 100, an almost-full point 150 and a full point 200. In the downstream buffer coordinate system, the X axis has a maximum value of 200 and is divided into four intervals including five points, the Y axis has a maximum value of 1 and the five points are respectively an empty point 0, an almost-empty point 50, a normal point 100, an almost-full point 150 and a full point 200. It is known that the amount of WIP of 190 in the upstream buffer belongs to the almost-full point and the full point. The amount of WIP of 140 in the downstream buffer belongs to the normal point and the almost-full point. Then the following four judgments are required according to the fuzzy rule (see Table 1): if the amount of WIP in the upstream buffer belongs to the almost-full point and the amount of WIP in the downstream buffer belongs to the normal point, the reasoning result is Y; if the amount of WIP in the upstream buffer belongs to the near-full point and the amount of WIP in the downstream buffer belongs to the almost-full point, the reasoning result is N; if the amount of WIP in the upstream buffer belongs to the full point and the amount of WIP in the downstream buffer belongs to the normal point, the reasoning result is Y; and if the amount of WIP in the upstream buffer belongs to the full point and the amount of WIP in the downstream buffer belongs to the almost-full point, the reasoning result is N; according to the amount of WIP of 190 in the upstream buffer, the corresponding membership degrees are calculated in the following way: as shown in
[0067] (3) comparing the fuzzy output value with a predefined threshold (which is defined according to actual needs) by the fuzzy controller to determine whether the fuzzy output value is less than the threshold or not, if yes, sending a stop control command to stop the currently running machine, and if not, keeping the currently running machine in the current state, namely, keeping the currently machine running without stopping.
[0068] The following are specific application examples of the present invention.
[0069] In the MATLAB/Simulink simulation environment, a manufacturing system model is built using the Fuzzy Logic Toolbox and the Simevents Toolbox, in which the production line system is decomposed into basic control units, and a fuzzy controller is provided for each control unit so that the total energy consumption of the system is greatly reduced under the premise of an acceptable system throughput of 5-10%. The simulations proved that the production line structure applicable to the invention includes a serial production line and different types of serial-parallel hybrid production lines.
[0070] By taking a 5M4B serial manufacturing system as an example (
TABLE-US-00005 TABLE 5 basic parameters of machines of the 5M4B serial line Processing Warm-up Energy MTBF MTTR cycle time consumption (min) (min) (min) (min) (kw/h) M1 100 4.95 0.5 1.4 21 M2 45.6 11.7 0.5 0.9 14 M3 98.8 15.97 0.5 1.35 20 M4 217.5 27.28 0.5 1.05 16 M5 109.4 18.37 0.5 0.85 13
TABLE-US-00006 TABLE 6 parameters of buffers of the 5M4B serial line Buffer1 Buffer2 Buffer3 Buffer4 Capacity 70 18 18 42 Initial value 32 8 8 8
[0071] (1) A Case where the System is not Controlled
[0072] The simulation results are shown in Tables 7 and 8. According to the analysis in Table 6, during the operation of the 5M4B serial manufacturing system, the machines M1 and M2 are in a blocked state for a long time and the machines M4 and M5 are in a starvation state for a long time. According to the judgment of the bottleneck station, it can be known that the bottleneck of the production line is the machine M3, and each machine in the manufacturing system has a long-time no-load running state, and thus has a large energy-saving potential.
TABLE-US-00007 TABLE 7 throughputs of machines of the uncontrolled 5M4B serial line Throughout Energy consumption Machine 95% confidence interval (average) (kWh) M1 (579.28, 673.81) 626 138.66 M2 (553.76, 623.79) 588 78.01 M3 (560.78, 620.86) 590 120.71 M4 (552.29, 632.48) 592 95.78 M5 (558.44, 620.49) 589 76.54
TABLE-US-00008 TABLE 8 states of machines of the uncontrolled 5M4B serial line Fault warm-up processing Starvation Ratio Block Ratio time time time (s) (%) (s) (%) (s) (s) (s) M1 0 0 6972 24.21 2376 672 18780 M2 0 0 2844 5.917 7722 594 17640 M3 3260 11.31 2644 9.181 4791 405 17700 M4 5865 20.36 76 0.264 4910 189 17700 M5 5364 18.62 0 0 5511 255 17670
[0073] (2) A Case where a Controller is Provided for the Machine M1 (Namely, the System is Controlled According to the Present Invention)
[0074] In the control of the manufacturing system, a fuzzy controller is provided for each machine. For the purpose of research and analysis, in the present invention, a single machine is selected for control analysis. When the machine M1 is controlled based on the fuzzy method, the running effect of the manufacturing system is as shown in Table 9 below. It can be obtained that the throughput of the machine M1 is reduced, but it does not affect the throughput of the entire manufacturing system, i.e., the throughput of the machine M5. Compared with the uncontrolled situation, the energy consumption of the machine M1 has dropped by 17.32%.
TABLE-US-00009 TABLE 9 change in throughput and energy consumption of the serial line when M1 is controlled Energy Throughout Energy consumption Control 95% confidence Throughout change Consumption change time Machine interval (average) (%) (Kwh) (%) (s) M1 (569.37, 659.48) 614 1.92% 113.92 17.32% 10200 M2 (501.49, 630.14) 588 0 78.01 0 0 M3 (496.06, 630.75) 590 0 120.71 0 0 M4 (501.46, 638.42) 592 0 95.78 0 0 M5 (520.16, 640.19) 589 0 76.54 0 0
[0075] It can be seen from
[0076] Before and after the control, the change of the WIP level in the buffer B1 is as shown in
[0077] It can be seen from the analysis in Table 8 that there is no change in the operating state of the machines M2, M3, M4, and M5 before and after the control of the machine M1. Therefore, the difference in energy consumption of the entire manufacturing system before and after the control results from the machine M1, and other uncontrolled machines have no change in energy consumption. According to the state distribution of the respective machines under the condition of no control, the remaining machines on the production line are controlled separately, and the system energy consumptions before and after the control are compared. It can be found that the no-load running times of the controlled machines drop dramatically in a case that the total throughput of the production line is basically unchanged, resulting in the decrease of the energy consumption of the controlled machines.
[0078] (3) Multi-Machine Energy-Saving Control
[0079] A controller is provided for each machine station except the bottleneck machine M3 in a simulation model, and simulation is performed for 50 times to obtain the mean value. Table 10 shows running states of the system when four machines are controlled at the same time. According to the energy consumption change of each machine before and after the control, it can be obtained that the throughput loss of the serial manufacturing system is about 3.23% and the overall energy consumption is reduced by 11.83%. The throughput loss of the system mainly results from the end station, i.e., the machine M5. That is, the throughput loss of the machine M5 is equal to the throughput loss of the system. As for the decline of the system energy consumption, the specific data is obtained by making statistics of the energy consumption change of each machine before and after the control in the production line and the comparison of energy consumptions before and after the control in the production line.
TABLE-US-00010 TABLE 10 change in throughput and energy consumption of the serial line when multiple machines are controlled Energy Throughout Energy consumption Control 95% confidence Throughout change Consumption change time Machine interval (average) (%) (Kwh) (%) (s) M1 (564.27, 650.41) 613 2.077 113.16 18.39 10178 M2 (517.44, 620.48) 583 0.851 71.80 7.96 0 M3 (491.17, 610.95) 585 1.017 120.38 0.27 7542 M4 (516.06, 627.26) 583 1.520 80.09 16.38 8331 M5 (524.76, 648.27) 570 3.226 63.96 16.44 9874
[0080] The results show that by the fuzzy control of the machine, the WIP level in the buffer between two machines can be maintained at a stable state to ensure the balance of the production line. In this way, the no-load running time of the respective machine can be reduced under the premise of basically unchanged system throughput, thereby achieving the purpose of energy consumption reduction of the production line.
[0081] While particular embodiments of the present invention have been shown and described, it will be obvious to those skilled in the art that changes and modifications may be made without departing from the spirit and scope of the present invention.