원시데이터 수집 시스템
선정목록으로

Multi-Chamber Actuator Mode Selection through Reinforcement Learning–Simulations and Experiments

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Henrique Raduenz — Division of Fluid and Mechatronics Systems, Linköping University, 581 83 Linköping, Sweden
  2. Liselott Ericson — Division of Fluid and Mechatronics Systems, Linköping University, 581 83 Linköping, Sweden
  3. Victor Juliano De Negri — Laboratory of Hydraulic and Pneumatic Systems, Federal University of Santa Catarina, Florianópolis 88040-900, Brazil
  4. Petter Krus — Division of Fluid and Mechatronics Systems, Linköping University, 581 83 Linköping, Sweden
DOI
10.3390/en15145117
저널
Energies
발행년도
2022
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/en15145117
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4285496534

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

This paper presents the development and implementation of a reinforcement learning agent as the mode selector for a multi-chamber actuator in a load-sensing architecture. The agent selects the mode of the actuator to minimise system energy losses. The agent was trained in a simulated environment and afterwards deployed to the real system. Simulation results indicated the capability of the agent to reduce energy consumption, while maintaining the actuation performance. Experimental results showed the capability of the agent to learn via simulation and to control the real system.

본문 51,670자

본문 펼치기
This paper presents the development and implementation of a reinforcement learning agent as the mode selector for a multi-chamber actuator in a load-sensing architecture.The agent selects the mode of the actuator to minimise system energy losses.The agent was trained in a simulated environment and afterwards deployed to the real system.Simulation results indicated the capability of the agent to reduce energy consumption, while maintaining the actuation performance.Experimental results showed the capability of the agent to learn via simulation and to control the real system. Introduction In a multiple hydraulic actuator system, the load on each actuator results in different pressure levels.If the actuators are controlled by a load-sensing architecture with pressurecompensation valves and a single pump, the supply pressure is controlled according to the highest required pressure.This causes a mismatch between the pressures in the actuators and the supply that is compensated for by the throttling on the pressure-compensation valves.These resistive control losses are one of the major sources of energy losses in such hydraulic systems [1,2]. Introduction One way of reducing such losses is to use a multi-chamber actuator in one of the loads.A hydraulic diagram of a pressure-compensated valve-controlled load-sensing architecture, where Load 2 is driven by a multi-chamber actuator, is shown in Figure 1. Introduction The set of on/off valves between the proportional valve and the actuator allows for the combinations of different chambers that define the possible actuator modes to be used.The capability to select different actuator modes allows the modulation of the resultant pressure from the load to make p LS,2 similar to p LS,1 .This is shown in the illustrative flow-pressure diagrams in Figure 2. Introduction The possibility to modulate the pressure, Figure 2b, enables the reduction in resistive control losses.A conventional actuator, Figure 2a, cannot perform this modulation and, thus, results in higher resistive control losses.A deeper discussion on this system architecture is provided in [3]. Introduction This architecture has another degree of freedom to be controlled, which is the mode selection.The mode that minimises the losses is a function of the speed and forces of all the actuators, but because these vary along with the system operation, this is not a trivial problem to solve.Multi-chamber actuators usually belong to architectures where the selection of modes is responsible for the control end goal, such as speed or position.The speed or position error is translated to a reference force that the multi-chamber actuator must exert.In [4], this force reference is compared to the available forces for each mode, and the mode that results in the smallest force error is applied to the system.In [5], a mode selection based on the minimisation of the force error is implemented, as in [4]; however, there is no mention of avoiding frequent switching.In [6], the same mode-selection strategy as in [4] is compared to one that penalizes high-amplitude pressure changes between different modes.In [7], the authors describe the operation of a controller that selects the mode that minimises the energy consumption, while still being able to drive the current load.In [8], the mode selection is also based on a predefined range of force capacity for each mode.The implemented mode is the one that can exert the requested force, and the difference in force is controlled by the proportional pressure control in one of the chambers.Multi-chamber actuators usually belong to architectures where the selection of modes is responsible for the control end goal, such as speed or position.The speed or position error is translated to a reference force that the multi-chamber actuator must exert.In [4], this force reference is compared to the available forces for each mode, and the mode that results in the smallest force error is applied to the system.In [5], a mode selection based on the minimisation of the force error is implemented, as in [4]; however, there is no mention of avoiding frequent switching.In [6], the same mode-selection strategy as in [4] is compared to one that penalizes high-amplitude pressure changes between different modes.In [7], the authors describe the operation of a controller that selects the mode that minimises the energy consumption, while still being able to drive the current load.In [8], the mode selection is also based on a predefined range of force capacity for each mode.The implemented mode is the one that can exert the requested force, and the difference in force is controlled by the proportional pressure control in one of the chambers.Multi-chamber actuators usually belong to architectures where the selection of modes is responsible for the control end goal, such as speed or position.The speed or position error is translated to a reference force that the multi-chamber actuator must exert.In [4], this force reference is compared to the available forces for each mode, and the mode that results in the smallest force error is applied to the system.In [5], a mode selection based on the minimisation of the force error is implemented, as in [4]; however, there is no mention of avoiding frequent switching.In [6], the same mode-selection strategy as in [4] is compared to one that penalizes high-amplitude pressure changes between different modes.In [7], the authors describe the operation of a controller that selects the mode that minimises the energy consumption, while still being able to drive the current load.In [8], the mode selection is also based on a predefined range of force capacity for each mode.The implemented mode is the one that can exert the requested force, and the difference in force is controlled by the proportional pressure control in one of the chambers.Model predictive control (MPC) is studied in [9] to solve the problems related to force spikes when in mode switching.The mode selection is still performed based on minimising the force difference between the reference and the available modes and on minimising the energy losses associated with switching.The force difference is handled by means of throttle control, to adjust the pressure in each chamber to the calculated pressure reference.MPC is focused on minimising the force transients when switching.A similar study also using MPC is presented in [10], where the results also indicate an advantage of MPC over simpler mode-selection strategies, as presented in [4], for example. Introduction Although not used for a multi-chamber actuator, the selection of modes in [2] is performed based on the calculation of the capacity of each mode to overcome the current force over the actuator, while, apparently, minimising the pump pressure and flow rate. Introduction The authors in [11] describe a state machine to handle the mode selection based on, for example, the load pressure and pressure levels defined for each mode.The authors emphasise possible instability and non-smooth operation of the actuator during mode switching and suggest that these problems could be minimised by acting on the proportional valve control, which to some extent follows the ideas presented in [8,9].In [12], the mode selection of the independent metering valve system is also performed based on the current load force and the force capability of each mode. Introduction The control problem here is not the same as the ones studied by the works presented above.Here, the mode selection acts as an enabler for the control end goal, which is still performed by the proportional valve.Therefore, the control goal for the multi-chamber actuator is to select a mode that enables the requested motion to be completed, while minimising the resistive control losses.From another point of view, the mode selector can be interpreted as performing energy management because the goal of using the multichamber actuator is to reduce energy losses.Instead of designing a controller for the mode selection based on the analytical equations of the energy losses in the system, in this work a controller for the mode selection based on RL was studied. Introduction Reinforcement learning (RL), with neural networks as the actor and critic function approximators, has proven to be a powerful and successful control-development methodology for complex problems, such as playing Atari [13].The main advantages are automatic learning by interacting with the environment and finding optimised control solutions that are inherently difficult to be solved analytically.Additionally, machine learning algorithms also perform well in scenarios that they are not exactly trained for, which is likely to occur in the operation of mobile machines, due to their vast field of application. Introduction In the control of mobile working machines, Ref. [14] presents an approach based on RL, with the Q-learning algorithm for the control of hybrid system power to minimise fuel consumption.What the authors also show is the possibility of first training the controller with simulation models of the system and then applying the controller to the real system.An RL-based energy-management strategy is proposed in [15] for hybrid construction machines.The authors use a combination of Dyna learning and Q-learning, but the study is limited to simulation results. Introduction Other applications of RL for mobile machines include: Ref. [16], where it is used, based on cameras, lidar, and motion and force sensors, to perform bucket loading of fragmented rock with a multi-objective target, including maximisation of the bucket loading; Ref. [17], where it is trained for the motion control of a forestry crane while minimising energy consumption; and Ref. [18], where it is used for the trajectory tracking control of an excavator arm, with the controller generating the valve-control signals directly. Introduction It is observed in these papers that the development of RL controllers usually starts with a pre-training of the agent in a simulation environment.Advantages of this approach are: it avoids undesirable real-world consequences; it reduces costs associated with obtaining real experience; and the simulations typically run faster than real time [19].The reviewed papers also show the controller's capacity to find and implement solutions for complex tasks.This paper demonstrates, through simulation and experimental results, the training and implementation of a RL-based controller for the mode selection of a multi-chamber hydraulic actuator.The actuator is part of a multi-actuator load-sensing architecture driven by a single pump.The selection of different modes allows for the reduction in resistive losses in the control valves, due to a better match of pressures between actuators.A Deep Q-Learning (DQN) agent was created and trained to learn how to select the modes to minimise the system energy losses. Paper Contribution and Objectives Research on the topic of this paper has been presented in previous publications by our group.In [3], the system architecture is described along with the potential efficiency improvements.The first implementation of the RL-based approach to control this system was studied and presented in [20].The present work builds on those previous publications, where the main difference from [20] is the use of a load-sensing pump instead a constant pressure supply, which makes the learning task significantly harder and closer to a real, mobile system application. Paper Contribution and Objectives The objective and, consequently, the contribution of this paper are to show experimental results demonstrating that RL can also be used to control complex hydraulic systems.In this case, it is about the selection of modes of multi-chamber actuators aiming to reduce resistive control losses.In particular, it is shown that RL finds an optimised control solution with reduced need for manually designing the controller.However, the study is limited to training the agent in simulation and not on continuing the learning after being deployed to the real system. Available Modes, Model Description, and Control Structure The multi-chamber actuator used in this study has four chambers and is connected to three supply lines (A/B/R).This gives a total of 87 possible modes.However, most modes are ruled out due to the reasons presented in [3].The modes used in this study are given in Table 1.Mode 1 is the only mode that is not an agent's decision, because it is implemented as a rule to ensure safe operation.The steady state force displayed in Table 1 is calculated considering a pressure of 100 bar on port A and 15 bar on ports B and R.This is done to show which modes can exert higher force.The model of the physical system was developed in the multi-domain system simulation tool HOPSAN [21] and describes the motion of the boom arm as a function of the motion of the actuators.It also models the dynamic behaviour of the pressures, flow rates, internal leakage, and closing and opening of the valves.The model was validated against experimental results, with a detailed description presented in [20]. Available Modes, Model Description, and Control Structure The controller and training algorithm for the DQN agent were implemented in MAT-LAB/Simulink [21].During the training in simulation, the agent learns by interacting with the system.After training, the agent controls the real system. Available Modes, Model Description, and Control Structure The actual controller of the system is not only composed of the trained agent selecting the optimal mode, it also contains other control and safety rules.An overview of the controller structure is shown in Figure 3.The reward branch of the agent is only used during the training phase.The actual controller of the system is not only composed of the trained agent selecting the optimal mode, it also contains other control and safety rules.An overview of the controller structure is shown in Figure 3.The reward branch of the agent is only used during the training phase.In Figure 3, it is also seen how the interaction of the agent with the environment takes place during the learning phase and then in the controlling phase.Paraphrasing [13] for the present control problem: The agent interacts with the environment in a sequence of actions, observations, and rewards.At each agent time step (), the agent observes the observations (), selects an action () from the set of modes (Table 1), and applies it to the environment.It observes the new observations ( + 1) and the reward ().It tries to maximise the reward. Available Modes, Model Description, and Control Structure From the RL perspective, everything that is not the agent is considered as the environment it is interacting with.It is important to make the environment in the simulation as close to the real environment as possible.For the control of hydraulic systems in mobile applications, along with having a sufficiently accurate model of the physical system, there is the need to include additional safety rules.Therefore, the environment is the combination of the system model and the additional rules.The added control and safety rules for this system are: Available Modes, Model Description, and Control Structure Limit the available modes according to position and external load; Available Modes, Model Description, and Control Structure Compensate due to the difference in areas in each mode; and • Use mode 4 for the lowering motion ( < −0.002 m). Available Modes, Model Description, and Control Structure The first rule is used because the valve has an overlap of 2 mm, so the on/off valves can be closed.The second rule prevents the agent from choosing a mode that cannot drive the load with the available maximum pump pressure, otherwise the load could fall.For the same operator control input signal to the proportional valve, the third rule ensures approximately the same actuator speed for the different modes, see [3,20] for details. Available Modes, Model Description, and Control Structure The fourth rule is implemented because the return motion, due to the much larger area of the actuator connected to the return than the supply, results in excessive throttling on the meter-out edge of the valve.This causes the pump to operate at maximum pressure due to a perceived high load, which causes the pressure-compensation valves In Figure 3, it is also seen how the interaction of the agent with the environment takes place during the learning phase and then in the controlling phase.Paraphrasing [13] for the present control problem: The agent interacts with the environment in a sequence of actions, observations, and rewards.At each agent time step (t), the agent observes the observations s(t), selects an action a(t) from the set of modes (Table 1), and applies it to the environment.It observes the new observations s(t + 1) and the reward r(t).It tries to maximise the reward. Available Modes, Model Description, and Control Structure From the RL perspective, everything that is not the agent is considered as the environment it is interacting with.It is important to make the environment in the simulation as close to the real environment as possible.For the control of hydraulic systems in mobile applications, along with having a sufficiently accurate model of the physical system, there is the need to include additional safety rules.Therefore, the environment is the combination of the system model and the additional rules.The added control and safety rules for this system are: The first rule is used because the valve has an overlap of 2 mm, so the on/off valves can be closed.The second rule prevents the agent from choosing a mode that cannot drive the load with the available maximum pump pressure, otherwise the load could fall.For the same operator control input signal to the proportional valve, the third rule ensures approximately the same actuator speed for the different modes, see [3,20] for details. Available Modes, Model Description, and Control Structure The fourth rule is implemented because the return motion, due to the much larger area of the actuator connected to the return than the supply, results in excessive throttling on the meter-out edge of the valve.This causes the pump to operate at maximum pressure due to a perceived high load, which causes the pressure-compensation valves to operate fully open and, thus, the compensation losses are close to zero.Thus, the selection of modes, based on minimising the compensation losses, does not work for the returning motion.Therefore, due to this design constraint, the return motion is not an agent's decision. Available Modes, Model Description, and Control Structure While the RL agent is responsible for the mode selection, another P controller 'mimics' the machine operator controlling the proportional valves.The P controller is implemented inside the proportional valves control block in Figure 3. Learning Setup for the Agent The application has a continuous observation space (pressures, speed, etc.) and a discrete action space (modes to be selected).A DQN agent [13,22] is suitable for this type of observation and action space, and it mainly consists of a neural network calculating the value for taking a certain action given the current observations.The value is an estimation of the sum of the reward that the agent can collect over a future time horizon, by following a certain sequence of control actions.In this case, the network at each agent's time step predicts the value of taking each action.A greedy function selects and implements in the system the action that has the highest estimated value, which is, in other words, the action that would lead to the best performance, according to the reward function.This agent is, thus, a non-linear map between the system states (observations of pressures, speed, position, . . . ) and the optimised control action (modes).The reader is referred to [13,22] for a description of the type of agent and training algorithm. Learning Setup for the Agent Each agent action corresponds to one mode (Table 1).Inside the 'Control and Safety Rules' block in Figure 3, a lookup table maps the action to the corresponding vector u DV of the open/closed digital valves that implements the mode in the system. Learning Setup for the Agent The structure and parameters of the network are presented in Table 2.No sensitivity analysis was performed to evaluate the size of the network on the performance of the task.However, the size of the network was chosen to be small.The observations s used as input features are Learning Setup for the Agent where a is the previous action, u 2 is the proportional valve control signal, p A−B−C are the chambers' pressures, p s is the supply pressure, p LS,1 is the load-sensing pressure for the conventional actuator, v is the actuator speed, and x is the position.The reward function r to be maximised is composed of three terms, Learning Setup for the Agent The velocity term (r Velocity ) penalizes the agent if a motion is requested (|u 2 | > 0.002), and the multi-chamber actuator does not move with a minimum velocity.This encourages the agent to learn to meet a minimum control-performance requirement.The power loss term (r Power ) is a penalty based on the hydraulic system control losses, to encourage the agent to find a mode that results in smaller energy losses due to pressure compensation.The switch term (r Switch ) penalizes the agent for frequent mode switching. Learning Setup for the Agent Table 3 presents the parameters and load cases used during training.To increase the agent's robustness, noise is added to the measurements used as observations in the simulations.R is a uniformly distributed random variable with a maximum amplitude of 1.In a real system, the load pressure from the conventional actuator (p LS,1 ) varies according to the load.However, a simplification is made by setting it to constant values to allow for easier interpretation of the results both in the simulation and in the experiments. Learning Setup for the Agent In the experiments, this signal is emulated with an additional hydraulic circuit.This means that the agent is exposed to 12 different scenarios of external load and pressure on the conventional actuator, and the task is to lift the load from an initial position to a final position while maximising the reward function. Learning Setup for the Agent Dynamic systems have oscillations, and these must be taken into consideration when setting the agent-control time step, defining the reward function, and considering what type of information is stored as experience.This is represented in Figure 4, by showing a dynamic response of the system state (s) due to an action a t .In a real system, the load pressure from the conventional actuato cording to the load.However, a simplification is made by setting it to allow for easier interpretation of the results both in the simulation a ments.In the experiments, this signal is emulated with an additional This means that the agent is exposed to 12 different scenarios of exter sure on the conventional actuator, and the task is to lift the load from to a final position while maximising the reward function. Learning Setup for the Agent Dynamic systems have oscillations, and these must be taken i when setting the agent-control time step, defining the reward function what type of information is stored as experience.This is represente showing a dynamic response of the system state () due to an action If the time step is too small, the stored experience will contain d ther than steady-state conditions.This might affect the agent's ability the reward function could give misinformation.However, the reward is only observed at + 1 because it is usually a function of the final st tion between the states.Therefore, the size of the control time step c avoid these effects.For the current system, the mode selection does If the time step is too small, the stored experience will contain dynamic effects rather than steady-state conditions.This might affect the agent's ability to learn because the reward function could give misinformation.However, the reward from the action at t is only observed at t + 1 because it is usually a function of the final state and the transition between the states.Therefore, the size of the control time step can be adjusted to avoid these effects.For the current system, the mode selection does not need to occur frequently to avoid unnecessary switching.Thus, the agent time step is set to avoid these oscillations. Results The agent was trained to lift a load from a certain initial position to a final position, with 12 load cases that including 2 pressure levels on p LS,1 and 6 external loads.Figure 5 presents the agent's training progress, where Q 0 is the estimated value. Results Energies 2022, 15, 5117 8 of 16 frequently to avoid unnecessary switching.Thus, the agent time step is set to avoid these oscillations. Results The agent was trained to lift a load from a certain initial position to a final position, with 12 load cases that including 2 pressure levels on , and 6 external loads.Figure 5 presents the agent's training progress, where is the estimated value.After training, the agent is tested in simulation for all 12 load cases, and its capability to complete the task in an efficient way is evaluated.The energy loss ( ) is calculated with Equations ( 6) and ( 7), with the variables extracted from the simulation. ? = , + , = − , + − , Simulation Results An estimation of what mode results in the lowest power losses is made by evaluating Equation (6) for each mode and the steady-state conditions of speed () and position () of the multi-chamber actuator. , is calculated based on the external load and the position of the actuator, given the kinematics of the boom arm.The mode that results in the lowest power loss is selected as the best.This gives an indication of what mode selection to expect from the agent's learning.The solution for the two load cases, with 120 kg external load and the two pressure levels on , , are shown in Figure 6.Moreover, the safety boundary condition limiting the number of modes that can be applied to the system is shown, which was implemented as a rule.The resultant pressure ( , ) for the different modes is also shown, where it is seen that, to some extent and as expected, the best mode leads to a pressure level close to , . Simulation Results What Figure 6a,b show is that modes that can exert lower forces are better when the actuator is retracted, while modes that can exert higher forces are better when it is extended.This results in a closer match of , and , , as shown in Figure 6c,d.Due to the geometry of the boom, the further the actuator is extended, the higher the load force on it.However, the mode that results in the lowest power losses is also dependent on the flow rate, Equation (6), and this is the reason why weaker modes might be better (Figure 6b) at higher speeds. Simulation Results Figure 6 indicates what to expect from the agent's learning when it comes to the minimisation of energy losses.However, as shown in Equation (2), this is not the only optimisation objective.Figures 7 and 8 present simulation results for the trained agent performing the mode selection, for the two load cases.What the figures also show is the performance on the same tests when a conventional actuator with areas equivalent to mode 2 was used instead of the multi-chamber actuator.The abbreviations Conv and RL After training, the agent is tested in simulation for all 12 load cases, and its capability to complete the task in an efficient way is evaluated.The energy loss (E loss ) is calculated with Equations ( 6) and ( 7), with the variables extracted from the simulation. Simulation Results An estimation of what mode results in the lowest power losses is made by evaluating Equation (6) for each mode and the steady-state conditions of speed (v) and position (x) of the multi-chamber actuator.p LS,2 is calculated based on the external load and the position of the actuator, given the kinematics of the boom arm.The mode that results in the lowest power loss is selected as the best.This gives an indication of what mode selection to expect from the agent's learning.The solution for the two load cases, with 120 kg external load and the two pressure levels on p LS,1 , are shown in Figure 6.Moreover, the safety boundary condition limiting the number of modes that can be applied to the system is shown, which was implemented as a rule.The resultant pressure (p LS,2 ) for the different modes is also shown, where it is seen that, to some extent and as expected, the best mode leads to a pressure level close to p LS,1 . Simulation Results What Figure 6a,b show is that modes that can exert lower forces are better when the actuator is retracted, while modes that can exert higher forces are better when it is extended.This results in a closer match of p LS,1 and p LS,2 , as shown in Figure 6c,d.Due to the geometry of the boom, the further the actuator is extended, the higher the load force on it.However, the mode that results in the lowest power losses is also dependent on the flow rate, Equation ( 6), and this is the reason why weaker modes might be better (Figure 6b) at higher speeds. Simulation Results Figure 6 indicates what to expect from the agent's learning when it comes to the minimisation of energy losses.However, as shown in Equation (2), this is not the only optimisation objective.Figures 7 and 8 present simulation results for the trained agent performing the mode selection, for the two load cases.What the figures also show is the performance on the same tests when a conventional actuator with areas equivalent to mode 2 was used instead of the multi-chamber actuator.The abbreviations Conv and RL are used in the figures for the conventional actuator case and the multi-chamber actuator with mode selection, respectively.Power results are normalised with respect to the maximum power of each load case.Comparing Figure 7b with Figure 7d shows that the agent does learn to select modes that reduce the energy losses.This results in a better match of pressures than the conventional case, as shown in Figure 7c.By choosing a mode with smaller areas and resulting in a better match of , and , , the power losses are reduced significantly.A similar learning and decision-making capacity is observed for the other test case, as shown in Figure 8. Comparing Figure 8b and Figure 8d shows that the agent learns to choose the better mode based on the similar principles of reducing the mismatch of pressure (Figure 8c) and choosing the modes with a smaller area. Simulation Results All load scenarios that the agent was trained for were simulated, and Equation ( 7) is used to compare the energy losses.The results, normalised by the highest total energy losses for all test cases of each level of , , are presented in Figures 9 and 10. Simulation Results Results from the energy analysis show that the agent learned to select modes that result in lower energy losses for almost all the load scenarios it was trained for.For some load cases, the chosen solution is close to or equal to the conventional case.This happens in the load scenarios presented in Figure 9d-f.This means that in the worst case the agent runs the system like a conventional actuator, but it does not choose something worse than that, for example, a mode that cannot drive the load.Although it must be remembered that there is a safety function preventing a weak mode from being applied for high loads, the results showed that most of the time the agent chooses modes within the safety boundary.Comparing Figure 7b with Figure 7d shows that the agent does learn to select modes that reduce the energy losses.This results in a better match of pressures than the conventional case, as shown in Figure 7c.By choosing a mode with smaller areas and resulting in a better match of p LS,1 and p LS,2 , the power losses are reduced significantly.A similar learning and decision-making capacity is observed for the other test case, as shown in Figure 8. Simulation Results Comparing Figures 8b and 8d shows that the agent learns to choose the better mode based on the similar principles of reducing the mismatch of pressure (Figure 8c) and choosing the modes with a smaller area. Simulation Results All load scenarios that the agent was trained for were simulated, and Equation ( 7) is used to compare the energy losses.The results, normalised by the highest total energy losses for all test cases of each level of p LS,1 , are presented in Figures 9 and 10. Simulation Results Results from the energy analysis show that the agent learned to select modes that result in lower energy losses for almost all the load scenarios it was trained for.For some load cases, the chosen solution is close to or equal to the conventional case.This happens in the load scenarios presented in Figure 9d-f.This means that in the worst case the agent runs the system like a conventional actuator, but it does not choose something worse than that, for example, a mode that cannot drive the load.Although it must be remembered that there is a safety function preventing a weak mode from being applied for high loads, the results showed that most of the time the agent chooses modes within the safety boundary. Experimental Tests The trained agent was deployed to the real system and evaluated on the same load scenarios used in the training.The experimental test results, for the same load cases of Figures 7 and 8, are shown in Figures 11 and 12. Simulation results are plotted in the same figures.However, in the experiments, the agent observes different conditions than in simulation, which can lead to different decisions. Experimental Tests The agent is able to apply in practice the same modes it learned from the optimisation (Figure 11b), even though there are differences, for example, in the actuator position (Figure 11a) and system pressure (Figure 11c). Experimental Tests The trained agent was deployed to the real system and evaluated on the same load scenarios used in the training.The experimental test results, for the same load cases of Figures 7 and 8, are shown in Figures 11 and 12. Simulation results are plotted in the same figures.However, in the experiments, the agent observes different conditions than in simulation, which can lead to different decisions. Experimental Tests The agent is able to apply in practice the same modes it learned from the optimisation (Figure 11b), even though there are differences, for example, in the actuator position (Figure 11a) and system pressure (Figure 11c). Experimental Tests The trained agent was deployed to the real system and evaluated on the same load scenarios used in the training.The experimental test results, for the same load cases of Figures 7 and 8, are shown in Figures 11 and 12. Simulation results are plotted in the same figures.However, in the experiments, the agent observes different conditions than in simulation, which can lead to different decisions. Experimental Tests The agent is able to apply in practice the same modes it learned from the optimisation (Figure 11b), even though there are differences, for example, in the actuator position (Figure 11a) and system pressure (Figure 11c).As for the previous load case, the agent is able to apply in practice the same modes it learned from the optimisation.As said, all load cases were tested experimentally, and comparisons of selected modes are shown in Figures 13 and 14, where Sim and Test refer to the simulation and experiment, respectively.As for the previous load case, the agent is able to apply in practice the same modes it learned from the optimisation.As said, all load cases were tested experimentally, and comparisons of selected modes are shown in Figures 13 and 14, where Sim and Test refer to the simulation and experiment, respectively.As for the previous load case, the agent is able to apply in practice the same modes it learned from the optimisation. Experimental Tests As said, all load cases were tested experimentally, and comparisons of selected modes are shown in Figures 13 and 14, where Sim and Test refer to the simulation and experiment, respectively.The experimental results show that in most of the cases the agent was able to implement in the real system the decisions that were also taken in the simulation.The load cases that failed are shown in Figures 13d,g and 14b,c.Even though these cases show some deviation from what was achieved in the simulation, they are not wrong for the complete test.This means that only a few decisions were wrong in these tests.However, they still followed the logic of choosing weaker modes at the start of the motion and stronger modes at the end of the motion, and, therefore, the agent was still able to complete the motion. Experimental Tests Relatively high sensitivity to the variation in measured variables was observed, and this resulted in low repeatability in some of the load cases.The worst situation was for the load case of 120 kg load and , 60 bar, an example of which is shown in Figure 15. Experimental Tests Figure 15 shows that such controllers, as expected, might underperform when operating under different conditions than they were trained for.However, for the trained agent presented in this study, the decisions, despite being different, still allowed the agent to complete the task in an acceptable way.The experimental results show that in most of the cases the agent was able to implement in the real system the decisions that were also taken in the simulation.The load cases that failed are shown in Figures 13d,g and 14b,c.Even though these cases show some deviation from what was achieved in the simulation, they are not wrong for the complete test.This means that only a few decisions were wrong in these tests.However, they still followed the logic of choosing weaker modes at the start of the motion and stronger modes at the end of the motion, and, therefore, the agent was still able to complete the motion. Experimental Tests Relatively high sensitivity to the variation in measured variables was observed, and this resulted in low repeatability in some of the load cases.The worst situation was for the load case of 120 kg load and , 60 bar, an example of which is shown in Figure 15. Experimental Tests Figure 15 shows that such controllers, as expected, might underperform when operating under different conditions than they were trained for.However, for the trained agent presented in this study, the decisions, despite being different, still allowed the agent to complete the task in an acceptable way.The experimental results show that in most of the cases the agent was able to implement in the real system the decisions that were also taken in the simulation.The load cases that failed are shown in Figure 13d,g and Figure 14b,c.Even though these cases show some deviation from what was achieved in the simulation, they are not wrong for the complete test.This means that only a few decisions were wrong in these tests.However, they still followed the logic of choosing weaker modes at the start of the motion and stronger modes at the end of the motion, and, therefore, the agent was still able to complete the motion. Experimental Tests Relatively high sensitivity to the variation in measured variables was observed, and this resulted in low repeatability in some of the load cases.The worst situation was for the load case of 120 kg load and p LS,1 60 bar, an example of which is shown in Figure 15. Discussion The energy analysis based on the simulation results showed the reduction in energy losses caused by the selection of suitable modes by the agent.However, this does not mean that the training of the agent converged to the global optimal solution that results in the lowest energy losses possible.The optimisation objective has other terms, and, therefore, the results presented in Figure 6 The model of the system was judged to be sufficiently accurate to describe the main characteristics and behaviours of the system.Still, there were deviations from the actual behaviour of the system.Although sufficient to pre-train the agent, it is likely that the performance of the agent could be further improved by letting it, in a safe manner, interact with the real system and train from those experiences in order to correct model deviations. Discussion Machine learning-based controllers are a black-box type of controller.There is an inherent risk associated with them when deployed to control real systems, usually related to the controller operating outside the training domain.Therefore, it must be ensured that the control actions applied to the system do not lead to any unsafe and/or unstable behaviours.In this study, this was ensured by implementing safety rules that would overwrite the agent's decisions when necessary. Discussion One limitation of this study was that the agent was evaluated under approximately the same load conditions and tasks that it was trained for.In the simulation, random noise was introduced to all measurements from the system in order to increase its robustness in the experimental tests.However, there are still questions to be answered and an evaluation to be made regarding the robustness and generalisation capability of the agent.This is especially the case for more realistic load cases, such as digging and variable , pressure. Conclusions This paper presents simulation and experimental results that demonstrate the capability of a controller, developed under a reinforcement learning framework, to learn and control the mode selection of a hydraulic system.The controller was trained in simulation and afterwards was deployed to control the real system.The main control objective was to optimise the selection of modes of the multi-chamber actuator so as to reduce the resistive control losses on a valve-controlled load-sensing system.The controller was able to automatically find optimised control decisions and to apply them in the real system.The controller was also shown to be robust to differences between the training domain and the application domain, thus extrapolating the knowledge to unseen situations.Although able to control the real system, the trained agent must be accompanied by safety rules to ensure the safe operation of the system.Future work should be dedicated to evaluating how close the solution is to the global optimum and to assessing its robustness in application, because a high sensitivity to variations in the input features was observed for some of the test cases.Figure 15 shows that such controllers, as expected, might underperform when operating under different conditions than they were trained for.However, for the trained agent presented in this study, the decisions, despite being different, still allowed the agent to complete the task in an acceptable way. Discussion The energy analysis based on the simulation results showed the reduction in energy losses caused by the selection of suitable modes by the agent.However, this does not mean that the training of the agent converged to the global optimal solution that results in the lowest energy losses possible.The optimisation objective has other terms, and, therefore, the results presented in Figure 6 The model of the system was judged to be sufficiently accurate to describe the main characteristics and behaviours of the system.Still, there were deviations from the actual behaviour of the system.Although sufficient to pre-train the agent, it is likely that the performance of the agent could be further improved by letting it, in a safe manner, interact with the real system and train from those experiences in order to correct model deviations. Discussion Machine learning-based controllers are a black-box type of controller.There is an inherent risk associated with them when deployed to control real systems, usually related to the controller operating outside the training domain.Therefore, it must be ensured that the control actions applied to the system do not lead to any unsafe and/or unstable behaviours.In this study, this was ensured by implementing safety rules that would overwrite the agent's decisions when necessary. Discussion One limitation of this study was that the agent was evaluated under approximately the same load conditions and tasks that it was trained for.In the simulation, random noise was introduced to all measurements from the system in order to increase its robustness in the experimental tests.However, there are still questions to be answered and an evaluation to be made regarding the robustness and generalisation capability of the agent.This is especially the case for more realistic load cases, such as digging and variable p LS,1 pressure. Conclusions This paper presents simulation and experimental results that demonstrate the capability of a controller, developed under a reinforcement learning framework, to learn and control the mode selection of a hydraulic system.The controller was trained in simulation and afterwards was deployed to control the real system.The main control objective was to optimise the selection of modes of the multi-chamber actuator so as to reduce the resistive control losses on a valve-controlled load-sensing system.The controller was able to automatically find optimised control decisions and to apply them in the real system.The controller was also shown to be robust to differences between the training domain and the application domain, thus extrapolating the knowledge to unseen situations.Although able to control the real system, the trained agent must be accompanied by safety rules to ensure the safe operation of the system.Future work should be dedicated to evaluating how close Figure 1 . Figure 1.Hydraulic-system architecture. Figure 2 . Figure 2. Flow-pressure diagram showing the effect of mode selection on resistive control losses.(a) With a conventional actuator; (b) with a multi-chamber actuator. Figure 1 . 16 Figure 1 . Figure 1.Hydraulic-system architecture. Figure 2 . Figure 2. Flow-pressure diagram showing the effect of mode selection on resistive control losses.(a) With a conventional actuator; (b) with a multi-chamber actuator. Figure 2 . Figure 2. Flow-pressure diagram showing the effect of mode selection on resistive control losses.(a) With a conventional actuator; (b) with a multi-chamber actuator. Figure 3 . Figure 3. Structure of the controller and picture of the test bench. Figure 3 . Figure 3. Structure of the controller and picture of the test bench. Figure 4 . Figure 4. Agent time step versus system dynamics. Figure 4 . Figure 4. Agent time step versus system dynamics. Figure 5 . Figure 5. Agent's training progress. Figure 5 . Figure 5. Agent's training progress. Figure 5 . the figures for the conventional actuator case and the multi-chamber actuator with mode selection, respectively.Power results are normalised with respect to the maximum power of each load case. Figure 6 . Figure 6.Best modes for 120 kg load.(a) For , = 60 bar; (b) for , = 100 bar; (c) resultant , for , = 60 bar; (d) resultant , for , = 100 bar. Figure 7 . Figure 7. Simulation result, 40 kg load and , = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss. Figure 6 . Figure 6.Best modes for 120 kg load.(a) For p LS,1 = 60 bar; (b) for p LS,1 = 100 bar; (c) resultant p LS,2 for p LS,1 = 60 bar; (d) resultant p LS,2 for p LS,1 = 100 bar. Figure 6 . Figure 6.Best modes for 120 kg load.(a) For , = 60 bar; (b) for , = 100 bar; (c) resultant , for , = 60 bar; (d) resultant , for , = 100 bar. Figure 7 . Figure 7. Simulation result, 40 kg load and , = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.Figure 7. Simulation result, 40 kg load and p LS,1 = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss. Figure 7 . Figure 7. Simulation result, 40 kg load and , = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.Figure 7. Simulation result, 40 kg load and p LS,1 = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss. Figure 8 . Figure 8. Simulation result, 40 kg load and , = 100 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss. Figure 8 . Figure 8. Simulation result, 40 kg load and p LS,1 = 100 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss. Figure 9 . Figure 9. Energy comparison, , = 60 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 10 . Figure 10.Energy comparison, , = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 9 . 16 Figure 9 . Figure 9. Energy comparison, p LS,1 = 60 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 10 . Figure 10.Energy comparison, , = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 10 . Figure 10.Energy comparison, p LS,1 = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 11 . Figure 11.Experimental (Test) and simulation (Sim) results, 40 kg load and , = 60 bar.(a) position and reference; (b) action; (c) system pressure. Figure 12 . Figure 12.Experimental (Test) and simulation (Sim) results, 40 kg load and , = 100 bar.(a) Position and reference; (b) action; (c) system pressure. 11 . Experimental (Test) and simulation (Sim) results, 40 kg load and p LS,1 = 60 bar.(a) position and reference; (b) action; (c) system pressure.Energies 2022, 15, 5117 12 of 16 Figure 11 . Figure 11.Experimental (Test) and simulation (Sim) results, 40 kg load and , = 60 bar.(a) position and reference; (b) action; (c) system pressure. Figure 12 . Figure 12.Experimental (Test) and simulation (Sim) results, 40 kg load and , = 100 bar.(a) Position and reference; (b) action; (c) system pressure. Figure 12 . Figure 12.Experimental (Test) and simulation (Sim) results, 40 kg load and p LS,1 = 100 bar.(a) Position and reference; (b) action; (c) system pressure. Figure 13 . Figure 13.All test cases, , = 60 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 14 . Figure 14.All test cases, , = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 13 . 16 Figure 13 . Figure 13.All test cases, p LS,1 = 60 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 14 . Figure 14.All test cases, , = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 14 . Figure 14.All test cases, p LS,1 = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg. Figure 15 . Figure 15.Issues with repeatability for 120 kg load and , = 60 bar. Figure 15 . are only an estimation of what are the best modes.Future studies should aim at finding the optimal solution and comparing this with what the agent finds during the training. Figure 15 . Figure 15.Issues with repeatability for 120 kg load and p LS,1 = 60 bar. Figure 15 . are only an estimation of what are the best modes.Future studies should aim at finding the optimal solution and comparing this with what the agent finds during the training. Table 1 . Available modes and connected chambers. Table 2 . Structure of the agent network. Table 3 . Agent and task parameters.

