Abstract

Dissolved oxygen (DO) concentration is a key variable in wastewater treatment process (WWTP). It directly influences effluent quality of a wastewater treatment. However, due to the great changes of the influent flow rate and the large uncertainties of the wastewater in composition, concentration, and temperature, most control approaches become powerless on DO regulation. To improve the robustness of a DO control, and reduce the phase delay between the control input and the system output, a U-model-based active disturbance rejection control (UADRC) is proposed. The U-model control (UC) reduces the phase delay between the control input and the system output. The active disturbance rejection control (ADRC) enhances the robustness of the closed-loop system. Also, ADRC converts the system dynamics to be integrators connected in series, which helps the realization of UC. By changing the system dynamics to be an approximate unit, a controller based on desired closed-loop system dynamics can be designed and the DO concentration is guaranteed. UADRC combines advantages of both UC and ADRC, and a commonly accepted benchmark simulation model no.1 (BSM1) is taken to verify the proposed UADRC. Numerical results show that, with similar energy consumption, the UADRC is able to achieve much better tracking performance than ADRC, SMC, and PI with suggested parameters.

1. Introduction

Water crisis may occur. If it happens, it will have great impact on human’s life [1]. Wastewater treatment is an approach to deal with water shortage, and wastewater treatment process (WWTP) control has been widely concerned from all over the world [24]. Dissolved oxygen (DO) concentration is a key variable in a WWTP, which directly affects growth and metabolism of the microbes, and determines the wastewater treatment performance [5]. However, DO concentration is influenced by many factors, such as the influent flow rate, the components, the concentration of each component, and reaction temperature. The influent flow rate is not fixed; it may vary due to various factors. Wastewater components and their concentrations are also unstable, or even some of them are unavailable. Therefore, there are too many uncertainties in a WWTP, and it is difficult to build an accurate mathematical model to describe a WWTP. Those facts present great challenges to keep a desired DO concentration level.

To improve the wastewater treatment performance, in recent years, various control approaches have been proposed to regulate the DO concentration. Zhang et al. [6] proposed a distributed economic model predictive control strategy for a WWTP, simulation results showed that the proposed control strategy is able to significantly reduce the computation load with a little degradation of the control performance. Santín et al. presented a model predictive control (MPC) with inlet flow rate feedforward (FF) control (MPC + FF) for the lower level nitrate nitrogen and DO control in a WWTP [7]. Numerical results demonstrated that MPC + FF can achieve a satisfied control performance. Han et al. [8] designed a self-organizing sliding-mode controller to control the DO concentration, and a desired operation performance was achieved. In addition, for the sake of improving the robustness of a WWTP control, approaches that depend less on model information, such as data driven control [9, 10], sliding-mode control (SMC) [11, 12], active disturbance rejection control (ADRC) [1315], and fuzzy neural network (FNN) [16, 17], were proposed.

Actually, considering the ubiquitous uncertainties and disturbances existing in a WWTP, control approaches that depend less on system model attract much attention in recent years. However, among those results, few of them take the phase delay resulting from system’s relative degree into consideration, while, the relative degree of a controlled plant introduces the phase delay, which does result in time delay of the system response or even instability of a system. To reduce the phase delay resulting from the relative order, the U-model control (UC) has been proposed [18]. Its main idea is to build a dynamic inverse model for a controlled plant, and then the controlled plant is dynamically transferred to be a unit. In other words, by UC, there is no phase delay between the control input and system output. By eliminating the phase delay, system responses can be greatly improved. However, for UC, both uncertainties and the U-model invertibility need to be considered properly [19].

