#### Abstract

Production cost in steel industry is a challenge issue and energy optimization is an important part. This paper proposes an optimal control design aiming at minimizing the production cost of the electric arc furnace steel making. In particular, it is shown that with the structure of an electric arc furnace, the production cost which is a linear programming problem can be solved by the tools of linear quadratic regulation control design that not only provides an optimal solution but also is in a feedback form. Modeling and control designs are validated by the actual production data sets.

#### 1. Introduction

Steel industries recycle scrap steel using the electric arc furnace (EAF) by melting it and changing its chemical composition to produce different product grades. Obviously, steel industry is one of the greatest energy consuming sectors and there is a strong demand to decrease the use of electricity and other forms of energy in the EAF steel making.

In general, the current melting process control is manual and the production cost is not optimal. Steel industries have some nominal automation for EAFs but are mostly operator driven. Although operator intuition is invaluable for such industries, it rests on the recipes that have been effective in the past and becomes difficult to take into account all possible uncertainties unless a mathematical framework is developed for the system and an automation process is in place. It has been shown that a substantial part of the energy consumption is wasted in melting the scrap [1ā3]. This illustrates that there is a tremendous opportunity for control to play.

Unlike most existing papers in the literature, this paper concerns the production cost which is related to energy consumption for melting process and the way to achieve the optimality. Therefore, the purpose of the model is different from the large part of the existing literature [1ā6]. For example, in [1], an adaptive model predictive control was proposed to follow the preset trajectories. How to design the preset trajectories was not discussed. In [2], a PID controller was proposed to have the electrodes maintain constant power consumption. In [3], a model was developed but there was no discussion on how to control it. In [6], a model was proposed to achieving the maximum power input to the melting process. In all these works, minimizing control consumption was not a concern. In the work reported here, a mathematical model of EAFs is developed and its unknown parameters are then estimated. The goal of the model is to design a control algorithm that minimizes the energy consumption. The model adopted in this paper is a linear time invariant system which seems to work satisfactorily. More importantly, in the second step, optimal control inputs are calculated aiming at minimizing the production cost. Because the actual production cost is linear in the consumptions of energy and graphite electrode, the optimization is a linear programming problem. A problem of the linear programming is that it provides an open loop input design. Though optimal in the absence of model uncertainty and measurement noise, its performance in reality cannot be guaranteed under inevitable model uncertainty and measurement noise. The contribution of the paper is to show that with the particular structure of the EAF, the linear programming problem can in fact be solved by the well-known linear quadratic regulation (LQR) problem which is in a feedback form and thus is more robust than an open loop solution.

All the data sets used in this study for modeling and control validation are actual production data collected from the Gerdau Ameristeel mill facility in Wilton Iowa that is composed of a scrap shredding facility, an electric arc furnace (EAF) as shown in Figure 1, several continuous billet casters, and a rolling mill. Because of proprietary properties, no actual data value is revealed in the paper, but the modeling results and final performance improvements are shown.

#### 2. Problem Statement

In this section, we describe the system model and the goal of optimal control. Clearly, EAF models could be different for different purposes. Our goal is to optimize the production cost while the quality and efficiency are maintained. To this end, we focus on 7 key variables that provide a fairly reasonable description of the dynamics of an EAF:(i)kilowatt-hour consumption (),(ii)electrode consumption (),(iii)percentage of scrap melted (),(iv)average arc current (),(v)oxygen input (),(vi)gas input (),(vii)carbon input ().

All 7 variables are either measurable or computable in real time. Among these variables, the kilowatt-hour consumption () is the consumption of electrical energy that constitutes a substantial part of the total cost, the electrode consumption () is the consumption of the graphite electrode that also contributes to the cost significantly, and the percentage of scrape melted () is the percentage of scrap melted which is a quality constraint on the melting control. At the end of each melting process, has to be 100(%). Other 4 variables are electrical energy input and chemical energy inputs (oxygen), (gas), and (carbon), respectively. All 4 energy inputs contribute to the total cost and among them is the most expensive one.

