Direct Tilt Controller Design with Disturbance Compensation and Implementation for a Narrow Tilting Electric Vehicle

: Three-wheeled electric city vehicles are becoming popular because they have lower cost and enable motorcycle driving feeling with electric powertrain performance. These vehicles need a driver assistant system, also known as an active tilting stability controller, to provide a safe cornering manoeuvre. Active tilt control methods are direct tilt control (DTC), steering tilt control (STC) and a combination of these methods. In this study, DTC system design with a servo motor actuator with simulation and experimental results are presented. State feedback control with pole placement design has been improved with disturbance compensation control. This novel controller structure enhances the response of DTC and enables a faster-tilting response. Simulation results are given up to 10 m/s speed. Experimental results of the developed method are given up to 3.05 m/s (11 km/h) speed on a three-wheeled electric vehicle. The speed control loop of the servo motor drive unit (SMDU) stabilizes the DTC system. In the state of the art, a proportional derivative controller is commonly used as a tilt controller. By including the speed control loop of SMDU in the tilt control system, the use of the derivative term can be eliminated. The stability effect of the speed control loop is shown by MATLAB analysis, simulations in Simulink and experimental step response test as well.


Introduction
Three-wheeled light electric vehicles are becoming popular in recent years as costeffective solutions to traffic congestion and reduction of harmful emissions in big cities. Leading automotive companies such as Ford, Toyota, GM, Mercedes-Benz, and Brink Dynamics developed 3-and 4-wheeled light electric vehicles [1][2][3][4], also known as narrow tilting vehicles (NTV).
A three-wheeled vehicle is an unstable system during cornering. Stabilization should be realized by the driver's skills or an active stability controller.
The report in [5] describes the detailed statistics and causes of motorcycle accidents. Active tilting stability controller (ATSC), also known as leaning support, is a driving assistance system that prevents the rollover of NTV by tilting the vehicle automatically. ATSC can prevent accidents during cornering for drivers who do not have motorcycle driving skills.
Therefore, application of DTC is limited to low-speed and typically up to 10 km/h. The speed limit is dependent on the design of the vehicle and the DTC system as well.
Combination of DTC-STC method was developed as a remedy to speed-dependent performance problems of DTC and STC. DTC-STC combination can utilize the benefits of both methods. But this combined method also has two critical problems: (1) two different actuators for DTC and STC are required, and therefore system cost is increased, and extra space is needed in NTV. (2) Transition between DTC and STC requires a smooth transition, and the control mode changeover problem needs to be solved. Therefore, researchers in [10] proposed STC at high speeds and tilt brake at low speeds to keep the NTV upstand.

Brief Review of the Recent Studies
Past research and studies have established theoretical background, simulation, and experimental data on tilt control technology, as summarized in [18].
This review includes recent studies on ATCS, including four-wheeled automobiles.
In [4], tilting methods were investigated using a multibody model of a reference NTV. Regarding the control methods, optimal control, gain-scheduling linear quadratic control (LQR), feedback linearization and model predictive control methods were studied, and the last three methods were compared. The studies were carried out on simulation.
ATSC applied for an automobile can improve handling stability and ride comfort and prevents rollover during cornering [19]. An automobile active tilt control based on active suspension was studied with the sliding mode control method in [19]. Passive suspension and active suspension with sliding mode control were presented and compared in simulation to show the effectiveness of the proposed control method for the given simulation cases. In [20,21], rollover index-based tilt control was proposed to determine the desired tilting angle. The actuator is activated based on the rollover index threshold conditions. It is stated that the proposed control method provides energy saving for the actuator and reduction of the control effort. Simulation results in CarSim were given. In [21], a high-level controller was also developed to combine the lateral and longitudinal vehicle dynamics. In [22], the integration of ATCS and full-wheel steering controller for a fourwheel automobile was studied. It was stated that combining the two controllers improved the ride comfort, maneuverability, safety, and the vehicle's lateral control performance. The controllers were designed using the optimal control method, and simulation results were presented. In [23], curve tilting functionality using active suspensions was studied for a four-wheeled vehicle. A non-linear model predictive control method was applied. The controller in [23] was implemented on the dSPACE MicroAutoBox II hardware-inthe-loop (HIL) system. HIL results were presented in urban, rural and highway driving conditions. In [24], the tilting feedforward synchronous control method was proposed. The yaw motion of the NTV was predicted. Based on the predicted yaw rate, tilting feedforward synchronous control method was proposed. The recurrent neural network was used for the prediction of the yaw rate. The proposed method was applied to an experimental NTV. In [25], a robust controller was designed for tilt control of a four-wheel NTV. The tilting control method is the DTC method based on steering angle. A nonlinear vehicle dynamics model of an NTV was developed. Simulation results were given for maneuvers at various longitudinal speeds.

