Keywords

1 Introduction

There is a lot of work being put into the control of discontinuous control actions because managing nonlinear systems has always been a significant problem for the study of control systems and automated control theory. In the industrial world, there are quite a few applications for direct current (DC) motors. Changes in armature current are required to alter the variable resistance in the armature circuit or field circuit. A typical speed control system of the motor characteristics is used to regulate the DC motor mentioned above. In order to keep the system stable and create the required system responses, a suitable control should be designed when there are systemic upheavals and uncertainty. So-called “matched uncertainties,” as well as other outside uncertainties and disturbances, have no effect on sliding mode control (SMC). Real-time processing capability has improved thanks to quick processor advancements, making it possible to digitally apply cutting-edge control methods that were previously only feasible in principle. Other difficulties include modifying traditional controllers, which in SMC design is not at all difficult. The distinguishing characteristics of SMC enable its practical application in the management of electrical drives. Strong resilience, ease of implementation, order reduction, and disturbance rejection are some of these characteristics. Following is a summary of the main benefits of the SLMC technique: dynamic reaction time simple to implement and simple-to-design resilience, low sensitivity to changes in system characteristics and load obstacles. To ensure the requisite performance, a precise understanding of the motor characteristics is important. While the drive is running, a number of parameters are unknown with certainty and/or are liable to change, which lowers performance. The SMC is an obvious alternative to avoid this design issue. In actuality, it is created from the ground up to regulate system uncertainties, and it may even deliver appropriate performance in the presence of considerable and quick changes in the motor characteristics and a wide range of disturbances.

Since a long time ago, PI controllers are typically utilized for speed control. However, PI controllers cannot completely stabilize the speed when there are problems with modelling uncertainties, parameter fluctuations, load disturbances, or severe nonlinearity. In these circumstances, where speed control is a major issue, SMC can be employed successfully. SMC is utilized in the suggested strategy to develop the controller and ensure reliable functioning.

2 Model of DC Separately Excited DC Motor

Using amplifiers or power modules, commonly known as DC motor drives, a controller and a DC motor are coupled. The controller’s step and direction inputs are converted by them into currents and voltages that work with motors. Robotic and electrical machinery typically employ DC motors. In the light of how important it is to control the DC motor’s speed.

2.1 Armature Control

The rear emf or Eb has a direct impact on the speed of the DC motor. This demonstrates that speed and armature current Ia are directly related when the supply voltage V and armature resistance Ra are both constant. Figure 1 depicts the DC Motor Correspondence Circuit. Dc motors are frequently employed in the magnetization curve’s linear region. One method is to use armature resistance, which involves adding a variable resistance to the armature’s circuit. The voltage drop across the armature is lower than the voltage across the line after it has been raised because of the circuit’s increased resistance. The armature circuit consists of an inductor (La), a resistor (Ra), and a voltage source (eb). Table 1 displays the nominal rating of the DC motor drive utilized in this.

Fig. 1
A circuit diagram of the D C motor. The armature circuit includes a resistor R, inductor L, motor, and voltage v. The rotor with moment of inertia of inertia J, torque, direction and angle of rotation theta is parallel to the armature circuit. The fixed field is outside the armature circuit.

DC motor circuit diagram

Table 1 Specification of DC motor

Consequently, the field current is proportional to the air gap flux.

$$ \Phi = f\left( x \right) = K_{f} i_{f} $$
(1)

where \(K_{f}\) is a const. or fixed value.

As a result of the armature current and air gap flux, the motor’s torque \(T_{m}\) is proportional to that product.

$$ T_{m} = K_{f} K_{1} i_{f} i_{a} $$
(2)

where \(K_{1}\) is a const. or fixed value.

The field current in the armature-controlled DC motor is maintained constant,

$$ T_{m} = K_{T} i_{a} $$
(3)

\(K_{T}\), the motor torque const., is used here.

Given as follows, the relationship between the motor back emf and speed is