섹션 본문 113문단 · 49,357자

(제목 없음)

1This paper presents the development and implementation of a reinforcement learning agent as the mode selector for a multi-chamber actuator in a load-sensing architecture.The agent selects the mode of the actuator to minimise system energy losses.The agent was trained in a simulated environment and afterwards deployed to the real system.Simulation results indicated the capability of the agent to reduce energy consumption, while maintaining the actuation performance.Experimental results showed the capability of the agent to learn via simulation and to control the real system.

Introduction

2In a multiple hydraulic actuator system, the load on each actuator results in different pressure levels.If the actuators are controlled by a load-sensing architecture with pressurecompensation valves and a single pump, the supply pressure is controlled according to the highest required pressure.This causes a mismatch between the pressures in the actuators and the supply that is compensated for by the throttling on the pressure-compensation valves.These resistive control losses are one of the major sources of energy losses in such hydraulic systems [1,2].

3One way of reducing such losses is to use a multi-chamber actuator in one of the loads.A hydraulic diagram of a pressure-compensated valve-controlled load-sensing architecture, where Load 2 is driven by a multi-chamber actuator, is shown in Figure 1.

4The set of on/off valves between the proportional valve and the actuator allows for the combinations of different chambers that define the possible actuator modes to be used.The capability to select different actuator modes allows the modulation of the resultant pressure from the load to make p LS,2 similar to p LS,1 .This is shown in the illustrative flow-pressure diagrams in Figure 2.