System Level Parameters Effecting on Tilt Control System Development
The following design and development steps should be considered for any type of ATSC. The following design issues are also listed in connection with Table 1.
• Actuator level efficiency: In the state of the art, the design target is typically set such that the perceived acceleration and tilting torque should be zero at a steady-state condition to reduce energy consumption. However, depending on the drive cycle and tilting maneuver, a steady-state condition may not always occur. It is also essential to maintain the efficient operation of the actuator during the transient maneuvers.

•
Geometrical integration of ATSC components: NTV has quite a restricted space. Therefore, the selected control method should ensure that the required sensor, actuator system, power supply and other control modules can be mounted to the available space in the target vehicle.

•
Real-life drive cycles and tests at real maneuvers at target speeds: ATSCs need a lot of real-life application case studies and feedback from applications to become a mature Based on real-life observations of motorcycle drivers, it can be concluded that most drivers tilt the NTV even at very low speeds, such as the 5 km/h speed range. Vehicle speed can vary slightly during cornering. They can suddenly stop and then start driving while tilting. Therefore, ideal driving conditions and perfectly coordinated turns at steady-state conditions cannot always occur in real life. DTC is always needed in city traffic.

Advantages of Servo Motor Actuators
The servo motor in this study refers to a permanent magnet synchronous motor with sinusoidal operation mode. A comparison of hydraulic and servo motor actuators for tilt control applications was studied in [18]. In this section, the advantages of servo motor actuators are highlighted with further features and summarized below: Condition monitoring functions are commercially available in SMDUs, as presented in [29]. ATCS is a safety function. Using the condition monitoring function integrated into the SMDU, premature failure in the servo motor actuator can be detected, and system safety can be increased.

2.
Servo motor actuators do not need maintenance and do not exhibit oil leakage problems which can occur in electro-hydraulic (EH) and electro-hydrostatic actuators (EHA) [30][31][32][33]. Oil leakage has a negative impact on the safety and performance of electro-hydraulic and electro-hydrostatic actuators.

3.
Servo motors can be equipped with electromagnetic brakes. In case of any failure in any component of ATCS, an electromagnetic brake can be applied, and vehicle rollover can be prevented.

4.
SMDUs have high torque bandwidth. Therefore, actuator-related delay is not an issue for servo motor actuators. In [34,35], SMDU control loops are studied in detail.
Referring to a configuration in [34], the rise time of the position control loop of a servo motor can be 6 ms, and the settling time can be approximately 20 ms. In [35], bandwidth measurements of control loops of an SMDU are given. In [35], the tested bandwidth of the position loop is given as 100 Hz. This yields approximately 3.5 ms rise time for the position control loop of SMDU. These examples show that SMDU and servo motor provides a very fast response.
In [31], the position delay of EHA was analyzed, and a compensation method was proposed. The delay is described as the required time for the pressure to reach the threshold value, which can start the piston cylinder in the EHA system. Besides the above-mentioned advantages, it has been shown in simulations that servo motors can have short regeneration operation and hence reduce energy consumption.
Based on the literature review, it can be stated that this study, together with the authors' previous publication in [18], provides a detailed analysis and design of the DTC system with a servo motor actuator.
The contribution of and organization of this study can be summarized as follows: • In Section 2: The stability analysis of the DTC method is studied by step response and root locus design tools. It has been shown that the speed control loop of SMDU has contributed to the stability of the tilting system. • In Section 3: the DTC controller was developed using state feedback control with a pole placement design technique in a previous study by the authors [18]. As a further improvement, the state feedback controller is combined with the disturbance compensation controller [36]. DTC has inherently delayed response [1][2][3][4][6][7][8][9][10][11][12][13][14][15][16][17] because the vehicle driver should apply a steering input at first, and then a lateral acceleration occurs. This phenomenon creates a delay when calculating the tilt control reference by using the system states. On the other hand, when lateral acceleration occurs, and DTC control reference is applied, tilt actuator torque starts to increase. This is useful feedback to detect the lateral acceleration and cornering request of the vehicle driver. By using the estimated servo motor actual torque and servo motor speed, disturbance compensation is developed. Using SMDU internal signals to design a disturbance compensation is a novel concept in active tilt controller design and adapted from industrial motor control applications [36]. This improvement enables a faster response of the tilt angle, as shown in simulations and experiments.

•
In Sections 4 and 5, simulation and experimental results are given, including the power and energy consumption.

Instability Problem of Three-Wheeled NTV
To analyse the stability problem of NTV, linearization is applied to θ = 0 condition. It is assumed that the tilt angle has small changes. By using the Figure 1, the equation of motion of NTV for tilting is given by Equation (1) [6,7,9]. Friction, damping in the tilting mechanism is not included in (1).
• In Section 3: the DTC controller was developed using state feedback control with a pole placement design technique in a previous study by the authors [18]. As a further improvement, the state feedback controller is combined with the disturbance compensation controller [36]. DTC has inherently delayed response [1][2][3][4][6][7][8][9][10][11][12][13][14][15][16][17] because the vehicle driver should apply a steering input at first, and then a lateral acceleration occurs. This phenomenon creates a delay when calculating the tilt control reference by using the system states. On the other hand, when lateral acceleration occurs, and DTC control reference is applied, tilt actuator torque starts to increase. This is useful feedback to detect the lateral acceleration and cornering request of the vehicle driver. By using the estimated servo motor actual torque and servo motor speed, disturbance compensation is developed. Using SMDU internal signals to design a disturbance compensation is a novel concept in active tilt controller design and adapted from industrial motor control applications [36]. This improvement enables a faster response of the tilt angle, as shown in simulations and experiments.