Therefore, in this paper, both system responses and the closed-loop robustness are considered in the design of DO concentration regulation. The UC is able to reduce the phase delay of a controlled plant, improve the system response and tracking accuracy. The active disturbance rejection control (ADRC) proposed by Han [20] is capable of estimating and cancelling out the total disturbance actively so as to guarantee a desired system output. Based on the facts above, a U-model based active disturbance rejection control (UADRC) is proposed. By ADRC, the total disturbance is estimated by an extended state observer (ESO), and it can be compensated actively, so that the system dynamics can be converted into integrators connected in series. As long as the ESO works expectantly, robustness can be guaranteed. Then, the system inverse model becomes differentiators connected in series, and the U-model control can be realized. It means that the phase delay can be reduced. Therefore, the UADRC inherits advantages of both UC and ADRC. Both system responses and robustness can be guaranteed by the UADRC in DO concentration control. Main contribution of the work can be summarized as(i)A U-model based active disturbance rejection control is proposed. The UADRC reduces the phase delay between control input and system output. System response rate is faster, tracking error becomes much smaller, and the closed-loop system is more robust to disturbances and uncertainties.(ii)The UADRC solves the concerns of uncertainties and invertibility in the U-model control.(iii)The UADRC provides a frame to preset desired closed-loop system performance. Based on such a flexible structure, a control law can be designed according to the desired closed-loop system dynamics, and the tracking performance can be greatly improved.(iv)The UADRC proposed is verified by a commonly accepted BSM1, and the DO concentration is controlled as desired.

2. Problem Description

2.1. The Wastewater Treatment Model

The benchmark simulation model no.1 (BSM1) is under the umbrella of the International Water Association (IWA) Task Group on benchmarking of control strategies for WWTPs [21]. It is an accepted platform to test the innovating control strategies via fair comparisons based on a defined set of criteria [21]. In other words, it is a standardized “simulation benchmark,” which provides an impartial basis for evaluating past, present, and future control strategies for a WWTP control without reference to a particular facility [22]. Therefore, in this paper, the BSM1 is taken as the test platform. Structure of the BSM1 is given in Figure 1 [2123].

From Figure 1, one can see that the BSM1 is comprised of a biological reactor and a clarifier. Biological reactions take place in the biological reactor, and they are described by the Activated Sludge Model no.1 (ASM1). The biological reactor consists of five units. The first two units are anoxic sections (the volume of each unit is 1000 m3), and the last three units are aerated sections (the volume of each unit is 1333 m3). By manipulating the oxygen transfer coefficient (KLa,5) of the last aerated reactor, a PI control is designed to control the dissolved oxygen concentration in the last aerated unit. Simultaneously, by manipulating the internal recycle flow rate (Qa), the nitrate concentration in the second anoxic reactor is regulated by a PI controller [21]. For convenience, all variables and acronyms are summarized in Table 1.

2.2. Control Problem Statement

DO concentration in the fifth unit is one of the key variables in a WWTP. It directly affects the effluent of the wastewater treatment. In practice, for a WWTP, the DO concentration is affected by many factors, such as the influent flow rate, the components, and the concentration of each component in the wastewater [21]. However, the influent flow rate varies, the component differs, and the concentration of each component fluctuates. Therefore, it is difficult to build an accurate model for a WWTP. How to achieve an effective regulation of DO concentration in a WWTP is still a great challenge.

Thus, the aim of this paper is to design a control algorithm so that it can regulate the DO concentration at the set-value accurately, and influence of a control strategy on process performance is expected to be robust enough to different disturbances. Simultaneously, if possible, lower energy consumption is better.

3. U-Model Based Active Disturbance Rejection Control

Too many uncertainties make the control of DO concentration a big challenge. In this section, the U-model control and the active disturbance rejection control are combined, and a U-model-based active disturbance rejection control is designed to regulate the DO concentration in a WWTP.

3.1. Dynamics of the DO Concentration

In the BSM1, DO concentration of unit 5, i.e., SO,5, can be described as [21, 24]where , and are the DO concentration in the fifth compartment, the DO concentration in the fourth compartment, and the saturation concentration for oxygen, respectively. andare the volume of the fourth and fifth compartments, separately.is an appropriate conversion rate. is the oxygen transfer rate, it is the control input for regulating . , and are the input flow rate, the return sludge flow rate, and the internal flow recirculation rate, respectively.

3.2. Control Law Design

Based on the idea of ADRC, system dynamics differs from the integrators connected in series is regarded as the total disturbance. Thus, system (1) can be rewritten aswhere is the system output, is the control input, is a tunable parameter, and is the total disturbance,

The total disturbance in system (2) can be estimated by an ESO, and it can be designed as [25]where are tunable parameters of an ESO. are outputs of an ESO. is the estimation of the system output y. is the estimation of the total disturbance . is the estimation error of the system output.