5The possibility to modulate the pressure, Figure 2b, enables the reduction in resistive control losses.A conventional actuator, Figure 2a, cannot perform this modulation and, thus, results in higher resistive control losses.A deeper discussion on this system architecture is provided in [3].

6This architecture has another degree of freedom to be controlled, which is the mode selection.The mode that minimises the losses is a function of the speed and forces of all the actuators, but because these vary along with the system operation, this is not a trivial problem to solve.Multi-chamber actuators usually belong to architectures where the selection of modes is responsible for the control end goal, such as speed or position.The speed or position error is translated to a reference force that the multi-chamber actuator must exert.In [4], this force reference is compared to the available forces for each mode, and the mode that results in the smallest force error is applied to the system.In [5], a mode selection based on the minimisation of the force error is implemented, as in [4]; however, there is no mention of avoiding frequent switching.In [6], the same mode-selection strategy as in [4] is compared to one that penalizes high-amplitude pressure changes between different modes.In [7], the authors describe the operation of a controller that selects the mode that minimises the energy consumption, while still being able to drive the current load.In [8], the mode selection is also based on a predefined range of force capacity for each mode.The implemented mode is the one that can exert the requested force, and the difference in force is controlled by the proportional pressure control in one of the chambers.Multi-chamber actuators usually belong to architectures where the selection of modes is responsible for the control end goal, such as speed or position.The speed or position error is translated to a reference force that the multi-chamber actuator must exert.In [4], this force reference is compared to the available forces for each mode, and the mode that results in the smallest force error is applied to the system.In [5], a mode selection based on the minimisation of the force error is implemented, as in [4]; however, there is no mention of avoiding frequent switching.In [6], the same mode-selection strategy as in [4] is compared to one that penalizes high-amplitude pressure changes between different modes.In [7], the authors describe the operation of a controller that selects the mode that minimises the energy consumption, while still being able to drive the current load.In [8], the mode selection is also based on a predefined range of force capacity for each mode.The implemented mode is the one that can exert the requested force, and the difference in force is controlled by the proportional pressure control in one of the chambers.Multi-chamber actuators usually belong to architectures where the selection of modes is responsible for the control end goal, such as speed or position.The speed or position error is translated to a reference force that the multi-chamber actuator must exert.In [4], this force reference is compared to the available forces for each mode, and the mode that results in the smallest force error is applied to the system.In [5], a mode selection based on the minimisation of the force error is implemented, as in [4]; however, there is no mention of avoiding frequent switching.In [6], the same mode-selection strategy as in [4] is compared to one that penalizes high-amplitude pressure changes between different modes.In [7], the authors describe the operation of a controller that selects the mode that minimises the energy consumption, while still being able to drive the current load.In [8], the mode selection is also based on a predefined range of force capacity for each mode.The implemented mode is the one that can exert the requested force, and the difference in force is controlled by the proportional pressure control in one of the chambers.Model predictive control (MPC) is studied in [9] to solve the problems related to force spikes when in mode switching.The mode selection is still performed based on minimising the force difference between the reference and the available modes and on minimising the energy losses associated with switching.The force difference is handled by means of throttle control, to adjust the pressure in each chamber to the calculated pressure reference.MPC is focused on minimising the force transients when switching.A similar study also using MPC is presented in [10], where the results also indicate an advantage of MPC over simpler mode-selection strategies, as presented in [4], for example.

