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

A Clustering-Based Approach for Adaptive Control Applied to a Hybrid Electric Vehicle

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Rian Beck — Flanders Make, Lommel, Belgium, --- Select a Country ---
  2. Sudarsan Kumar Venkatesan — Flanders Make, Lommel, Belgium, --- Select a Country ---
  3. Joram Meskens — Flanders Make, Lommel, Belgium, --- Select a Country ---
  4. Jeroen Willems — Flanders Make, Lommel, Belgium, --- Select a Country ---
  5. Edward Kikken — Flanders Make, Lommel, Belgium, --- Select a Country ---
  6. Bruno Depraetere — Flanders Make, Lommel, Belgium, --- Select a Country ---
DOI
10.5220/0012171100003543
저널
–
발행년도
2023
발행기관
–
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.5220/0012171100003543
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4388861151

평가 내용

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

초록

초록이 없습니다.

본문 38,136자

본문 펼치기
In this paper we present an approach to adapt the parameters of controllers during operation.It is targeted at industrial adoption, relying on controllers of the same type currently in use, but adjusting their gains at run-time based on varying system and / or environment conditions.As the key contribution of this paper we present a method to discover what condition variations warrant a control adaptation for cases where this is not known up front.The goal is not to achieve a better performance than other adaptive control schemes, but to provide a different method of designing or deciding how to build adaptation logic.To achieve this we use data-driven methods to, in an offline preprocessing step: (I) derive features that quantify system / environment variations, (II) optimize the control parameters for the distinct feature values, (III) search for clusters in the multi-dimensional space of both these features and control parameters, looking for sets of similar features as well as control parameters to be used.Once a set of clusters is defined, an online adaptive controller is then synthesized by (I) building a classifier to determine which cluster the currently observed conditions belong to, and (II) selecting the optimal control parameters for that cluster.This paper provides a first illustration of the method, without theoretical analysis, on an example case of energy management for a hybrid electrical vehicle, for which an Equivalent Consumption Minimization Strategy controller is built whose parameters are adjusted as the detected cluster changes.The results show an increase in energy-efficiency of the adaptive control method over the non-adaptive one in a variety of scenarios.a INTRODUCTION The industrial need for reduced energy consumption, increased throughput and increased production accuracy leads to ever-increasing performance requirements for mechatronic systems and their controllers.The historical approach of designing a single fixed controller that is robust against variability of system dynamics or changes in the system environment will result in sub-optimal performance to achieve the required robustness (e.g., plane fuel consumption reduces mass so dynamics change, hybrid electric vehicle driving in different traffic scenarios).Therefore, adaptive control techniques that adjust control actions when the system and / or environment change https://orcid.org/0000-0003-2011-3857 have gained widespread attention in academia.Motivated by the performance benefits, these approaches are even cautiously being adopted by industry where they were typically not preferred before due to their complexity, difficult design and tuning, as well as, the lack of industrial understanding and trust in more advanced control methods in general. INTRODUCTION A survey of literature reveals a wide array of such adaptive control techniques originating from classic model-based control theory: MRAC (Kreisselmeier and Anderson, 1986), approximate direct programming (Powell, 2007), adaptive ECMS (Musardo et al., 2005), gain scheduling (Leith and Leithead, 2000), adaptive pole placement (Elliott et al., 1985), dual controllers (Åström and Wittenmark, 2013), extremum-seeking controllers (Ariyur and Krstic, 2003), iterative learning controllers (Wang et al., 2009), MIAC (Schreier, 2012), fuzzy adaptive controllers (Yang et al., 2021), any many more.In the past decade, advances in artificial intelligence (AI) and machine learning (ML) are pushing data-based adaptive control techniques such as the many variants of Reinforcement Learning (RL) (Khan et al., 2012) (e.g., Q-learning (Watkins and Dayan, 1992), SARSA (Rummery and Niranjan, 1994), Monte-Carlo (Sutton and Barto, 2018)) to the forefront.More recently combinations of model-based and data-based approaches are begin developed e.g., model-based RL (Berkenkamp et al., 2017) and residual RL (Johannink et al., 2019) (Staessens et al., 2022).For completeness, advanced model-based approaches like Model Predictive Control (MPC) or explicit MPC are also able adapt to changes, but these are not considered in this work, since they require good predictions of the upcoming events or changes in the conditions, in order to work well, which is not possible for the considered case of a vehicle driving through various traffic conditions. INTRODUCTION As can be seen in these references, this diverse set of adaptive control techniques has been applied to a multitude of engineering fields: robotics, aerospace, automotive, process control and ranging from academic demonstrators to industrial cases.Under this last category of combined model-based and datadriven methods the proposed approach of this paper fits best, where we believe our method is a worthwhile extension to the available techniques, because it is straightforward to implement and control actions can be inspected a-priori and understood easily, therefore making it especially suitable for industrial applications where these topics matter most. INTRODUCTION The approach described in this work relies on the following assumptions: (I) The system under consideration is a complex non-linear parameter-varying system that operates in a varying environment.(II) It is controlled by a parametric controller (e.g., PID).(III) The optimal control parameter values change as a function of the system and / or environment, and can be found by means of optimization. INTRODUCTION For such cases we propose to: • Simulate or experimentally collect a broad set of system and environment conditions, and for each find the optimal control parameter values.• Look for clusters (with K-means) (Jain and Dubes, 1988)) where both the optimal control values and the system / environment features are similar.These clusters then indicate sets of system / environment conditions, as well as the most appropriate control parameter values to be used for them.• To get to an adaptive controller that performs online adaptation of the control parameters we will also train a classifier to identify the system / environment conditions from measurements.During operation / run-time, this classifier indicates in which cluster the system / environment is, so that an adaptive controller can be formed by using this information to select the optimal control parameter values corresponding to this cluster. INTRODUCTION Note that the work presented in this paper builds upon previous work, where we already built an adaptive controller for the same use case as in this paper (Venkatesan et al., 2021): the key improvement here is the usage of data-driven clustering methods to determine for what conditions adaptations are most beneficial, as opposed to the engineering insight based division of conditions that was performed in the previous work. INTRODUCTION To demonstrate the proposed approach a Hybrid Electric Vehicle (HEV) use case is used.In an HEV, the energy management controller decides how much power is requested from the internal combustion engine (ICE) and how much from the electromotor (EM).At a given vehicle speed, it looks at the desired wheel torque and considers how to best achieve it: supplying all power with the ICE, only using the EM, or a mix of the two.This is often called the HEV power-split.Ideally, the controller selects the powersplit to maximize the fuel-efficiency of the vehicle.To demonstrate our control approach, we will control the power split using a widely used parametric Equivalent Consumption Minimization Strategy (ECMS) controller, see (De Jager et al., 2013;Gao et al., 2017;Rezaei et al., 2017), knowing that the optimal ECMS control parameter values will vary for different driving cycles.This ECMS will be augmented towards an adaptive ECMS (A-ECMS) using the method described before.Note that we are aware of other methods to improve an ECMS towards an A-ECMS (e.g., (Chasse et al., 2010;Onori and Serrao, 2011;Hussain et al., 2019;Frank et al., 2017)), but the goal of this case is purely demonstration of our approach.Detailed comparison to other A-ECMS approaches is for now left to future work. INTRODUCTION The paper makes the following contributions: INTRODUCTION • The usage of clustering to group similar control parameters values to features derived from the varying system / environment is detailed in Section 2, and an example is provided on the use-case in Section 4. INTRODUCTION • The training of a classifier to detect cluster membership at run-time to adjust control parameters online is detailed in Section 2. INTRODUCTION • The integration of the cluster classifier with the original parameter controller resulting in the adaptive parametric controller can also be found in Section 2. INTRODUCTION • The validation of our adaptive controller approach on a simulated HEV use case (detailed in Section 3) can be found in Section 5. PROPOSED ADAPTIVE CONTROL APPROACH In this paper we follow an approach to develop controllers that adapt when the system dynamics, operating conditions and / or the system environment change.We aim for industrial adoption so to that end, we restrict ourselves to an adaptive control scheme in which classical non-adaptive controllers are used, but a layer is added on top to adapt the parameter values of these non-adaptive controllers to come to an adaptive control scheme.To keep things simple to analyze for industrial use, we restrict ourselves in the adaptation logic layer to choosing between a finite number of conditions, each with its specific set of control parameter values, and we choose which of the sets to select.We furthermore aim to find conditions for which switching between them does not occur very frequently, but instead once a condition is selected the control values can remain fixed to the values of this condition for a substantial amount of control samples to prevent Zeno-like switching behavior.Extensions towards a framework wherein adaption is not restricted to the discrete selections but is done continuously, and as a consequence, also much more frequently (down to every control sample) are possible, but omitted in this paper to increase the ease of analysis and the confidence we expect industry would have in the resulting controllers. PROPOSED ADAPTIVE CONTROL APPROACH Definition 1.In the remainder of this work the term 'context' is used to describe the current dynamics, operating conditions and / or the system environment at which the system is operating.We assume each specific context can be described by a set of feature values f that can be measured or estimated at run-time. PROPOSED ADAPTIVE CONTROL APPROACH For an HEV possible context example features could be: the change in vehicle mass, the mean slope of the road over a time window and the ambient air temperature. PROPOSED ADAPTIVE CONTROL APPROACH To obtain the adaptive controller describe above, the following steps are taken, as shown also in Figure 1 1.Simulate or experimentally gather a data-set with a variety of contexts, described by the duty cycle and all sensor signals and a set of features f derived from them, along with the control parameter values p opt ( f ) that are optimal for each of the given contexts.2. Use data-based clustering methods to form N clusters groups with similar context features f as well as similar optimal control parameters p opt ( f ). 3. Re-compute the optimal control parameters, but now per cluster to get the cluster-optimal control parameters p opt,i , where i ∈ [1, . . ., N clusters ]. PROPOSED ADAPTIVE CONTROL APPROACH 4. Train a classifier to use context features f collected at run-time to detect cluster membership during operation. PROPOSED ADAPTIVE CONTROL APPROACH 5. Assemble the adaptive controller by combining the outcome of the previous 2 bullets. PROPOSED ADAPTIVE CONTROL APPROACH Firstly, we need data to apply the clustering methods to.This can be collected in the field, or, like in this paper, generated in a simulation environment.This way, we flexibly build a large data-set which contains variable contexts.On top of that, we also calculate the optimal control parameters for every sample in this dataset, as will be described in the next section. PROPOSED ADAPTIVE CONTROL APPROACH In the second step, this data is then used for the clustering.This step, like the first, is still done offline, before deployment.In this step, we look for clusters that have similar values for both optimal control parameters and context features.This can be done in a large space, spanning multiple possible context features, with the aim of finding a small set of clusters with similar context features for which also the control parameters are similar.As a consequence, whenever a context is seen with similar context features to those of a given cluster, a good choice would be to also choose the control values that were present in that specific cluster. PROPOSED ADAPTIVE CONTROL APPROACH Remark 1. Ideally we would also include sensitivity of the performance to changes in the control parameters.Now we look for points with similar context features and similar control values, but we don't account for how sensitive changes in control values are.However, since this is harder to do, this was not (yet) done in this work, but the authors think it can be an interesting avenue for future research. PROPOSED ADAPTIVE CONTROL APPROACH In the third step, a single set of control parameter values is optimized for each cluster from step two.This does not need to be equal to the cluster mean values, but the values will of course be similar in value to those of the points in the cluster. PROPOSED ADAPTIVE CONTROL APPROACH In the fourth step we build an estimation algorithm that can, online, i.e., during normal operation, detect which of the clusters from the previous step most resembles the current context the system will be operating in.This classifier importantly relies only on the features, and not on the control values. PROPOSED ADAPTIVE CONTROL APPROACH In the fifth step finally, a simple adaptive control scheme is set up, that uses the classifier to estimate the cluster membership, and then selects the controller parameters corresponding to the estimated cluster. PROPOSED ADAPTIVE CONTROL APPROACH More details on these steps and the workflow will be given in Section 4, when they are applied to the considered HEV use case, which is first described in Section 3. HYBRID ELECTRICAL VEHICLE USE-CASE As stated in the introduction, the energy management controller decides the power-split.It looks at the desired wheel torque, and decides the mix of torques from the ICE and the EM to match it.Ideally, the controller does so in a manner such that over the long term, the efficiency is maximized. Model of the HEV The considered vehicle is a series-parallel-hybrid vehicle with an EM and an ICE driving a 9 speed transmission, as shown in Figure 2. We model the HEV using a backwards-facing quasi-static vehicle model: the drive cycle is the input, defined by vehicle velocity v(t), and from that we calculate the corresponding torque T (t) at the wheels calculated with an inertia and friction model.The controller chooses the power-split between the torque delivered by the ICE: T ICE,wheels (t), and that by the EM / battery: T bat,wheels (t), such that T (t) = T ICE,wheels (t) + T bat,wheels (t), Model of the HEV (1) and equivalently P(t) = P ICE,wheels (t) + P bat,wheels (t). Model of the HEV (2) Model of the HEV With these, the model then calculates the torques at the ICE and the EM, based on drive ratios i x and drivetrain efficiencies η wheels to x , where i ICE for the ICE also depends on the selected gear (which for convenience is currently chosen with standard methods not relying on ECMS): Model of the HEV From T ICE (t) we can then calculate the fuel rate ṁfuel (t) of the ICE, according to: Model of the HEV wherein Model of the HEV , and where f () is an empirical map from which we extract the fuel rate using 2D-interpolation. Model of the HEV Similarly, we can calculate the change in battery state-of-charge according to Model of the HEV wherein ω EM (t) = i EM • v(t), and where to calculate h() we again use an empirical 2D efficiency map of the EM, coupled with a simple battery model with a loss resistance.The maps f () and h() and the model parameters used are those of a custom, modified version of a nonhybrid Range Rover Evoque, which was made into a hybrid-through-the-road using two in-wheel electromotors added at the rear wheels, as was described in (Venkatesan et al., 2021).The resulting vehicle model is made in MATLAB model as described in (Goos et al., 2017). Model of the HEV In the remainder we will simplify notation.Since we will always be looking at powersplits at the wheel level, we will leave out the distinction between values at the wheel level and those at the ICE or EM/battery.We will redefine P ICE (t) and P bat (t) to indicate the powers from both sources at the wheels, requiring that P(t) = P ICE (t) + P bat (t).We will furthermore leave out many dependencies from the notation, so that we can denote the fuel rate as ṁfuel P ICE (t) . ECMS Control Algorithm As denoted previously, in this paper we consider an ECMS controller.This choice is made since it matches our requirements, i.e., we can make it adaptive by tuning its gains.Furthermore, it is a control technique that is simple enough to facilitate industrial adoption, and last, it is a well-known and often-used approach, see e.g., (De Jager et al., 2013;Gao et al., 2017;Rezaei et al., 2017). ECMS Control Algorithm Rooted in optimal control, ECMS is a class of suboptimal control methods that aims to approximate a fully optimal solution.The power split is calculated at each time step, without future predictions, considering only the current speed and desired load.The calculation minimizes the expected equivalent consumption, which is a combination of the modeled fuel usage and the modeled electrical energy used, as explained previously.Since there is no need for future predictions, and since the optimization is only done over a single time-step, it can be solved very efficiently, and it can even be pre-computed for (a grid of) all possible loads and speeds, and stored in a lookup-table.This leads to it being very efficient to implement, especially if compared to prediction based approaches such as for example dynamic programming (DP) (Bellman, 1966).However, ECMS methods are still able to sufficiently approximate optimal control methods employing a longer prediction horizon, see e.g., (De Jager et al., 2013;Frank et al., 2017;Onori and Serrao, 2011).However in order to achieve this, the control parameters of the ECMS need to be tuned well.The tuning of the ECMS can be different for each drive cycle.Therefore, in this paper, we will look to adjust the tuning of the ECMS controller online based on (estimated) context, and as stated above, focus on discovering what contexts we need to adapt to.In this paper, we consider an ECMS method that has been broadly used to control the power split of HEVs, see e.g., (De Jager et al., 2013;Gao et al., 2017;Rezaei et al., 2017).Later on in this paper, we will modify it to make it context-dependent. ECMS Control Algorithm The ECMS algorithm is optimization problem, which calculates the combination of P ICE (t) and P bat (t)) that minimizes a given cost J(t) at time instant t, while meeting the total required power P desired (t): ECMS Control Algorithm s.t.P desired (t) = P ICE (t) + P bat (t). ECMS Control Algorithm A commonly selected cost function J(t) is: ECMS Control Algorithm wherein λ is the control parameter, which makes the trade-off between the usage of the ICE and EM.In order to obtain a well-tuned ECMS controller, λ needs to be chosen properly.If λ is selected too high or too low, the battery will fill up or drain in the long run, which can be undesired.Since this effect (and corresponding λ) is dependent on the considered drive cycle, ECMS is often made charge sustainable by making λ dependent on the state of charge.This is done by splitting λ in λ 1 and λ 2 , where λ 1 regulates the power split (as considered before), and λ 2 promotes charge sustainability by penalizing the difference between the current SOC(t) and it's reference value SOC ref (which we set to 50%) (Onori and Serrao, 2011;Rezaei et al., 2017).The following cost function is then obtained, and will be considered in the remainder of this paper: ECMS Control Algorithm To practically solve the optimization at every time step, the ECMS uses the model described in Section 3.1 to predict ṁfuel (t).We do this over a fine grid of discretized values for ∆SOC(t), since each defines P bat (t) and through the constraint also P ICE (t), thus allowing to evaluate J(t).We can thus essentially solve the optimization without needing to explicitly solve a numerical optimization, and we can even precompute the solution for a large grid of speeds and torques and interpolate to find solutions that way.In any case, once solved, the powers from the best solution are applied to the vehicle, and the next time step the procedure is repeated. ECMS Control Algorithm In this paper the aim is to adapt both λ 1 and λ 2 depending on the context, with the aim to reduce the overall energy consumption relative to the case when they are kept constant. Generation of Training and Validation Data In this section, we will describe the data used for training and validation.The data-set is built using the velocity profiles described by several standard driving cycles: WLTP, FTP, UDDS, CADC, Australia SPC240, and US HWFET (Dieselnet, 2022). Generation of Training and Validation Data Figure 3 shows all these cycles in a concatenated form.These cycles are divided into segments, where each belongs to one of 3 categories: urban, suburban or highway, based on average velocity, as indicated in the Figure .Every segment is in turn split up again in even smaller sub-segments.These small sub-cycles are then used as building blocks to construct a larger set of training and validation velocity cycles, by concatenating several of them in varying order.Segments are only concatenated when the velocity at the end of segment one matches to the starting velocity of segment two, in order to avoid an unrealistic acceleration profile.Note that none of the sub-segments used for validation are used for training and vice-versa.By augmenting the original set of velocity cycles in this way, a larger variety of training and validation scenarios is obtained (more variation in length, more transitions, etc.). Generation of Training and Validation Data We know that clustering methods will perform better when a more complete set of simulated sensor signals is available, since it will allow for a more diverse set of context features to be calculated.So to generate our data-set we integrate the model from Section 3.1 into the automotive simulator IPG Car-Maker (IPG Automotive, 2022) and simulate the same driving cycles.The new extended data-set then contains the same vehicle speeds and torques as predicted by our MATLAB model, but also additional simulated signals (e.g., throttle and braking pedals, steering input) from which additional features can be extracted. CONTROL-CONTEXT GROUPING This section details the approach to group similar control parameter values to features derived from varying contexts, matching steps 1-4 outlined earlier.This allows to later on adapt the control parameters as a function of the observed context. Computation of Optimal Control Parameters As mentioned in step 1) earlier, We need to calculate optimal controller parameters for a variety of contexts, so they can later on be clustered together with the context features.For each training cycle V k in the complete training data set V consisting of N cycles cycles, we compute the optimal power split (i.e., the control parameters λ opt,k 1 and λ opt,k 2 Computation of Optimal Control Parameters ) using Dynamic Programming (DP) (Goos et al., 2017) as: Computation of Optimal Control Parameters s.t.P desired (t) = P ICE (t) + P bat (t), Computation of Optimal Control Parameters Note that here we use DP to find optimal values for every cycle.We do this to generate training data for our approach, but DP cannot easily be used directly online as an alternative, since the calculations are very time consuming and rely on preview of the entire upcoming cycles. Extraction of Context Features To complete step 1) we also need to extract and save the features f to describe the context.To do so, we: Extraction of Context Features • Select a driving cycle V k from the complete dataset V and extract all signals (e.g., speed, torque, pedal positions, steering input, etc.). Extraction of Context Features • Define a time window of length N. Note that the choice of N will need some iteration, depending on the resulting clustering. Extraction of Context Features • For each signal compute aggregate (e.g., mean, RMS, variance) context features f j for each window j that fits within the driving cycle V k . Extraction of Context Features • For each time window j we also store the active control parameters λ 1, j = λ opt,k 1 and λ 2, j = λ opt,k 2 .Note that these are constant for all windows within the selected driving cycle V k , but will change when moving to the next cycle. Extraction of Context Features • Move the the next driving cycle V k+1 and continue until all driving cycles are processed. Extraction of Context Features Note that features computed over a window are associated with the last timestamp within this window, thus looking at Figure 4, window 1's features f 1 are associated with timestep t N . Extraction of Context Features The steps above result in a set of aggregated context features f j and a set of optimal control parameter values λ 1, j and λ 2, j for every time window j in V .These can then be represented by a point in a high dimensional space, spanning both the context features and control parameter attributes. Clustering of Context Features and Control Parameters Once the controller parameters and context features are computed, we perform step 2), and group them in such a way that the similarity within a group is as high as possible, without ending up with a high number of groups.We have used K-means clustering to do so, but before trying to form clusters in this highly dimensional space, it is best to remove some context features to only retain the relevant ones.The approach used in this paper is to compute the 'permutation feature importance' (PFI) values for each context feature, with respect to the controller parameters (Leo, 2001;Venkatesan et al., 2021).Only features that have an importance value above a set threshold are used for clustering. Clustering of Context Features and Control Parameters The number of clusters has to be given as an input parameter to the clustering algorithm, but the ideal number is not known beforehand and is use-case dependent.Selecting the right number of clusters is therefore an iterative process, and comes down to a trade-off between having better control performance (by being able to adapt to a more diverse set of contexts) and still maintaining sufficient controller robustness / avoiding continuously switching between context clusters.Furthermore, as described in Section 2, a lower number of clusters will result in an adaptive controller which is easier to validate. Clustering of Context Features and Control Parameters Remark 2. Other methods to avoid switching can include deadbands or hysteresis controllers, or even adding features to promote temporal similarity during the clustering.For now we have not looked into these, but we have restricted ourselves to using a small (2) number of clusters. Clustering of Context Features and Control Parameters In this paper we have chosen to use 2 clusters.An example of the clustering outcome is depicted in ECMS per Cluster Since only a single set of controller parameters can be used for a given cluster during on-line implementation, the controller parameters for each cluster must be chosen to be as optimal as possible in all conditions represented by this cluster i ∈ [1, . . ., N clusters ].Therefore, in step 3) the controller parameters are reoptimized for each cluster before deployment, using all data within the cluster.This is done by solving the following optimization problem for each cluster i (with time horizon t ∈ [t start , . . .,t end ]): ECMS per Cluster s.t.|SOC(t start ) − SOC(t end )| ≤ ε, where m fuel, eq.describes equivalent spent fuel and ε is some small number to get a well-conditioned problem.This comprises the effective fuel spent, but also a term to take into account the difference in chemical energy due to differences in the final SOC at t end at the end of the horizon (duty cycle): m fuel, eq.= m fuel (t end ) + ν • ∆SOC(t end ), (12) where ν is a factor expressing the average efficiencies of ICE and EM.This is found by calculating the average value of ν(t) over the entire horizon: ECMS per Cluster ) where η denotes the efficiency of each component (ICE, EM, battery), and Q LHV is the lower heat value of the fuel.The constraint in Equation 11 ensures (approximate) charge sustainability.The problem is solved using the Matlab Global Optimization toolbox, using the patternsearch algorithm (MathWorks, 2022). Integration with Classifier In order for the adaptive controller to be implementable on-line, it must know which cluster from the training data best represents the current working conditions.Because the desired controller parameters are not known beforehand but depend on the cluster, we cannot simply look for the closest cluster in the full clustering space described in Section 4.3.Therefore, in step 4) a random forest classifier (a variant of supervised learning), see e.g., (Ho, 1995), is built to estimate the cluster membership, using only (a subset of) the windowed context features as described above, but not the controller parameters. Integration with Classifier The considered workflow used to construct the classifier is shown in Figure 6.As described in Section 4.2, features are extracted from timeseries data, using windows of various lengths.Next, highly correlated features are removed using the Spearman rank correlation analysis.Thereafter, similar to as done for the clustering approach, we use a 'permutation feature importance' (PFI) metric to select the most important features used for training the classifier.Once the classifier has been trained, it can be used to predict the context during on-line operation, and select the corresponding optimal control parameters.The above workflow is implemented using the Scikit-learn machine learning toolbox in Python (Buitinck et al., 2013). Assembly of Resulting Adaptive Controller Given the building blocks of earlier sections, we can now assemble the adaptive controller itself.Online we continuously run the random forest classifier from the previous section, and using it estimate the cluster j to which the current conditions are the most similar. Assembly of Resulting Adaptive Controller Based on that, we then take the values (λ Assembly of Resulting Adaptive Controller ) according to (11) which were optimized offline for this cluster j, and use it to calculate the ECMS powersplit and thus P ICE (t) opt , P bat (t) opt according to (7) for the current vehicle speed and desired wheel torque. SIMULATION RESULTS AND DISCUSSION In this section we evaluate the performance of the proposed adaptive controller on the validation data described earlier. SIMULATION RESULTS AND DISCUSSION First, we compare it to a benchmark ECMS (bm-ECMS) controller with fixed control parameters, with λ 1 and λ 2 chosen to be optimal, using the ECMS cluster optimization approach detailed in Equation 11, but given the complete training data-set V instead of only the data in a single cluster. SIMULATION RESULTS AND DISCUSSION In order to benchmark the controllers, we use the equivalent fuel consumption, see Equation 11.Table 1 compares the developed adaptive approach (a-ECMS) to the benchmark ECMS for the training and validation driving cycles.It can be seen that for validation data the performance gain when using our adaptive controller is 0.72% over the benchmark ECMS with fixed parameters.This gain is moreover attained over the best possible fixed ECMS controller, optimized on our training data-set, which is already a high-performance baseline.Given the amount of vehicles on the road and in industrial settings, such a gain could yield a significant reduction of fuel usage and exhaust gasses.Furthermore, this can be achieved without the need for additional hardware since we are only using existing sensor signals and requires only limited additional computational power compared to traditional ECMS.Training data-set -1.28% Validation data-set -0.72% Cycle Description To further evaluate the developed controller, we compare it to DP.As mentioned earlier in this paper, DP is computationally heavy and hard to implement online.However, when used offline with preview of the entire duty cycle it can be seen as the best-case controller thus a lower bound on fuel consumption.For comparing our adaptive ECMS to DP we do not need to use the equivalent fuel defined above.Instead we can directly evaluate the effective fuel spent for a DP constrained to end up with the same SOC(t N ) as the adaptive ECMS.Table 2 shows the outcome, indicating that the adaptive ECMS approaches the DP to within 0.47%.The proposed approach has thus cut the gap between fixed ECMS and the upper bound provided by DP roughly in half, achieving a performance just closer to DP than to the fixed ECMS. CONCLUSIONS A method for deriving an adaptive controller was presented focused on discovering the relevant changes in system dynamics and / or environment conditions to adapt to.A clustering based approach is used to detect conditions where optimal control parameter values differ significantly and adaptation is beneficial.Using these clusters an adaptive controller is then made that during operation (I) determines what cluster the current conditions reside in, and (II) selects the optimal control parameters computed offline beforehand for that cluster. CONCLUSIONS Owing to the generic nature of the clustering approach, the authors expect this technique to be useful for many applications where adaptation of parametric controllers is needed, yet the dependencies or contexts to adapt to are not known.As more machines are connected, and more (complex) sensors become available, the authors expect applications where the contexts to adapt to are not known up front to occur ever more frequently. CONCLUSIONS On the considered HEV use case this approach outperforms a non-adaptive but well-tuned ECMS controller by 0.72%, and comes to within 0.47% of the dynamic programming gold standard that cannot be implemented as an online controller.This provides a proof-of-concept for the developed method to design adaptive controllers, but we do not claim the outcome outperforms other adaptive control schemes, which is a topic still to be tackled in future research. CONCLUSIONS The proposed method is developed to be especially suitable for industrial usage since (I) it can be added on top of existing parametric controllers, (II) its implementation is limited in complexity, and (III) its adaptations can be inspected before deployment and are straightforward to understand.There are however still a few remaining drawbacks as well.Currently a training set is obtained from simulation, for which we can calculate optimal control parameters for each sample, but finding optimal control values for a large experimental dataset will be harder to do.Furthermore, the grouping approach including the clustering still has many algorithm choices and factors to be tuned which are less obvious for a typical application engineer, like choosign the number of clusters, choosing features, selecting window lengths, .. So while the overall controller has been kept simple conceptually (combining a typical ECMS with an additional routine to detect cluster and switch between ECMS parameter sets), future work can look into improving the design procedure itself. CONCLUSIONS Summarizing the previous, future work will focus on: CONCLUSIONS • Improving the design procedure and the choices made therein, comparing different clustering methods, trying out more clusters, looking into automatic feature extraction and selection using e.g.tsfresh (Christ et al., 2018). CONCLUSIONS • Investigation of optimal data collection, hopefully with reduced datasets, and optionally sparse experimental sets. CONCLUSIONS • Extending the clustering with additional fixes to avoid excessive parameter switches in time. CONCLUSIONS • Comparing the a-ECMS approach considered in this paper with other adaptive approaches targeted at HEVs. CONCLUSIONS • Validation of methods on different cases, possibly with more complex variability in dynamics / environment. Figure 1 : Figure 1: Workflow for constructing the classifier. Figure 2 : Figure 2: Layout of the HEV: consisting of an engine (ICE) and an electromotor (EM). Figure 3 : Figure 3: The considered velocity cycle data, which is manually split into 3 categories: urban, suburban and highway. Figure 4 : Figure 4: Context features are computed over a window in the past and linked to control parameters at the current timestep. Figure 4 : Figure 5 where the 2 clusters are each indicated with a different color.Both clustering methods which have been used rely on the Scikit-learn (Buitinck et al., 2013) machine learning toolbox in Python. Figure 5 : Figure 5: Example outcome of the clustering, yielding 2 clusters with similar controller parameters and context features. Figure 6 : Figure 6: Workflow for constructing the classifier. Table 1 : Comparison of proposed adaptive ECMS, to the benchmark ECMS controller with fixed parameters. Table 2 : Comparison of proposed adaptive ECMS using clustering, to DP solution which is the best case solution.