Here, similar to [25], let , where is the observer bandwidth.

The control law is designed to bewhere is the control signal applied to the controlled plant, and is a pseudocontrol signal. Substituting (5) into (2), one has

Obviously, the total disturbance is cancelled out by control law (5), and system (1) is converted to be an integrator approximately.

Let the total disturbance estimation error be , and the system output estimation error be . Then, closed-loop system (6) can be rewritten as

Based on (7), a structure of the controlled process is given in Figure 2.

According to the idea of the U-model control, the controlled process should be transferred to be a unit. Thus, a differentiator should be introduced, and it can be shown in Figure 3.

Here, is a control signal needed to be designed. Then, an equivalent structure of Figure 3 is given in Figure 4.

Based on the equivalent structure of the UC based controlled process (presented in Figure 4), a closed-loop system can be designed. Its structure is shown in Figure 5.

In Figure 5, is the set-value, is the control error, is the controller that is needed to be designed, and is the output of . are estimation errors.

From Figure 5, one can see clearly that, ideally, i.e., , the closed-loop system dynamics can be flexible designed according to the desired system response.

To achieve a faster response, the desired closed-loop system dynamics is chosen to bethen controller ; here, are parameters that need to be fixed. Thus, can be designed as

Then, the UADRC control system can be realized, and it is shown in Figure 6. It is based on the ESO and the U-model based controller Gc(s).

From Figure 6, one has

Then,whereis a set-value.

In summary, the UADRC consists of the observer (4), control law (5), and (11).

3.3. Closed-Loop System Analyses
3.3.1. Stability and Tracking Error

Figure 5 gives out the closed-loop structure of the UADRC control system, from which one can see that the closed-loop system is affected by three signals, i.e., the reference signal , the total disturbance estimation error , and the system output estimation error .

The closed-loop system presented in Figure 5 is a linear system. If the closed-loop poles of given in (8) are on the left side of s-plane, the closed-loop system is stable.

Remark 1. Nonlinearities, uncertainties, and disturbances in the system are addressed by the ESO. Their effects are reflected on two inputs including the total disturbance estimation error and the system output estimation error .
Next, influence of and on the closed-loop system output is analyzed.
For the ESO, one has following Lemma.

Lemma 1. (see [26]). If change rate of the total disturbance is bounded, there exists an observer bandwidth such that estimation errors of an ESO are bounded within a finite time. Additionally, bounds of estimation errors are inversely proportional to the observer bandwidth.

Remark 2. For an engineering system, its power is always limited. Therefore, it is reasonable to assume that the change rate of the total disturbance is bounded.
According to the Lemma, one has . Here, is a constant, which is inversely proportional to the observer bandwidth. In other words, both and are bounded input signals for the closed-loop system given in Figure 5. Then, system output can be obtained by the superposition principle, i.e.,Considering are bounded, one may let . For ( is the amplitude, and is the unit step signal), one haswhereFrom (13), it can be seen clearly that both bound and frequency () of the estimation error have effects on system output. How to reduce the influence of the estimation errors on system output? Next, the tracking error and its steady-state value are analyzed.
The tracking error , and the steady-state tracking error isThus,that isFrom (17), one can see that the steady-state tracking error is proportional to the bound of the estimation error. Simultaneously, it is also proportional to and inversely proportional to .

Remark 3. An ESO is critical in the UADRC. From (17), it is obvious that estimation error of an ESO determine the performance of a closed-loop system greatly. Thus, a proper observer bandwidth should be selected to make the estimation error as small as possible. Then, the controlled plant can be more approximate to be a unit, and the closed-loop dynamics is much closer to the desired dynamics described in (8).

3.3.2. Phase Analysis

From (12), one can see that the output resulting from the set-value is

Thus, one has the frequency response

If , , then the phase lag between the set-value and system output is

Thus, by increasing or decreasing , one can reduce the phase delay . In this case, the minimum phase delay is , and the maximum phase delay is . In other words, .

If , , then the phase delay between the set-value and system output is

Thus, nearly no phase delay exists between the set-value and system output. It means that, when , the UADRC can eliminate the inherent phase delay approximately.