•
In Sections 4 and 5, simulation and experimental results are given, including the power and energy consumption.

Instability Problem of Three-Wheeled NTV
To analyse the stability problem of NTV, linearization is applied to θ = 0 condition. It is assumed that the tilt angle has small changes. By using the Figure 1, the equation of motion of NTV for tilting is given by Equation (1) [6,7,9]. Friction, damping in the tilting mechanism is not included in (1). Equation (1) is re-arranged as equation (2) for the open loop transfer function analysis at small tilt angle changes. Lateral acceleration is set to zero for this analysis.  (I x + mh 2 ) ..
By expressing the time domain expression in (2) into the s-domain, an open loop transfer function without a tilt controller is obtained and given in (3). In (3), tilting torque is the input and tilt angle is the output.
Open loop poles of TF ol is given in (4) as a function of vehicle parameters:  (5): p ol1,2 = ∓3.05 (5) One of the poles in (4) is on the right side of the root locus curve. Therefore, the tilting system exhibits instability without any controller. Stabilization can be done by different controller types. PD type controller is widely used in the literature [6,7,10]. Section 2.2 describes the stabilization effect of the speed controller of SMDU on the instability problem described by Equations (3)-(5).

Stability Analysis with Servo Motor Speed and Position Control Loops Servo Motor Control System and Mathematical Model
Field-oriented control of permanent magnet synchronous motor is studied in [37,38]. Mathematical models of control blocks in Figure 2 are given in [37,38]. Referring to Figure 2, the SMDU torque reference is the output of the speed controller. By using a proportional type controller, SMDU torque reference is given by (6) [18]: Open loop poles of is given in (4) as a function of vehicle parameters: Using the vehicle parameters in this study, open loop poles are calculated as in (5): One of the poles in (4) is on the right side of the root locus curve. Therefore, the tilting system exhibits instability without any controller. Stabilization can be done by different controller types. PD type controller is widely used in the literature [6,7,10]. Section 2.2 describes the stabilization effect of the speed controller of SMDU on the instability problem described by Equations (3)-(5).

Servo Motor Control System and Mathematical Model
Field-oriented control of permanent magnet synchronous motor is studied in [37,38]. Mathematical models of control blocks in Figure 2 are given in [37,38]. Referring to Figure  2, the SMDU torque reference is the output of the speed controller. By using a proportional type controller, SMDU torque reference is given by (6) [18]: The total inertia reflected on the servo motor shaft is given by (7). The gearbox is coupled to the servo motor shaft to increase the torque at the tilting axis. Therefore, the total inertia reflected at the servo motor shaft is reduced by the inverse square of the gear ratio K g : Step response characteristic values of SMDU are set as below. SMDU is set to position control mode: The total inertia reflected on the servo motor shaft is given by (7). The gearbox is coupled to the servo motor shaft to increase the torque at the tilting axis. Therefore, the total inertia reflected at the servo motor shaft is reduced by the inverse square of the gear ratio K g : Step response characteristic values of SMDU are set as below. SMDU is set to position control mode:

Dominant Closed Loop Poles of DTC Type Tilting System
Using the Equations (2) and (6), Equation (8)  Compared to the open loop unstable transfer function in (3), stabilization at the actuator level can be achieved by choosing the proper gear ratio and SMDU control loop gains K sp , K pos [18].
To yield a stable response, the roots of the denumerator should be placed at the left half plane of the root locus. Using the second-order equation, the roots of the transfer function in (9) can be calculated analytically as a function of system parameters.
Roots of a second order equation is calculated as given in Equation (10): Equation (11) is expressed in terms of vehicle and servo system parameters: Considering the stability, the poles given in (10) must be negative to locate the poles at the left side of the root locus. Based on the relationships between (8)-(12), following conclusions are obtained: (1) To realize real poles in (10), discriminant in (12) should fulfil the relationships in (13) and (14).
The gear ratio, SMDU speed and position controller gains should fulfil the condition in (14).
(2) SMDU speed control loop contributes to stabilization. It can replace the derivative term used in the PD controller.
is defined by the symbol "a" in the discriminant equation.
By using the high gear ratio, variations in total tilting inertia will have a minor effect on the reflected total inertia on the servo motor shaft. As a conclusion of this, poles x 1,2 have minor changes. First order damped response is the target characteristic for the position control response of SMDU. Based on the test cases in simulations, the desired rise time is set as 0.25 s and the settling time is 1 s as the target values.
The dominant pole is located at p 1 = −7.5. The second pole is very far from the origin and located at p 2 = −6486. In this analysis, speed controller gain is set as K sp = 12, position controller gain is set as K pos = 8.
The schematic in Figure 3 is used to derive the closed loop transfer function in (9). When deriving this transfer function, steering input and lateral acceleration are set to zero. The dominant pole is located at 1 = −7.5. The second pole is very far from the origin and located at 2 = −6486. In this analysis, speed controller gain is set as = 12, position controller gain is set as = 8. The schematic in Figure 3 is used to derive the closed loop transfer function in (9). When deriving this transfer function, steering input and lateral acceleration are set to zero.