섹션 본문 96문단 · 35,684자

(제목 없음)

1In this paper we present an approach to adapt the parameters of controllers during operation.It is targeted at industrial adoption, relying on controllers of the same type currently in use, but adjusting their gains at run-time based on varying system and / or environment conditions.As the key contribution of this paper we present a method to discover what condition variations warrant a control adaptation for cases where this is not known up front.The goal is not to achieve a better performance than other adaptive control schemes, but to provide a different method of designing or deciding how to build adaptation logic.To achieve this we use data-driven methods to, in an offline preprocessing step: (I) derive features that quantify system / environment variations, (II) optimize the control parameters for the distinct feature values, (III) search for clusters in the multi-dimensional space of both these features and control parameters, looking for sets of similar features as well as control parameters to be used.Once a set of clusters is defined, an online adaptive controller is then synthesized by (I) building a classifier to determine which cluster the currently observed conditions belong to, and (II) selecting the optimal control parameters for that cluster.This paper provides a first illustration of the method, without theoretical analysis, on an example case of energy management for a hybrid electrical vehicle, for which an Equivalent Consumption Minimization Strategy controller is built whose parameters are adjusted as the detected cluster changes.The results show an increase in energy-efficiency of the adaptive control method over the non-adaptive one in a variety of scenarios.a