$$ e_{b} = K_{b} \frac{{{\text{d}}\dot{\theta }}}{{{\text{d}}t}} $$
(4)

\(K_{b} \) is used here. It follows that the armature circuit’s differential equation is

$$ L_{a} \frac{{{\text{d}}_{ia} }}{{{\text{d}}_{t} }} + R_{a} i_{a} + e_{b} = e_{a} $$
(5)

Equation for torque is

$$ J\frac{{{\text{d}}^{2} \theta }}{{{\text{d}}t^{2} }} + f_{0} \frac{{{\text{d}}\theta }}{{{\text{d}}t}} = T_{m} = K_{T} i_{a} $$
(6)

If we apply the Laplace transforms to Eqs. (3) through (5) and assume that the initial conditions are zero, we obtain

$$ E_{b} \left( s \right) = E_{b} s\theta \left( s \right) $$
(7)
$$ (L_{a} s + R_{a} )I_{a} \left( s \right) = E_{a} \left( s \right) - E_{b} (s) $$
(8)
$$ \left( {Js^{2} + f_{0} s} \right) \theta (s) = T_{M} (s) = K_{T} I_{a} (s) $$
(9)

From Eqs. (6)–(8) we obtained as following transfer function

$$ G\left( s \right) = \frac{\theta (s)}{{E_{a} (s)}} = \frac{{K_{T} }}{{s[\left( {R_{a} + sL_{a} } \right)\left( {J_{s} + f_{0} } \right) + K_{T} K_{b} ]}} $$
(10)

2.2 Sliding Mode Control

To adjust a DC motor’s speed via sliding mode control, the motor must be constructed in a way that allows us to input the signal deriving from the sliding mode control that was discussed before. Nearly perfect noise rejection and set point tracking are needed for many real-world issues. To accomplish these performances, such systems can use SMC. As a result of the swift switching between a pair or more control limits, this control is referred to as nonlinear. The system’s structure can change or switch when the system’s state moves over each discontinuity when this control is used as feedback. The state intersects and intersects the surface—also known as the button or sliding surface—and exists continuously on the button such that the error and the rate at which the error changes are both zero. Moving in a sliding motion is the term for this action. The term “sliding mode control” is frequently used to emphasize how crucial sliding motion is (Fig. 2).

$$ \begin{aligned} & \dot{x}_{1} = x_{2} \quad {\text{A}} = \frac{1}{5} ,x_{1} ,x_{2} < 0 \\ & X_{2} = - Ux_{1} \quad = 5,x_{1} ,x_{2} > 0t \\ \end{aligned} $$

where is the angular velocity expressed in rad/sec. B is a viscous friction coefficient that resists the direction of motion in Nms. and J is the moment of inertia kgm2/s2. The armature control’s torque, expressed in Nm, is provided.

$$ \tau (t) = J\frac{{{\text{d}}w}}{{{\text{d}}t}} + B\omega (t) $$
(11)
$$ \tau (t) = K_{t} i_{a} (t) $$
(12)
$$ V_{a} (t) - E_{b} (t) = R_{a} i_{a} (t) + L_{a} \frac{{{\text{d}}i_{a} }}{{{\text{d}}t}} $$
(13)

where Eb represents electromagnetic force in V and Ra and La, respectively, show the resistance and inductance of the armature in ohms and H, respectively.

$$ E_{b} (t) = K_{b} (t)\omega (t) $$
(14)
Fig. 2
A block diagram of the D C motor with S M C. The reference signal is fed to the D C motor through the sliding function and S M C in the S M C system. The output from D C motor is fed back to the sliding function.

DC motor schematic with SMC

One may create a state model using the preceding equation and the variables and as illustrated below, ia serve as state variables while Va serves as a manipulating variable.