Based on the physics, the increments of the kilowatt-hour consumption () and the electrode consumption () from time to are directly related to the current in the interval . On the other hand, the percentage of scrape melted () is related to all energy inputs during the same period including the electrical energy as well as chemical energy. The EAF assumes the following structure: where , with (sec) being the sampling interval and is the total time by which 100% of scrap should be melted. This model is not surprising and has been used in the literature. To maintain the same productivity and efficiency, is the total length of the melting process time and is predetermined by the current practice without optimal control. is a matrix whose entries depend on a particular EAF and the scrap loads. Note that , , , are the respective total energy delivered to the EAF during the period and and are the total electric energy and electrode consumption, respectively, at the end of the th sampling interval. The production cost is defined as where , , , , and are the per unit cost of electric energy, electrode consumption, and the chemical energy of oxygen, gas, and carbon, respectively. The unit cost ās fluctuate according to the market value and are adjusted when the market price changes. The goal of control is to design an input sequence , , , , so that the above cost function (2) is minimized under the constraint In addition, because of hardware constraints, the input energy must satisfy for each where , , , , and denote the physical bounds on the amount of electrical and chemical energy, respectively, that can be delivered to the EAF during each sampling interval .

#### 3. Optimal Control Calculation

To simplify notation, in the rest of the paper, we let Further, by some simple calculations, we notice that Therefore, the cost function of (2) can be rewritten as where , , , and . To recap, the goal is to design an input sequence , , for a given so that the cost function is minimized under the equality and inequality constraints, Here, , , and describe the 3-dimensional state space and , , , and describe the 4-dimensional input space. Matrices and are given as before.

##### 3.1. Solution Using Linear Programming

The optimal control design problem described above is exactly a linear programming problem with a linear objective function and linear equality and inequality constraints. This can be solved by commercially available software packages. For real time applications, one issue is its computational complexity. In reality, is approximately 1200 which implies that there are state variables, input variables, inequality constraints, and equality constraints. Simply put, it is a linear programming problem with 8400 variables and 14400 constraints. The linear programming has to be recalculated every time when the model experiences some changes. The computational power required for a real time application is not favorable. The second problem is that the linear programming provides an open loop control. Yes, the solution , of the linear programming is optimal if everything is ideal. In reality, model uncertainty and measurement noise are always present and the linear programming solution is open loop. It is impossible to guarantee a good performance of an open loop control system in the presence of uncertainty and noise. What we prefer is a solution that minimizes the cost function (8) under the constraints (9) but in a closed loop form. To this end, note that the linear quadratic regulation (LQR) control design has been extensively studied in the literature. The solution of LQR is in a feedback form which is more robust than the open loop solution provided by the linear programming. Moreover, the LQR control has many desirable properties. We will show in the next section that by proper choices of the weights in the LQR calculation, the solution of the LQR also solves the linear programming problem or equivalently the cost function (8) under constraints (9) but in a closed loop form.

Though the linear programming solution may not be practically useful because of its open loop nature, it does reveal some important insights. Let Then, the cost function and the terminal constraint can be rewritten, respectively, as Also from the state space equation, we have and . Now suppose ās, , are the solution of the linear programming. Define Clearly, and for each and every . Therefore, the solutions ās of (12) are constants that minimize the cost function (8) and satisfy all the equality and inequality constraints (9). In short, the solution of the linear programming may not be unique, but there always exists a constant solution. We summarize this observation in a theorem form that will be used later.

Theorem 1. *Consider the optimal control problem of (8) under the constraints (9). Then, there always exist constant sequences ās, , and , that solve the problem.*

##### 3.2. LQR Design

Linear quadratic regulator problem is extensively studied in the literature and its solution can be readily found in a number of textbooks [7, 8]. In addition, its properties in terms of stability, robustness, and so forth, are well documented and in fact are favorable [7, 8]. The difference is however that LQR minimizes a quadratic performance function where , , and are the terminal state, state and input cost matrices, respectively. Our goal in this section is to show that by some properly chosen matrixes , , and , the LQR solution also solves the linear programming problem which is the goal of the control design. It is emphasized that the LQR is not only more robust but also numerically efficient. Note that the LQR is recursive and at each time , only a fixed dimension Riccati equation (in our case, 4 dimensional) needs to be calculated [7, 8].