INTRODUCTION

2The industrial need for reduced energy consumption, increased throughput and increased production accuracy leads to ever-increasing performance requirements for mechatronic systems and their controllers.The historical approach of designing a single fixed controller that is robust against variability of system dynamics or changes in the system environment will result in sub-optimal performance to achieve the required robustness (e.g., plane fuel consumption reduces mass so dynamics change, hybrid electric vehicle driving in different traffic scenarios).Therefore, adaptive control techniques that adjust control actions when the system and / or environment change https://orcid.org/0000-0003-2011-3857 have gained widespread attention in academia.Motivated by the performance benefits, these approaches are even cautiously being adopted by industry where they were typically not preferred before due to their complexity, difficult design and tuning, as well as, the lack of industrial understanding and trust in more advanced control methods in general.

3A survey of literature reveals a wide array of such adaptive control techniques originating from classic model-based control theory: MRAC (Kreisselmeier and Anderson, 1986), approximate direct programming (Powell, 2007), adaptive ECMS (Musardo et al., 2005), gain scheduling (Leith and Leithead, 2000), adaptive pole placement (Elliott et al., 1985), dual controllers (Åström and Wittenmark, 2013), extremum-seeking controllers (Ariyur and Krstic, 2003), iterative learning controllers (Wang et al., 2009), MIAC (Schreier, 2012), fuzzy adaptive controllers (Yang et al., 2021), any many more.In the past decade, advances in artificial intelligence (AI) and machine learning (ML) are pushing data-based adaptive control techniques such as the many variants of Reinforcement Learning (RL) (Khan et al., 2012) (e.g., Q-learning (Watkins and Dayan, 1992), SARSA (Rummery and Niranjan, 1994), Monte-Carlo (Sutton and Barto, 2018)) to the forefront.More recently combinations of model-based and data-based approaches are begin developed e.g., model-based RL (Berkenkamp et al., 2017) and residual RL (Johannink et al., 2019) (Staessens et al., 2022).For completeness, advanced model-based approaches like Model Predictive Control (MPC) or explicit MPC are also able adapt to changes, but these are not considered in this work, since they require good predictions of the upcoming events or changes in the conditions, in order to work well, which is not possible for the considered case of a vehicle driving through various traffic conditions.