$$ \left[ {\begin{array}{*{20}l} {\frac{{{\text{d}}w(t)}}{{{\text{d}}t}}} \hfill \\ {\frac{{{\text{d}}i_{a} (t)}}{{{\text{d}}t}}} \hfill \\ \end{array} } \right] = \left[ {\begin{array}{*{20}l} {\frac{ - b}{J}} \hfill & {\frac{{{ }K_{t} }}{J}} \hfill \\ {\frac{{ - K_{b} }}{{L_{a} }}} \hfill & {\frac{{ - R_{a} }}{{L_{a} }}} \hfill \\ \end{array} } \right]\left[ {\begin{array}{*{20}l} {\omega (t)} \hfill \\ {i_{a} (t)} \hfill \\ \end{array} } \right] + \left[ {\begin{array}{*{20}l} 0 \hfill \\ {\frac{1}{{L_{a} }}} \hfill \\ \end{array} } \right]V_{a} (t) $$
(15)
$$ \frac{\omega (s)}{{V_{a} (s)}} = \frac{3992.015}{{s^{2} + 51s + 51.39}} $$
(16)

The aforementioned equation solved in time domain as

$$ \left( t \right) + 51.39\dot{\omega }(t) = 3992.015V_{a} (t) $$
(17)

Now consider, \(x_{1} = \omega \left( t \right)\) and \(u = V_{a} (t)\) once transformed, the system can then take the canonical form shown below.

$$ x_{1} = x_{2} $$
(18)
$$ x_{2} = - 51.39x_{1} - 51x_{2} + 3992.015U $$
(19)
$$ y = x_{1} $$
(20)

Next, choose the sliding surface.

$$ \sigma = c(r - x_{1} ) + x_{2} $$
(21)

c being the sliding matrix’s constant \(C\sigma \varepsilon R^{m + n}\) such that c < 0 total control legislation is stipulated by

$$ U = U_{1} + U_{nl} $$
(22)

where K > 0 is picked where it is large enough the trajectory converges to the sliding surface more quickly, the higher the value of K.

3 PID Controller

PID control is a tried-and-true technique for moving a system towards a desired location or level. It is used in numerous chemical and scientific processes, as well as automation, and is essentially omnipresent as a technique of managing temperature. To keep a process’s real output as close as feasible to the target or set point output, PID control employs closed-loop control feedback.

4 Result

The control system is designed by using MATLAB/Simulink. The maximum voltage is 100 V. Both the driving parameters and the load is changed. Figure 3 shows the DC motor drive with load with SMC. We must design the motor based on the designed parameters in order to regulate the DC motor speed using a SMC controller.

Fig. 3
A MATLAB/Simulink simulation output of a D C motor with load with S M C. The blocks in the simulation model denote components such as integrator, transfer function, motor with load, and output displays.

Simulation model of DC motor with load with SMC

Figure 4 says that changing PID constants as the DC motor parameters are changed. It is seen that the output speed of DC motor increases due to SMC from 30 to 32 rpm and tend to adapt as the DC motor parameters are changed.

Fig. 4
A computer simulated line graph plots 3 logarithmically increasing lines for motor + load with S M C, motor + load with P I D, and motor + load. The line for motor + load with S M C is above the other 2 lines.

Comparison of DC motor speed a without controller b with PID c SMC controller

Figure 5 shows the graph between time and speed where SMC gives the better result than PID.

Fig. 5
A computer simulated line graph plots 2 logarithmically increasing lines for motor + load with P I D and motor + load with S M C. The line for motor + load with P I D is above the other line.

Comparison of DC separately excited motor a with PID b with SMC

5 Conclusion

Due to their benefits of easy speed and position control and broad adjustability range, DC motors are commonly utilized as actuation devices in industrial applications. There has been provided a mathematical model of a DC motor. The speed of a DC motor has been controlled using a conventional SMC controller. The performance curves produced with and without controllers, as well as those from the conventional SMC controller, are compared using time domain requirements. The SMC controller aids in increasing the motor’s speed. Comparison of PID with load and with load with SMC it is seen that SMC gives the better result than PID. As the DC motor’s parameters are modified and a control signal is applied to it, the controller constants in the simulation’s output can automatically update.