To this end, we set for some or equivalently where indicates that the cost depends on the optimal input sequence which in turn depends on the weights ās. Together with the terminal constraint in (9), the LQR solution assumes the form of [7, 8] where and are functions of . Note that the control sequence is in a feedback form. Interested readers may find more details in many textbooks, for example, [7, 8]. It is easy to verify the following theorem.

Theorem 2. *Consider the above LQR problem of (15) under the constraints (9). Then, the input sequences ās, , that solve the LQR problem must be constant sequences for all and , .*

*Proof. *The proof is by contradiction. Suppose not, there exists at least one so that for some . Let ās, , and be the exact sequences of except at and ,
Then,
In other words, all the constraints of (9) are satisfied by the new sequences , but the cost function generated by is strictly smaller than the cost function generated by . Therefore, the optimal sequences have to be constant sequences. This finishes the proof.

Now let the solution sequence of the LQR problem (15) under the constraints (9) be denoted by Further, let

Now we claim the following.

Theorem 3. *The solution of the LQR problem ās, , defined above also solves the linear programming problem of (8) and (9).*

*Proof. *Since both the linear programming problem and the LQR problem assume constant solutions, the goal is to find constant ās for all that solve, respectively, the linear programming problem and the LQR problem as shown in Table 1.

For the linear programming problem, at least one of the optimal solution lies at one of the corners formed by the intersections of the hyperplanes of the cost function, the terminal constraint, and the inequality constraints as shown in Figure 2 for a two-dimension case. On the other hand, the solution of the LQR problem is at the intersection of the same hyperplanes formed by the terminal and inequality constraints and an ellipsoid
for a given set of . By varying , the axes of the ellipsoid can be adjusted arbitrarily and there always exist some ās so that the LQR solution is at one of the corners that is also a solution of the linear programming problem as illustrated in Figure 3 for a two-dimensional case. Denote such solutions by , , , . This implies
for any or the linear programming cost function evaluated at the LQR solution , , , is no larger than for any . On the other hand,
Thus, the solution , , , of the LQR also solves the LP problem. This completes the proof.

##### 3.3. Computation and Validation of ās

What the results of Theorem 3 say is that there exist constants ās that solve both the LQR and LP problems. Furthermore, let , , , be the solution of LQR for given , , , and . Then, and this provides a way to compute .

For simplicity, let us leave out all the inequality constraint in (9) first. Consider the terminal constraint and the cost function, To find the LQR solution, we introduce the Lagrange multiplier

Setting the derivatives of with respect to , , , and to zero implies that By solving these 5 equations, we have Now putting back these values into , we have

We make two observations.(i)If , then the two sets of weights and would produce the identical LQR optimal input sequences for any .(ii)Practically, the usage of electric energy is always positive which implies .

Based on these two observations, we may set and which in turn gives rise to

Suppose ās minimize the above . Then, the optimal ās are those in (28) by replacing ās by ās. These are the solutions without the inequality constraints (9). With (9), the best ās are those that minimize under the constraints that the resultant ās are in the box defined by the inequality constraints (9).

To support the above theoretical derivation, a large number of actual production data sets (over 2 thousands) are collected. Based on 30 randomly chosen data sets, we first solve the linear programming problem (2) and (4) directly using the command ālinprogā embedded in MATLAB. We then solve the same problem by finding the optimal ās and the corresponding optimal input sequences ās through the LQR optimization as discussed before. In each case, the two optimization results are not identical but very close about 1-2% difference in the cost functions. We believe that this small numerical difference of 1-2% is due to numerical imperfection of MATLAB for a large dimensional linear programming (8400 variables and 14000 constraints).

#### 4. Parameter Estimation

