Keywords

13.1 Introduction

One of the primary reasons for the introduction of electric cars into the market is the concern over greenhouse gas emissions and their contribution to global warming. The purpose of creating electric cars that reduce or eliminate exhaust emissions is to overcome this issue. Unfortunately, the price of electric vehicles (EVs) and hybrid electric vehicles (HEVs) is expensive, thus making the vehicles unattainable to many people, especially those living in poor countries. Therefore, this has led to the study on the possibility for a direct current (DC) drive EV [1] which is known to be economical.

13.1.1 Literature Review

The study on DC drive EVs includes the design of new DC motors, battery charger, and four-quadrant choppers to improve the performance and extend the capability of EVs, such as adding the mode of chopper operations [1,2,3,4]. Further investigations of four-quadrant direct current chopper (FQDC) hardware and simulation model include a feedback control using DC control and optimization using artificial intelligence to optimize all operations to produce a complete EV while running in different earth profiles [5,6,7,8,9,10,11,12,13]. This paper further extends on the study and investigation of one of the modes of the proposed chopper operations, which is the reverse mode. The vehicle reverse mode is shown in Fig. 13.1. After releasing the pulses, a load current that corresponds to the preset control factor α (related to duty ratio) flows through the chopper. In this mode, the back electromagnetic force (EMF), armature voltage, and torque are negative. The paths of currents for reverse operation are shown in Fig. 13.1. The switching of the main IGBT V1 is determined by the control factor α.

Fig. 13.1
figure 1

Current paths in reverse mode

The mathematical representations of the four-quadrant chopper in reverse mode are presented in the following equations:

$$I_{\text{a}} = \frac{{V_{\text{batt}} - I_{\text{a}} \left( {R_{\text{a}} + R_{\text{f}} } \right) - B_{\text{emf}} }}{{L_{\text{a}} + L_{\text{f}} }}$$
(13.1)
$$B_{\text{emf}} = K_{\text{v}} I_{\text{f}} \omega$$
(13.2)
$$T_{\text{d}} = K_{\text{t}} I_{\text{f}} I_{\text{a}}$$
(13.3)
$$T_{\text{d}} = J \, \frac{{{\text{d}}\omega }}{{{\text{d}}t}} + B_{\text{w}} + T_{\text{L}}$$
(13.4)

13.1.2 Review of Automatic Parking

Automatic parking is important when a vehicle driver is dealing with a constrained environment where much attention and skills are required. Performing automatic parking requires coordinated control of the steering angle and the surrounding to avoid collision [14]. Parking assistance systems have been developed using image assistance by Mercedes, Volvo, and BMW. Automatic parking consists of parking trajectory, vehicle location detection, parking space detection, turning, and reverse position control [15]. Parking space detection is used to check the availability of a parking space, where the details are not covered in this paper.

13.2 Methodology

13.2.1 Control Strategy During Reverse Mode

The two required movements in automatic parking are the vehicle movement (in reverse mode) and the steering angle [16]. The latter is controlled using an electric power steering as illustrated in Fig. 13.2.

Fig. 13.2
figure 2

Electric power steering

Fig. 13.3
figure 3

Steering and vehicle movement

Figure 13.3 exhibits the steering and vehicle movement sequence. The x-axis represents time, in milliseconds, while the y-axis is normalized. Reference represents the desired position of the steering angle, while position is the actual steering angle movement. An FQDC operating in reverse mode provides the vehicle movement whereby the propulsion motor via FQDC provides motor torque to move an EV.

In the figure, the sequence of operation started with steering and followed by the vehicle movement. Brake control as shown in Fig. 13.4 is also important and the control is needed to create the deceleration effect and to the final stop of the EV [17]. Details regarding the brake and steering control are not covered in this paper.

Fig. 13.4
figure 4

Electrohydraulic brake system

Figure 13.5 shows the sequence of steering, vehicle movement, and brake. It should be noticed that brake is applied at the end session of the vehicle movement to create the deceleration effect [18]. The overall function of an automatic reverse parking controller is to ensure that the position, acceleration, and speed are controlled according to the desired pattern for the application of automatic parking. To perform these actions, DC control, ascend-descend algorithm, and triple cascade PIDs are implemented. This is to ensure no tire slip, linear acceleration and deceleration of EV, and the final stop position are achieved.

Fig. 13.5
figure 5

Steering, vehicle movement, and brake

13.2.2 Direct Current Control in Driving and Reverse Mode

DC control (DCC) is an economical way to be implemented and the approach can be used to limit excessive motor torque that causes tire slip, and consequently the EV will not be parked at the desired position [7] (Fig. 13.6).

Fig. 13.6
figure 6

DCC method

In DCC, the motor current is set according to the speed of the motor. DCC uses the look-up table as shown in Table 13.1 and Fig. 13.7. The table represents the required or expected current according to the motor speed. Interpolations can be made for values that are not available in the table.

Table 13.1 Look-up table
Fig. 13.7
figure 7

DCC method flow

13.2.3 Vehicle Movement Control with Cascade PIDs