4As can be seen in these references, this diverse set of adaptive control techniques has been applied to a multitude of engineering fields: robotics, aerospace, automotive, process control and ranging from academic demonstrators to industrial cases.Under this last category of combined model-based and datadriven methods the proposed approach of this paper fits best, where we believe our method is a worthwhile extension to the available techniques, because it is straightforward to implement and control actions can be inspected a-priori and understood easily, therefore making it especially suitable for industrial applications where these topics matter most.

5The approach described in this work relies on the following assumptions: (I) The system under consideration is a complex non-linear parameter-varying system that operates in a varying environment.(II) It is controlled by a parametric controller (e.g., PID).(III) The optimal control parameter values change as a function of the system and / or environment, and can be found by means of optimization.

6For such cases we propose to: • Simulate or experimentally collect a broad set of system and environment conditions, and for each find the optimal control parameter values.• Look for clusters (with K-means) (Jain and Dubes, 1988)) where both the optimal control values and the system / environment features are similar.These clusters then indicate sets of system / environment conditions, as well as the most appropriate control parameter values to be used for them.• To get to an adaptive controller that performs online adaptation of the control parameters we will also train a classifier to identify the system / environment conditions from measurements.During operation / run-time, this classifier indicates in which cluster the system / environment is, so that an adaptive controller can be formed by using this information to select the optimal control parameter values corresponding to this cluster.