In the previous sections, the entries of the matrix are assumed to be available. In reality, depends on the melting process and in particular the load weight of scraps. In general, the entries of have to be estimated. To put parameter estimation into a perspective, we first describe the melting process. The melting process is a batch process. One batch of steel is called a heat. The time between taps is the amount of time required to produce a batch of liquid steel. Produced tons is measured using charged scrap tons. First, scrap is brought into the melt shop and an overhead crane is used to load the scrap into a charging bucket. When the charge bucket has been loaded, the loading crane picks up the charge bucket and places the scrap into the EAF. The EAF is typically operated utilizing a 3-charge practice and a melting cycle is composed of the following stages.(1)Furnace Turn Aroundāthe EAF is inspected and prepared for the next heat.(2)Chargeāthe first scrap is put into the EAF.(3)Meltingāpower is turned on and the scrap is melted until the volume is sufficiently reduced to fit the second charge into the EAF.(4)Charge and melting cycle is repeated for the second and third scrap charges.(5)Refineāalloys are added to the liquid steel as necessary and steel is 100% melted.(6)Tapāthe liquid steel is transferred from the EAF to a ladle for casting.

Obviously depending on the weight of scrap in three charges, the entry values of vary. To this end, we provide an identifier, l = low, m = medium, and h = high to each charge to reflect the amount of scrap loaded in each charge.

Therefore, there are totally 9 different scrap loading scenarios as shown in Table 2. For instance, if three charges for a particular heat are 32 tons (1st charge), 32 tons (2nd charge), and 18 tons (3rd charge), respectively, then it is identified as (1l,2l,3l). If three charges are 32 tons, 34 tons, and 23 tons, it is identified as (1l,2m,3h). For each scenario, the entries of are estimated separately. For actual estimation, let Then, we have for , The estimates , , and , , of , , defined as solutions of the least squares fits can be readily solved as

To validate the parameter estimation results, we let and define the Goodness-of Fit as The parameters are derived from one heat file and validated by 30 other fresh heat files, which were not used for estimation but with the same identifier. The validation results are shown in Table 3.

Clearly from Table 3, the results are satisfactory and the values of , , and will be used in the optimal control design to replace the unknown , , and ās.

#### 5. Control Design Validation

As discussed before, the control design involves two steps: estimate the entries of for different scrap load weights and based on the estimates calculate the optimal for the LQR problem and the corresponding optimal inputs . Recall that our goal is to design optimal input sequences so that the production cost (2) is minimized as compared to the current manual operation in which experiences play a key role. In theory, it has been demonstrated that the LQR solution , , solves the LP problem and consequently minimizes the production cost (2) under the constraints. Whether it works in reality needs to be validated. To this end, we randomly choose 15 actual heat files with known production costs. For each heat file, a fresh heat file with the same identifier but not in the original 15 is chosen and used to estimate the entries of to build the EAF model and calculate the optimal LQR solutions ,ā . The optimal inputs are applied back to the original file to compute the production cost by the optimal control design. Based on the original production cost (2), the ratios of the costs by the optimal control designs derived by the LQR in which the weights ās are adjusted to minimize the LP cost and by the current manual practice are shown in Table 4 along with their percentage of cost saving. In all 15 experiments (files), the optimal inputs meet the constraints (9) and reduce the production cost ranging from 7% to 22%. This supports our theoretical derivation and demonstrates that the production cost in which the energy consumption is a main part can be reduced substantially by changing the practice from manual to automatic.

#### 6. Conclusion and Future Work

The method proposed for the optimal control strategy of an arc furnace provides a closed loop robust scheme that optimizes the production cost of the EAF steel making. In this study, we focus on 7 key variables and a linear modeling. In the future, other minor variables and possibly nonlinear effects could and should be considered. It is expected that by combining all the factors, the production cost can be reduced further. Also, the strategy developed in this paper can be extended to other applications in which the cost function is linear and the control design used is quadratic.

#### Conflict of Interests

The author declares that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

This work was supported in part by the Iowa Energy Center Grant 09-01.