State Feedback with Pole Placement Design
Details of controller design with state feedback control are given in the previous study of the authors [18]. In this section, further analysis is given [36]. Maximum longitudinal vehicle speed is set as 10 m/s. State space equations of tilt control of an NTV is expressed by Equation (15) [15].
The output of the state feedback controller is given as the product of state feedback gain matrix K and system state matrix X(t). The gain for lateral speed is set to zero, as described in [18].
Tilt torque reference is given by (17), which includes the position and speed control loops of the SMDU as proportional controller and gear ratio [18]: It should be noted that the control input applied to SMDU is the tilt position reference. However, the physical input applied to the servo motor is the torque as a function of the tilt position (angle) reference expressed by the system states in (16).

Root Locus Analysis
By choosing the selected pole locations, the analysis is given below to investigate the steady-state performance of the DTC system at 1 m/s and 10 m/s vehicle speeds [36].
The characteristic equation of a second order system is given by (19) [39-42]:

State Feedback with Pole Placement Design
Details of controller design with state feedback control are given in the previous study of the authors [18]. In this section, further analysis is given [36]. Maximum longitudinal vehicle speed is set as 10 m/s. State space equations of tilt control of an NTV is expressed by Equation (15) [15]. .
The output of the state feedback controller is given as the product of state feedback gain matrix K and system state matrix X(t). The gain for lateral speed is set to zero, as described in [18].
Tilt torque reference is given by (17), which includes the position and speed control loops of the SMDU as proportional controller and gear ratio [18]: It should be noted that the control input applied to SMDU is the tilt position reference. However, the physical input applied to the servo motor is the torque as a function of the tilt position (angle) reference expressed by the system states in (16).

Root Locus Analysis
By choosing the selected pole locations, the analysis is given below to investigate the steady-state performance of the DTC system at 1 m/s and 10 m/s vehicle speeds [36].
ω n = 3.68 rad/s and ζ = 0.76. Damping is less than 1. Therefore, the tilt angle has some overshoot at high speeds.

Step Response Analysis for State Feedback Controller
In Figure 6, step response curves are plotted in Matlab using the state space model in (15) and the transfer function in (9), respectively. Both of the step responses are consistent with each other.

Step Response Analysis for State Feedback Controller
In Figure 6, step response curves are plotted in Matlab using the state space model in (15) and the transfer function in (9), respectively. Both of the step responses are consistent with each other. Step response of SMDU in position control mode at Vx= 1 m/s using the state space model and step response using the transfer function in Equation (9). Step response characteristics in Figure 6 are obtained by the stepinfo( ) command in MATLAB and given below: Stepinfo the using state space model at Vx = 1 m/s: RiseTime: 0.2782, SettlingTime: 0.4950, SettlingMax: 1.0094 Stepinfo using the transfer function in Equation (9) RiseTime: 0.2913; SettlingTime: 0.5189; SettlingMax: 1.0620

Industrial Motor Control with Disturbance Torque Compensation
Disturbance compensation is a control concept developed in industrial motor applications [43][44][45][46][47]. The purpose of disturbance compensation is to improve system dynamics against the variations of mechanical load (including mechanical parameters like inertia). In motor control applications, the disturbance compensation term is included at the output of the speed controller. In other words, it is added to the current reference so that the motor torque can rapidly respond to the load variations.
In principle, disturbance compensation is applied through a first-order load observer. The load refers to the mechanical load applied on the servo motor shaft.
In Figure 7, based on the principles given in [43][44][45][46][47], principle control schematic of a disturbance compensation are given for an industrial motor control system. Step response of SMDU in position control mode at Vx = 1 m/s using the state space model and step response using the transfer function in Equation (9). Step response characteristics in Figure 6 are obtained by the stepinfo( ) command in MATLAB and given below: Stepinfo the using state space model at Vx = 1 m/s: RiseTime: 0.2782, SettlingTime: 0.4950, SettlingMax: 1.0094 Stepinfo using the transfer function in Equation (9) RiseTime: 0.2913; SettlingTime: 0.5189; SettlingMax: 1.0620