From the analysis above, one can see that no phase delay between the control input and system output can be achieved when . It signifies that, by utilizing the point of the UC, phase lag of the system response can be minimized if is large enough.

However, the steady-state tracking error is also proportional to . Thus, one has to make a compromise between the system response and the steady-state tracking error.

Therefore, it is obvious that approaches, like improving the estimation ability of an ESO and increasing , are effective in reducing the steady-state tracking error. As to , it can be determined based on the system requirements. In Section 4, numerical results are provided to confirm the UADRC. Before giving out the numerical results, two remarks have been presented.

Remark 4. Similar to the plants controlled by an ADRC, dynamics of a plant controlled by a UADRC is dynamically transferred to be integrators connected in series. Therefore, nonlinearities, uncertainties, and disturbances of a plant are not barriers in realizing the U-model control and guaranteeing desired system performance.

Remark 5. Based on the dynamic feedback linearization of a controlled plant, engineering requirements or desired closed-loop dynamics can be obtained by presetting a desired closed-loop transfer function. Thus, parameters chosen in simulations are determined by compromising desired transient and steady-state performance via try and error approach.

4. Simulation Studies

In order to illustrate the advantage of the UADRC, the BSM1 is utilized. It contains influent data of two weeks dynamic dry, rain, and storm weather. Those weather influent data contain the disturbances of influent rates and components. In simulations, all weather conditions are considered, and the input disturbance (5 sin(5t)) is also introduced from the 7th day. Two cases, i.e., constant and varying set-values, are designed in the simulations.

4.1. Constant Set-Value of the DO Concentration

In this part, set-value of the DO concentration is 2.0 mg/l, and simulation time lasts 14 days. To show the advantage of the UADRC, PI, SMC, and the ADRC are employed. The SMC control law can be designed aswhere η is the controller gain, D is a constant, Q4 and Q5 are flow rate of the fourth and fifth reactors, SO,4 and SO,5 are the dissolved oxygen concentration of the fourth and fifth reactors, and V5 is the volume of the fifth compartment.

System responses and performance indexes are presented to confirm the UADRC. In the BSM1, parameters of the PI controller are K and Ti. Parameters of the SMC are and D. Parameters of the ADRC are , and , parameters of the UADRC are . Tunable parameters of the controllers are listed in Table 2. Here, parameters of the PI control are suggested by Reference [21].

The integral of squared error (ISE) [23], the integral of time-multiplied absolute-value of error (ITAE), and the overall cost index (OCI) [23] are selected to evaluate the tracking performance, the response rate, and the energy consumption, respectively.where the tracking error .where AE is the aeration energy, PE is the pumping energy, SP is the sludge production to be disposed, EC is the consumption of external carbon source, and ME is the mixing energy. They can be calculated as

Details for the parameters in (25) to (32) can be found in [21].

4.1.1. Dry Weather

Under dry weather, system responses and control signals of four controllers are shown in Figure 7. From the figure, it can be found that all control strategies are able to regulate the DO concentration effectively (see Figure 7(a)) with similar control signals (see Figure 7(b)). However, by comparison with the responses of PI, SMC, and ADRC, it can be easily found that the UADRC behaves best. It has the minimum fluctuations in presence of the varying components, influent rates, concentration, and the input disturbance from the 7th day. Performance indexes (ISE, ITAE), and energy cost index (OCI) are listed and compared in Table 3. Here, “+” stands for the increasing of the corresponding value, and “−” means the decreasing of the value.

From Table 3, one can find following facts. Compared with PI, ISE value of the UADRC decreases by 76.1%, and the ITAE value decreases by 84.0%. It means that the UADRC has much better tracking ability, much faster response rate, and much shorter settling time. Tracking error related indexes (i.e., ISE and ITAE values) show that control approaches based on active estimation and compensation are capable of achieving better tracking performance than PI control with the suggested parameters. Although energy consumption of the UADRC is few higher than the one of PI (increased by 1.0 × 10−3%), it should be pointed out that the UADRC is more effective than PI. Similarly, by comparison with SMC, ISE and ITAE values of the UADRC decrease by 70.0% and 93.5%, respectively. It means that the UADRC is able to track the set-value timelier and more accurately. Additionally, energy consumption of the UADRC also decreases by 2.9 × 10−2%. Finally, compared with the ADRC, with the same observer bandwidth, ISE and ITAE value of the UADRC decreases by 15.6% and 63.1%, separately. It also confirms that the UADRC can obtain much smaller tracking errors and much shorter settling time with similar (or exactly few lower) OCI values and similar control signals (see Figure 7(b)). In other words, by minimizing the phase delay, with similar control signals and energy consumption, the UADRC behaves best.

