ABSTRACT
Linear quadratic regulator (LQR), as one of the most popular optimal feedback controllers, has been used in open-channel automatic control. However, existing hybrid feedforward-feedback controllers are simple combinations lacking consistency and neglect the potential of model prediction in the feedforward part. This paper presents a novel hybrid linear quadratic regulator (HLQR) controller with a feedforward-feedback structure. Rather than achieving feedforward control by compensation of discharge or volume, HLQR incorporates a water level prediction of the canal model into the conventional LQR, allowing consistent optimal control and flexible adjustment of weight coefficients in both feedforward and feedback parts. The designed hybrid controller can provide a simple effective way for canal control. It has been numerically tested in a test canal compared with the discharge compensation linear quadratic regulator (DCLQR). Results show that the proposed HLQR can reduce the water level fluctuations and shorten the transition time. The maximum absolute error of the water level can be reduced by 56.65%, the gate movement is decreased by 69.69%, and the transition time is cut down from 21.5 to 7.5 h. With outstanding control performance, the proposed HLQR controller can promote water distribution practically and flexibly, showing great potential in hydraulic control.
HIGHLIGHTS
A novel hybrid feedforward-feedback LQR controller based on model prediction.
A simple and effective approach for routing known disturbances in open-channel systems for constant water level control.
Robust as Manning's n and the coefficient of discharge Cd are untuned.
INTRODUCTION
Securing sufficient water supplies to meet the flexible water demand is always the major task for water distribution systems. Considering the increased food consumption accompanied by the growth of population and the challenge of agricultural water saving, effective automatic control is imperative for open-channel irrigation systems (OCIS) (Godfray et al. 2010; Wakamori et al. 2020). Current studies increasingly focus on routing demand changes in delivery schedules in OCIS control practice (Garg & Dadhich 2014; Tork et al. 2021; Askari Fard et al. 2022). With the position adjustment of the outlet structure, the discharges are regulated by each user (Catoni et al. 2007). To guarantee the offtakes’ flow rate, a constant depth, usually at the downstream end of the pool, is set for each pool of the channel. Therefore, water level control is the key to meeting the changing demands for OCIS. As a remarkable feature of open channels, the time delay can cause difficulties in control as the inflow perturbations can take hours or even days to travel to downstream delivery points (Bautista & Clemmens 2005). An existing challenge is that, when there is an intense outflow change, water levels often fluctuate violently and need a long time to be stabilized due to the time delay.
Feedforward control adjusts outputs in advance based on predicted disturbances, while feedback control corrects errors in real-time by comparing the system's output to the desired value (Dorf & Bishop 2016). To reduce the water level fluctuation and speed up stabilization process for OCIS, many controllers have been developed, of which the control configurations include feedforward, feedback, and a combination of both. Using feedforward controls, the water demand can be met immediately with a small water level deviation due to the moderate water release before the scheduled offtake discharge increases. However, only if the schedule is ideally obeyed with little unknown disturbance and the system model is accurate enough, a perfect control can be achieved simply using feedforward control, which is impractical (van Overloop et al. 2008). On the other hand, in feedback, the gate flows are adjusted based on the deviation between the real-time water level and the target level, aiming to regulate the deviation back to zero. In this way, the reduction of disturbances and uncertainties is available (Weyer 2008), which is crucial in practice. Therefore, to leverage the advantages of both feedforward and feedback controls, some literature adopts a hybrid feedforward-feedback configuration (HFFC). By using both together, feedforward reduces deviations before they affect the system, while feedback corrects any remaining errors, making the system more adaptable and improving overall control performance. In open-channel control, Cantoni et al. (2007) proposed a feedforward term acting as a ‘decoupler’ added to the LQR feedback controller. Additional feedforward components in the control loop are described by Aguilar et al. (2009) in a predictive control scheme. Shen et al. (2009) proposed a model predictive control (MPC) with feedforward compensation for wastewater treatment improvement. Thus, a well-designed HFFC with both feedforward and feedback controls is necessary for enhanced control performance, and there remains potential for further exploration of HFFC's capabilities.
In the HFFC structure, there is a variety of research on combinations of different control algorithms. For OCIS automatic control, the earliest classical algorithm called proportion-integral-differential (PID) control still holds a dominant position in the industry today and has been revitalized with the help of Artificial Intelligence (AI) technology (Kong et al. 2024). Then the linear quadratic regulator (LQR) and MPC have aroused the interest of researchers both with internal model prediction and optimization programming (Conde et al. 2021). MPC has rolling optimization and is friendly to constraints that can lead to a satisfactory performance (Zhu et al. 2023). Besides, it is noted that MPC takes feedforward along with the feedback into account, while LQR is commonly used only for the feedback gain obtained by the Riccati equation (Conde et al. 2021). However, Scokaert & Rawlings (1998) pointed out that constrained LQR achieves significantly better performance than the other forms of MPC on some plants. Moreover, LQRs’ performance can be improved with the feedforward methods in the HFFC structure. For example, Yang et al. (2020) described a discharge compensation (DC) feedforward strategy for planned water distribution and a linear optimal control method coupled with this strategy responded more quickly and reduced the water level deviations caused by flow imbalance. However, whether using the DC method or volume compensation (VC) method (Bautista & Clemmens 2005), the feedforward logic is disconnected from feedback control, so it cannot be optimized under a unified objective function for weight allocation. In previous studies on feedforward control methods for OCIS, model-based optimization has rarely been used. Instead, feedforward actions are typically derived based on compensation principles of discharge and water volume as mentioned. There have been studies using model-based optimization for OCIS through MPCs (Horváth et al. 2015; Aydin et al. 2017). But in MPC, the feedforward component is not separated but instead unified with the feedback control in a one-objective function optimization. However, the requirements for the transition process in feedforward and feedback control are often different, which means that using a single objective function for optimization cannot meet the flexible control needs with phased objectives. Therefore, there is still a lack of exploration on the flexibility of weight allocation and consistency of HFFC between the feedforward and feedback components.
Focusing on LQR controllers, current research highlights the significant advantages of LQR in offering optimality over an infinite horizon. However, to the best of the authors’ knowledge, the model prediction-based linear optimization of LQR has not been utilized in feedforward control for OCIS. Classical LQR is presented for feedback control problems, with some researchers adding feedforward controls to enhance performance, but few have considered to use prediction-to-optimization control logic in feedforward, which may contribute to a consistent hybrid structure and performance improvements. Therefore, this study's primary objective is to introduce an improved hybrid controller called the hybrid linear quadratic regulator (HLQR), combining model prediction and optimal control in a consistent HFFC that allows flexible weight allocation. This approach aims to generate an alternative controller with smaller deviations and shorter transition times for constant water level control under known disturbances.
The paper is structured as follows. Section 2 introduces the linear canal model (Section 2.1) and basic LQR feedback controller (Section 2.2) and then presents the model-based feedforward control (Section 2.3) and HLQR controller structure (Section 2.4), followed by the control architecture (Section 2.5). The information of the case study is provided in Section 3, and results are shown in Section 4 and discussed in Section 5. Finally, the conclusions are drawn in Section 6.
CONTROLLER DESIGN
Linear canal model
LQR control requires a linear model describing the control object, and the model accuracy is the key factor in feedforward and largely decides the controller performance (Litrico & Fromion 2009; Vorosmarty et al. 2010; Askari Fard et al. 2021). The Saint–Venant equations (SVEs) are a set of non-linear partial derivative equations that describe the flow dynamics for open channels (Cunge et al. 1980; Litrico & Fromion 2006). As appropriate simplifications derived from the Navier–Stokes equations, the SVEs have been the most commonly used mathematical tool for modeling open channels and rivers (Kurganov & Levy 2002; Gerbeau & Perthame 2021). Considering the SVE are partial derivative equations, which are not easy to deal with for control, a classical way is to apply the linear models (Rabbani et al. 2009). In this study, a first-order linear canal model called the integrator delay zero (IDZ) model is used. Proposed by Litrico & Fromion (2004a), the IDZ model has an integrator and a delay in low frequencies and models the high frequencies by a constant gain and a delay. It can provide a frequency domain representation of SVEs in any flow configuration (Litrico & Fromion 2004b).


