7Note that the work presented in this paper builds upon previous work, where we already built an adaptive controller for the same use case as in this paper (Venkatesan et al., 2021): the key improvement here is the usage of data-driven clustering methods to determine for what conditions adaptations are most beneficial, as opposed to the engineering insight based division of conditions that was performed in the previous work.

8To demonstrate the proposed approach a Hybrid Electric Vehicle (HEV) use case is used.In an HEV, the energy management controller decides how much power is requested from the internal combustion engine (ICE) and how much from the electromotor (EM).At a given vehicle speed, it looks at the desired wheel torque and considers how to best achieve it: supplying all power with the ICE, only using the EM, or a mix of the two.This is often called the HEV power-split.Ideally, the controller selects the powersplit to maximize the fuel-efficiency of the vehicle.To demonstrate our control approach, we will control the power split using a widely used parametric Equivalent Consumption Minimization Strategy (ECMS) controller, see (De Jager et al., 2013;Gao et al., 2017;Rezaei et al., 2017), knowing that the optimal ECMS control parameter values will vary for different driving cycles.This ECMS will be augmented towards an adaptive ECMS (A-ECMS) using the method described before.Note that we are aware of other methods to improve an ECMS towards an A-ECMS (e.g., (Chasse et al., 2010;Onori and Serrao, 2011;Hussain et al., 2019;Frank et al., 2017)), but the goal of this case is purely demonstration of our approach.Detailed comparison to other A-ECMS approaches is for now left to future work.

9The paper makes the following contributions:

10• The usage of clustering to group similar control parameters values to features derived from the varying system / environment is detailed in Section 2, and an example is provided on the use-case in Section 4.

11• The training of a classifier to detect cluster membership at run-time to adjust control parameters online is detailed in Section 2.

12• The integration of the cluster classifier with the original parameter controller resulting in the adaptive parametric controller can also be found in Section 2.

13• The validation of our adaptive controller approach on a simulated HEV use case (detailed in Section 3) can be found in Section 5.

PROPOSED ADAPTIVE CONTROL APPROACH

14In this paper we follow an approach to develop controllers that adapt when the system dynamics, operating conditions and / or the system environment change.We aim for industrial adoption so to that end, we restrict ourselves to an adaptive control scheme in which classical non-adaptive controllers are used, but a layer is added on top to adapt the parameter values of these non-adaptive controllers to come to an adaptive control scheme.To keep things simple to analyze for industrial use, we restrict ourselves in the adaptation logic layer to choosing between a finite number of conditions, each with its specific set of control parameter values, and we choose which of the sets to select.We furthermore aim to find conditions for which switching between them does not occur very frequently, but instead once a condition is selected the control values can remain fixed to the values of this condition for a substantial amount of control samples to prevent Zeno-like switching behavior.Extensions towards a framework wherein adaption is not restricted to the discrete selections but is done continuously, and as a consequence, also much more frequently (down to every control sample) are possible, but omitted in this paper to increase the ease of analysis and the confidence we expect industry would have in the resulting controllers.

15Definition 1.In the remainder of this work the term 'context' is used to describe the current dynamics, operating conditions and / or the system environment at which the system is operating.We assume each specific context can be described by a set of feature values f that can be measured or estimated at run-time.

16For an HEV possible context example features could be: the change in vehicle mass, the mean slope of the road over a time window and the ambient air temperature.

17To obtain the adaptive controller describe above, the following steps are taken, as shown also in Figure 1 1.Simulate or experimentally gather a data-set with a variety of contexts, described by the duty cycle and all sensor signals and a set of features f derived from them, along with the control parameter values p opt ( f ) that are optimal for each of the given contexts.2. Use data-based clustering methods to form N clusters groups with similar context features f as well as similar optimal control parameters p opt ( f ). 3. Re-compute the optimal control parameters, but now per cluster to get the cluster-optimal control parameters p opt,i , where i ∈ [1, . . ., N clusters ].

184. Train a classifier to use context features f collected at run-time to detect cluster membership during operation.

195. Assemble the adaptive controller by combining the outcome of the previous 2 bullets.

20Firstly, we need data to apply the clustering methods to.This can be collected in the field, or, like in this paper, generated in a simulation environment.This way, we flexibly build a large data-set which contains variable contexts.On top of that, we also calculate the optimal control parameters for every sample in this dataset, as will be described in the next section.

21In the second step, this data is then used for the clustering.This step, like the first, is still done offline, before deployment.In this step, we look for clusters that have similar values for both optimal control parameters and context features.This can be done in a large space, spanning multiple possible context features, with the aim of finding a small set of clusters with similar context features for which also the control parameters are similar.As a consequence, whenever a context is seen with similar context features to those of a given cluster, a good choice would be to also choose the control values that were present in that specific cluster.

22Remark 1. Ideally we would also include sensitivity of the performance to changes in the control parameters.Now we look for points with similar context features and similar control values, but we don't account for how sensitive changes in control values are.However, since this is harder to do, this was not (yet) done in this work, but the authors think it can be an interesting avenue for future research.

23In the third step, a single set of control parameter values is optimized for each cluster from step two.This does not need to be equal to the cluster mean values, but the values will of course be similar in value to those of the points in the cluster.

24In the fourth step we build an estimation algorithm that can, online, i.e., during normal operation, detect which of the clusters from the previous step most resembles the current context the system will be operating in.This classifier importantly relies only on the features, and not on the control values.

25In the fifth step finally, a simple adaptive control scheme is set up, that uses the classifier to estimate the cluster membership, and then selects the controller parameters corresponding to the estimated cluster.

26More details on these steps and the workflow will be given in Section 4, when they are applied to the considered HEV use case, which is first described in Section 3.

HYBRID ELECTRICAL VEHICLE USE-CASE

27As stated in the introduction, the energy management controller decides the power-split.It looks at the desired wheel torque, and decides the mix of torques from the ICE and the EM to match it.Ideally, the controller does so in a manner such that over the long term, the efficiency is maximized.

Model of the HEV

28The considered vehicle is a series-parallel-hybrid vehicle with an EM and an ICE driving a 9 speed transmission, as shown in Figure 2. We model the HEV using a backwards-facing quasi-static vehicle model: the drive cycle is the input, defined by vehicle velocity v(t), and from that we calculate the corresponding torque T (t) at the wheels calculated with an inertia and friction model.The controller chooses the power-split between the torque delivered by the ICE: T ICE,wheels (t), and that by the EM / battery: T bat,wheels (t), such that T (t) = T ICE,wheels (t) + T bat,wheels (t),

29(1) and equivalently P(t) = P ICE,wheels (t) + P bat,wheels (t).

30(2)

31With these, the model then calculates the torques at the ICE and the EM, based on drive ratios i x and drivetrain efficiencies η wheels to x , where i ICE for the ICE also depends on the selected gear (which for convenience is currently chosen with standard methods not relying on ECMS):

32From T ICE (t) we can then calculate the fuel rate ṁfuel (t) of the ICE, according to:

33wherein

34, and where f () is an empirical map from which we extract the fuel rate using 2D-interpolation.

35Similarly, we can calculate the change in battery state-of-charge according to

36wherein ω EM (t) = i EM • v(t), and where to calculate h() we again use an empirical 2D efficiency map of the EM, coupled with a simple battery model with a loss resistance.The maps f () and h() and the model parameters used are those of a custom, modified version of a nonhybrid Range Rover Evoque, which was made into a hybrid-through-the-road using two in-wheel electromotors added at the rear wheels, as was described in (Venkatesan et al., 2021).The resulting vehicle model is made in MATLAB model as described in (Goos et al., 2017).

37In the remainder we will simplify notation.Since we will always be looking at powersplits at the wheel level, we will leave out the distinction between values at the wheel level and those at the ICE or EM/battery.We will redefine P ICE (t) and P bat (t) to indicate the powers from both sources at the wheels, requiring that P(t) = P ICE (t) + P bat (t).We will furthermore leave out many dependencies from the notation, so that we can denote the fuel rate as ṁfuel P ICE (t) .

ECMS Control Algorithm

38As denoted previously, in this paper we consider an ECMS controller.This choice is made since it matches our requirements, i.e., we can make it adaptive by tuning its gains.Furthermore, it is a control technique that is simple enough to facilitate industrial adoption, and last, it is a well-known and often-used approach, see e.g., (De Jager et al., 2013;Gao et al., 2017;Rezaei et al., 2017).

39Rooted in optimal control, ECMS is a class of suboptimal control methods that aims to approximate a fully optimal solution.The power split is calculated at each time step, without future predictions, considering only the current speed and desired load.The calculation minimizes the expected equivalent consumption, which is a combination of the modeled fuel usage and the modeled electrical energy used, as explained previously.Since there is no need for future predictions, and since the optimization is only done over a single time-step, it can be solved very efficiently, and it can even be pre-computed for (a grid of) all possible loads and speeds, and stored in a lookup-table.This leads to it being very efficient to implement, especially if compared to prediction based approaches such as for example dynamic programming (DP) (Bellman, 1966).However, ECMS methods are still able to sufficiently approximate optimal control methods employing a longer prediction horizon, see e.g., (De Jager et al., 2013;Frank et al., 2017;Onori and Serrao, 2011).However in order to achieve this, the control parameters of the ECMS need to be tuned well.The tuning of the ECMS can be different for each drive cycle.Therefore, in this paper, we will look to adjust the tuning of the ECMS controller online based on (estimated) context, and as stated above, focus on discovering what contexts we need to adapt to.In this paper, we consider an ECMS method that has been broadly used to control the power split of HEVs, see e.g., (De Jager et al., 2013;Gao et al., 2017;Rezaei et al., 2017).Later on in this paper, we will modify it to make it context-dependent.