7Although not used for a multi-chamber actuator, the selection of modes in [2] is performed based on the calculation of the capacity of each mode to overcome the current force over the actuator, while, apparently, minimising the pump pressure and flow rate.

8The authors in [11] describe a state machine to handle the mode selection based on, for example, the load pressure and pressure levels defined for each mode.The authors emphasise possible instability and non-smooth operation of the actuator during mode switching and suggest that these problems could be minimised by acting on the proportional valve control, which to some extent follows the ideas presented in [8,9].In [12], the mode selection of the independent metering valve system is also performed based on the current load force and the force capability of each mode.

9The control problem here is not the same as the ones studied by the works presented above.Here, the mode selection acts as an enabler for the control end goal, which is still performed by the proportional valve.Therefore, the control goal for the multi-chamber actuator is to select a mode that enables the requested motion to be completed, while minimising the resistive control losses.From another point of view, the mode selector can be interpreted as performing energy management because the goal of using the multichamber actuator is to reduce energy losses.Instead of designing a controller for the mode selection based on the analytical equations of the energy losses in the system, in this work a controller for the mode selection based on RL was studied.

10Reinforcement learning (RL), with neural networks as the actor and critic function approximators, has proven to be a powerful and successful control-development methodology for complex problems, such as playing Atari [13].The main advantages are automatic learning by interacting with the environment and finding optimised control solutions that are inherently difficult to be solved analytically.Additionally, machine learning algorithms also perform well in scenarios that they are not exactly trained for, which is likely to occur in the operation of mobile machines, due to their vast field of application.