Industrial Motor Control with Disturbance Torque Compensation
Disturbance compensation is a control concept developed in industrial motor applications [43][44][45][46][47]. The purpose of disturbance compensation is to improve system dynamics against the variations of mechanical load (including mechanical parameters like inertia). In motor control applications, the disturbance compensation term is included at the output of the speed controller. In other words, it is added to the current reference so that the motor torque can rapidly respond to the load variations.
In principle, disturbance compensation is applied through a first-order load observer. The load refers to the mechanical load applied on the servo motor shaft.
In Figure 7, based on the principles given in [43][44][45][46][47], principle control schematic of a disturbance compensation is given for an industrial motor control system. The equation of motion, including the disturbance torque, is given in Equation (21). Friction and damping factor are not included in (22). The equation of motion, including the disturbance torque, is given in Equation (21). Friction and damping factor are not included in (22).
T m is the actual motor shaft torque and is commonly available as a read-out signal in industrial motor controllers (inverters). The use of torque sensors can also be another alternative. However, it will increase the system cost.
Because of the noise problem of the derivative of speed, authors in [47] proposed using motor speed instead of motor acceleration. Based on this simplification proposed in [47], a simplified model of disturbance observer based on motor speed is given in Equation (24), which includes a gain factor K c and a time constant τ c .

Proposed Active Tilt Control with Disturbance Torque Compensation
The principle described in Section 3.1 can be adapted and applied to the DTC-based tilt control system for improved DTC response [36].
Using the linearized tilting motion equation given in [6,9], the mechanical disturbance load applied to the output of the servo motor gearbox is defined by T actuator_distload in Equation (26), which corresponds to the right side of Equation (25).
Actuator load torque (disturbance load) in (26) is applied to a first-order observer as expressed in (27) and (28).
To define the compensation angle, the load applied to the servo motor actuator defined in (26) is multiplied with a first-order transfer function. Equation (27) is the derivative form of compensation angle with notation θ compd . Equation (27) is integrated, and Equation (28) is the compensation angle.
The main contribution of the disturbance compensation is to increase the response of the tilt controller as soon as the estimated actual torque is increased due to the cornering manoeuvre. Principle control schematic of disturbance compensation combined with state feedback is given in Figure 8.
The main contribution of the disturbance compensation is to increase the response of the tilt controller as soon as the estimated actual torque is increased due to the cornering manoeuvre. Principle control schematic of disturbance compensation combined with state feedback is given in Figure 8.

Reference Model Control
The reference model control (RFM) concept is introduced in [18]. It is improved further and developed as disturbance compensation [36].
In simulations, the comparison is given between state feedback control (SFC), state feedback combined with disturbance compensation (SFC + DC), and state feedback combined with RFM (SFC + RFM). Principle control schematic of reference model control combined with state feedback is given in Figure 9. The compensation angle with RFM control is defined as:

Reference Model Control
The reference model control (RFM) concept is introduced in [18]. It is improved further and developed as disturbance compensation [36].
In simulations, the comparison is given between state feedback control (SFC), state feedback combined with disturbance compensation (SFC + DC), and state feedback combined with RFM (SFC + RFM). Principle control schematic of reference model control combined with state feedback is given in Figure 9.
The main contribution of the disturbance compensation is to increase the response of the tilt controller as soon as the estimated actual torque is increased due to the cornering manoeuvre. Principle control schematic of disturbance compensation combined with state feedback is given in Figure 8.

Reference Model Control
The reference model control (RFM) concept is introduced in [18]. It is improved further and developed as disturbance compensation [36].
In simulations, the comparison is given between state feedback control (SFC), state feedback combined with disturbance compensation (SFC + DC), and state feedback combined with RFM (SFC + RFM). Principle control schematic of reference model control combined with state feedback is given in Figure 9. The compensation angle with RFM control is defined as: Figure 9. State feedback and reference model control in tilt control [18,36].
The compensation angle with RFM control is defined as: The objective of disturbance compensation and RFM control is to make a compensation effect on the tilt control reference. In this way, the response time of the DTC system can be improved. The compensation angle is applied to the output of the state feedback tilt controller because the state feedback controller outputs the position reference to SMDU. θ tilt_re f _comp = θ tilt_re f + θ tilt_comp (30) Compensation angle θ tilt_comp is calculated by either disturbance compensation or RFM control.

Simulation
In the Simulink model, the following sub-blocks exist: The compensation angle calculated by the disturbance compensation or reference model control is added to the tilt position reference calculated by the state feedback controller.
The Servo motor is a permanent magnet synchronous motor (PMSM). It has 400 W rated power at 3000 rpm, 1.3 Nm continuous torque, and 3.8 Nm peak torque. This data is used as motor data in the simulation model. The integrated motor inverter is JVL servo motor MAC 402 [48]. The Servo motor shaft is connected to a gearbox with a 330:1 ratio. There are three reasons for using a gearbox with a high gear ratio: (1) Increase the servo motor torque at the gearbox's output. (2) Limitation of the ratio between load inertia to servo motor rotor inertia. This is a critical design parameter studied in motor control applications [49,50]. (3) The Servo motor can be operated at a higher efficiency region on the efficiency map [18]. Controller parameters in simulation are given in Table 2.  It should be noted that signs of state feedback controller gains should be reversed when applying them to Equation (17) to obtain the form in Equation (18), and tilt position reference is multiplied by the gear ratio K g when applying it to SMDU.
In simulations, it is assumed that the gearbox has 90% efficiency, the SMDU has 96% efficiency, servo motor has 90% efficiency at 10 m/s vehicle speed as an average value. This is an assumption, and the real efficiency of these components can be different at these operating points. Battery energy consumption is calculated by the integral of actuator shaft power and dividing it by system efficiency. It is time average value for the given tilting period.