40The ECMS algorithm is optimization problem, which calculates the combination of P ICE (t) and P bat (t)) that minimizes a given cost J(t) at time instant t, while meeting the total required power P desired (t):

41s.t.P desired (t) = P ICE (t) + P bat (t).

42A commonly selected cost function J(t) is:

43wherein λ is the control parameter, which makes the trade-off between the usage of the ICE and EM.In order to obtain a well-tuned ECMS controller, λ needs to be chosen properly.If λ is selected too high or too low, the battery will fill up or drain in the long run, which can be undesired.Since this effect (and corresponding λ) is dependent on the considered drive cycle, ECMS is often made charge sustainable by making λ dependent on the state of charge.This is done by splitting λ in λ 1 and λ 2 , where λ 1 regulates the power split (as considered before), and λ 2 promotes charge sustainability by penalizing the difference between the current SOC(t) and it's reference value SOC ref (which we set to 50%) (Onori and Serrao, 2011;Rezaei et al., 2017).The following cost function is then obtained, and will be considered in the remainder of this paper:

44To practically solve the optimization at every time step, the ECMS uses the model described in Section 3.1 to predict ṁfuel (t).We do this over a fine grid of discretized values for ∆SOC(t), since each defines P bat (t) and through the constraint also P ICE (t), thus allowing to evaluate J(t).We can thus essentially solve the optimization without needing to explicitly solve a numerical optimization, and we can even precompute the solution for a large grid of speeds and torques and interpolate to find solutions that way.In any case, once solved, the powers from the best solution are applied to the vehicle, and the next time step the procedure is repeated.

45In this paper the aim is to adapt both λ 1 and λ 2 depending on the context, with the aim to reduce the overall energy consumption relative to the case when they are kept constant.

Generation of Training and Validation Data

46In this section, we will describe the data used for training and validation.The data-set is built using the velocity profiles described by several standard driving cycles: WLTP, FTP, UDDS, CADC, Australia SPC240, and US HWFET (Dieselnet, 2022).

47Figure 3 shows all these cycles in a concatenated form.These cycles are divided into segments, where each belongs to one of 3 categories: urban, suburban or highway, based on average velocity, as indicated in the Figure .Every segment is in turn split up again in even smaller sub-segments.These small sub-cycles are then used as building blocks to construct a larger set of training and validation velocity cycles, by concatenating several of them in varying order.Segments are only concatenated when the velocity at the end of segment one matches to the starting velocity of segment two, in order to avoid an unrealistic acceleration profile.Note that none of the sub-segments used for validation are used for training and vice-versa.By augmenting the original set of velocity cycles in this way, a larger variety of training and validation scenarios is obtained (more variation in length, more transitions, etc.).

48We know that clustering methods will perform better when a more complete set of simulated sensor signals is available, since it will allow for a more diverse set of context features to be calculated.So to generate our data-set we integrate the model from Section 3.1 into the automotive simulator IPG Car-Maker (IPG Automotive, 2022) and simulate the same driving cycles.The new extended data-set then contains the same vehicle speeds and torques as predicted by our MATLAB model, but also additional simulated signals (e.g., throttle and braking pedals, steering input) from which additional features can be extracted.

CONTROL-CONTEXT GROUPING

49This section details the approach to group similar control parameter values to features derived from varying contexts, matching steps 1-4 outlined earlier.This allows to later on adapt the control parameters as a function of the observed context.

Computation of Optimal Control Parameters

50As mentioned in step 1) earlier, We need to calculate optimal controller parameters for a variety of contexts, so they can later on be clustered together with the context features.For each training cycle V k in the complete training data set V consisting of N cycles cycles, we compute the optimal power split (i.e., the control parameters λ opt,k 1 and λ opt,k 2

51) using Dynamic Programming (DP) (Goos et al., 2017) as:

52s.t.P desired (t) = P ICE (t) + P bat (t),

53Note that here we use DP to find optimal values for every cycle.We do this to generate training data for our approach, but DP cannot easily be used directly online as an alternative, since the calculations are very time consuming and rely on preview of the entire upcoming cycles.

Extraction of Context Features

54To complete step 1) we also need to extract and save the features f to describe the context.To do so, we:

55• Select a driving cycle V k from the complete dataset V and extract all signals (e.g., speed, torque, pedal positions, steering input, etc.).

56• Define a time window of length N. Note that the choice of N will need some iteration, depending on the resulting clustering.

57• For each signal compute aggregate (e.g., mean, RMS, variance) context features f j for each window j that fits within the driving cycle V k .

58• For each time window j we also store the active control parameters λ 1, j = λ opt,k 1 and λ 2, j = λ opt,k 2 .Note that these are constant for all windows within the selected driving cycle V k , but will change when moving to the next cycle.

59• Move the the next driving cycle V k+1 and continue until all driving cycles are processed.

60Note that features computed over a window are associated with the last timestamp within this window, thus looking at Figure 4, window 1's features f 1 are associated with timestep t N .

61The steps above result in a set of aggregated context features f j and a set of optimal control parameter values λ 1, j and λ 2, j for every time window j in V .These can then be represented by a point in a high dimensional space, spanning both the context features and control parameter attributes.

Clustering of Context Features and Control Parameters

62Once the controller parameters and context features are computed, we perform step 2), and group them in such a way that the similarity within a group is as high as possible, without ending up with a high number of groups.We have used K-means clustering to do so, but before trying to form clusters in this highly dimensional space, it is best to remove some context features to only retain the relevant ones.The approach used in this paper is to compute the 'permutation feature importance' (PFI) values for each context feature, with respect to the controller parameters (Leo, 2001;Venkatesan et al., 2021).Only features that have an importance value above a set threshold are used for clustering.

63The number of clusters has to be given as an input parameter to the clustering algorithm, but the ideal number is not known beforehand and is use-case dependent.Selecting the right number of clusters is therefore an iterative process, and comes down to a trade-off between having better control performance (by being able to adapt to a more diverse set of contexts) and still maintaining sufficient controller robustness / avoiding continuously switching between context clusters.Furthermore, as described in Section 2, a lower number of clusters will result in an adaptive controller which is easier to validate.

64Remark 2. Other methods to avoid switching can include deadbands or hysteresis controllers, or even adding features to promote temporal similarity during the clustering.For now we have not looked into these, but we have restricted ourselves to using a small (2) number of clusters.

65In this paper we have chosen to use 2 clusters.An example of the clustering outcome is depicted in

ECMS per Cluster

66Since only a single set of controller parameters can be used for a given cluster during on-line implementation, the controller parameters for each cluster must be chosen to be as optimal as possible in all conditions represented by this cluster i ∈ [1, . . ., N clusters ].Therefore, in step 3) the controller parameters are reoptimized for each cluster before deployment, using all data within the cluster.This is done by solving the following optimization problem for each cluster i (with time horizon t ∈ [t start , . . .,t end ]):