11In the control of mobile working machines, Ref. [14] presents an approach based on RL, with the Q-learning algorithm for the control of hybrid system power to minimise fuel consumption.What the authors also show is the possibility of first training the controller with simulation models of the system and then applying the controller to the real system.An RL-based energy-management strategy is proposed in [15] for hybrid construction machines.The authors use a combination of Dyna learning and Q-learning, but the study is limited to simulation results.

12Other applications of RL for mobile machines include: Ref. [16], where it is used, based on cameras, lidar, and motion and force sensors, to perform bucket loading of fragmented rock with a multi-objective target, including maximisation of the bucket loading; Ref. [17], where it is trained for the motion control of a forestry crane while minimising energy consumption; and Ref. [18], where it is used for the trajectory tracking control of an excavator arm, with the controller generating the valve-control signals directly.

13It is observed in these papers that the development of RL controllers usually starts with a pre-training of the agent in a simulation environment.Advantages of this approach are: it avoids undesirable real-world consequences; it reduces costs associated with obtaining real experience; and the simulations typically run faster than real time [19].The reviewed papers also show the controller's capacity to find and implement solutions for complex tasks.This paper demonstrates, through simulation and experimental results, the training and implementation of a RL-based controller for the mode selection of a multi-chamber hydraulic actuator.The actuator is part of a multi-actuator load-sensing architecture driven by a single pump.The selection of different modes allows for the reduction in resistive losses in the control valves, due to a better match of pressures between actuators.A Deep Q-Learning (DQN) agent was created and trained to learn how to select the modes to minimise the system energy losses.

Paper Contribution and Objectives

14Research on the topic of this paper has been presented in previous publications by our group.In [3], the system architecture is described along with the potential efficiency improvements.The first implementation of the RL-based approach to control this system was studied and presented in [20].The present work builds on those previous publications, where the main difference from [20] is the use of a load-sensing pump instead a constant pressure supply, which makes the learning task significantly harder and closer to a real, mobile system application.

15The objective and, consequently, the contribution of this paper are to show experimental results demonstrating that RL can also be used to control complex hydraulic systems.In this case, it is about the selection of modes of multi-chamber actuators aiming to reduce resistive control losses.In particular, it is shown that RL finds an optimised control solution with reduced need for manually designing the controller.However, the study is limited to training the agent in simulation and not on continuing the learning after being deployed to the real system.

Available Modes, Model Description, and Control Structure

16The multi-chamber actuator used in this study has four chambers and is connected to three supply lines (A/B/R).This gives a total of 87 possible modes.However, most modes are ruled out due to the reasons presented in [3].The modes used in this study are given in Table 1.Mode 1 is the only mode that is not an agent's decision, because it is implemented as a rule to ensure safe operation.The steady state force displayed in Table 1 is calculated considering a pressure of 100 bar on port A and 15 bar on ports B and R.This is done to show which modes can exert higher force.The model of the physical system was developed in the multi-domain system simulation tool HOPSAN [21] and describes the motion of the boom arm as a function of the motion of the actuators.It also models the dynamic behaviour of the pressures, flow rates, internal leakage, and closing and opening of the valves.The model was validated against experimental results, with a detailed description presented in [20].

17The controller and training algorithm for the DQN agent were implemented in MAT-LAB/Simulink [21].During the training in simulation, the agent learns by interacting with the system.After training, the agent controls the real system.

18The actual controller of the system is not only composed of the trained agent selecting the optimal mode, it also contains other control and safety rules.An overview of the controller structure is shown in Figure 3.The reward branch of the agent is only used during the training phase.The actual controller of the system is not only composed of the trained agent selecting the optimal mode, it also contains other control and safety rules.An overview of the controller structure is shown in Figure 3.The reward branch of the agent is only used during the training phase.In Figure 3, it is also seen how the interaction of the agent with the environment takes place during the learning phase and then in the controlling phase.Paraphrasing [13] for the present control problem: The agent interacts with the environment in a sequence of actions, observations, and rewards.At each agent time step (), the agent observes the observations (), selects an action () from the set of modes (Table 1), and applies it to the environment.It observes the new observations ( + 1) and the reward ().It tries to maximise the reward.