Cascade PIDs allow several controls to be carried out in a single system. In this research, cascade PIDs were used to control the position, speed, and torque of a single propulsion motor. In a cascade PID, the output of one PID controller will be the input of the other PID controller. The most important aspect to control in this study is the position, which will be placed at the front/beginning, and followed by the least important aspects, which are speed and lastly torque. Figure 13.8 shows the PID controllers connected in cascade. The purpose of cascade PIDs is to control the system performance, such as speed and torque of the propulsion motor. The feedback control is used to adjust the speed and torque based on the feedback gain. The DCC is controlled using current feedback gain in the cascade PIDs.

Fig. 13.8
figure 8

Triple cascade PIDs

13.2.4 Ascend-Descend Algorithm

The ascend-descend algorithm is modified from the gradient descend algorithm. However, unlike the latter that is shown in Fig. 13.9, the former has no target and an error is included in the algorithm. Without error and target, the output will increase or decrease linearly.

Fig. 13.9
figure 9

Conventional gradient descend

The expected gradient effect of speed is presented in Fig. 13.10. In the figure, the speed (in rpm) increases linearly, becomes constant, and then decelerates linearly. This condition can be achieved by using the ascend-descend algorithm and applying the control algorithm output to the feedback sensor by controlling the gain of speed of the PID controller that is connected in cascade. Figure 13.11 shows the block diagram of the operation.

Fig. 13.10
figure 10

Expected output signal of ascend-descend algorithm

Fig. 13.11
figure 11

Block diagram of ascend-descend operation

Details about DCC, cascade PIDs, and ascend-descend algorithm will be discussed in other studies.

13.2.5 Simulation Model with MATLAB/Simulink

A simulation model was developed to test the control technique. For monitoring the car trajectory, a path tacking simulation model using mathematical equations as shown in Fig. 13.12 was established.

Fig. 13.12
figure 12

Path trajectory simulation model

A simulation model of the vehicle movement for auto-parking was established as presented in Fig. 13.13. This model includes the ascend-descend algorithm controller.

Fig. 13.13
figure 13

Simulation model of vehicle movement

Equations (13.1) to (13.4) can be grouped to form a physical-based model that represents speed. The vehicle position can be determined by adding an integrator and speed output. The MATLAB/Simulink linearize tool can be used to linearize the differential equation and finally tune the PID. MATLAB/Simulink PID drag-and-drop icon has a menu that can be clicked to tune the PID automatically. For the tuning of MATLAB/Simulink using the SISO tool, the physical-based model has to be transformed to the transfer function model using the MATLAB/Simulink system identification. The tool is used to find the system order. Finally, by using the SISO tool, the transfer function for the steering position system can be determined and the PID controller gain can be obtained. The SISO tool is also used to test system stability using root locus or Bode plot. The PID controller gain can be obtained using the PID auto-tune function.

The position, speed, and acceleration control for triple cascade PIDs are shown in Fig. 13.14.

Fig. 13.14
figure 14

Triple cascade PID simulation model

13.3 Results and Discussion

The sequence of operations for automatic reverse parking is shown in Fig. 13.3. In the sequence, first, the steering angle makes the first movement and followed by vehicle movement. Once the vehicle movement has been completed, the steering then moves again for different steering angles and followed by vehicle movement. During steering movement, the vehicle is completely stopped.

Figure 13.15 shows how the speed reference is applied. The speed reference is made from a small linear incremental speed value until the required speed is achieved. Once the expected speed is met, the reference speed is made constant. In the figure, the actual speed is lagging a bit from the reference speed during acceleration but once the speed is fixed, the actual speed is similar to the reference speed.

Fig. 13.15
figure 15

Speed reference with ascend-descend algorithm

Figure 13.16 shows the vehicle movement speed and torque controlled using the cascade PIDs. The torque is constant and high at the beginning during acceleration before it decreased and increased again during acceleration. For reverse parking, the vehicle makes two movements and resulted in two similar graphs plotted. When the vehicle accelerates, the torque is maintained according to the DCC. The gap time at the beginning and between two graphs represents steering operation.

Fig. 13.16
figure 16

Direct current control and vehicle speed

The vehicle movement position is shown in Fig. 13.17. The standstill at the beginning and middle indicates the steering turning operations.

Fig. 13.17
figure 17

Vehicle movement position

Figure 13.18 shows the vehicle trajectory resulted from the combination of vehicle movement and steering movement for automatic parallel parking. The X- and Y-axes represent the X, Y coordinates which are normalized to ease plotting.

Fig. 13.18
figure 18

Parallel parking measured from the rear right tire

Figure 13.19 shows the vehicle trajectory resulted from the combination of vehicle movement and steering movement for automatic reverse parking. The X- and Y-axes represent the X, Y coordinates which are normalized to ease plotting.

Fig. 13.19
figure 19

Trajectory of the rear right tire for reverse parking

13.4 Conclusions

The control technique proposed for automatic parallel and reverse parking has been successfully performed and simulated. The speed, torque, steering position, and vehicle movement have been successfully controlled for the application of automatic reverse and parallel parking. Therefore, a DC drive electric car powered by FQDC for series motor is suitable for the application of a DC drive electric car and will have automatic car parking as an extra feature.