4.1.2. Rain Weather

For the rain weather, PI, ADRC, SMC, and UADRC are also designed to regulate the DO concentration. Parameters are still taken from Table 2. System responses and control signals are given in Figure 8. ISE, ITAE, and OCI values are listed in Table 4.

It is easy to find that the fluctuations of the UADRC’s responses are also minimum among the responses described in Figure 8(a). It means that the UADRC is able to deal with all disturbances more effectively and achieve more accurate tracking responses. Simultaneously, Figure 8(b) shows that the UADRC achieves the best tracking response with similar control signals compared with the SMC, ADRC, and PI.

Table 4 presents similar facts provided in Table 3. The UADRC is able to obtain much better ISE and ITAE values than PI. It coincides with the responses described in Figure 8(a). Similarly, ISE and ITAE values of the UADRC are also much better than the SMC and ADRC, for the minimized phase delay between the control input and system output. It is worth pointing out that few more energies are necessary for the UADRC to acquire better tracking performance and faster response rate.

4.1.3. Storm Weather

The influent file of storm weather contains one week of dynamic dry weather influent data and two storm events superimposed on the dry weather data during the second week. Controller parameters are selected from Table 2. ISE, ITAE, and OCI values are listed in Table 5.

Figure 9 presents the responses and control signals of the PI, SMC, ADRC, and UADRC. From the figure, it is obvious that the UADRC is able to achieve the best tracking performance with similar control signals, even if different kinds of disturbances exist. ISE, ITAE, and OCI values listed and compared in Table 5 also confirm the fact.

Under the storm weather, data presented in Table 5 show that compared with PI, with few more energy consumption (OCI is increased by 9.6 × 10−4%), ISE and ITAE values of the UADRC decline by 75.9% and 83.9%, respectively. Compared with the SMC, ISE, ITAE, and OCI values of the UADRC decrease by 68.2%, 93.4%, and 2.8 × 10−2%, respectively. By comparison with ADRC, lower energy (OCI decreases by 2.3 × 10−4%) is needed by the UADRC, and ISE and ITAE values of the UADRC decline by 15.6% and 62.8%. Simultaneously, similar to dry and rain weather, the UADRC behaves best for its much smaller ISE and ITAE values and similar OCI values.

4.2. Varying Set-Values of the DO Concentration

In this part, varying set-values of the DO concentration are taken into consideration. Simulation time is also 14 days. PI, SMC, and ADRC are also employed to make a comparison with the UADRC. Tunable parameters of the four controllers can still be found in Table 2. Dry, rain, and storm weather conditions are considered. As described in Section 4.1, the input disturbance (5 sin(5t)) is also introduced from the 7th day. The changing set-values of DO concentration are described as

4.2.1. Dry Weather

Figure 10 gives out the tracking performance and control signals. From Figure 10(a), one can see clearly that the varying DO concentrations can be tracked effectively by PI, SMC, ADRC, and UADRC. In addition, the UADRC is able to track the varying DO concentrations best, even if the input disturbance from the 7th day exists. Simultaneously, control signals presented in Figure 10(b) show that the UADRC can achieve best response by similar control efforts compared with PI, SMC, and ADRC.

Table 6 presents ISE, ITAE, and OCI values of four controllers. It can be found that, compared with PI, ISE value of the UADRC decreases by 75.4%, ITAE value decreases by 82.8%, although OCI increases by 1.0 × 10−3%. Simultaneously, by comparison with the sliding-mode controller, ISE value of the UADRC decreases by 69.2%, ITAE value decreases by 92.9%, and the OCI decreases by 2.8 × 10−2%. Additionally, for the ADRC and UADRC, the latter one is able to behave much better than the former one, as a result of minimizing the phase delay between the control signal and system output. Therefore, in the WWTP described by the BSM1, the UADRC is able to regulate the DO concentration best with similar energy consumption.