19From the RL perspective, everything that is not the agent is considered as the environment it is interacting with.It is important to make the environment in the simulation as close to the real environment as possible.For the control of hydraulic systems in mobile applications, along with having a sufficiently accurate model of the physical system, there is the need to include additional safety rules.Therefore, the environment is the combination of the system model and the additional rules.The added control and safety rules for this system are:

20Limit the available modes according to position and external load;

21Compensate due to the difference in areas in each mode; and • Use mode 4 for the lowering motion ( < −0.002 m).

22The first rule is used because the valve has an overlap of 2 mm, so the on/off valves can be closed.The second rule prevents the agent from choosing a mode that cannot drive the load with the available maximum pump pressure, otherwise the load could fall.For the same operator control input signal to the proportional valve, the third rule ensures approximately the same actuator speed for the different modes, see [3,20] for details.

23The fourth rule is implemented because the return motion, due to the much larger area of the actuator connected to the return than the supply, results in excessive throttling on the meter-out edge of the valve.This causes the pump to operate at maximum pressure due to a perceived high load, which causes the pressure-compensation valves In Figure 3, it is also seen how the interaction of the agent with the environment takes place during the learning phase and then in the controlling phase.Paraphrasing [13] for the present control problem: The agent interacts with the environment in a sequence of actions, observations, and rewards.At each agent time step (t), the agent observes the observations s(t), selects an action a(t) from the set of modes (Table 1), and applies it to the environment.It observes the new observations s(t + 1) and the reward r(t).It tries to maximise the reward.

24From the RL perspective, everything that is not the agent is considered as the environment it is interacting with.It is important to make the environment in the simulation as close to the real environment as possible.For the control of hydraulic systems in mobile applications, along with having a sufficiently accurate model of the physical system, there is the need to include additional safety rules.Therefore, the environment is the combination of the system model and the additional rules.The added control and safety rules for this system are: The first rule is used because the valve has an overlap of 2 mm, so the on/off valves can be closed.The second rule prevents the agent from choosing a mode that cannot drive the load with the available maximum pump pressure, otherwise the load could fall.For the same operator control input signal to the proportional valve, the third rule ensures approximately the same actuator speed for the different modes, see [3,20] for details.

25The fourth rule is implemented because the return motion, due to the much larger area of the actuator connected to the return than the supply, results in excessive throttling on the meter-out edge of the valve.This causes the pump to operate at maximum pressure due to a perceived high load, which causes the pressure-compensation valves to operate fully open and, thus, the compensation losses are close to zero.Thus, the selection of modes, based on minimising the compensation losses, does not work for the returning motion.Therefore, due to this design constraint, the return motion is not an agent's decision.

26While the RL agent is responsible for the mode selection, another P controller 'mimics' the machine operator controlling the proportional valves.The P controller is implemented inside the proportional valves control block in Figure 3.

Learning Setup for the Agent

27The application has a continuous observation space (pressures, speed, etc.) and a discrete action space (modes to be selected).A DQN agent [13,22] is suitable for this type of observation and action space, and it mainly consists of a neural network calculating the value for taking a certain action given the current observations.The value is an estimation of the sum of the reward that the agent can collect over a future time horizon, by following a certain sequence of control actions.In this case, the network at each agent's time step predicts the value of taking each action.A greedy function selects and implements in the system the action that has the highest estimated value, which is, in other words, the action that would lead to the best performance, according to the reward function.This agent is, thus, a non-linear map between the system states (observations of pressures, speed, position, . . . ) and the optimised control action (modes).The reader is referred to [13,22] for a description of the type of agent and training algorithm.

28Each agent action corresponds to one mode (Table 1).Inside the 'Control and Safety Rules' block in Figure 3, a lookup table maps the action to the corresponding vector u DV of the open/closed digital valves that implements the mode in the system.

29The structure and parameters of the network are presented in Table 2.No sensitivity analysis was performed to evaluate the size of the network on the performance of the task.However, the size of the network was chosen to be small.The observations s used as input features are

30where a is the previous action, u 2 is the proportional valve control signal, p A−B−C are the chambers' pressures, p s is the supply pressure, p LS,1 is the load-sensing pressure for the conventional actuator, v is the actuator speed, and x is the position.The reward function r to be maximised is composed of three terms,

31The velocity term (r Velocity ) penalizes the agent if a motion is requested (|u 2 | > 0.002), and the multi-chamber actuator does not move with a minimum velocity.This encourages the agent to learn to meet a minimum control-performance requirement.The power loss term (r Power ) is a penalty based on the hydraulic system control losses, to encourage the agent to find a mode that results in smaller energy losses due to pressure compensation.The switch term (r Switch ) penalizes the agent for frequent mode switching.

32Table 3 presents the parameters and load cases used during training.To increase the agent's robustness, noise is added to the measurements used as observations in the simulations.R is a uniformly distributed random variable with a maximum amplitude of 1.In a real system, the load pressure from the conventional actuator (p LS,1 ) varies according to the load.However, a simplification is made by setting it to constant values to allow for easier interpretation of the results both in the simulation and in the experiments.

33In the experiments, this signal is emulated with an additional hydraulic circuit.This means that the agent is exposed to 12 different scenarios of external load and pressure on the conventional actuator, and the task is to lift the load from an initial position to a final position while maximising the reward function.

34Dynamic systems have oscillations, and these must be taken into consideration when setting the agent-control time step, defining the reward function, and considering what type of information is stored as experience.This is represented in Figure 4, by showing a dynamic response of the system state (s) due to an action a t .In a real system, the load pressure from the conventional actuato cording to the load.However, a simplification is made by setting it to allow for easier interpretation of the results both in the simulation a ments.In the experiments, this signal is emulated with an additional This means that the agent is exposed to 12 different scenarios of exter sure on the conventional actuator, and the task is to lift the load from to a final position while maximising the reward function.

35Dynamic systems have oscillations, and these must be taken i when setting the agent-control time step, defining the reward function what type of information is stored as experience.This is represente showing a dynamic response of the system state () due to an action If the time step is too small, the stored experience will contain d ther than steady-state conditions.This might affect the agent's ability the reward function could give misinformation.However, the reward is only observed at + 1 because it is usually a function of the final st tion between the states.Therefore, the size of the control time step c avoid these effects.For the current system, the mode selection does If the time step is too small, the stored experience will contain dynamic effects rather than steady-state conditions.This might affect the agent's ability to learn because the reward function could give misinformation.However, the reward from the action at t is only observed at t + 1 because it is usually a function of the final state and the transition between the states.Therefore, the size of the control time step can be adjusted to avoid these effects.For the current system, the mode selection does not need to occur frequently to avoid unnecessary switching.Thus, the agent time step is set to avoid these oscillations.

Results

36The agent was trained to lift a load from a certain initial position to a final position, with 12 load cases that including 2 pressure levels on p LS,1 and 6 external loads.Figure 5 presents the agent's training progress, where Q 0 is the estimated value.

37Energies 2022, 15, 5117 8 of 16 frequently to avoid unnecessary switching.Thus, the agent time step is set to avoid these oscillations.

38The agent was trained to lift a load from a certain initial position to a final position, with 12 load cases that including 2 pressure levels on , and 6 external loads.Figure 5 presents the agent's training progress, where is the estimated value.After training, the agent is tested in simulation for all 12 load cases, and its capability to complete the task in an efficient way is evaluated.The energy loss ( ) is calculated with Equations ( 6) and ( 7), with the variables extracted from the simulation.

𝑃

39= , + , = − , + − ,

Simulation Results

40An estimation of what mode results in the lowest power losses is made by evaluating Equation (6) for each mode and the steady-state conditions of speed () and position () of the multi-chamber actuator. , is calculated based on the external load and the position of the actuator, given the kinematics of the boom arm.The mode that results in the lowest power loss is selected as the best.This gives an indication of what mode selection to expect from the agent's learning.The solution for the two load cases, with 120 kg external load and the two pressure levels on , , are shown in Figure 6.Moreover, the safety boundary condition limiting the number of modes that can be applied to the system is shown, which was implemented as a rule.The resultant pressure ( , ) for the different modes is also shown, where it is seen that, to some extent and as expected, the best mode leads to a pressure level close to , .

41What Figure 6a,b show is that modes that can exert lower forces are better when the actuator is retracted, while modes that can exert higher forces are better when it is extended.This results in a closer match of , and , , as shown in Figure 6c,d.Due to the geometry of the boom, the further the actuator is extended, the higher the load force on it.However, the mode that results in the lowest power losses is also dependent on the flow rate, Equation (6), and this is the reason why weaker modes might be better (Figure 6b) at higher speeds.

42Figure 6 indicates what to expect from the agent's learning when it comes to the minimisation of energy losses.However, as shown in Equation (2), this is not the only optimisation objective.Figures 7 and 8 present simulation results for the trained agent performing the mode selection, for the two load cases.What the figures also show is the performance on the same tests when a conventional actuator with areas equivalent to mode 2 was used instead of the multi-chamber actuator.The abbreviations Conv and RL After training, the agent is tested in simulation for all 12 load cases, and its capability to complete the task in an efficient way is evaluated.The energy loss (E loss ) is calculated with Equations ( 6) and ( 7), with the variables extracted from the simulation.

43An estimation of what mode results in the lowest power losses is made by evaluating Equation (6) for each mode and the steady-state conditions of speed (v) and position (x) of the multi-chamber actuator.p LS,2 is calculated based on the external load and the position of the actuator, given the kinematics of the boom arm.The mode that results in the lowest power loss is selected as the best.This gives an indication of what mode selection to expect from the agent's learning.The solution for the two load cases, with 120 kg external load and the two pressure levels on p LS,1 , are shown in Figure 6.Moreover, the safety boundary condition limiting the number of modes that can be applied to the system is shown, which was implemented as a rule.The resultant pressure (p LS,2 ) for the different modes is also shown, where it is seen that, to some extent and as expected, the best mode leads to a pressure level close to p LS,1 .