Simulation Results
Simulation results are given at 10 m/s vehicle longitudinal speed, and steering input is applied up to 5 degrees [36] as shown in Figure 10.

Analysis of the Tilt Angle Response
As known in motorcycle driving, stabilization of the vehicle at high speed is m difficult than low-speed driving. The proposed control methods have provided stabl erations at up to 10 m/s vehicle speed.
The purpose of the proposed compensation method is to start the tilting as soo the driver applies the steering input. The response time difference between the t methods in Figure 10b is compared as shown in Figure 11. The peak level and peak of state feedback is the reference point for the comparison. SF + DC combination rea 0.70 s earlier to the peak level of SF. SF + RFM reaches 0.40 s earlier to the peak level o This analysis shows that SF + DC combination enables faster tilting than SF and SF + R

Analysis of the Tilt Angle Response
As known in motorcycle driving, stabilization of the vehicle at high speed is more difficult than low-speed driving. The proposed control methods have provided stable operations at up to 10 m/s vehicle speed.
The purpose of the proposed compensation method is to start the tilting as soon as the driver applies the steering input. The response time difference between the three methods in Figure 10b is compared as shown in Figure 11. The peak level and peak time of state feedback is the reference point for the comparison. SF + DC combination reaches 0.70 s earlier to the peak level of SF. SF + RFM reaches 0.40 s earlier to the peak level of SF. This analysis shows that SF + DC combination enables faster tilting than SF and SF + RFM.

Analysis of the Tilt Angle Response
As known in motorcycle driving, stabilization of the vehicle at high speed i difficult than low-speed driving. The proposed control methods have provided sta erations at up to 10 m/s vehicle speed.
The purpose of the proposed compensation method is to start the tilting as s the driver applies the steering input. The response time difference between the methods in Figure 10b is compared as shown in Figure 11. The peak level and pea of state feedback is the reference point for the comparison. SF + DC combination r 0.70 s earlier to the peak level of SF. SF + RFM reaches 0.40 s earlier to the peak leve This analysis shows that SF + DC combination enables faster tilting than SF and SF +  Tilt angle, tilting torque applied by the actuator, tilting speed (speed of tilt rotation), perceived acceleration and yaw rate shown in Figure 10b-f, respectively, have alignment with the steering input shown in Figure 10a.

Power, Energy Consumption and Regeneration Effect
Regarding the energy consumption, battery energy consumption is 30.36 Ws with SF + DC control, and 35 Ws with SF control.
Fast response provided by state feedback has undershoot effect on the tilting torque. Short-term regenerative operation has been observed in the given simulations. During regeneration, servo motor power changes its sign from positive (motoring mode) into negative direction (generating mode). SF + DC combination has more regeneration effect than SF control.
As shown in simulations, tilting torque has overshoot at initial tilting and undershoot just before settling to the desired tilt angle. When the actuator torque has undershoot, servo motor torque and speed can be in opposite directions during the tilting. During regeneration, the actuator shaft power is at the negative region.
During the tilting manoeuvre, tilting inertia is accelerated and decelerated just before settling to the tilt angle reference. This is shown in Figure 10b,d. During the deceleration moment, the regenerative operation occurs. However, lateral acceleration and gravitational forces act on the tilting inertia in opposite directions. Therefore, regeneration duration is shorter than in industrial servo motor applications with inertial loads.
Even if the regeneration duration is short such as less than 1 s, successive operations in regenerative mode have a cumulative contribution to energy recovery. This property of servo motor actuators has a big advantage over hydraulic actuators and has not been analysed in the state of the art.
In electrical motor drive systems, inertial loads have a regeneration effect on the electrical motor when decelerating [51,52]. Kinetic energy stored in the inertia of the mechanical load is fed back to the motor drive system (inverter). Recovered regeneration energy depends on the total system losses such as friction, motor efficiency map, and inverter efficiency.
Kinetic energy stored in inertia is expressed in (31) for electric drive systems [51,52] and expressed in (32) with notations of the DTC system. Deceleration period should also be considered for (31) or (32).
Mechanical losses in the tilting system can be optimized to recover the regeneration energy during tilting.