4.2.2. Rain Weather

For the rain weather, system responses and control signals are described in Figure 11. It demonstrates that the UADRC can achieve the best tracking performance with nearly the same control efforts when the set-value varies. Additionally, from Table 7, it can be found that, compared with PI and SMC, ISE, and ITAE values of the UADRC have been improved greatly. Simultaneously, by reducing the phase delay between the control signal and system output, the UADRC performs much better than the ADRC. From Table 7, it is also clear that all improvements are obtained by few increasements of the energy consumption.

4.2.3. Storm Weather

System response under storm weather is shown in Figure 12. It also depicts a fact that the UADRC is capable of achieving the best DO concentration tracking. Table 8 lists the ISE, ITAE, and OCI values to confirm the advantage of UADRC. From Table 8, it can be found that, compared with the PI and SMC, ISE and ITAE values of the UADRC are much smaller. Simultaneously, for the reduced phase delay between the control signal and system output, the UADRC responds faster and more accurate than the ADRC.

In the above sections, one can see clearly that as a result of reducing the phase delay between the control input and system output, the UADRC performs best among four controllers. Next, relationship between the closed-loop system performance and tunable parameters of the UADRC is discussed.

4.3. Discussion

Tunable parameters of the UADRC are . According to the results obtained in Section 3, the tracking error of the UADRC can be suppressed effectively by increasing or improving the estimation ability of an ESO. For , it should be made a compromise. In this part, influence of and on DO concentration control is discussed. Two scenarios are considered. First, fixing and increasing . Then, fixing , and increasing . The influence of and can be seen clearly. For complexity of the storm weather, it is considered in this section.

4.3.1. Fixing and Increasing

Here, the input disturbance (5 sin(5t)) is also used, and the set-value is taken to be r(t) shown in (33). Parameters of the UADRC are listed in Table 9. ωn is fixed to be 40, and values of τn are increasing.

System responses and control signals are given in Figure 13. Table 10 lists ISE and ITAE values to show the trend of tracking error and settling time of the UADRC when τn is increased. From Figure 13(a), it can be seen that, as τn increases, tracking errors become smaller. The fact can also be found from Table 10. It is obvious that both ISE and ITAE values decrease as τn increased. It confirms that both tracking error and settling time become smaller whenis increased.

4.3.2. Fixing and Increasing

Parameters of the UADRC are shown in Table 11. τn is fixed to be 900, and ωn is increased.

System responses and control signals are shown in Figure 14. Table 12 presents the tendency of the tracking error and settling time of the UADRC with an increasing ωn. Numerical results indicate that, when ωn is increased, ISE value increases, system response rate becomes faster, and ITAE value decreases.

So far, influence of and is obvious. It coincides with the results obtained in Section 3. Thus, it is easier for engineers to take good advantage of the UADRC to regulate the DO concentration in a WWTP.

In addition, from the UADRC structure (see Figure 6) presented in Section 3, one can find that based on an ESO and the UC, the UADRC is an open structure for a designer to construct desired closed-loop system dynamics. Therefore, it is a flexible design approach to satisfy engineering requirements. Probably, the UADRC structure is a promising way to combine most existing control techniques to obtain satisfactory performance, as long as the ESO works as desired.

5. Conclusions

Kinds of uncertainties and disturbances exist in a WWTP. Keep the DO concentration in a desired level is always a challenge. For improving the set-value tracking and the disturbance rejection ability of a closed-loop system, based on the key point of ADRC and UC, a UADRC is constructed to control the DO concentration in a WWTP. By minimizing the phase delay between the control input and the system output, system response becomes faster. Based on the UC, system response becomes more accurate. By virtue of an ESO, system performance becomes more robust. Numerical results based on the BSM1 show that the UADRC works much better than SMC, ADRC, and the PI with suggested parameters. It confirms the advantage of the proposed UADRC. For the future research, the UADRC should be verified in a real WWTP.

Data Availability

Data supporting the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the Key program of Beijing Municipal Education Commission (KZ201810011012), National Natural Science Foundation of China (61873005), and Support Project of High-level Teachers in Beijing Municipal Universities in the Period of 13th Five-year Plan (CIT&TCD201704044).