44What Figure 6a,b show is that modes that can exert lower forces are better when the actuator is retracted, while modes that can exert higher forces are better when it is extended.This results in a closer match of p LS,1 and p LS,2 , as shown in Figure 6c,d.Due to the geometry of the boom, the further the actuator is extended, the higher the load force on it.However, the mode that results in the lowest power losses is also dependent on the flow rate, Equation ( 6), and this is the reason why weaker modes might be better (Figure 6b) at higher speeds.

45Figure 6 indicates what to expect from the agent's learning when it comes to the minimisation of energy losses.However, as shown in Equation (2), this is not the only optimisation objective.Figures 7 and 8 present simulation results for the trained agent performing the mode selection, for the two load cases.What the figures also show is the performance on the same tests when a conventional actuator with areas equivalent to mode 2 was used instead of the multi-chamber actuator.The abbreviations Conv and RL are used in the figures for the conventional actuator case and the multi-chamber actuator with mode selection, respectively.Power results are normalised with respect to the maximum power of each load case.Comparing Figure 7b with Figure 7d shows that the agent does learn to select modes that reduce the energy losses.This results in a better match of pressures than the conventional case, as shown in Figure 7c.By choosing a mode with smaller areas and resulting in a better match of , and , , the power losses are reduced significantly.A similar learning and decision-making capacity is observed for the other test case, as shown in Figure 8. Comparing Figure 8b and Figure 8d shows that the agent learns to choose the better mode based on the similar principles of reducing the mismatch of pressure (Figure 8c) and choosing the modes with a smaller area.

46All load scenarios that the agent was trained for were simulated, and Equation ( 7) is used to compare the energy losses.The results, normalised by the highest total energy losses for all test cases of each level of , , are presented in Figures 9 and 10.

47Results from the energy analysis show that the agent learned to select modes that result in lower energy losses for almost all the load scenarios it was trained for.For some load cases, the chosen solution is close to or equal to the conventional case.This happens in the load scenarios presented in Figure 9d-f.This means that in the worst case the agent runs the system like a conventional actuator, but it does not choose something worse than that, for example, a mode that cannot drive the load.Although it must be remembered that there is a safety function preventing a weak mode from being applied for high loads, the results showed that most of the time the agent chooses modes within the safety boundary.Comparing Figure 7b with Figure 7d shows that the agent does learn to select modes that reduce the energy losses.This results in a better match of pressures than the conventional case, as shown in Figure 7c.By choosing a mode with smaller areas and resulting in a better match of p LS,1 and p LS,2 , the power losses are reduced significantly.A similar learning and decision-making capacity is observed for the other test case, as shown in Figure 8.

48Comparing Figures 8b and 8d shows that the agent learns to choose the better mode based on the similar principles of reducing the mismatch of pressure (Figure 8c) and choosing the modes with a smaller area.

49All load scenarios that the agent was trained for were simulated, and Equation ( 7) is used to compare the energy losses.The results, normalised by the highest total energy losses for all test cases of each level of p LS,1 , are presented in Figures 9 and 10.

50Results from the energy analysis show that the agent learned to select modes that result in lower energy losses for almost all the load scenarios it was trained for.For some load cases, the chosen solution is close to or equal to the conventional case.This happens in the load scenarios presented in Figure 9d-f.This means that in the worst case the agent runs the system like a conventional actuator, but it does not choose something worse than that, for example, a mode that cannot drive the load.Although it must be remembered that there is a safety function preventing a weak mode from being applied for high loads, the results showed that most of the time the agent chooses modes within the safety boundary.

Experimental Tests

51The trained agent was deployed to the real system and evaluated on the same load scenarios used in the training.The experimental test results, for the same load cases of Figures 7 and 8, are shown in Figures 11 and 12. Simulation results are plotted in the same figures.However, in the experiments, the agent observes different conditions than in simulation, which can lead to different decisions.

52The agent is able to apply in practice the same modes it learned from the optimisation (Figure 11b), even though there are differences, for example, in the actuator position (Figure 11a) and system pressure (Figure 11c).

53The trained agent was deployed to the real system and evaluated on the same load scenarios used in the training.The experimental test results, for the same load cases of Figures 7 and 8, are shown in Figures 11 and 12. Simulation results are plotted in the same figures.However, in the experiments, the agent observes different conditions than in simulation, which can lead to different decisions.

54The agent is able to apply in practice the same modes it learned from the optimisation (Figure 11b), even though there are differences, for example, in the actuator position (Figure 11a) and system pressure (Figure 11c).

55The trained agent was deployed to the real system and evaluated on the same load scenarios used in the training.The experimental test results, for the same load cases of Figures 7 and 8, are shown in Figures 11 and 12. Simulation results are plotted in the same figures.However, in the experiments, the agent observes different conditions than in simulation, which can lead to different decisions.

56The agent is able to apply in practice the same modes it learned from the optimisation (Figure 11b), even though there are differences, for example, in the actuator position (Figure 11a) and system pressure (Figure 11c).As for the previous load case, the agent is able to apply in practice the same modes it learned from the optimisation.As said, all load cases were tested experimentally, and comparisons of selected modes are shown in Figures 13 and 14, where Sim and Test refer to the simulation and experiment, respectively.As for the previous load case, the agent is able to apply in practice the same modes it learned from the optimisation.As said, all load cases were tested experimentally, and comparisons of selected modes are shown in Figures 13 and 14, where Sim and Test refer to the simulation and experiment, respectively.As for the previous load case, the agent is able to apply in practice the same modes it learned from the optimisation.

57As said, all load cases were tested experimentally, and comparisons of selected modes are shown in Figures 13 and 14, where Sim and Test refer to the simulation and experiment, respectively.The experimental results show that in most of the cases the agent was able to implement in the real system the decisions that were also taken in the simulation.The load cases that failed are shown in Figures 13d,g and 14b,c.Even though these cases show some deviation from what was achieved in the simulation, they are not wrong for the complete test.This means that only a few decisions were wrong in these tests.However, they still followed the logic of choosing weaker modes at the start of the motion and stronger modes at the end of the motion, and, therefore, the agent was still able to complete the motion.

58Relatively high sensitivity to the variation in measured variables was observed, and this resulted in low repeatability in some of the load cases.The worst situation was for the load case of 120 kg load and , 60 bar, an example of which is shown in Figure 15.

59Figure 15 shows that such controllers, as expected, might underperform when operating under different conditions than they were trained for.However, for the trained agent presented in this study, the decisions, despite being different, still allowed the agent to complete the task in an acceptable way.The experimental results show that in most of the cases the agent was able to implement in the real system the decisions that were also taken in the simulation.The load cases that failed are shown in Figures 13d,g and 14b,c.Even though these cases show some deviation from what was achieved in the simulation, they are not wrong for the complete test.This means that only a few decisions were wrong in these tests.However, they still followed the logic of choosing weaker modes at the start of the motion and stronger modes at the end of the motion, and, therefore, the agent was still able to complete the motion.

60Relatively high sensitivity to the variation in measured variables was observed, and this resulted in low repeatability in some of the load cases.The worst situation was for the load case of 120 kg load and , 60 bar, an example of which is shown in Figure 15.

61Figure 15 shows that such controllers, as expected, might underperform when operating under different conditions than they were trained for.However, for the trained agent presented in this study, the decisions, despite being different, still allowed the agent to complete the task in an acceptable way.The experimental results show that in most of the cases the agent was able to implement in the real system the decisions that were also taken in the simulation.The load cases that failed are shown in Figure 13d,g and Figure 14b,c.Even though these cases show some deviation from what was achieved in the simulation, they are not wrong for the complete test.This means that only a few decisions were wrong in these tests.However, they still followed the logic of choosing weaker modes at the start of the motion and stronger modes at the end of the motion, and, therefore, the agent was still able to complete the motion.

62Relatively high sensitivity to the variation in measured variables was observed, and this resulted in low repeatability in some of the load cases.The worst situation was for the load case of 120 kg load and p LS,1 60 bar, an example of which is shown in Figure 15.

Discussion

63The energy analysis based on the simulation results showed the reduction in energy losses caused by the selection of suitable modes by the agent.However, this does not mean that the training of the agent converged to the global optimal solution that results in the lowest energy losses possible.The optimisation objective has other terms, and, therefore, the results presented in Figure 6 The model of the system was judged to be sufficiently accurate to describe the main characteristics and behaviours of the system.Still, there were deviations from the actual behaviour of the system.Although sufficient to pre-train the agent, it is likely that the performance of the agent could be further improved by letting it, in a safe manner, interact with the real system and train from those experiences in order to correct model deviations.

64Machine learning-based controllers are a black-box type of controller.There is an inherent risk associated with them when deployed to control real systems, usually related to the controller operating outside the training domain.Therefore, it must be ensured that the control actions applied to the system do not lead to any unsafe and/or unstable behaviours.In this study, this was ensured by implementing safety rules that would overwrite the agent's decisions when necessary.

65One limitation of this study was that the agent was evaluated under approximately the same load conditions and tasks that it was trained for.In the simulation, random noise was introduced to all measurements from the system in order to increase its robustness in the experimental tests.However, there are still questions to be answered and an evaluation to be made regarding the robustness and generalisation capability of the agent.This is especially the case for more realistic load cases, such as digging and variable , pressure.

Conclusions