This model provides the relationship between the downstream water level and the discharges both upstream and downstream. Although the actual actuators are the check gates, this study sets the gate discharge, rather than the gate opening, as the control variable. Because the relationship between flow rate and gate opening is non-linear (Clemmens et al. 2003), choosing flow changes makes it possible to keep the linear relationship between system states and control variables in the state-space equation accurately and helps avoid local gate control errors and calibration errors in the flow formula.
LQR feedback controller




Referring to previous literature, the objective function in this study includes two factors: water level deviations and discharge changes. The first term of the objective function measures the accumulation of water level fluctuations during the system's transition process, while the second term assesses the cumulative changes in flow rate, which essentially represent the accumulation of gate-position actions since the discharges are controlled by check gates. This ensures that the output variables can approach zero with the minimal total cost of water level fluctuations and gate-position adjustments. Operators can allocate the cost weights of both factors according to specific control objectives and management preferences.


Improved feedforward controller





The key innovation of this feedforward method is its use of predicted future deviations instead of present states, in combination with the LQR control law, to determine the feedforward actions. This approach integrates canal model prediction with optimal control to create a feedforward controller, which contrasts with conventional LQR controllers that primarily rely on feedback using real-time states.
HLQR controller structure
The HLQR comprises two parts: the feedforward component and the feedback component, differing in two aspects. Firstly, the input in the feedforward is predicted based on future schemes of water delivery, whereas the input in the feedback is derived from real-time observation data. Secondly, the objective function may vary between the two LQ problems: for the feedforward controller, it typically addresses large deviations, while for the feedback controller, it is more adapted to small deviations. Within the hybrid structure, the feedforward component is designed to address water level discrepancies resulting from anticipated flow changes, whereas the feedback component aims to mitigate real-time discrepancies arising from other factors during operation, such as model errors, monitoring inaccuracies, uncertain flow variations, and so forth.
In the proposed hybrid controller, both the feedforward and feedback controllers remain open throughout the control process. However, their roles differ: the feedforward controller operates solely during the delay period preceding a scheduled discharge change, while the feedback controller remains operational continuously to address any water level discrepancies. For instance, if a scheduled demand change occurs at 10:00 with a 30-min pool delay, the feedforward controller initiates at 9:30 and ceases at 10:00, whereas the feedback controller remains active to counteract unknown disturbances at any time. It's important to note that the control processes of the feedforward and feedback parts do not have conflicting control commands at the same time; instead, they are sequentially connected in different periods. The feedforward actions are tailored to manage anticipated flow changes and are active only before the scheduled change begins. Conversely, the feedback component handles unforeseen flow variations and water level discrepancies caused by operational errors, operating throughout the entire control process.