67s.t.|SOC(t start ) − SOC(t end )| ≤ ε, where m fuel, eq.describes equivalent spent fuel and ε is some small number to get a well-conditioned problem.This comprises the effective fuel spent, but also a term to take into account the difference in chemical energy due to differences in the final SOC at t end at the end of the horizon (duty cycle): m fuel, eq.= m fuel (t end ) + ν • ∆SOC(t end ), (12) where ν is a factor expressing the average efficiencies of ICE and EM.This is found by calculating the average value of ν(t) over the entire horizon:

68) where η denotes the efficiency of each component (ICE, EM, battery), and Q LHV is the lower heat value of the fuel.The constraint in Equation 11 ensures (approximate) charge sustainability.The problem is solved using the Matlab Global Optimization toolbox, using the patternsearch algorithm (MathWorks, 2022).

Integration with Classifier

69In order for the adaptive controller to be implementable on-line, it must know which cluster from the training data best represents the current working conditions.Because the desired controller parameters are not known beforehand but depend on the cluster, we cannot simply look for the closest cluster in the full clustering space described in Section 4.3.Therefore, in step 4) a random forest classifier (a variant of supervised learning), see e.g., (Ho, 1995), is built to estimate the cluster membership, using only (a subset of) the windowed context features as described above, but not the controller parameters.

70The considered workflow used to construct the classifier is shown in Figure 6.As described in Section 4.2, features are extracted from timeseries data, using windows of various lengths.Next, highly correlated features are removed using the Spearman rank correlation analysis.Thereafter, similar to as done for the clustering approach, we use a 'permutation feature importance' (PFI) metric to select the most important features used for training the classifier.Once the classifier has been trained, it can be used to predict the context during on-line operation, and select the corresponding optimal control parameters.The above workflow is implemented using the Scikit-learn machine learning toolbox in Python (Buitinck et al., 2013).

Assembly of Resulting Adaptive Controller

71Given the building blocks of earlier sections, we can now assemble the adaptive controller itself.Online we continuously run the random forest classifier from the previous section, and using it estimate the cluster j to which the current conditions are the most similar.

72Based on that, we then take the values (λ

73) according to (11) which were optimized offline for this cluster j, and use it to calculate the ECMS powersplit and thus P ICE (t) opt , P bat (t) opt according to (7) for the current vehicle speed and desired wheel torque.

SIMULATION RESULTS AND DISCUSSION

74In this section we evaluate the performance of the proposed adaptive controller on the validation data described earlier.

75First, we compare it to a benchmark ECMS (bm-ECMS) controller with fixed control parameters, with λ 1 and λ 2 chosen to be optimal, using the ECMS cluster optimization approach detailed in Equation 11, but given the complete training data-set V instead of only the data in a single cluster.

76In order to benchmark the controllers, we use the equivalent fuel consumption, see Equation 11.Table 1 compares the developed adaptive approach (a-ECMS) to the benchmark ECMS for the training and validation driving cycles.It can be seen that for validation data the performance gain when using our adaptive controller is 0.72% over the benchmark ECMS with fixed parameters.This gain is moreover attained over the best possible fixed ECMS controller, optimized on our training data-set, which is already a high-performance baseline.Given the amount of vehicles on the road and in industrial settings, such a gain could yield a significant reduction of fuel usage and exhaust gasses.Furthermore, this can be achieved without the need for additional hardware since we are only using existing sensor signals and requires only limited additional computational power compared to traditional ECMS.Training data-set -1.28% Validation data-set -0.72%

Cycle Description

77To further evaluate the developed controller, we compare it to DP.As mentioned earlier in this paper, DP is computationally heavy and hard to implement online.However, when used offline with preview of the entire duty cycle it can be seen as the best-case controller thus a lower bound on fuel consumption.For comparing our adaptive ECMS to DP we do not need to use the equivalent fuel defined above.Instead we can directly evaluate the effective fuel spent for a DP constrained to end up with the same SOC(t N ) as the adaptive ECMS.Table 2 shows the outcome, indicating that the adaptive ECMS approaches the DP to within 0.47%.The proposed approach has thus cut the gap between fixed ECMS and the upper bound provided by DP roughly in half, achieving a performance just closer to DP than to the fixed ECMS.

CONCLUSIONS

78A method for deriving an adaptive controller was presented focused on discovering the relevant changes in system dynamics and / or environment conditions to adapt to.A clustering based approach is used to detect conditions where optimal control parameter values differ significantly and adaptation is beneficial.Using these clusters an adaptive controller is then made that during operation (I) determines what cluster the current conditions reside in, and (II) selects the optimal control parameters computed offline beforehand for that cluster.

79Owing to the generic nature of the clustering approach, the authors expect this technique to be useful for many applications where adaptation of parametric controllers is needed, yet the dependencies or contexts to adapt to are not known.As more machines are connected, and more (complex) sensors become available, the authors expect applications where the contexts to adapt to are not known up front to occur ever more frequently.

80On the considered HEV use case this approach outperforms a non-adaptive but well-tuned ECMS controller by 0.72%, and comes to within 0.47% of the dynamic programming gold standard that cannot be implemented as an online controller.This provides a proof-of-concept for the developed method to design adaptive controllers, but we do not claim the outcome outperforms other adaptive control schemes, which is a topic still to be tackled in future research.

81The proposed method is developed to be especially suitable for industrial usage since (I) it can be added on top of existing parametric controllers, (II) its implementation is limited in complexity, and (III) its adaptations can be inspected before deployment and are straightforward to understand.There are however still a few remaining drawbacks as well.Currently a training set is obtained from simulation, for which we can calculate optimal control parameters for each sample, but finding optimal control values for a large experimental dataset will be harder to do.Furthermore, the grouping approach including the clustering still has many algorithm choices and factors to be tuned which are less obvious for a typical application engineer, like choosign the number of clusters, choosing features, selecting window lengths, .. So while the overall controller has been kept simple conceptually (combining a typical ECMS with an additional routine to detect cluster and switch between ECMS parameter sets), future work can look into improving the design procedure itself.

82Summarizing the previous, future work will focus on:

83• Improving the design procedure and the choices made therein, comparing different clustering methods, trying out more clusters, looking into automatic feature extraction and selection using e.g.tsfresh (Christ et al., 2018).

84• Investigation of optimal data collection, hopefully with reduced datasets, and optionally sparse experimental sets.

85• Extending the clustering with additional fixes to avoid excessive parameter switches in time.

86• Comparing the a-ECMS approach considered in this paper with other adaptive approaches targeted at HEVs.

87• Validation of methods on different cases, possibly with more complex variability in dynamics / environment.

Figure 1 :

88Figure 1: Workflow for constructing the classifier.

Figure 2 :

89Figure 2: Layout of the HEV: consisting of an engine (ICE) and an electromotor (EM).

Figure 3 :

90Figure 3: The considered velocity cycle data, which is manually split into 3 categories: urban, suburban and highway.

Figure 4 :

91Figure 4: Context features are computed over a window in the past and linked to control parameters at the current timestep.

92Figure 5 where the 2 clusters are each indicated with a different color.Both clustering methods which have been used rely on the Scikit-learn (Buitinck et al., 2013) machine learning toolbox in Python.

Figure 5 :

93Figure 5: Example outcome of the clustering, yielding 2 clusters with similar controller parameters and context features.

Figure 6 :

94Figure 6: Workflow for constructing the classifier.

Table 1 :

95Comparison of proposed adaptive ECMS, to the benchmark ECMS controller with fixed parameters.

Table 2 :

96Comparison of proposed adaptive ECMS using clustering, to DP solution which is the best case solution.

참고문헌

참고문헌 정보가 없습니다.