66This paper presents simulation and experimental results that demonstrate the capability of a controller, developed under a reinforcement learning framework, to learn and control the mode selection of a hydraulic system.The controller was trained in simulation and afterwards was deployed to control the real system.The main control objective was to optimise the selection of modes of the multi-chamber actuator so as to reduce the resistive control losses on a valve-controlled load-sensing system.The controller was able to automatically find optimised control decisions and to apply them in the real system.The controller was also shown to be robust to differences between the training domain and the application domain, thus extrapolating the knowledge to unseen situations.Although able to control the real system, the trained agent must be accompanied by safety rules to ensure the safe operation of the system.Future work should be dedicated to evaluating how close the solution is to the global optimum and to assessing its robustness in application, because a high sensitivity to variations in the input features was observed for some of the test cases.Figure 15 shows that such controllers, as expected, might underperform when operating under different conditions than they were trained for.However, for the trained agent presented in this study, the decisions, despite being different, still allowed the agent to complete the task in an acceptable way.

Discussion

67The energy analysis based on the simulation results showed the reduction in energy losses caused by the selection of suitable modes by the agent.However, this does not mean that the training of the agent converged to the global optimal solution that results in the lowest energy losses possible.The optimisation objective has other terms, and, therefore, the results presented in Figure 6 The model of the system was judged to be sufficiently accurate to describe the main characteristics and behaviours of the system.Still, there were deviations from the actual behaviour of the system.Although sufficient to pre-train the agent, it is likely that the performance of the agent could be further improved by letting it, in a safe manner, interact with the real system and train from those experiences in order to correct model deviations.

68Machine learning-based controllers are a black-box type of controller.There is an inherent risk associated with them when deployed to control real systems, usually related to the controller operating outside the training domain.Therefore, it must be ensured that the control actions applied to the system do not lead to any unsafe and/or unstable behaviours.In this study, this was ensured by implementing safety rules that would overwrite the agent's decisions when necessary.

69One limitation of this study was that the agent was evaluated under approximately the same load conditions and tasks that it was trained for.In the simulation, random noise was introduced to all measurements from the system in order to increase its robustness in the experimental tests.However, there are still questions to be answered and an evaluation to be made regarding the robustness and generalisation capability of the agent.This is especially the case for more realistic load cases, such as digging and variable p LS,1 pressure.

Conclusions

70This paper presents simulation and experimental results that demonstrate the capability of a controller, developed under a reinforcement learning framework, to learn and control the mode selection of a hydraulic system.The controller was trained in simulation and afterwards was deployed to control the real system.The main control objective was to optimise the selection of modes of the multi-chamber actuator so as to reduce the resistive control losses on a valve-controlled load-sensing system.The controller was able to automatically find optimised control decisions and to apply them in the real system.The controller was also shown to be robust to differences between the training domain and the application domain, thus extrapolating the knowledge to unseen situations.Although able to control the real system, the trained agent must be accompanied by safety rules to ensure the safe operation of the system.Future work should be dedicated to evaluating how close

Figure 1 .

71Figure 1.Hydraulic-system architecture.

Figure 2 .

72Figure 2. Flow-pressure diagram showing the effect of mode selection on resistive control losses.(a) With a conventional actuator; (b) with a multi-chamber actuator.

Figure 1 . 16 Figure 1 .

73Figure 1.Hydraulic-system architecture.

Figure 2 .

74Figure 2. Flow-pressure diagram showing the effect of mode selection on resistive control losses.(a) With a conventional actuator; (b) with a multi-chamber actuator.

75Figure 2. Flow-pressure diagram showing the effect of mode selection on resistive control losses.(a) With a conventional actuator; (b) with a multi-chamber actuator.

Figure 3 .

76Figure 3. Structure of the controller and picture of the test bench.

77Figure 3. Structure of the controller and picture of the test bench.

Figure 4 .

78Figure 4. Agent time step versus system dynamics.

79Figure 4. Agent time step versus system dynamics.

Figure 5 .

80Figure 5. Agent's training progress.

81Figure 5. Agent's training progress.

82the figures for the conventional actuator case and the multi-chamber actuator with mode selection, respectively.Power results are normalised with respect to the maximum power of each load case.

Figure 6 .

83Figure 6.Best modes for 120 kg load.(a) For , = 60 bar; (b) for , = 100 bar; (c) resultant , for , = 60 bar; (d) resultant , for , = 100 bar.

Figure 7 .

84Figure 7. Simulation result, 40 kg load and , = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.

Figure 6 .

85Figure 6.Best modes for 120 kg load.(a) For p LS,1 = 60 bar; (b) for p LS,1 = 100 bar; (c) resultant p LS,2 for p LS,1 = 60 bar; (d) resultant p LS,2 for p LS,1 = 100 bar.

86Figure 6.Best modes for 120 kg load.(a) For , = 60 bar; (b) for , = 100 bar; (c) resultant , for , = 60 bar; (d) resultant , for , = 100 bar.

Figure 7 .

87Figure 7. Simulation result, 40 kg load and , = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.Figure 7. Simulation result, 40 kg load and p LS,1 = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.

88Figure 7. Simulation result, 40 kg load and , = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.Figure 7. Simulation result, 40 kg load and p LS,1 = 60 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.

Figure 8 .

89Figure 8. Simulation result, 40 kg load and , = 100 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.

90Figure 8. Simulation result, 40 kg load and p LS,1 = 100 bar.(a) Position; (b) action; (c) system and load-sensing pressures; (d) power loss.

Figure 9 .

91Figure 9. Energy comparison, , = 60 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

Figure 10 .

92Figure 10.Energy comparison, , = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

Figure 9 . 16 Figure 9 .

93Figure 9. Energy comparison, p LS,1 = 60 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

Figure 10 .

94Figure 10.Energy comparison, , = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

95Figure 10.Energy comparison, p LS,1 = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

Figure 11 .

96Figure 11.Experimental (Test) and simulation (Sim) results, 40 kg load and , = 60 bar.(a) position and reference; (b) action; (c) system pressure.

Figure 12 .

97Figure 12.Experimental (Test) and simulation (Sim) results, 40 kg load and , = 100 bar.(a) Position and reference; (b) action; (c) system pressure.

11 .

98Experimental (Test) and simulation (Sim) results, 40 kg load and p LS,1 = 60 bar.(a) position and reference; (b) action; (c) system pressure.Energies 2022, 15, 5117 12 of 16

Figure 11 .

99Figure 11.Experimental (Test) and simulation (Sim) results, 40 kg load and , = 60 bar.(a) position and reference; (b) action; (c) system pressure.

Figure 12 .

100Figure 12.Experimental (Test) and simulation (Sim) results, 40 kg load and , = 100 bar.(a) Position and reference; (b) action; (c) system pressure.

101Figure 12.Experimental (Test) and simulation (Sim) results, 40 kg load and p LS,1 = 100 bar.(a) Position and reference; (b) action; (c) system pressure.

Figure 13 .

102Figure 13.All test cases, , = 60 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

Figure 14 .

103Figure 14.All test cases, , = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

Figure 13 . 16 Figure 13 .

104Figure 13.All test cases, p LS,1 = 60 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

Figure 14 .

105Figure 14.All test cases, , = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

106Figure 14.All test cases, p LS,1 = 100 bar: (a) 40 kg; (b) 80 kg; (c) 120 kg; (d) 160 kg; (e) 200 kg; (f) 240 kg.

Figure 15 .

107Figure 15.Issues with repeatability for 120 kg load and , = 60 bar.

108are only an estimation of what are the best modes.Future studies should aim at finding the optimal solution and comparing this with what the agent finds during the training.

109Figure 15.Issues with repeatability for 120 kg load and p LS,1 = 60 bar.

110are only an estimation of what are the best modes.Future studies should aim at finding the optimal solution and comparing this with what the agent finds during the training.

Table 1 .

111Available modes and connected chambers.

Table 2 .

112Structure of the agent network.

Table 3 .

113Agent and task parameters.

참고문헌 14건

  1. Characteristics of Energy Efficient Switched Hydraulic Systems JFPS International Journal of Fluid Power System · The Japan Fluid Power System Society · 2014 10.5739/jfpsij.8.90
  2. Energy Efficiency of Three-Chamber Cylinder with Digital Valve System International Journal of Fluid Power · Taylor & Francis · 2010 10.1080/14399776.2010.10781011
  3. Single Edge Meter Out Control for Mobile Machinery 2014 10.1115/fpmc2014-7810
  4. Investigation of a Digital Hydraulic Actuation System on an Excavator Arm Linköping electronic conference proceedings · Linköping University Electronic Press · 2013 10.3384/ecp1392a50
  5. Reducing Fuel Consumption in Hydraulic Excavators—A Comprehensive Analysis Energies · Multidisciplinary Digital Publishing Institute · 2017 10.3390/en10050687
  6. Real-time energy management controller design for a hybrid excavator using reinforcement learning Journal of Zhejiang University. Science A · Springer Science+Business Media · 2017 10.1631/jzus.a1600650
  7. Simulation study of a digital hydraulic independent metering valve system on an excavator Linköping electronic conference proceedings · Linköping University Electronic Press · 2017 10.3384/ecp17144136
  8. Model Predictive Control of a Hydraulic Multichamber Actuator: A Feasibility Study IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tmech.2018.2823695
  9. Application of Model Predictive Control in Discrete Displacement Cylinders to Drive a Knuckle Boom Crane 2018 10.1109/gfps.2018.8472363
  10. Reinforcement learning-based intelligent energy management architecture for hybrid construction machinery Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115401
  11. Reinforcement Learning Control of a Forestry Crane Manipulator 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2021 10.1109/iros51168.2021.9636219
  12. Continuous Control of an Underground Loader Using Deep Reinforcement Learning MDPI (MDPI AG) · Multidisciplinary Digital Publishing Institute (Switzerland) · 2021 10.3390/machines9100216
  13. Extended Analysis of a Valve-Controlled System with Multi-Chamber Actuator International Journal of Fluid Power · Taylor & Francis · 2021 10.13052/ijfp1439-9776.2314
  14. A General Approach for the Automation of Hydraulic Excavator Arms Using Reinforcement Learning IEEE Robotics and Automation Letters · Institute of Electrical and Electronics Engineers · 2022 10.1109/lra.2022.3152865