The present invention belongs to the field of energy-saving control of manufacturing system, and more particularly relates to a fuzzy energy saving control method for a manufacturing system based on real-time production data.
With the widespread application of industrial Internet, RFID, robotics and other sensing and automation equipment in the manufacturing field, the automation degree of the manufacturing system is improved, but how to realize the energy-saving control of these highly automated manufacturing systems is an urgent problem to be solved in the art.
The existing research on the energy consumption of manufacturing systems is mostly based on the research and development of novel low-energy machining equipment, ignoring the control of energy consumption in the level of the overall manufacturing systems. At present, some scholars in the art adopt a transient analysis method to analyze the energy consumption of the production line, and the basic idea of this method is to reduce the duration of the idle state of the machine to improve the energy efficiency of the production line. The other method is to determine the energy and resources consumption of the manufacturing process advanced in the production plan and fully optimize the production process and the process design, thereby achieving the purpose of improving the energy utilization efficiency of the system. However, these energy consumption control methods are all in assigned mode. Due to random factors in the manufacturing system, it is difficult to accurately describe the state of the system by assigned mode, and the machine equipment cannot be controlled in real time according to the system state, thereby missing the energy saving opportunity.
Fuzzy control theory and fuzzy interval algorithm are used to develop distributed and supervised continuous flow control architectures for demand-based production process control, the purpose of which is to keep the system inventory and cycle time at a low level and improve the machine utilization rate and throughput by adjusting the processing speed at each production stage. However, how to use fuzzy control to achieve energy-saving of manufacturing systems is still a difficulty in the art.
In view of the above-described problems, the present invention provides a fuzzy energy saving control method for a manufacturing system based on real-time production data by combining the characteristics of the manufacturing system itself. A fuzzy energy-saving control method for the manufacturing system is designed accordingly. In this method, the level of the upstream and downstream buffers of the machine is obtained in real time, and then an active energy-saving decision is made base on the obtained information. The decision changes the machine state related with the working energy consumption state of the machine in order to achieve energy-saving production and effective energy consumption control of the manufacturing system. Thus, this method has the advantages of convenient in operation, high applicability and the like.
In order to achieve the above objective, the present invention provides 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.
Preferably, 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 the corresponding points and then determining the machine state (i.e. the ON state or the OFF 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; 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 membership degrees of the amount of WIP in the upstream buffer and 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.
Preferably, 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.
Preferably, 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.
In general, compared with the prior art, the present invention has the following beneficial effects:
(1) in view of the problem that the machine has much idle time due to unstable factors in the manufacturing system which results in the insignificance increase of the system energy consumption, the present invention provides a fuzzy energy-saving control method, in which information in the upstream and downstream buffers of the machine is obtained in real time and then an active energy-saving decision is made base on the obtained information, thereby changing the machine state and then transferring the working energy consumption state of the machine to achieve energy-saving production;
(2) in the present invention, the WIP levels in the two adjacent buffers of the machine are used as input variables and fuzzy reasoning is performed with a fuzzy rule based on the input variables to control the working state of the machine equipment and then the control of the energy consumption, so that the machine equipment has the self-awareness and decision-making ability throughout the system running phase, that is, the running energy consumption can be adjusted in real time according to the internal state, thereby further enriching the process control of the IoT manufacturing system driven by real-time data sensing and data processing, and thus achieving green manufacturing with low energy consumption; and
(3) the fuzzy energy saving control method of the invention has strong robustness and is suitable for the control of a nonlinear system, especially a manufacturing system in which a mathematical model is difficult to establish and dynamic features are difficult to capture; and this method does not require a researcher to establish an accurate mathematical model and can get a good control effect only according to real-time data. A fuzzy controller in the manufacturing system makes the decision according the different real-time levels in the upstream and downstream buffers and switches the energy consumption state of the machine.
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.
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
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
Specifically, as shown in
(1) obtaining the amount of WIP in the upstream buffer (i.e., WIP level Bi-1 in the upstream buffer) and the amount of WIP in the downstream buffer (i.e., WIP level Bi in the downstream buffer) of a currently running machine Mi (i is a positive integer, for example, M1 represents the first machine and M2 represents the second machine), and using these two data as two input variables for fuzzy reasoning;
(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;
(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.
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.
Specifically, the step (2) comprises the following sub-steps:
(2.1) buffer capacity partition: equally dividing respective capacities n of the upstream buffer and the downstream buffer into four intervals, as shown in
(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.
(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.
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
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 (
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.
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 Bi-1 and Bi 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.
In the present invention, a center of gravity method is preferably adopted for calculation. As shown in
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.
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.
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.
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.
The following is an exemplary description of the fuzzy rules of the present invention.
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:
(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 M3 based on sensors, and transmitting them to a fuzzy controller;
(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
(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.
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:
(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 M8 by sensors, and transmitting them to a fuzzy controller;
(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
(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.
The following are specific application examples of the present invention.
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.
By taking a 5M4B serial manufacturing system as an example (
(1) A Case where the System is not Controlled
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.
(2) A Case where a Controller is Provided for the Machine M1 (Namely, the System is Controlled According to the Present Invention)
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%.
It can be seen from
Before and after the control, the change of the WIP level in the buffer B1 is as shown in
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.
(3) Multi-Machine Energy-Saving Control
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.
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.
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.
Number | Date | Country | Kind |
---|---|---|---|
2017106532458 | Aug 2017 | CN | national |