Experimental Setup
The tilt controller is implemented on Ecotron VCU 2274A. It is a vehicle control unit used for application software development in electric vehicles as a system controller [53]. Control models developed in Simulink can be embedded into Ecotron VCU (vehicle control unit) using its code generation toolchain. VCU is the system control unit in electric vehicles, and Ecotron VCU enables model-based software development in MATLAB-Simulink [53,54].
VCU runs the tilt control software for the duration of the whole test. SMDU transmits the estimated motor torque signal via the Profinet interface.
Experimental results were performed using the components and prototype threewheeled electric vehicle shown in Figures 12 and 13. (The figures of the DTC system components in Figures 12a and 13 are sourced from and available in [48,53,[55][56][57][58]).
Experimental results were performed using the components and prototype threewheeled electric vehicle shown in Figures 12 and 13. (The figures of the DTC system components in Figures 12a and 13 are sourced from and available in [48,53,[55][56][57][58]).
All of the test data in experimental tests were logged in real time by VCU as shown in Figure 13. VCU has a software toolchain for automatic code generation from Simulink models.  There are three test cases which are listed below [36]: (1) Standstill step response test (2) Cornering test at max. 11 km/h speed. State feedback (SF) and state feedback combined with disturbance compensation (SF + DC). (3) Circular trajectory test at max. 6 km/h speed. State feedback (SF) and state feedback combined with disturbance compensation (SF + DC).
Test case 2 was performed at up to 11 km/h speed for the safety of the vehicle driver. The servo motor actuator system is always activated for the test duration. This is required for the safety of the vehicle driver and vehicle as well.  Experimental results were performed using the components and prototype threewheeled electric vehicle shown in Figures 12 and 13. (The figures of the DTC system components in Figures 12a and 13 are sourced from and available in [48,53,[55][56][57][58]).
All of the test data in experimental tests were logged in real time by VCU as shown in Figure 13. VCU has a software toolchain for automatic code generation from Simulink models.  There are three test cases which are listed below [36]: (1) Standstill step response test (2) Cornering test at max. 11 km/h speed. State feedback (SF) and state feedback combined with disturbance compensation (SF + DC). (3) Circular trajectory test at max. 6 km/h speed. State feedback (SF) and state feedback combined with disturbance compensation (SF + DC).
Test case 2 was performed at up to 11 km/h speed for the safety of the vehicle driver. The servo motor actuator system is always activated for the test duration. This is required for the safety of the vehicle driver and vehicle as well. All of the test data in experimental tests were logged in real time by VCU as shown in Figure 13. VCU has a software toolchain for automatic code generation from Simulink models.
There are three test cases which are listed below [36]: (1) Standstill step response test (2) Cornering test at max. 11 km/h speed. State feedback (SF) and state feedback combined with disturbance compensation (SF + DC). (3) Circular trajectory test at max. 6 km/h speed. State feedback (SF) and state feedback combined with disturbance compensation (SF + DC).
Test case 2 was performed at up to 11 km/h speed for the safety of the vehicle driver. The servo motor actuator system is always activated for the test duration. This is required for the safety of the vehicle driver and vehicle as well.

Step Response Test at Vehicle Standstill
In test case-1, the SMDU reference is set to 6 degrees, and the vehicle is tilted at a standstill condition.
This test corresponds to the experimental verification of the transfer function in Equation (9), which verifies that the speed control loop of SMDU has a stabilization effect. The test duration is 23 s. SMDU position reference is applied stepwise, as shown in Figure 14a. Tilting position from the IMU sensor, servo motor speed, and servo motor estimated actual torque are given as shown in Figure 14. The experimental step response shows that the settling time of the tilting position is approximately 1.5 s, which is consistent with the MATLAB step response with the transfer function shown in Figure 6. Compared to the MATLAB step response, the experimental step response takes 0.5 s longer. This difference can be described due to the lag caused by the suspension and tire elasticity.
In test case-1, the SMDU reference is set to 6 degrees, and the vehicle is tilted at a standstill condition.
This test corresponds to the experimental verification of the transfer function in Equation (9), which verifies that the speed control loop of SMDU has a stabilization effect. The test duration is 23 s. SMDU position reference is applied stepwise, as shown in Figure  14a. Tilting position from the IMU sensor, servo motor speed, and servo motor estimated actual torque are given as shown in Figure 14. The experimental step response shows that the settling time of the tilting position is approximately 1.5 s, which is consistent with the MATLAB step response with the transfer function shown in Figure 6. Compared to the MATLAB step response, the experimental step response takes 0.5 s longer. This difference can be described due to the lag caused by the suspension and tire elasticity.

Cornering Test at Maximum 11 km/h Vehicle Speed
In the cornering test (test case-2), the vehicle speed is increased up to 3.05 m/s longitudinal speed and stopped as shown in vehicle speed curves. Steering input is applied gradually, approximately up to 14 degrees. The experimental results for state feedback (SF) and state feedback with disturbance compensation control (SF + DC) are given in Figure 15.

Circle Trajectory Test at Maximum 6 km/h Vehicle Speed
In test case-3, the vehicle is continuously driven in a circular trajectory with slight variations in steering input and vehicle speed, which changes between 5-6 km/h speed range. Steering input is increased gradually up to approximately 32 degrees in SF and 34 deg in SF + DC control mode. The circle diameter is approximately 4.6 m. The duration of the test is approximately 42 s. The results are given in Figure 16.

Circle Trajectory Test at Maximum 6 km/h Vehicle Speed
In test case-3, the vehicle is continuously driven in a circular trajectory with slight variations in steering input and vehicle speed, which changes between 5-6 km/h speed range. Steering input is increased gradually up to approximately 32 degrees in SF and 34 deg in SF + DC control mode. The circle diameter is approximately 4.6 m. The duration of the test is approximately 42 s. The results are given in Figure 16.

Circle Trajectory Test at Maximum 6 km/h Vehicle Speed
In test case-3, the vehicle is continuously driven in a circular trajectory with slight variations in steering input and vehicle speed, which changes between 5-6 km/h speed range. Steering input is increased gradually up to approximately 32 degrees in SF and 34 deg in SF + DC control mode. The circle diameter is approximately 4.6 m. The duration of the test is approximately 42 s. The results are given in Figure 16.

Analysis of the Experimental Results
To maintain stable operation, it is essential to start the tilting in response to the steering input at the given vehicle speed. The initial start time of the vehicle is different in SF and SF + DC. Vehicle speed and steering input have variations in SF an SF + DC. A comparison between SF and SF + DC can be given concerning the response of the tilt angle.
At the beginning of the tilting period, the SF + DC combination provides a faster response to the steering input. On the other hand, SF has a slightly sluggish response to the steering input and some backwards motion during the initial period of the tilting. In test case-2, at t = 14 s, steering input and vehicle speed level are approximately equal for both SF and SF + DC. The tilt angle in SF+DC mode follows a sharper trend up to that point and does not have slight drops as in SF.
In test case-3, at t = 22 s, steering input and vehicle speed level are approximately equal for both SF and SF + DC. Up to that point, the rise of the tilt angle has a sharper trend in SF + DC than in SF.
In test cases, 2-3, the efficiency of the SMDU is set as 96%, and the efficiency of the servo motor is set as 80% as the average value for the given test conditions. These efficiency data are only an assumption. Because a detailed efficiency map of the servo motor and SMDU is not available in the datasheets. Servo motor shaft power is calculated as the product of the servo motor's estimated actual torque and speed as read-out data from the Profinet interface of SMDU. Battery energy consumption is calculated by the integral of the servo motor shaft power and divided by the approximated system efficiency.
In test case-2, the peak level of servo motor shaft power is 7.5 W for both SF and SF + DC. Battery energy consumption is 19 Ws for SF and 26 Ws for SF + DC in test case-2.
In test case-3, the peak level of servo motor shaft power is 6 W in SF + DC, and this peak is an instantaneous value at the time of stopping the vehicle. The peak level of servo motor shaft power is 4.5 W in SF in test case 3. Battery energy consumption is 25 Ws in SF in test case-3 and 30 Ws in SF + DC. Differences in total test duration and braking conditions while stopping create minor power and energy consumption differences for SF and SF + DC.
It is shown that servo motor actuator can run as energy efficient tilt actuation system. Both SF and SF + DC combinations run stable at the given test conditions.

Conclusions
Proposed control methods have achieved faster response and operation up to 10 m/s vehicle speed for the DTC method in simulations.
Novel and practical methods have been developed in simulation and proven effective and stable in experimental tests.
In experimental tests, the stability of the proposed tilt control methods has been validated for the given test cases. Vehicle tilts successfully in both SF and SF + DC control. SF + DC control is more responsive to the steering input. A disturbance compensation function has been developed using internal signals of SMDU, and performance improvement has also been achieved. This is a cost-effective solution without using any external sensor. An alternative configuration of the disturbance compensation would be using a torque sensor between the servo motor shaft and the gearbox. This configuration can be a future task and enables a comparison of the estimated and the measured actual torque at the servo motor shaft.
In simulations and experimental test cases, servo motor torque is below its continuous torque value of 1.3 Nm. This is a critical result regarding the thermal management of the servo motor because an external cooling system is not suitable for NTV due to the restricted space in the vehicle and extra cost as well.
Future tasks can be listed, such as the fail-safe design of the tilt control system, further investigation of the regeneration capability of the servo motor during various tilting manoeuvres, optimization of the complete system losses, and energy management of the tilt control system, including the vehicle traction and battery systems.
Energy consumption at various vehicle speeds and steering inputs can be uploaded to a database for energy consumption prediction. This will be useful to estimate the required battery energy for the next tilting and possible maximum tilting for a given vehicle speed. This is a critical input for the energy management of the tilt control system.
A fail-safe system can be designed by using the electromechanical brake of the servo motor. In case of any failure in any DTC components, including the SMDU or servo motor, the electromechanical brake can be activated, and vehicle rollover can be prevented. This concept needs further investigation of servo motors with electromechanical brakes and should also be verified by experimental tests.