Control architecture
In this paper, a centralized architecture is adopted for multi-pool canals. The multi-cascade pools are interconnected in the state space (Equations (3)–(6)). Centralized control entails declaring all input and output variables of the system as vectors within a single equation, with control actions generated by a central controller (Malaterre 1995; Hashemy Shahdany et al. 2019). In the proposed controller, with a unified function J, all pools are encompassed within one state space, i.e., ,
,
. Model predictions and control actions for the multi-pool system are provided by the multiple-input multiple-output (MIMO) state-space model based on the IDZ model. For cascaded channels, the delay time of each gate should be considered, accounting for the pools from the offtake to the gate.
In typical OCIS, a constant depth is the control aim in each pool, and water is delivered to users through outlet structures. In this study, a control mode known as distant downstream water level control is employed. The objective of this control mode is to uphold a consistent water level downstream of the pool by regulating the upstream check gate and the flow passing through it. Regarding distant downstream control, Malaterre (1995) highlights that there are no inconveniences with the slope of the channel, reducing construction costs.
CASE STUDY
Test canal


Test scenarios
The presented feedforward method ImpFF is compared with the simple discharge compensation feedforward (DCFF) method in an open-loop control test that a 2.5 m3/s scheduled downstream flow change occurs at 2 h. The proposed HLQR controller undergoes testing in both a small-flow change and a large-flow change within a single pool compared with the discharge compensation linear quadratic regulator (DCLQR) (Zhong et al. 2020). Pool 1 of the test canal depicted in Figure 4 is selected for the single-pool tests (Test 1-1 and Test 1-2), with the settings detailed in Table 1. Subsequently, the designed controller, employing a centralized architecture, is numerically applied to the ASCE Test Canal 2 in a multi-pool assessment. Its performance is then compared with a recently introduced LQR controller utilizing a pure discharge feedforward method (Zhong et al. 2020) that achieves feedforward control according to the delay time by compensating for the discharge at offtake. Additionally, tests assessing the robustness of the HLQR controller are conducted with untuned Manning n and gate discharge coefficient Cd values.
Small-flow change scenario 1-1 and large-flow change scenario 1-2 of Test 1
Scenario number . | Initial upstream flow (m3/s) . | Initial downstream flow (m3/s) . | Scheduled downstream flow change at 2 h (m3/s) . | Scheduled downstream flow change at 14 h (m3/s) . |
---|---|---|---|---|
1-1 | 11.0 | 11.0 | +2.5 | −2.5 |
1-2 | 2.7 | 2.7 | +11.0 | −11.0 |
Scenario number . | Initial upstream flow (m3/s) . | Initial downstream flow (m3/s) . | Scheduled downstream flow change at 2 h (m3/s) . | Scheduled downstream flow change at 14 h (m3/s) . |
---|---|---|---|---|
1-1 | 11.0 | 11.0 | +2.5 | −2.5 |
1-2 | 2.7 | 2.7 | +11.0 | −11.0 |
Both Test 1-1 and Test 1-2 involve scheduled flow changes at the downstream end. The former flow change is 2.5 m3/s, while the latter is 11 m3/s. Three controllers are employed, each utilizing the same LQR control in feedback, while employing no method, DC method, and ImpFF method in feedforward, respectively, for Test 1-1 and Test 1-2. In practice, control objectives encompass multi-pool canal systems. Test 2-1 is conducted on the ASCE Test Canal 2, comprising an eight-pool canal system. The flow changes in Test 2-1 (Table 2) reference the scenario presented by Clemmens et al. (1998). To allow adequate time for feedforward control, water intake channels are uniformly set at the end of the second hour after simulation commencement.
Multi-pool scenario 2-1 of Test 2
Pool number . | Initial upstream flow (m3/s) . | Initial flow of offtakes (m3/s) . | Scheduled flow of offtakes after 2 h (m3/s) . | Resulting upstream flow (m3/s) . |
---|---|---|---|---|
1 | 11 | 1 | 1 | 13.5 |
2 | 10 | 1 | 1 | 12.5 |
3 | 9 | 1 | 1 | 11.5 |
4 | 8 | 1 | 1 | 10.5 |
5 | 7 | 1 | 2.5 | 9.5 |
6 | 6 | 1 | 2 | 7 |
7 | 5 | 1 | 1 | 5 |
8 | 4 | 1 | 1 | 4 |
Pool number . | Initial upstream flow (m3/s) . | Initial flow of offtakes (m3/s) . | Scheduled flow of offtakes after 2 h (m3/s) . | Resulting upstream flow (m3/s) . |
---|---|---|---|---|
1 | 11 | 1 | 1 | 13.5 |
2 | 10 | 1 | 1 | 12.5 |
3 | 9 | 1 | 1 | 11.5 |
4 | 8 | 1 | 1 | 10.5 |
5 | 7 | 1 | 2.5 | 9.5 |
6 | 6 | 1 | 2 | 7 |
7 | 5 | 1 | 1 | 5 |
8 | 4 | 1 | 1 | 4 |
To assess the robustness of the proposed HLQR controller, two untuned parameters are deliberately set with deviations from their known values. The gate discharge coefficient Cd is crucial for controlling the actual gate discharges in the execution of the control algorithm as mentioned in Equation (15). Similarly, roughness n, as an important parameter to characterize open-channel flow-water level relationship, greatly affects the accuracy of model predictions (Liu et al. 2024). Using biased hydraulic parameters (n and Cd) in the predictive model for control, the scenarios in Test 2 have been repeated. Specifically, the Manning n is 0.020 for the controller and 0.024 for the simulation, which is increased by 20%. And gate discharge coefficient Cd is 0.83 for the controller and 0.996 for the simulation increasing by 20%.
Performance indicators
The primary goal for OCIS is to distribute the correct quantity of water to each user within a specified timeframe (Weyer 2008). To demonstrate the control system's performance during the transition process, a selection of indicators has been designated numerically (Clemmens et al. 1998; Guanghua et al. 2018). Maximum absolute error (MAE) and integral of the absolute magnitude of error describe the control level of water level, while nondimensional integrated absolute discharge change (NIAQ) and nondimensional integrated absolute gate movement (NIAW) indicate the fluctuation of the flow rate and accumulation of gate action as they are highly correlated by gate discharge formulation. The transition time serves to characterize the stabilization speed of the controller, which is crucial for effective canal system management. Prolonged transition times can result in system instability and operational hazards, such as overflows.
Note that in this study, the stable state is defined as the water level deviation is no more than 2% of the target depth, and gate opening changes of no more than 0.005 m.
These four nondimensional indicators (Equations (16)–(20)) have been selected to cover different aspects for a single pool, including the water level, discharge, gate opening, and transition time. For multi-pool canal systems, MAE and is the largest value across all pools, while the other five indicators are averaged.
Simulation settings
The hydrodynamic calculation platform (Wang & Guan 2011) is used to simulate the one-dimension dynamic process of water in the canal, programed in MATLAB. In this software, a Preissmann implicit scheme difference method has been used to solve the SVEs. The simulation time step (ST) of solving the SVEs, as the simulation interval, matters in the simulation result. A smaller ST produces a more precise process with many spots on the chart and allows the controller to take a smaller discrete control time step (DT) to make a more sophisticated control with accurate delay-time steps and control timings. DT must be a positive integer multiple of ST. Otherwise, the control action may fall in the simulation time step and be unable to execute on time. To avoid too frequent gate adjustments, the DT cannot be too small in practice. Different ST and DT have been set according to the test scenarios. DT is 5 min in Test 1 for precise numerical simulation and 15 min in Test 2-1 for consistency with the comparative case (Zhong et al. 2020). The total simulation time is 24 h for the single pool in Test 1 and 72 h in Test 2-1. The deadband is set to zero in this study. ST is related to the precision of the simulation results. Considering the complexity of the simulation channel, the water intake disturbances, and the completeness of the result curves, we determined, by trial and error, that ST is set to 5 min both in Test 1 and in Test 2-1. It should be noted that control actions are moved to the closest flow control interval (Clemmens et al. 2010). For example, the offtake demand is scheduled to increase at 10:30 at the end of the pool, while the IDZ model delay is 28.9 min. Then the upstream check gate should increase the flow at 10:01. But no action is taken during the interval ST. So, the flow control would begin at 10:00, which may cause some timing errors. Nonetheless, with a 5-min interval, these errors are negligible.
Cost weighting coefficients play a crucial role in determining control bias. Current research typically employs constant matrices for Q and R, determined through trial and error (Clemmens & Schuurmans 2004; Clemmens & Wahlin 2004). Operators have the flexibility to assign different weighting values for each canal pool and gate. In this study, following the principle of water level priority, the weight of the water level deviation needs to be larger than that of the control cost (cumulative flow variation). So, the weight matrix sets R as the unit diagonal matrix and Q as 1,000 times R in the feedback objective function to reduce steady-state deviation. On the other hand, the ratio (Q/R) in the feedforward component is set to 100, to avoid excessive overshoot. The initial system condition for LQR control involves a steady flow with no downstream water level deviations, thereby necessitating no feedback actions at the onset of the simulation.
RESULT
Open-loop control
Open-loop control in small-flow change: (a) and (c) for water level deviation; (b) and (d) for upstream discharge.
Open-loop control in small-flow change: (a) and (c) for water level deviation; (b) and (d) for upstream discharge.
Single-pool control
Single-pool control performance in small-flow change scenario 1-1 and in large-flow change scenario 1-2: (a) and (d) for water level deviation; (b) and (e) for upstream discharge; (c) and (f) for gate opening.
Single-pool control performance in small-flow change scenario 1-1 and in large-flow change scenario 1-2: (a) and (d) for water level deviation; (b) and (e) for upstream discharge; (c) and (f) for gate opening.
In Figure 6(a), the maximum absolute value of water level deviation of HLQR is under 0.03 m, which is smaller than that of DCLQR (around 0.05 m) and LQR (more than 0.10 m). Moreover, the water level deviation of HLQR returns to zero faster, responding to the shortest transition time among these three controllers. Notably, HLQR, similar to DCLQR, leads to an increase in upstream discharge (Figure 6(b)) and a slight increase in water level before the scheduled flow change at the end of the second hour. It shows that the feedforward part of control generates an inflow release, which is preparing for the outflow increase and minimizing the deviation around, unlike the big drop in the water level of LQR without any feedforward. Benefiting from the feedforward actions, the subsequent oscillations of both HLQR and DCLQR are smaller and the water level deviations approach faster to zero, despite the identical feedback components of the three controllers. As shown in Figure 6(b) and 6(c), the upstream discharge of HLQR is greater than that of DCLQR in the first peak and has a weaker fluctuation after the peak. It can be seen that, in Figure 6(b) and 6(e), the upstream discharge of each pool has an overshoot, which may be a weakness of this controller. If this LQR feedforward controller is used alone, steady-state water level deviation will be unavoidable. Therefore, it is essential to design a hybrid controller for sound control. The gate-opening processes have the same trend as the discharges, as the discharge and opening of a gate are strictly positively corresponded by the gate flow formula. Overall, the HLQR controller shows the best performance with the smallest water level deviation (the absolutions are less than 0.03 m) and the shortest transition time during the regulation process.
The performance indicators for scenario 1-1 are summarized in Table 3. Upon examining the overall performance, it becomes evident that both HLQR and DCLQR exhibit significant improvements with feedforward. Furthermore, they each possess advantages in different aspects. Specifically, DCLQR demonstrates less accumulation of discharge changes and gate-position adjustments compared to HLQR, which effectively controls water level deviations to a lower level. Interestingly, they utilize the same parameters in Q and R, suggesting that the difference in tradeoff between water level deviations and flow changes is likely attributable to feedforward control. In other words, the proposed HLQR achieves better water level control with smaller maximum and integral deviations but incurs greater adjustments in discharge and gate opening. Regarding transition time, DCLQR and HLQR exhibit times of 130 and 85 min, respectively, representing a notable 35% reduction crucial for canal system control. Overall, a significant improvement is observed in water level control and transition speed, positioning HLQR as a viable alternative for canal control as a hybrid controller.
Control performance of the single pool in scenario 1-1
Feedforward method . | Flow change (m3/s) . | MAE (![]() | IAE (![]() | NIAQ (![]() | NIAW (![]() | Transition time (min) . |
---|---|---|---|---|---|---|
LQR | 2.5 | 5.28 | 5.23 | 2.61 | 8.03 | 190 |
DCLQR | 2.5 | 2.02 | 2.10 | 1.47 | 4.08 | 130 |
HLQR | 2.5 | 1.15 | 1.15 | 3.49 | 8.42 | 85 |
Feedforward method . | Flow change (m3/s) . | MAE (![]() | IAE (![]() | NIAQ (![]() | NIAW (![]() | Transition time (min) . |
---|---|---|---|---|---|---|
LQR | 2.5 | 5.28 | 5.23 | 2.61 | 8.03 | 190 |
DCLQR | 2.5 | 2.02 | 2.10 | 1.47 | 4.08 | 130 |
HLQR | 2.5 | 1.15 | 1.15 | 3.49 | 8.42 | 85 |
Note: = 2.1 m, and
= 14 m3/s and the full gate opening is 2.3 m for pool 1 and more details are shown in Appendix Table A1.
Similar trends are observed in the large-flow change scenario Test 1-2 (Figure 6(d)). Under both DCLQR and HLQR control, water levels exhibit rises before the offtake discharge change at the end of the second hour due to feedforward control, while LQR maintains the initial water level without feedforward. Subsequently, all three water levels experience sharp drops of varying magnitudes followed by increases due to the feedback controller, ultimately returning to zero deviation. It's important to note that the control variables, upstream discharges, reached the maximum (18 m3/s) and minimum (0 m3/s) values in Test 1-2. Therefore, the water level control is influenced by discharge constraints. Figure 6(d) underscores the importance of feedforward control under large-flow change conditions, as pure feedback LQR results in significant water level deviation (exceeding −0.45 m) and extreme discharges approaching limiting values, posing risks to operational safety. In contrast, both DCLQR and HLQR exhibit milder water level deviations and shorter periods of extreme discharges compared to pure LQR control. Regarding transition time to the stable state, HLQR achieves the shortest duration of 90 min, approximately one-third of LQR's longest duration (270 min), while DCLQR falls in the middle with 165 min. The performance indicators in Test 1-2, as listed in Table 4, consistently highlight the superiority of feedforward control across all five aspects. In comparison between DCLQR and HLQR, the latter shows faster stabilization speed with smaller water level deviation, while the former exhibits less accumulation of discharge changes and fewer gate adjustments.
Control performance of the single pool in scenario 1-2
Feedforward method . | Flow change (m3/s) . | MAE ![]() | IAE ![]() | NIAQ ![]() | NIAW ![]() | Transition time (min) . |
---|---|---|---|---|---|---|
LQR | 11 | 21.86 | 26.70 | 6.08 | 19.22 | 270 |
DCLQR | 11 | 5.51 | 4.81 | 3.09 | 8.68 | 165 |
HLQR | 11 | 5.69 | 1.66 | 6.21 | 15.18 | 90 |
Feedforward method . | Flow change (m3/s) . | MAE ![]() | IAE ![]() | NIAQ ![]() | NIAW ![]() | Transition time (min) . |
---|---|---|---|---|---|---|
LQR | 11 | 21.86 | 26.70 | 6.08 | 19.22 | 270 |
DCLQR | 11 | 5.51 | 4.81 | 3.09 | 8.68 | 165 |
HLQR | 11 | 5.69 | 1.66 | 6.21 | 15.18 | 90 |
Overall, the presented HLQR controller achieves a smaller overshoot and a shorter transition time, owing to the enhanced feedforward method and well-matched hybrid design of feedforward and feedback. However, it incurs greater gate adjustments, potentially accelerating ageing and increasing energy consumption.
Multi-pool control
Overall, the proposed HLQR controller demonstrates satisfactory performance compared to DCLQR. The HLQR controller exhibits a 56.65% reduction in MAE, a 69.69% reduction in gate-opening accumulation, and a 65.12% reduction in transition time (Table 5). It is noteworthy that while the proposed HLQR controller results in more gate actions in the single-pool test, it leads to fewer gate actions in the multi-pool test. One possible explanation is that HLQR can stabilize the pool in a shorter time than DCLQR, as demonstrated in Figure 7, with less gate actions. For the tested 8-pool canal, DCLQR requires considerably more time to stabilize the system compared to HLQR. During the transition period, DCLQR generates a large number of control actions, contributing to the observed differences. Besides, the overall performance improvement can be attributed to the effective flow release managed by the feedforward component of HLQR, aided by model prediction, and the coordination between the feedforward and feedback of the hybrid controller.
Control performance of multi-pool canal system
Control strategy . | MAE (Max) . | IAE (Average) . | NIAQ (Average) . | NIAW (Average) . | Transition time (h) (Max) . |
---|---|---|---|---|---|
Discharge compensation LQRa | ![]() | ![]() | ![]() | ![]() | 21.50 |
The proposed HLQR | ![]() | ![]() | ![]() | ![]() | 7.50 |
Improving | 56.65% | 87.18% | 38.51% | 69.69% | 65.12% |
Control strategy . | MAE (Max) . | IAE (Average) . | NIAQ (Average) . | NIAW (Average) . | Transition time (h) (Max) . |
---|---|---|---|---|---|
Discharge compensation LQRa | ![]() | ![]() | ![]() | ![]() | 21.50 |
The proposed HLQR | ![]() | ![]() | ![]() | ![]() | 7.50 |
Improving | 56.65% | 87.18% | 38.51% | 69.69% | 65.12% |
Note that each canal system contained several pools, so statistics of each pool's indicators were collated to investigate the canal system's performance.
aData from Zhong et al. (2020).
Robust tests
Control performance of untuned discharge coefficient Cd and Manning n
Untuned parameter . | MAE . | Increase (%) . | Transition time . | Increase (%) . |
---|---|---|---|---|
n (120%) | 0.0747 | 94.03 | 10.25 | 36.67 |
Cd (120%) | 0.0478 | 24.16 | 8.5 | 13.33 |
Untuned parameter . | MAE . | Increase (%) . | Transition time . | Increase (%) . |
---|---|---|---|---|
n (120%) | 0.0747 | 94.03 | 10.25 | 36.67 |
Cd (120%) | 0.0478 | 24.16 | 8.5 | 13.33 |
DISCUSSION
In this paper, the ASCE canal serves as the study case under the designed controller across several scenarios. However, owing to variations in factors such as bed slope, side slope, roughness, etc., hydraulic responses may differ among different canals. Consequently, in certain cases, calibration of IDZ model parameters becomes necessary, a process strongly linked to accuracy.
The concept behind the new controller draws inspiration from the integration of model prediction with optimal algorithms and the hybrid design employing LQR logic. In this controller structure, the proposed HLQR is not confined to the IDZ model; other canal models can be utilized as substitutes. However, one limitation lies in its high dependency on the accuracy of model prediction and the certainty of the delivery schedule. This challenge could potentially be addressed, in part, through the incorporation of incremental variables of states and actions (Horváth et al. 2015; Lemos & Sampaio 2015), as well as adaptive strategies (Tian et al. 2017; Liu et al. 2023).
When using LQR in canal control, the coefficients in weighting matrices are crucial to the results. Usually, two optimized quadratic performance indicators are taken from canal response characteristics and inherent design parameters of pools, which all are prior parameters, to determine weight matrices for evaluation objects (changes in water levels and flow rates). Zhong et al. (2020) propose a method called optimized quadratic performance indicators estimate (OQPIE) for the weight selection to provide satisfactory control effects of both water levels and flow rates, saving repeated tuning. This study is focused on the new hybrid controller and has only done some preliminary explorations in weighting coefficient determination. In the designed controller structure, the objective function in feedforward is allowed to be different from that in feedback. But we now just take the same weighting coefficients both in the feedforward and feedback controller and even in every pool of the canal system. The estimation and optimization of the weight matrix are beyond the scope of this article's research, and it is believed that the potential of the HLQR controller can be further explored with the help of optimization in the future.
When utilizing LQR in canal control, the coefficients in weighting matrices play a crucial role in the outcomes. Zhong et al. (2020) propose a method called OQPIE for weight estimation to achieve satisfactory control effects on both water levels and flow rates, thereby saving repeated tuning efforts. However, this study focuses on the new hybrid controller and makes limited explorations in weighting coefficient determination. In the designed controller structure, the objective function in feedforward is allowed to be different from that in feedback. However, currently, we adopt the same weighting coefficients for both the feedforward and feedback controllers and even for every pool of the canal system. The estimation and optimization of the cost weights are beyond the scope of this article's research. It is believed that the potential of the HLQR controller can be further explored with the help of optimization in the future.
CONCLUSION
This paper introduces a novel hybrid feedforward-feedback LQR controller based on model prediction, offering a simple and effective approach for routing known disturbances in open-channel systems and demonstrating satisfactory performance in constant water level control. The main conclusions are as follows:
(1) The presented HLQR controller leads to fewer water level deviations and a shorter transition time for scheduled demand changes. Compared to DCLQR, improvements are observed in single-pool control, with a 19.90% decrease in MAE and a 55.36% reduction in IAE. Moreover, HLQR achieves a 40.03% reduction in transition time.
(2) In multi-pool canal systems, the proposed controller exhibits comprehensive progress in water level deviation, control action cost, and transition speed. Compared to DCLQR, HLQR achieves a 56.65% reduction in MAE, saves 69.69% in gate movement, and reduces transition time from 21.5 to 7.5 h.
(3) The designed controller demonstrates robustness with acceptable control performance when Manning's n and the coefficient of discharge Cd are untuned.
Future research avenues could explore diverse canal models, including high-order models and data-driven models, to serve as the prediction model in the hybrid configuration, thus enhancing prediction accuracy and controller performance. Additionally, field experiments should be conducted to validate the controller's effectiveness in practical control scenarios.
ACKNOWLEDGEMENTS
This work was financially supported by the National Natural Science Foundation of China (NSFC) under Grants (No. 51979202), and the National Key Research and Development Program (2022YFC3202504). We are grateful to the editors and the anonymous reviewers.
DATA AVAILABILITY STATEMENT
All relevant data are included in the paper or its Supplementary Information.
CONFLICT OF INTEREST
The authors declare there is no conflict.