선정목록으로
Optimizing power consumption and position control in an electro-hydraulic system with cylinder bypass and NN-MPC
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.60692/5f1d5-q7145
- 저널
- Greater South Information System
- 발행년도
- 2024
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.60692/5f1d5-q7145
- 토픽
- Electric and Hybrid Vehicle Technologies
- OpenAlex ID
- W6920455175
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Abstract This study introduces an innovative approach to enhance the energy efficiency and position control performance of electro-hydraulic systems, employing a comprehensive comparative analysis. It presents and evaluates three control techniques: Proportional-Integral-Derivative (PID) control, Model Predictive Control (MPC), and Neural Network Model Predictive Control (NN-MPC). These methods are systematically assessed across varying load conditions. Notably, our research unequivocally establishes the exceptional performance of the NN-MPC approach, even when confronted with load variations. Furthermore, the study conducts an exhaustive examination of energy consumption by comparing a conventional system, where a flow control valve is not utilized as a hydraulic cylinder bypass, with a proposed system that employs a fully open Flow Control Valve (FCV). The results underscore the remarkable energy savings achieved, reaching up to 9% at high load levels.
본문 52,494자
본문 펼치기
## OPEN
# Optimizing power consumption and position control in an electro‑hydraulic system with cylinder bypass and NN‑MPC
Omar Hesham Khedr <sup>1,2</sup> <sup>*</sup> , Mohammed Ibrahim Awad <sup>1</sup> , Affaf Khamis Al‑Oufy <sup>2,3</sup> &
Shady A. Maged <sup>1</sup>
This study introduces an innovative approach to enhance the energy efficiency and position control
performance of electro-hydraulic systems, employing a comprehensive comparative analysis. It
presents and evaluates three control techniques: Proportional-Integral-Derivative (PID) control, Model
Predictive Control (MPC), and Neural Network Model Predictive Control (NN-MPC). These methods
are systematically assessed across varying load conditions. Notably, our research unequivocally
establishes the exceptional performance of the NN-MPC approach, even when confronted with load
variations. Furthermore, the study conducts an exhaustive examination of energy consumption by
comparing a conventional system, where a flow control valve is not utilized as a hydraulic cylinder
bypass, with a proposed system that employs a fully open Flow Control Valve (FCV). The results
underscore the remarkable energy savings achieved, reaching up to 9% at high load levels.
Electrohydraulic systems (EHS) have garnered significant attention in diverse industrial settings for their remarkable performance in power generation and positioning. These systems possess outstanding versatility and are
widely used in sectors such as construction, modern airspace, mining, and manufacturing <sup>1</sup> . One of the key
factors that contribute to their popularity is their impressive power-to-weight ratio, rapid response, exceptional
positioning capabilities, and high durability, as pointed out by <sup>2</sup> .
Despite the many advantages of Electrohydraulic systems in various applications related to positioning and
power generation, they suffer from several limitations, including throttling, overflowing, low efficiency, complexity, nonlinearity, uncertainty, and external disturbances. Traditional control techniques have difficulty in
addressing these challenges, making it necessary to explore alternative solutions. This study aims to use machine
learning algorithms and energy-efficient position control techniques to overcome these issues, utilizing an innovative circuit that incorporates conventional hydraulic components. The following paragraphs will delve into the
latest and most significant research studies on EHS, providing a comprehensive summary of the current state of
the art in EHS research and development.
Numerous control techniques, such as the traditional PID, LQR, and others, have been thoroughly examined
and verified by researchers <sup>3–5</sup> . Despite their widespread usage, these standard control theories frequently fall
short in accurately tracking the desired reference due to the inherent uncertainties and nonlinearities of EHS.
Subsequently, researchers have delved into exploring nonlinear controllers to enhance the actuator position’s
control accuracy.
To overcome the nonlinearities of EHS, a nonlinear controller combining sliding mode control and backstepping technique was suggested by <sup>6</sup> . Meanwhile, a standard sliding mode control (SMC) was developed by <sup>7</sup> to
overcome the uncertainties and nonlinearities brought on by friction and internal leakages, and its performance
was compared with that of a PID controller. Additionally, various inputs in the form of steps and sinusoids with
different frequencies were applied to the system to track the SMC’s performance.
In order to reduce the effects of delay on control performance, a predictive control approach was proposed
by <sup>8</sup>, which was utilized to control EHS and achieved superior control performance compared to other techniques.
Furthermore <sup>9</sup>, developed a simulation model of sliding mode control implemented in EHS and compared the
results with those of a robust controller and Model Predictive Control. Finally, to improve the robustness and
1Mechatronics Engineering Department, Faculty of Engineering, Ain Shams University, Cairo, Egypt. 2Mechanical
Engineering Department, Faculty of Engineering, Galala University, Suez, Egypt. <sup>3</sup> Textile Engineering Department,
Faculty of Engineering, Alexandria University, Alexandria, Egypt. <sup>*</sup> email: 2002595@eng.asu.edu.eg
dynamic properties of EHS <sup>10</sup>, employed a hybrid controller that combines MPC and PI controller, as MPC has
been scarcely studied in the context of EHS.
In contemporary times, the conservation of power has become an increasingly pressing issue, prompting
researchers to explore innovative solutions. One study <sup>11</sup> investigates the use of electro-hydraulic systems and
suggests that the energy consumption of EHS can be reduced by concurrently controlling the actuator position
and supply pressure. To achieve this, the pressure relief valve’s setting is adjusted according to the spool position
of the proportional directional valve. The study employs simulation and testing to demonstrate that this approach
leads to the optimal reduction of EHS’s overall power consumption. The researchers also suggest using fixed
displacement pumps as an additional measure to further lower energy consumption in electro-hydraulic systems.
Furthermore, a ground-breaking investigation by <sup>12</sup> proposes a unique hydrostatic system that uses a flywheel
as an energy storage device, significantly lowering energy usage in compared to conventional hydrostatic motors.
Test findings show that the recently proposed system only makes use of 52% of the energy from the main power
source. The efficiency of the system is especially useful for mobile hydraulic machinery applications.
To improve the energy efficiency of hydraulic elevators <sup>13</sup>, suggest using a hydraulic system based on a Variable Voltage Variable Frequency (VVVF) controller. This system uses the accumulator pressure as an energy
storage and release unit, reducing the amount of installed energy and overall energy consumption. The study
by <sup>14</sup> delves into the optimization of linear actuator performance, which holds paramount importance in heavy
earth moving equipment utilized across construction and mining sectors. Their comparative analysis of two
hydraulic circuits, employing a conventional proportional directional control valve (PDCV) and an inventive
integration of a proportional flow control valve (PFCV) to regulate artificial leakage, highlights the pursuit of
enhanced energy efficiency and precise control.
Furthermore, within the realm of using FCV <sup>15</sup>, investigates the static and dynamic characteristics of a proportional flow control valve designed explicitly for use in excavators. The paper meticulously examines the
performance-related parameters of this valve, shedding light on its suitability for achieving both energy savings
and optimal control in excavator applications. This exploration into the proportional flow control valve’s attributes
aligns with the ongoing pursuit of enhancing energy efficiency and precision in heavy machinery
Lastly, reference <sup>16</sup> introduces the leaking valve pump parallel control (LVPC) system, which is designed to
enhance the response of the variable speed pump control (VSPC) system. The LVPC system achieves this by
incorporating a leaking control valve in parallel with the variable speed pump, thereby regulating the system
flow and resulting in a reduction of energy consumption.
This paper proposes a novel approach to achieve two primary goals in hydraulic systems: power conservation
and position tracking. Previous studies <sup>8–10</sup> have shown that MPC controllers can improve dynamic response in
systems with nonlinearities, but traditional controllers have limitations such as time delays, overshooting, chattering, and tracking errors. To address these issues, this paper employs a neural network MPC controller, which
effectively reduces nonlinearities and improves control performance.
In addition, a comparison is made between two hydraulic circuits: a conventional proportional directional
control valve (PDCV) and a flow control valve (FCV) that employs a hydraulic cylinder bypass. Experimental
findings demonstrate that the FCV circuit outperforms the PDCV circuit, resulting in significant reductions
in energy consumption (by 15.35% under no-load conditions and 9% at 7.5 MPa) and average operating temperature (by 10%). The proposed approach is further validated using simulation and experimental results, thus
confirming its practicality and effectiveness.
The present study aims to provide a comprehensive understanding of the mathematical modeling and experimental setup of a hydraulic system. To this end, the paper is divided into several sections, each covering a specific
aspect of the research. In Section "Developing a linear discrete-time state-space model", the hydraulic circuits
and their components are explained in detail. Moving on, Section "Controllers design and simulation" presents
the inputs and outputs collected through LabVIEW and NI-USB 6009. The state space of the system is then
demonstrated using MATLAB’s Linear Analysis toolbox. In Section "PID controller design", the structure of the
MPC, NN MPC, and PID controllers is described, along with the system simulation. The effectiveness of these
controllers is compared in Section "The experiment and result", where experimental results under various loads
are presented and contrasted with those from other EHS position control theories. In Section "Conclusion", the
power consumption of the proposed circuits is compared, and their average operating temperature is evaluated.
The paper concludes with a summary of the main findings and contributions of this research.
System description and mathematical modeling of electro‑hydraulic system
Figure 1 presents our laboratory’s experimental setup. The schematic depiction in Fig. 1a details the interconnections among system components, elucidating their roles in enabling precise control of the hydraulic cylinder’s position. This diagram visually maps the flow pathway of hydraulic fluid, showcasing the positioning and
relationships of crucial elements: the hydraulic cylinder (1), gear pump (2), valves [including the proportional
directional control valve (12) and relief valve (7)], pressure transducers (4), flow meter (5), filters (11), measuring
units (8), amplifier circuit (14), linear potentiometer (16), and computer (17) utilized for data acquisition and
analysis. Moreover, Fig. 1b offers a tangible representation through a photograph, providing a realistic view of
the physical arrangement of the electro-hydraulic system. This image substantiates the assembly of components
delineated in the schematic diagram. Additionally, a summarized overview of the system components is presented
in Table 1, specifying the description and roles of each constituent element.
The development of a controller requires a thorough mathematical modelling of the system. In this study, the
dynamics of an electrohydraulic proportional system are mathematically modelled, under certain assumptions.
Specifically, fluid leakage in the cylinder and valve, as well as contact between the cylinder and piston, are ignored.
Figure 1. ( a ) Schematic diagram of the experimental electro-hydraulic proportional system. ( b ) Photograph of
electro hydraulic proportional system.
<u>Component</u> <u>Description</u>
<u>Hydraulic cylinder (1)</u> <u>Contains a 25 mm piston diameter</u>
<u>Gear pump (2)</u> <u>A pump powered by a 1.5 KW AC motor to supply hydraulic fuid to the systeml</u>
<u>Ball check valve (3)</u> <u>Prevents reverse flow and ensures one-way fuid movementl</u>
Instruments to measure pressure at the rod and bore ends of the cylinder, as well as pump outlet
Pressure transducers and gauges (4)
<u>pressure</u>
<u>Flowmeter (5)</u> <u>Measures and records the flowrate delivered to the hydraulic cylinder</u>
<u>Hydraulic tank (6)</u> <u>Stores hydraulic fuid and acts as a reservoirl</u>
<u>Main pressure relief valve (PRV) (7)</u> <u>Safeguard to bypass excess flow and maintain system pressure</u>
<u>Measuring unit (8)</u> <u>Records various parameters such as pressure, flow</u>
A flow control valve utilized as a bypass between the inlet and outlet of the cylinder, providing
FCV (9)
<u>control over the flow of hydraulic fuid within the systeml</u>
Used for simulating loads by restricting the oil flow exiting the cylinder with hydraulic pressure that
Proportional relief valve (10)
<u>is proportional to the signal provided to the Proportional Amplifier, ranging from 0 to 10 V</u>
<u>Pressure filter (11)</u> <u>Removes impurities and contaminants from the hydraulic fuidl</u>
<u>4/3 PDCV (12)</u> <u>A 4/3 proportional directional control valve used to regulate flow during cylinder position control</u>
Amplifies the signal output from data acquisition, converting it from 0 to 5 V to the required input
Amplifier circuit (14)
<u>range of the Proportional Amplifier for the PDCV, which operates from − 10 to 10 V</u>
<u>Linear potentiometer (16)</u> <u>Provides feedback on the cylinder’s position for control and monitoring purposes</u>
<u>Computer (17)</u> <u>Equipped with a data acquisition card for recording and analyzing the cylinder’s response</u>
Table 1. Components of the experimental hydraulic system.
The mathematical models for the two hydraulic systems are presented below, with Eqs. (1) to (9) providing an
explanation for each. First, the system equations for the hydraulic circuit using only PDCV are expressed <sup>17</sup> .
QL = <sup><u>Q2</u></sup> <sup>+ Qr</sup> (1)
2
Equation (1) characterizes the flow of the load inside the cylinder, where Q2 denotes the inlet flow and Qr
denotes the exit flow.
PL = P1 − P2 (2)
Equation (2) represents the pressure of the load on the cylinder, which can be calculated by finding the difference between the inlet and exit pressures of the cylinder.
- <u>Vβ</u>
P˙
Q2 = P˙ + AVp (3)
- <u>V</u>
+ AVp
1
Equation (3) represents the flow that propels the actuator’s movement and corresponds to the compressible
flow present in the cylinder chamber.
- <sup><u>V</u></sup>
- β
Qr = - <sup><u>V</u></sup> P˙ + AVp (4)
-
β
P˙
+ AVp
2
Equation (4) represents the flow leaving the cylinder, which is obtained by subtracting the compressible fluid
in the cylinder from the flow generated by the actuator motion.
P˙
- 2Vβ
QL = P˙ + AVp = Kf Xv − Kt PL (5)
- <u>V</u>
+ AVp
L
= Kf Xv − Kt PL
By incorporating the information from the four equations stated previously, Eq. (5) characterizes the load
flow equation inside the cylinder and through the proportional valve. This equation is also dependent on the
spool position and the load pressure.
F = APL = mVp <sup>˙</sup> + bVp + FL (6)
In Eq. (6), the balance of pressure force is illustrated, taking into account the external load acting on the
cylinder, the viscous friction, and the inertial force.
The system equations of the hydraulic system using FCV are stated down below:
Q1 = Q0 + Q2 (7)
Equation (7) illustrates that the flow generated by the pump is equal to the summation of the flow through
the flow control valve and the flow entering the cylinder. Moreover, Eq. (8) showcases the mathematical representation for the flow rate (Q0) of fluid passing through an orifice.
<u>2P1</u>
Q0=CdA� = Kf Xv − Kt P1 (8)
ρ
To provide a more comprehensive understanding of this principle, Eq. (9) offers a detailed expression for the
flow Q1. It can be expressed as:
Q1 = <sup><u>V</u></sup> P˙ + AVp + Kf Xv − Kt P1 (9)
2β
<sup><u>V</u></sup> P˙
2β
+ AVp + Kf Xv − Kt P1
1
Table 2 provides a list of symbols and their corresponding meanings, which are utilized in the aforementioned
equations <sup>18</sup> .
<u>Notation</u> <u>Nomenclature</u> <u>Value</u>
A <u>Te surface area of the hydraulic piston cylinderh</u> <u>633 cm</u> <sup>2</sup>
PL <u>Hydraulic pressure between the inlet and outlet of the actuator piston</u> <u>–</u>
<u>B</u> <u>Damping coefficient</u> <u>1000 Nm</u> <sup>−1</sup> <u>s</u>
FL <u>External load disturbance</u> <u>–</u>
Xv <u>Spool valve displacement</u> <u>–</u>
β <u>Te bulk modulus of hydraulic oilh</u> <u>689*106 Pa</u>
Vp <u>Piston’s velocity</u> <u>–</u>
v <u>Te volume of oil in the cylinderh</u> <u>468/1003 m</u> <sup>3</sup>
Kf <u>Proportional valve coefficient</u> <u>1.02 m</u> <sup>2</sup> <u>/sec</u>
Kt <u>Leakage flow coefficient</u> <u>0 m</u> <sup>3</sup> <u>/Pa s</u>
m <u>Mass at load</u> <u>12 kg</u>
Cd <u>Valve discharge flow co-efficient</u> <u>–</u>
Xv <u>Valve spool position gain</u> <u>0.0406*10–2 m/V</u>
ρ <u>Density of oil</u> <u>833.3 kg/m</u> <sup>3</sup>
Table 2. Mathematical model symbols.
Developing a linear discrete‑time state‑space model
To implement Model Predictive Control in LabVIEW, a linear discrete-time state-space mathematical model
must be established. This model is derived using MATLAB’s Linear Analysis Tool, and Eqs. (10) to (15) provide
a detailed account of the process. To get the system’s time-domain response, random signals are used as input
excitation. Figure 2 shows the input signal sent to the proportional amplifier of the PDCV and response of the
closed-loop system <sup>10</sup> .
x(k + 1) = Ax(k) = Bu(k) (10)
Y (k) = Cx(k) + Du(k) (11)
1.018 −0.01259 0.07238
−0.07183 0.5918 0.9991
−0.2108 −0.534 0.8973
A = - −0.07183 0.5918 0.9991 - (12)
0.0591
- −0.002289
0.0005919
B = - −0.0022890.0591 - (13)
C = (14)
- 71.64 −3.625 0.3697 �
D = (15)
- 0 �
To evaluate the effectiveness of the control method, a simulation model is developed using the Control Design
and Simulation Module in LabVIEW. The simulation allows for testing of the control method in a controlled
environment, enabling an assessment of its efficacy before implementing it in real-world applications. The simulation results are then analyzed to determine if the controlled position accurately tracks the desired set-point.
Controllers design and simulation
Model predictive control
Model predictive control is a well-established controller that has found numerous successful applications in both
academic and industrial settings. Its effectiveness and practicality have contributed to its widespread use. Moreover, MPC is capable of managing both measured and unmeasured disturbances. In order to improve the reference
signal and estimate the output, measured noise (such as electrical noise and sampling errors) must be taken into
consideration. MPC also offers feedforward compensation for both recorded and unmeasured disturbances <sup>19–21</sup> .
In MPC, a single discrete-time, linearly time-invariant, state-space system model is typically used to predict
the system’s future behavior. The prediction horizon (P) and control horizon (M) are key components of the
MPC definition. The value of M specifies the number of samples that will influence voltage, while P specifies the
number of samples needed to estimate plant output. It is essential for M to have a lower value than P. The objective function J(k) is a quadratic nonlinear function. The equations from (17–19) specify its limitations on the
outputs, control signal change, and control signal. The scalar system’s representation of J(k) is given by Eq. (16).
Controllers design and simulation
Model predictive control
Model predictive control is a well-established controller that has found numerous successful applications in both
academic and industrial settings. Its effectiveness and practicality have contributed to its widespread use. Moreover, MPC is capable of managing both measured and unmeasured disturbances. In order to improve the reference
signal and estimate the output, measured noise (such as electrical noise and sampling errors) must be taken into
consideration. MPC also offers feedforward compensation for both recorded and unmeasured disturbances <sup>19–21</sup> .
Figure 2. ( a ) Test signal for linear analysis tool. ( b ) Real-time response.
In the first step of the MPC technique, a single discrete-time, linearly time-invariant, state-space system model
is typically used to predict the system’s future behavior. over a specified time horizon. At each instant ‘k’, predictions are made for the outputs ŷ(k+i), where ‘i’ ranges from 1 to ‘P’ for the prediction horizon. These predictions
take into account previous inputs, outputs, and the future control signals u(k+i), where ‘i’ ranges from 1 to ‘M-1’.
In the second step, the MPC methodology computes a sequence of forthcoming control signals with the intention of optimizing an objective function and enhancing system performance. This objective function is denoted
as ‘J(k)’ in Eq. (16), wherein ŷ stands for the output predicted by the model, R represents the set point, and ∆u
indicates the change in manipulated input between successive sample instants. Additionally, r and q are used to
symbolize the weights associated with these changes in input and errors in the predicted outputs, respectively.
The variable ‘k’ denotes the present sample time.
The objective function is defined as:
P
�i=1
�yˆ(k + i) − R(k + i)
M−1
�i=1
J(k) = - q.�yˆ(k + i) − R(k + i) - r.[�u(k + i)] <sup>2</sup> (16)
r.[�u(k + i)] <sup>2</sup>
q.
�2 +
Constraints on control signals, their rate of change, and the outputs are also incorporated into the cost function, as defined in Eqs. (17, 18, and 19).
umin ≤ u(k) ≤ umax (17)
�(umin) ≤ �u(k) ≤ �(umax) (18)
ymin ≤ y(k) ≤ ymax (19)
In the third step of the MPC technique, the current control signal is applied to the system. In the subsequent
interval, Step 1 is repeated while measuring the output using the receding horizon technique. This measurement
is used to calculate the control signal for the next time step. Thus, the prediction horizon shifts into the future
while maintaining the same length at each interval.
The choice of the control horizon is crucial, as a larger value increases the computational load, potentially
leading to undesired performance. The output weighting and Equal Concern for Relaxation (ECR) weighting
are significant considerations in tuning the MPC controller. In this study, the MPC controller is adjusted with a
default control horizon value of 2 and a fixed output weighting value of 1. ECR weighting plays a role in balancing constraints against other performance goals, typically in the range of 5 to 20.
Figure 3 illustrates the output behavior of the MPC controller and demonstrates the impact of tuning the
prediction horizons. The system’s performance is evaluated using unit step inputs to assess tracking control
results. The results indicate that a prediction horizon of 15 is optimal in terms of tracking and control inputs.
In Table 3, the implemented parameters and cost weights for the model predictive controller are presented.
The prediction horizon is set to 15, and the control horizon is set to 2. The MPC cost weights include the control
action weight, control action rate weight, output weightings, and ECR weightings, each with their respective
values:
With this configuration, the LabVIEW MPC system is equipped with the necessary parameters and weights
to achieve optimal control and tracking performance.
Moving on to the practical implementation in LabVIEW, The visual representation in Figure 4 encapsulates the LabVIEW Model Predictive Control (MPC) block diagram, showcasing essential components for
Figure 3. Simulation results of the MPC controller by tuning prediction horizons.
<u>MPC controller parameters</u>
<u>Prediction horizon</u> <u>15</u>
<u>Control horizon</u> <u>2</u>
<u>MPC cost weights</u>
<u>Control action weight</u> <u>0</u>
<u>Control action rate weight</u> <u>0.1</u>
<u>Output weightings</u> <u>1</u>
<u>ECR weightings</u> <u>1</u>
Table 3. MPC controller parameters.
Figure 4. Block diagram of LabVIEW MPC.
implementing the MPC algorithm. This depiction includes various tabs and functionalities integral to the MPC
controller’s operation:
- MPC Controller Parameters Tab: This tab houses text boxes for inputting values crucial to the MPC algorithm, including the prediction horizon, control horizon, and initial window settings.
- Discrete State Space Model Tab: Within this tab, a data entry window enables the specification of the discrete
state space model.
- MPC Cost and MPC Constraints Tabs: These tabs contain windows for defining constraints and weight
factors pertinent to the MPC scheme. They facilitate the specification of limitations on input and output
variables alongside cost weights, crucial for optimal control strategy determination.
- CD Create MPC Controller VI: This VI is utilized to generate the MPC controller. It takes as input the
discrete state space model data, MPC parameters (including prediction horizon and control horizon), cost
weights, and constraints. With these inputs, it creates the MPC controller.
- CD Step Forward MPC Window VI: This VI calculates the appropriate portion of the set point and disturbance profile while moving the control and prediction horizon forward. These windows are then connected
to the CD Implement MPC Controller VI.
- CD Implement MPC Controller VI: This VI is responsible for calculating the control action to be applied
to the system. It leverages the output reference window, the MPC controller created by the CD Create MPC
Controller VI, and the measured output to compute the control action along the control horizon at time ‘k’.
The implementation of control actions is facilitated by the DAQ Assistant, enabling the execution of control
signals to the system. Simultaneously, the DAQ Assistant 2 is utilized for acquiring data from the system, forming
an integral part of the closed-loop control setup. Additionally, Tab control graphs are created to visually present
the results obtained from the DAQ Assistant’s execution.
These LabVIEW VIs can be understood as operating in two stages. The first stage involves collecting all MPC
parameters from the user, preparing the system for MPC. The second stage enforces the control actions, generated by the MPC scheme, on the plant.
Neural network model predictive control
The neural network model predictive controller is an advanced control strategy that utilizes a neural network
model of a nonlinear plant to predict its future performance. By optimizing the control input over a specified prediction horizon, the controller seeks to achieve optimal plant performance. These predictions are then employed
by an optimizer to compute the control signal that minimizes the MPC’s objective function over a specified time
horizon. The selection of the cost horizon value is a pivotal aspect of this control strategy and is assessed across
a range from 5 to 30 to determine the optimal value that yields the most favorable results <sup>22,23</sup> .
The process of model predictive control (MPC) is visualized in the block diagram shown in Fig. 5. The controller comprises two fundamental components: the neural network plant model and the optimization block.
The optimization block’s primary function is to calculate the values of u’ that minimize the cost function J.
Once these optimal values are determined, they are used as inputs to the plant. The neural network plant model
is trained using MATLAB, and the complete controller block is implemented using LabVIEW, as depicted in
Fig. 6 which illustrates the LabVIEW implementation of the Neural Network Model Predictive Control (NNMPC), incorporating fundamental components akin to the MPC methodology described in Fig. 4. However, it
incorporates an additional element—a MATLAB script serving a pivotal role in integrating the neural network
model into the control architecture.
This MATLAB script’s purpose is to load the neural network model, define and combine the inputs (control
action and system output), and subsequently generate predictions using the neural network. The output from the
neural network, denoted as ‘ym’, can be used as feedback within the LabVIEW MPC loop, facilitating informed
control decisions.
To successfully implement the NN-MPC method, a well-structured sequence of steps must be meticulously
followed. The process commences by defining the system’s dynamics, which involves developing a comprehensive
mathematical model that encompasses the system’s inputs, outputs, and states. Subsequently, the collection of
Figure 5. NN predictive controller block diagram.
Figure 6. Block diagram of LabVIEW NN-MPC.
training data begins with the aim of faithfully representing the system’s behavior. This data is pivotal for training
a neural network capable of approximating the system model.
The third phase revolves around the training of the neural network using the collected dataset, enabling the
network to predict the system’s output based on input and state measurements. A critical step follows, where the
trained neural network is converted into a MATLAB script for seamless integration into the control architecture.
Central to the NN-MPC methodology is the design of the Model Predictive Controller (MPC). During this
phase, careful consideration is given to defining the cost horizon and control horizon. This involves a delicate
balance between optimizing control effort and achieving precise control objectives. Building upon the foundation laid in the previous step, constraints are established to ensure that control actions adhere to the operational
limits of the system.
Before transitioning to the real-world environment, a MATLAB script representing the trained neural network is generated.
The final step involves the seamless integration of the MATLAB script into LabVIEW, facilitating the implementation of the control strategy within the electro-hydraulic system. This structured approach ensures a systematic and efficient implementation of the NN-MPC method, guaranteeing its effectiveness in controlling
complex systems.
Figure 7 presents the simulation results of the system using the NN-MPC control strategy, with a specific
focus on tracking control performance with unit step inputs. The simulation results demonstrate that a prediction
horizon of 16 yields the best performance in terms of both tracking accuracy and settling time.
Table 4 provides the parameters of the implemented neural network architecture and the MPC controller for
the NN-MPC control strategy. The neural network architecture comprises three hidden layers and the training
data consists of 5000 samples, with maximum and minimum input/output values defined. The training parameters include the number of epochs set to 500.
Figure 7. Simulation results of the NN-MPC controller by tuning prediction horizons.
<u>MPC parameters</u>
<u>Cost horizon</u> <u>16</u> <u>Control weighting factor</u> <u>0.05</u>
<u>Control horizon</u> <u>2</u> <u>Iterations per sample time</u> <u>2</u>
<u>Neural network architecture</u>
<u>Hidden layer size</u> <u>3</u> <u>No. delayed inputs</u> <u>1</u>
<u>Sampling interval</u> <u>0.19</u> <u>No. delayed outputs</u> <u>1</u>
<u>Training data parameters</u>
<u>Training samples</u> <u>5000</u>
<u>Maximum input</u> <u>10</u> <u>Maximum output</u> <u>11</u>
<u>Minimum input</u> <u>− 10</u> <u>Minimum output</u> <u>0.5</u>
<u>Maximum interval value</u> <u>1</u> <u>Minimum interval value</u> <u>0.5</u>
<u>Training parameters</u>
<u>Epochs</u> <u>500</u>
Table 4. Neural network MPC controller parameters.
PID controller design
In the industry, PID controllers are widely utilized due to their ability to provide a performance “baseline” that
can be quickly established using the Ziegler-Nichols closed-loop tuning method. The input to a plant controlled
by a PID controller is calculated as shown in Eq. (20), by combining the proportional, integral, and derivative
control modes. The proportional mode calculates the output based on the difference between the setpoint and
the process variable, while the integral mode accumulates the error over time to reduce steady-state errors. The
derivative mode calculates the output based on the rate of change of the error to improve the response time of
the controller. Despite their popularity, PID controllers have some limitations and may not be the optimal choice
for all applications. In such cases, more advanced control techniques such as MPC and neural network MPC
may be more appropriate. These methods can provide superior control performance, but require more advanced
tuning and implementation techniques.
u(t) = Kp(edt + <sup><u>1</u></sup> - edt + Td <sup><u>de</u></sup> dt <sup>)</sup> (20)
Ti
edt + Td <sup><u>de</u></sup>
- dt
<sup><u>de</u></sup>
dt <sup>)</sup>
This method involves calculating the ultimate gain value, Kcr, and the ultimate period of oscillation, Pcr,
which are then used to derive the PID parameters. In our system, we obtain the transfer function and use the
ss2tf function in Matlab to apply the closed loop in Simulink and determine the values of Kcr and Pcr. Specifically, we found that Kcr was 8.3 and Pcr was 256s. To calculate the PID parameters, we followed the equations
from (21) to (23) derived from the Ziegler-Nichols method <sup>24,25</sup> .
Kp = 0.6Kcr = 5 (21)
Ti = 0.5Pcr = 128 (22)
Ti = 0.125Pcr = 32 (23)
Simulation
In order to optimize controller algorithms and determine the most effective parameters, MATLAB Simulink is
employed. Through simulations, it was observed that NN MPC achieved stability in the shortest amount of time,
with zero overshoot, after just 0.387 seconds. This was followed by MPC, which exhibited a slight overshoot of
3.58% after 1.19 seconds. On the other hand, the PID controller required the longest amount of time to stabilize,
doing so after 1.39 seconds. The step response of each controller can be visualized in Figure 8.
The experiment and result
The upcoming section of our research paper will focus on two primary aspects related to the performance
analysis of hydraulic circuits. The section will be divided into two parts, with the first part focusing on a comparison between different control techniques under varying loads. This comparative analysis aims to highlight
the efficiency and effectiveness of different control techniques and their impact on the overall performance of
hydraulic circuits. The second part of this section will focus on an energy consumption comparison between
different hydraulic circuits. Our research findings provide a valuable understanding of the energy consumption
of hydraulic circuits utilizing various control techniques. This comparison aims to showcase the potential benefits
of different control techniques in enhancing energy efficiency, leading to more sustainable and cost-effective
energy consumption.
Figure 8. Simulation results of the NN-MPC controller by tuning prediction horizons.
The results of the control techniques under different load
The LabVIEW software was employed to apply PID, MPC, and NNPC control techniques to the system. The
performance of the PID and MPC controllers was compared to that of the designed NN MPC. To evaluate the
system’s response, step input displacements with an amplitude of 100 mm were applied under different loads,
including no-load and 7.5 MPa. The effectiveness of each controller was assessed by analyzing their ability to
regulate the system output in response to the input changes. The results of these tests were analyzed to determine
which controller was most effective in achieving the desired control objective.
Noload input
Figure 9 displays the response and trajectory error of the system when subjected to a 100 mm reference input.
It can be observed that the NN MPC outperforms both the PID and MPC controllers in terms of settling time.
Moreover, the NN MPC exhibits a higher level of accuracy in tracking the setpoint as compared to the other
controllers, which exhibit slight overshoot. Therefore, it can be concluded that the NN MPC is the most effective
controller for the given system.
7.5 MPa load input
Upon observing the performance of the system while a constant 7.5 MPa load is applied, as depicted in Figure 11,
the system’s operation and tracking error are analyzed. Figure 10 displays the system’s output response to the
Figure 9. ( a ) System response at No-load. ( b ) Position error under No-load.
Figure 10. ( a ) System response under load 7.5 MPa. ( b ) Position error under load 7.5 MPa.
1 1.5 2 2.5 3 3.5 4 4.5 5
Time (sec)
7
6
5
4
3
2
1
0
Load Pressure
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
Time (sec)
8
7.8
7.6
7.4
7.2
7
6.8
6.6
6.4
6.2
6
Load Pressure
( a ) ( b )
Figure 11. Pressure sensor reading of different loads.
input, and it is evident that the NN MPC controller outperforms both the MPC and PID controllers in terms of
tracking error and settling. The PID controller, on the other hand, fails to achieve the desired displacement of
100 mm and retracts before reaching it.
Figures 11 illustrates the pressure sensor measurements for different magnitudes of loads.
The experimental results are displayed in Table 5.
Power consumption comparison
The amount of power consumed by the hydraulic system can be mathematically represented by Eq. (24).
- tt+�t
P = pQdt (24)
- t+�t
pQdt
t
where, P is Power consumed by the hydraulic system, p is the measurement of pressure sensor (4), Q is the measurement of flow sensor (5), t is the starting time of the experiment, �t is time duration of the experiment cycle.
In the context of position control of a cylinder using a flow control valve, Fig. 13 depicts the flow behavior
through the pressure relief valve (PRV) (8). At the beginning of the process, the cylinder is stationary, and its
movement is monitored while the pressure sensor (4) records the PRV’s cracking pressure (50 bar) shown in
Fig. 12. Additionally, the flow sensor (5) measures the flow rate. As the cylinder advances and then returns to its
original position, both the pressure and flow show fluctuations (Figs. 13 and 14).
Figure 14 clearly shows that the circuit utilizing FCV technology exhibits significantly lower energy consumption in comparison to the circuit without FCV. The observed reduction in energy consumption can be attributed
to the discharge of excess flow in the circuit using PDCV, which occurs through the pressure relief valve at its
cracking pressure, as illustrated in Fig. 12. However, with the use of FCV technology, the excess flow is expertly
bypassed at the load pressure, resulting in a remarkable increase in efficiency of about 15.35% at No-load and
9% at load 7.5 MPa, as described in detail in Table 6. It is worth noting that the term FCV ON refers to the fully
open state of the FCV, while FCV OFF indicates that the FCV is closed.
<u>Control</u> <u>Load (MPa)</u> <u>Settling time (sec.)</u> <u>Overshoot %</u> <u>Error %</u>
<u>PID</u> <u>–</u> <u>1.09</u> <u>0</u> <u>− 0.159</u>
<u>MPC</u> <u>1.09</u> <u>2.037</u> <u>− 0.213</u>
<u>NN MPC</u> <u>0.909</u> <u>0</u> <u>− 0.011</u>
<u>[9]</u> <u>1.7</u> <u>0</u> <u>−</u>
<u>[10]</u> <u>–</u> <u>–</u> <u>0.5201</u>
<u>PID</u> <u>7.5</u> <u>3.63</u> <u>0</u> <u>− 1.98</u>
<u>MPC</u> <u>1.45</u> <u>6.27</u> <u>0.26</u>
<u>NN MPC</u> <u>1.09</u> <u>0</u> <u>− 0.012</u>
Table 5. Comparison between controllers under different loads.
Figure 12. ( a ) Pressure measured by pressure sensor at No-load. ( b ) Pressure measured by pressure sensor at
7.5 MPA.
Figure 13. ( a ) Flow rate through PRV at No-load. ( b ) Flow rate through PRV at 7.5 MPa.
Our findings underscore the enormous potential of FCV technology in improving the energy efficiency of
hydraulic systems, leading to a more sustainable and cost-effective approach to energy consumption. These
results have significant implications for various industries and pave the way for the widespread adoption of
FCV technology.
To ensure the reliability and accuracy of our findings, further verification was carried out through the use
of advanced temperature sensors to measure the operating temperature of the system. As shown in Fig. 15, our
results indicate a significant decrease in the average operating temperature of the system by 10% when utilizing
FCV technology. This reduction in temperature not only highlights the superior efficiency and performance of
FCVs but also showcases their potential for widespread implementation in a variety of settings. Our findings
provide compelling evidence of the benefits of FCVs and their ability to enhance the overall sustainability and
effectiveness of energy systems.
Conclusion
This research investigates methods to enhance hydraulic system power consumption and performance through
advanced control techniques and technology. The comparison between PID, MPC, and NN MPC controllers
revealed NN MPC’s superiority in speed, accuracy, and minimizing overshooting across various loads, suggesting its potential to surpass traditional controller limitations. This precision and stability are crucial for
Figure 14. ( a ) Power consumption at No-load. (b) Power consumption at 7.5 MPa.
<u>System</u> <u>Energy consumption (J) at No-load</u> <u>Energy consumption (J) at load 7.5 MPa</u>
<u>System without using FCV</u> <u>235.87</u> <u>380.22</u>
<u>Proposed system using FCV</u> <u>199.66</u> <u>345.85</u>
<u>Energy saving</u> <u>15.35%</u> <u>9%</u>
Table 6. Average energy consumption under different loads.
Figure 15. ( a ) Operating temperature at No-load. ( b ) Operating temperature at 7.5 MPa.
industrial applications relying on hydraulic systems. Additionally, exploring energy consumption, particularly
by integrating Flow Control Valve (FCV) as a hydraulic bypass, demonstrates substantial potential for energy
savings across diverse hydraulic applications, from heavy machinery to manufacturing and construction. Circuits
incorporating FCVs exhibited impressive energy savings of approximately 15.35% with no load and 9% under a
7.5 MPa load compared to those without FCV. Moreover, the use of FCV was associated with a significant 10%
reduction in operating temperatures, underscoring the efficiency and sustainability benefits these technologies
offer hydraulic systems.
Ethics approval and consent to participate
This research, which pertains to the optimization of power consumption in electrohydraulic position systems, did
not involve human or animal subjects. As such, formal ethics approval and informed consent were not applicable
to this study. The investigation primarily concentrated on the technical aspects and performance enhancements
of electrohydraulic systems.
Data and materials availability
We acknowledge the requirement of a data availability statement for this journal. The data used in our study,
including sensor calibration data, LabVIEW files and experimental results, can be obtained from the repository
mentioned in the article. Researchers can access and analyze this data to validate and build upon our findings.
The data and material associated with our research are available in the repository mentioned in the article.
[Researchers can access and download the code, data, and resources from the following link: https://github.com/](https://github.com/Omar-H-Khedr/Advanced-Control-Systems-for-Enhanced-Motion-Tracking-in-Electro-Hydraulic-Systems.git)
[Omar-H-Khedr/Advanced-Control-Systems-for-Enhanced-Motion-Tracking-in-Electro-Hydraulic-Systems.git.](https://github.com/Omar-H-Khedr/Advanced-Control-Systems-for-Enhanced-Motion-Tracking-in-Electro-Hydraulic-Systems.git)
Code availability
We have ensured the availability of the code related to our research. Researchers can find the code in the repository mentioned above. It includes LabVIEW files, MATLAB files, and the Position Figures Generator code, which
facilitate the implementation, analysis, and visualization of the control systems for electro-hydraulic systems.
Declarations Conflict of interest the authors declare no conflict of interest.
Received: 9 September 2023; Accepted: 3 January 2024
References
1. Abdelhameed, M. M., Abdelaziz, M. & Maged, S. A. Design and performance analysis of hybrid fuzzy robust controller for hydraulic
system against variable loads. in _2013 8th International Conference on Computer Engineering & Systems_ (ICCES), Cairo, Egypt,
158–163 (2013).
2. Ghani, M. F. _et al._ Improved third order PID sliding mode controller for electrohydraulic actuator tracking control. _J. Robot._
_Control. (JRC)_ 3, 219–226 (2022).
3. Kumawat, A. K., Kumawat, R., Rawat, M. & Rout, R. Real time position control of electrohydraulic system using PID controller.
_Mater. Today: Proc._ 47, 2966–2969 (2021).
4. Feng, H., Ma, W., Yin, C. & Cao, D. Trajectory control of electro-hydraulic position servo system using improved PSO-PID con
troller. _Autom. Constr._ 127, 103722 (2021).
5. Borrás Pinilla, C., Sarmiento, J. L. & Guiza, RD. Modelling, system identification and position control based on LQR formula
tion for an electro−hydraulic servo system. in _Proceedings of the ASME 2019 International Mechanical Engineering Congress and_
_Exposition_ ; volume 4: Dynamics, Vibration, and Control. Salt Lake City, Utah, USA. V004T05A088. ASME, 11–14 Nov, (2019).
6. Ji, X., Wang, C., Zhang, Z., Chen, S. & Guo, X. Nonlinear adaptive position control of hydraulic servo system based on sliding
mode back-stepping design method. _Proc. Inst. Mech. Eng. Part I J. Syst. Control. Eng._ 235, 474–485 (2021).
7. Thomas, A. T., Parameshwaran, R., Sathiyavathi, S. & Starbino, A. V. Improved position tracking performance of electro hydraulic
actuator using PID and sliding mode controller. _IETE J. Res._ 68, 1683–1695 (2022).
8. Gu, W., Yao, J., Yao, Z. & Zheng, J. Output feedback model predictive control of hydraulic systems with disturbances compensation.
_ISA Trans._ 88, 216–224 (2019).
9. Abbas, M. J., Zad, H. S., Awais, M. & Ulasyar, A. Robust sliding mode position control of electro-hydraulic servo system. in _Pro-_
_ceedings of the 2019 International Conference on Electrical, Communication, and Computer Engineering (ICECCE)_, Swat, Pakistan,
IEEE: Piscataway, NJ, USA. Accessed 24–25 July 2019. 1–6 (2019).
10. Yuan, H.-B., Na, H.-C. & Kim, Y.-B. System identification and robust position control for electro-hydraulic servo system using
hybrid model predictive control. _J. Vib. Control._ 24, 4145–4159 (2018).
11. Tivay, A., Zareinejad, M., Rezaei, S. M. & Baghestan, K. switched energy saving position controller for variable-pressure electro
hydraulic servo systems. _ISA Trans._ 53 (4), 1297–1306 (2014).
12. Triet, H. H. & Ahn, K. K. Comparison and assessment of a hydraulic energy-saving system for hydrostatic drives. _Proc. Inst. Mech._
_Eng., Part I: J. Syst. Control Eng._ 225 (1), 21–34 (2011).
13. Xu, B., Ouyang, X. & Yang, H. Energy-saving system applying pressure accumulators for VVVF controlled hydraulic elevators.
_ASME Int. Mech. Eng. Congr. Expo._ 37173, 117–122 (2003).
14. Wrat, G., Bhola, M., Ranjan, P., Mishra, S. K. & Das, J. Energy saving and Fuzzy-PID position control of electro-hydraulic system
by leakage compensation through proportional flow control valve. _ISA Trans._ 101, 269–280 (2020).
15. Yun, S. -N., Lee, Y. -L., Khan, H. A., Kang, C. -N., Ham, Y. -B. & Park J. -H. Proportional flow control valve for construction vehicle.
in _2019 23rd International Conference on Mechatronics Technology_ [(ICMT), Salerno, Italy, 1–3, https://doi.org/10.1109/ICMECT.](https://doi.org/10.1109/ICMECT.2019.8932103)
[2019.8932103 (2019).](https://doi.org/10.1109/ICMECT.2019.8932103)
16. Ding, H., Zhao, J., Cheng, G., Wright, S. & Yao, Y. The influence of valve-pump weight ratios on the dynamic response of leaking
valve-pump parallel control hydraulic systems. _Appl. Sci._ 8 (7), 1201 (2018).
17. Jelali, M. & Kroll, A. _Hydraulic Servo-Systems: Modelling Identification and Control_ (Springer, 2002).
18. Skarpetis, M. G. & Koumboulis, F. N. Robust PID controller for electro—Hydraulic actuators. in _Proceedings of the 2013 IEEE 18th_
_Conference on Emerging Technologies & Factory Automation_ (ETFA), Cagliari, Italy, IEEE: Piscataway, NJ, USA, Accessed 10–13
Sept 2013. 1–5 (2013).
19. Liang, X. W. & Ismail, Z. H. System identification and model predictive control using CVXGEN for electro-hydraulic actuator.
_Int. J. Integr. Eng._ [https://doi.org/10.30880/ijie.2019.11.04.018 (2019).](https://doi.org/10.30880/ijie.2019.11.04.018)
20. Zad, H. S., Ulasyar, A. & Zohaib, A. A. Robust model predictive position control of direct drive electro-hydraulic servo system. in
_Proceedings of the 2016 International Conference on Intelligent Systems Engineering (ICISE)_, Islamabad, Pakistan, IEEE: Piscataway,
NJ, USA, Accessed 15–17 Jan 2016. 100–104 (2016).
21. Essa, M.E.-S.M., Aboelela, M., Hassan, M. A. M. & Abdrabbo, S. Model predictive force control of hardware implementation for
electro-hydraulic servo system. _Trans. Inst. Meas. Control._ 41, 1435–1446 (2019).
22. Ivanov, R., Carpenter, T., Weimer, J., Alur, R., Pappas, G. & Lee, I. Verisig 2.0: Verification of neural network controllers using taylor
model preconditioning. in _Computer Aided Verification: 33rd International Conference_, CAV 2021, Virtual Event, July 20–23, 2021,
Proceedings, Part I. 249–262 (Springer International Publishing, 2021).
23. Khedr, O. H. _et al._ Developing control systems to improve motion tracking of electro-hydraulic systems subjected to external load.
_Int. J. Dynam. Control_ [https://doi.org/10.1007/s40435-023-01228-z (2023).](https://doi.org/10.1007/s40435-023-01228-z)
24. Othman, S. _et al._ Position tracking performance with fine tune Ziegler-Nichols PID controller for electro-hydraulic actuator in
aerospace vehicle model. _J. Phys. Conf. Ser._ 2107, 012064 (2021).
25. Soon, C. C., Ghazali, R., Jaafar, H. I. & Hussien, S. Y. S. PID controller tuning optimization using gradient descent technique for
an electro-hydraulic servo system. _J. Teknol._ [https://doi.org/10.11113/jt.v77.6605 (2015).](https://doi.org/10.11113/jt.v77.6605)
Acknowledgements
The authors would like to express their gratitude to all the reviewers for their valuable comments and suggestions,
which significantly enhanced the quality of the manuscript.
Author contributions
M.I.A. contributed to Conceptualization; O.H.K. contributed to practical work; S.A.M contributed methodology;
A.K.A.-O contributed to Resources.; S.A.M. contributed to validation; O.H.K. contributed to writing—original
draft preparation; O.H.K. contributed to writing—review and editing; M.I.A., A.K.A.-O. and S.A.M contributed
to supervision. All authors have read and agreed to the published version of the manuscript. All authors have
reviewed and agreed to the submission of the manuscript for publication.
Funding
Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).
Competing interests
The authors declare no competing interests.
Additional information
Correspondence and requests for materials should be addressed to O.H.K.
Reprints and permissions information is available at www.nature.com/reprints.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and
institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International
License, which permits use, sharing, adaptation, distribution and reproduction in any medium or
format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the
Creative Commons licence, and indicate if changes were made. The images or other third party material in this
article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the
material. If material is not included in the article’s Creative Commons licence and your intended use is not
permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from
[the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/)
© The Author(s) 2024
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.