Abstract
For a car that is propelled by an armature-controlled DC motor This study proposes an adjustable linear positioning control. In this paper, to optimize the parameters of the car’s position controller the sine cosine optimization algorithm (SCA) is utilized, with support from the Balloon effect (BE), The BE is incorporated to enhance the responsiveness of the traditional sine cosine optimization algorithm when faced with external disturbances and variations in system parameters. In the proposed approach, the determined value of the open loop transfer function of the motor and the updated values of the controller gains serve as the basis for the modified sine cosine algorithm’s objective function (OF). Under the influence of changes in motor parameters and step load disturbances, the system using the suggested controller is evaluated. Results from simulations and experiments show that the proposed adaptive controller, which implements the modified sine cosine algorithm, enhances the system’s overall performance in the presence of load disturbances and parameter uncertainties.
1. Introduction
1.1 Literature review
Although the DC motor has many benefits and uses in a variety of sectors, it also has certain disadvantages, including limited speed control, brushes and commutation, big size, electromagnetic interference, and expensive cost [1]. The DC motor is used in a variety of commercial applications, including those for robots, electric vehicles, the aerospace industry, industrial automation, energy production, medical sector and agriculture [2]. To control the DC motor, several controllers are proposed, different controllers have been showed in literature [3–6]. Amongst them, the (PID) controller is frequently used in industry Due to its efficiency and simplicity, improving both steady-state and transient performance. PID controllers have been used in many applications [7–9], including the DC motors control. However, it was necessary to develop online tuning techniques for the PID controller. In recent literature, there has been a surge in the adoption of optimization methodologies to fine-tune control parameters due to their effectiveness in mitigating uncertainties and disturbances [10–15]. Various optimization techniques have been explored in research papers, including a modified inverse neural controller [10], the Crow Search Algorithm [11], bee-colony optimization [12], particle swarm optimization (PSO) [13], Henry gas solubility optimization [14], and the grey wolf optimizer [15]. Furthermore, optimization techniques have been implemented for offline tuning of classic PI-LFCs as evidenced by studies such as [16,17]. These endeavors highlight the wide range of optimization approaches being employed to enhance controller performance and address control system challenges. since fixed parameters controllers created using nominal operating points are not suited for real-time operating situations. [18]. Several optimization algorithms, such as atom search optimization (ASO) [19], Zeigler-Nich reinforcement learning [20], and enhanced Bacterial Foraging Optimization (BFO) [21,22], have been proposed to compute finest parameters for the PID controller, Reinforcement learning: In this approach, the controller gains are adjusted based on the performance feedback obtained through trial and error. The controller learns from its own actions and continuously improves its performance. One of the popular reinforcements learning algorithms used for PID tuning is the Q-learning algorithm [23]. Additionally, techniques like fuzzy logic [24], genetic algorithms [25], and neural networks [26] have also been used for online tuning of PID parameters in various applications Model-based online tuning Using a model of the process dynamics, the controller gains can be adjusted in real time based on the current process state and desired performance criteria. This can be achieved using techniques like adaptive control or model predictive control (MPC) [27] a nature-inspired optimization technique that mimics the behavior of the sine and cosine functions called Sine Cosine algorithm (SCO) to solve optimization problems. This algorithm is widely used in various fields [28]. It has been successfully applied in Optimal power flow in electrical power systems [29], Parameter tuning in machine learning (ELDPs) [18], Routing optimization in wireless sensor networks [30], Energy-efficient scheduling in cloud computing [31] and Optimization of machining parameters. In the field of electrical DC motors. Furthermore, in order to enhance the effectiveness of optimization algorithms for dealing with system problems including load disruption and parameter uncertainties, a modification known as the balloon effect (BE) has been proposed [32].
1.2 Problem analysis
The adaptive control problem is solved using several optimization approaches in different ways. These methods may be used to modify the settings of neural network or fuzzy controllers [26], where the controlled variable’s error value serves as the basis for the objective function. There have been several efforts to directly optimize the adaptive controller’s parameters using optimization techniques. [27]. In these attempts, the objective function is constructed using time response characteristics such as overshoot, rise time, and settling time However, these methods have a drawback as they are based on nominal values of system parameters, thus making them less effective for time variant systems. To address this issue, a modification called BE has been proposed [24,25]. The objective function of the BE modification takes into account the new values of parameter variations and other system modifications. This allows standard optimization algorithms to be applied in adjusting control systems in real-time and industrial applications, such as load frequency control and motor control.
1.3 Contribution
The main contributions of this work can be summarized as:
Proposing an adaptive position control method that utilizes sine cosine optimization technique with the support of BE for an industrial application represented by a cart forced by armature controlled DC motor and the proposed controller succeed to increase the precision of car desired position tracking.
both digital/experimental tests assured how strong is the proposed adaptive control based SCO+BE in industrial applications.
the suggested adaptive controller using SCO+BE has been used to make online tuning of load frequency controller in an isolated MGs and it proved efficiency in LFC issue in case of system difficulties such as load disturbance
Demonstrating the effective problem-solving capabilities of the suggested control method by comparing the suggested optimization algorithm with other optimization techniques.
To the best of the writers’ knowledge, this is the first time of utilizing SCO+BE for tunning the controller gains of the studded systems.
This manuscript is organized as the following; Section 2 discusses the sine cosine algorithm (Mathematical representation of classical SCO is presented in subsection 2.1 and Sine cosine algorithm combined with Balloon Effect (SCO+BE) is discussed in subsection 2.2) Section 3 designates the SCO+BE for position control of armature controlled DC motor. The SCO+BE for LFC of isolated microgrid is presented in Section 4. Section 5 discusses the conclusion. Section 6 suggests the future work.
2. Sine cosine algorithm
2.1 Mathematical representation of classical SCO
Researchers and practitioners in the field of optimization algorithms are continually looking for efficient and effective methods to address challenging optimization problems. Sine Cosine Optimization (SCO) is one such method that has received a lot of interest. By mimicking the natural oscillations seen in sine and cosine functions, which are mathematical ideas, SCO offers a novel method of optimization. Initially, a population-based metaheuristic optimization method was suggested for the SCO algorithm. It takes inspiration from sine and cosine waves, whose smooth motion displays periodic oscillations with predictable behavior. By simulating this natural occurrence, SCO hopes to quickly explore complicated solution spaces by striking a balance between exploration and exploitation during the search process [28].
The main idea behind SCO is that it can efficiently explore the search area and produce a variety of solutions. A population of potential solutions, each represented by a set of variables, is kept in memory by the algorithm. The direction and size of the movement for each unique solution are determined by the sine and cosine functions, which are used to update these variables [20]. Fig 1 represents Diagram of SCA search mode. SCO promotes exploration of unexplored areas while gradually convergent towards desirable portions of the solution space by combining these oscillatory dynamics with randomization. To guarantee the quality and diversity of the population, SCO uses a variety of components. These include adaptive parameters that regulate the trade-off between exploration and exploitation, individual best and global best solutions, and random initialization. Through iterative updates and interactions among the individuals in the population, SCO strives to find optimal or near-optimal solutions for a given optimization problem.
SCO is distinguished by its simplicity and ease of use in implementation. The method is known for its competitive performance across a variety of optimization issues and requires minimum parameter adjustment. Engineering design, image processing, banking, and machine learning are just a few of the areas in which SCO has been effectively used, exhibiting its adaptability and efficiency.
the SCO offers a promising approach to solving complex optimization problems. By drawing inspiration from the oscillatory behavior of sine and cosine functions, SCO strikes a balance between exploration and exploitation, enabling efficient search and convergence. With its simplicity, versatility, and competitive performance, SCO has emerged as a valuable optimization tool for researchers and practitioners alike [29,30].
(SCO) algorithm is a metaheuristic optimization algorithm that is used to solve optimization problems by iteratively adjusting a set of candidate solutions to find the optimal solution The first step in SCO is the initialization by Defining the problem’s search space boundaries and the number of iterations and initialize the population of candidate solutions with random values within the search space Then it calculates the Objective Function(of) for every solution and update each candidate solution using Eq (1)
(1) |
where (r) is a random number between (0 and 1), then it Apply sine and cosine transformations to further update the candidate solutions for each variable in the solution, by using the Eq (2) and calculate the fitness of each updated solution
(2) |
where A, B, and C are random parameters, and k is the current iteration number, then the algorithm Update the best solution by Comparing the fitness of the updated solutions with the fitness of the best solution found so far and if an updated solution has a better fitness, update the best solution finally the algorithm stops by reaching the maximum number of iterations or satisfies the convergence criterion.
The following information provides some notes about the Sine Cosine Optimization (SCO) algorithm:
In SCO, a matrix with a number of items equal to the population size times the number of design variables represents the initial population. The best and worst values may be calculated using new solution values due to this matrix.
for the same design variable in SCO, the initial values should be chosen close together to minimize sudden switches at the beginning of the optimization process.
using a large population size and number of iterations can cause the SCO algorithm to run slowly, leading to poor real-time characteristics. To overcome this issue, it is recommended to set limitations on the number of iterations that may not necessarily result in the best solution but can yield better results than the standard algorithm.
SCO can provide better and faster solutions by saving the ideal solution for next iterations.
SCO is sometimes used in the issue of adaptive control to optimize the control inputs of a robotic manipulator. The algorithm was applied to tune the controller parameters based on the error between the desired and actual positions of the robot. This helped in improving the control performance and ensuring precise and smooth trajectory tracking. [26], and other times in controlling the unmanned aerial vehicles (UAVs), the SCO algorithm was utilized to optimize the UAV’s flight path and control parameters. By minimizing the cost function associated with trajectory tracking and energy consumption, the algorithm provided an efficient solution for adaptive control of UAVs in dynamic and uncertain environments. [27] Fig 2 shows an example of SCO being applied directly to optimize controller gains. The present case shows that, the rising time (Tr), maximum overshoot (Mp) and settling time (Ts) of the closed-loop system serve as the foundation for the objective function of SCO. These parameters are determined by the damping ratio (η) and natural frequency (ωn), which are elements of the theoretical open loop transfer function Go(S).
The classical SCO approach lacks the ability to adapt to variable disturbances or changes in system parameters in real-time. This limitation is a flaw in the traditional SCO’s application to the adaptive control problem.
2.2 Sine cosine algorithm combined with Balloon Effect (SCO+BE)
A feature called BE has been incorporated into the SCO algorithm in order to improve its efficiency in handling external disturbances or changes in plant parameters. This modified SCO aims to enhance its ability to respond to such disturbances or changes that may occur during any iteration. The concept of BE is illustrated in Fig 3, and the open loop transfer function utilized for the modified SCO at a certain time (i) is represented in Fig 4. The modified SCO approach can be summarized as follows:
The plant input Uiand plant output Yi are used to apply SCO during each iteration
- By utilizing Ui and Yi, it is possible to compute the on-time transfer function.
(3) - The relation between Gi(S) and Gi−1(S)
(4)
At iteration (i) the impact of disturbance and changes in system parameters is represented by ALi. The shape of Gi(S) changes depending on the value of ALi, similar to how a balloon shrinks and stretches affected by air pressure (as shown in Fig 2).
The relationship between Gi(S) and GO(S) stated as:
(5) |
4. The relation between Gi(S) and GO(S) can be expressed using Eq (5). Gi(S) depends on both GO(S) and , which illustrates the presence of system problems. As a result, the SCO’ OF will change based on the values of system disruption and uncertainty levels, ultimately improving the performance of SCO.
Fig 4 illustrates the use of SCO + BE. Briefly, BE makes the objective function responsive to system variations at any given moment, increasing the efficiency of adaptive control optimized by SCO + BE. This makes it suitable for applications for industry such as load frequency control, thermal controland machine control. The flowchart of SCO with BE is shown in Fig 5.
a step by step of the algorithm for the studded system starts with
The code starts by accepting four input arguments: u1, u2, u3, u4.
Based on the inputs u1 and u2, the transfer function G(s) is computed and stored in the variable G.
The value of parameter al is determined using u3, G, and u4.
Initialization of various variables essential for the optimization process takes place. This includes setting the lower bound (lb) and upper bound (ub), as well as defining optimization parameters (beta, delta, max_iter) and population variables (x, s, fitness).
The fitness of each population member is evaluated using an Objective Function
The population member with the highest fitness value is identified as the best individual.
The optimization process commences with a loop that runs for max_iter iterations.
During each iteration, the position and scale of each population member are updated using random calculations.
The position is perturbed and adjusted to be within the limits specified by lb and ub.
The fitness of each population member is evaluated once again.
If a fitter member is found, the best population member is updated accordingly.
After the loop concludes, the optimized values of kp and kv are extracted from the best member and stored in the variables kp and kv, respectively.
Finally, the function returns the values of kp and kv as the output.
3. SCO+BE for position control of armature controlled DC motor
3.1 Dynamic model of the studied DC motor
In this study, the focus is on a cart system that is propelled by a DC motor controlled by an armature. Fig 6 provides an illustration of this system. The cart itself is made of aluminum and is able to move along a shaft with a linear bearing. The movement of the cart is achieved through a track mechanism with a pinion, powered by a DC motor connected to a planetary gearbox [31,32].
The car’s system’s behavior may be represented by an open loop transfer function, which is as follows:
(6) |
with reference to the Newton’s second law:
(7) |
to provide the armature inertial torque by:
(8) |
By utilizing Newton’s second law, one can determine that:
(9) |
The mechanical arrangement of the car’s rack and pinion system can be calculated as:
(10) |
The motor’s driving force FC can be calculated using:
(11) |
The DC motor’s torque can be stated as follows:
(12) |
Furthermore, the angular velocity of the motor may be written as:
(13) |
Fig 7 depicts the armature circuit of a typical DC motor. This electrical circuit’s use of Kirchhoff’s voltage law is illustrated as:
(14) |
By ignoring the motor’s inductance, we get Im
(15) |
Finally, the motor’s (TF) can be determined as:
(16) |
The block diagram for the under-study armature-controlled DC motor is shown in Fig 8, which gives detailed information. Table 1 [31] contains thorough information on the system’s elements. Table 2 also shows the maximum values related to the electrical motor.
Table 1. Studded Values of system parameters.
Symbol | value | Symbol | value |
---|---|---|---|
ζ g | 100% | r mp | 6.35*10−3 M |
ζ m | 100% | K g | 3.71 |
K t | 7.67*10−3 N.m/A | R m | 2.6 ohm |
M | 0.97 Kg | J m | 3.9*10−7 Kg. m2 |
Table 2. Studded electrical motor parameters maximum values.
Symbol | value | Symbol | value |
---|---|---|---|
V | 6 V | I | 1 A |
F | 50 HZ | Ω | 628.3 rad/sec |
3.2 Controlling of the studded system using SCO-based adaptive position control
3.2.1 Standard adaptive PV controller based on SCO
The design of the PV controller is seen in Fig 9. The model of the previously mentioned armature-controlled DC motor is represented by G(S) in this diagram. The parameter Kp0, which is the nominal value of Kp, and the parameter Kv0, which is the nominal value of Kv, can be illustrated as follows:
In order to attain system characteristics of 10% overshoot and a rise time of 0.15 sec, these specific values of Kp0 and Kv0 were used.
The objective of SCO optimization is to optimize the gains Kp and Kv, of the PV controller.
Fig 10 illustrates the implementation of a DC motor’s adaptive position controller using the classical SCO optimization method. To optimize the SCO objective function (OF), it is necessary to calculate the closed loop transfer function of the system using Eq (16) and taking into account the nominal data provided in Table 1 then
(17) |
Additionally, as illustrated in Fig 10 the feedback transfer function may be stated as:
(18) |
By observing Eq (18), we can observe that during any iterations, the variables ωni,ηi,Tri,Tsi,Mpi, and Jmin are solely dependent on the modified gain values of the PV controller, Kpi and Kvi,.
3.2.2 Modified adaptive PV controller based on SCO+BE
The system closed loop transfer function can be calculated during any iteration using Eqs (5) and (16), and the structure depicted in Fig 8, as demonstrated in Fig 10 which shows the position control system using the proposed SCO with BE.
(19) |
Where
And
The values of ωni and ηi are used to calculate the parameters Mpi,Tri and Tsi for the closed-loop system of second order. It is clear that the minimum objective function in Jmin SCO is influenced by the values of Kpi, Kvi, and the term , which represents system disturbance and parameter variations.
How the problem and algorithm interact is demonstrated in the following scenario: During each iteration, while the computer executing the code of SCO and BE it receives the plant’s input Ui and the output Xi. The values of these signals will be used to compute Gi(S) using Eq (2), and the previously stored value of Gi−1(s) will be used to determine the value of ALi. The value of () will be determined using this value and its previous cumulative values that were previously saved. Meanwhile, the loops of SCO algorithm will generate potential values of Kpi, Kvi which will be used with to calculate the parameters of the time response Mpi,Tri and Tsi. These parameters will be used to determine the value of the objective function Jmin i, which eventually determines the ideal and final values of Kpi, Kvi. These values will be provided to the PV controller’s Simulink program, which will produce the control signals and transmit them to the physical process via a Data Acquisition card. The suggested adaptive control scheme’s effectiveness is influenced by the computer’s technical parameters, including its RAM, cache memory, and CPU speed.
3.3 Simulation results for proposed controller of DC motor application
The Simulink package of MATLAB used as a simulation environment for the DC motor (with parameters listed in Table 1) system with the proposed control algorithm, in addition, the parameters of the suggested SCO is illustrated in Table 3.
Table 3. Parameters of SCO.
bounds of Kp0 | [265:280] |
bounds of Kv0 | [4:6.5] |
max_iter = 100 | maximum number of iterations |
beta = 0.5 | Constant for updating scales |
Delta = 0.1 | Perturbation factor |
The modified SCO approach includes the following variables.
The chosen object function has been utilized.
As shown in Fig 11, the physical disturbance has been replaced with an equivalent voltage using the sum point movement option to make it measurable. The system under analysis has been tested for two scenarios: a sudden change in desired input and a sudden load disturbance. To observe the impact on the proposed system, an equivalent load disturbance has been introduced from t = 3 seconds to t = 5 seconds. The value of the load disturbance is 0.95 volts, as shown in Fig 12. Furthermore, the desired motor position signal starts at 1.5 seconds with a magnitude of 15 mm and ends at 6 seconds.
Fig 13 displays the outcomes of comparing the performance of systems employing the conventional PV controller, Controller tuned by traditional SCO and that one adapted using the modified SCO with BE during load disturbance and step reference change. It is evident from Fig 13 that the rise time with the proposed SCO + BE is about 0.08 sec, while it is about 0.2 sec with the normal SCO. The PV controller tuned by the proposed SCO + BE also improves the overshoot during step disturbance. Also Fig 13 demonstrates that the suggested PV controller tuned by normal SCO or modified SCO + BE successfully handles load disturbance. Furthermore, the performance with the modified SCO technique is superior to that of the normal SCO. also, comparison has been made between SCO+BE and Jaya+BE (presented in [32]) in Fig 14 leads to an improvement of the overshoot during step disturbance of the proposed SCO + BE than jaya algorithm. Detailed parameters can be found in Table 4. From Table 4, it can be observed that the proposed SCO + BE yields the best overshoot, rise time, and settling time compared to other controllers. Both Figs 13 and 14 demonstrate that the suggested PV controller tuned by modified SCO + BE successfully handles load disturbance. Furthermore, the performance with the SCO+BE technique is superior to that of the normal SCO and jaya algorithm.
Table 4. Time response parameters.
M p | Tr(sec) | Ts(sec) | |
---|---|---|---|
Conventional PV | 2.3% | 0.2 | 0.5 |
Normal SCO | 1.5% | 0.2 | 0.5 |
jaya+BE | 1.4% | 0.1 | 0.47 |
SCO+BE | 1.3% | 0.08 | 0.35 |
3.4 Experimental results for proposed controller of DC motor application
The experimental implementation of the suggested car powered by a DC motor is seen in Fig 15. QPIDe data acquisition card and QuanserVoltPAQ were used to communicate between MATLAB executed in the PC and the DC motor. A single-ended optical shaft encoder was act as a position sensor. Fig 16 shows how the hardware is organized. The identical circumstances that were utilized in simulation testing were reproduced experimentally. as shown in Figs 17 and 18. Fig 17 demonstrates the system responses for classical and adaptive PV controllers. It was found that the suggested technique had a positive impact on the system response in the face of step load change and step input. Comparing the value acquired using the typical PV controller to the value obtained using standard SCO, the overshoot dropped to roughly 35%.
Additionally, the results shown in Fig 18 demonstrate that the system utilizing the modified SCO+BE outperforms the system utilizing the normal SCO algorithm in the presence of load disturbance. It is evident that the system response achieved using the modified SCO+BE is smooth and stable, while the response obtained using the standard SCO algorithm is unfavorable in the initial three seconds, characterized by high ripples. according to the experimental data, the system using the PV controller tuned by the suggested SCO+BE technique is clearly more resilient and robust than the system using the controller optimized by the traditional SCO method. Furthermore, a comparison between SCO and SCO+BE is conducted at selected time instances (t = 3 sec. and t = 5.5 sec.), and the obtained data is recorded in Table 5 using the program code. The data presented in Table 5 confirms that during critical moments such as the introduction and removal of step load disturbance, the system with the controller tuned by SCO+BE exhibits favorable values for Tr, Ts, Mp and ISE compared to the system with the controller tuned by standard SCO.
Table 5. An optimization comparison between SCO and SCO + BE.
SCO | SCO+BE | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
T(sec) | K pi | K vi | |Mpi| | T ri | T si | ISE | K pi | K vi | |Mpi| | T ri | T si | ISE |
3 | 910 | 44 | 1.9% | 0.21 | 0.503 | 1.4 | 780 | 32 | 1.03% | 0.03 | 0.5 | 0.50 |
5.5 | 738 | 47 | 1.6% | 0.19 | 0.5 | 0.74 | 615 | 38 | 0.99% | 0.95 | 0.053 | 0.36 |
To support the past simulation and experimental extracts, some statistical analysis have been done. Performance metrics, including mean square error (MSE), maximum error (Max E), minimum error (Min E), and standard deviation (STD E), were selected to assess the accuracy of position control. Each method underwent three trials, and the MSE, Max E, Min E, and STD E values were computed for each trial. The resulting metrics for the trials are as shown in Table 6.
Table 6. Statistical analysis for I, SCO and SCO+BE.
Conventional controller | Normal SCO | SCO+BE | ||
---|---|---|---|---|
0.032 | 0.025 | 0.015 | MSE | |
TRAIL 1 | -0.08 | -0.06 | -0.04 | Min error |
0.1 | 0.08 | 0.05 | Max error | |
0.015 | 0.012 | 0.008 | STD E | |
0.033 | 0.023 | 0.012 | MSE | |
-0.07 | -0.04 | -0.02 | Min error | |
TRAIL 2 | 0.09 | 0.05 | 0.03 | Max error |
0.014 | 0.01 | 0.006 | STD E | |
0.035 | 0.024 | 0.011 | MSE | |
-0.09 | -0.05 | -0.01 | Min error | |
TRAIL 3 | 0.1 | 0.07 | 0.02 | Max error |
0.016 | 0.011 | 0.005 | STD E |
Regarding the analysis of position control accuracy for the armature-controlled DC motor, the mean square error (MSE) values for three different methods, namely SCO+BE, normal SCO, and the conventional controller were found to be 0.0126, 0.024, and 0.033, respectively. Comparing the maximum error (Max E), SCO+BE exhibited a value of 0.03, while normal SCO and the conventional controller had values of 0.08 and 0.1, respectively. Lower (Max E) values indicate superior tracking precision. In terms of minimum error (Min E), SCO+BE yielded values of -0.04, while normal SCO and the conventional controller had values of -0.06 and -0.08, respectively. Smaller (Min E) values imply better positional accuracy. Analyzing the standard deviation (STD E), SCO+BE showed a value of 0.006, whereas normal SCO and the conventional controller had values of 0.01 and 0.014, respectively. Smaller (STD E) values indicate more consistent control performance. In conclusion, the statistical analysis clearly demonstrates that the proposed SCO+BE algorithm outperforms both normal SCO and the conventional controller in terms of position control accuracy. SCO+BE consistently shows lower MSE, Max E, Min E, and STD E values, indicating improved tracking precision, positional accuracy, and control consistency. These results validate the effectiveness and superiority of the SCO+BE algorithm for adaptive position control of the cart, surpassing traditional methods.
4. SCO+BE for LFC of isolated microgrid
4.1 Dynamic Model of an isolated microgrid
Applying the suggested control method to other application is an effective method to evaluate it. A chosen application is an isolated microgrid power system. Fig 19 illustrates the power flow graph of the proposed microgrid while Fig 20 shows the block diagram of a chosen micro-grid power system. Eqs 20–22 can be used to characterize the dynamic model of the suggested micro-grid power system. The supply error (ΔPd—ΔPL) and frequency variation (Δf) have a dynamic connection that may be represented as the total load-generator;:
(20) |
The dynamic of the diesel generator may be written as:
(21) |
The dynamic of the governor may be written as:
(22) |
The parameters of the studied microgrid system is illustrated in Table 7.
Table 7. Parameters of the studied micro-grid.
D | H = (M/2) | R | Tg | Td |
---|---|---|---|---|
(Pu/Hz) | (Pu.sec) | (Hz/Pu) | (sec) | (sec) |
0.015 | 0.08335 | 3 | 0.08 | 0.4 |
4.2 Adaptive LFC based SCO+BE
Fig 21 illustrates a simplified μG model; it is employed to determine the restricted area’s FO closed-loop system’s variables.
(23) |
where Do, Ro, and Mo are the nominal values of D, R, and M, respectively
This is the OF of the SCO-based BE identifier.
This means that the OF (J) is a function of ALi and ki to address the system challenges.
4.3 Simulation results of microgrid LFC based SCO+BE
To evaluate the effectiveness of the proposed adaptive control algorithm, system with SCO+BE has been compared with that one with only SCO with parameters shown in Table 8, Jaya(with detailed listed in [32]) and classical I in case of step load change from 0 to 0.025 pu at t = 10, Fig 22 illustrate the frequency responses of the four controllers at this case, while Fig 23 shows the diesel power deviations at the same situation. From Figs 22 and 23 its clear that system with SCO+BE is superior from the time response viewpoint.
Table 8. Data of SCO.
Maximum Iteration (IT max) | 100 |
Population Size (k) | 5 |
Convergence constant (a) | 2 |
5. Conclusion
This paper proposes an innovative adaptive controller that utilizes a modified SCO algorithm to individually adjust the gains of traditional controller parameters. In order to enhance the performance of the standard SCO a new modification method called the "Balloon Effect (BE)" is introduced. The BE approach incorporates both the values of the tuned gain parameters and the system changes, represented by the parameter ALi, into the objective function of the SCO algorithm This modification increases the algorithm’s sensitivity to load disturbances and uncertainties in the system parameters, resulting in improved system characteristics.
The proposed approach has been used to optimize a PV controller’s gains for controlling the linear position of a cart powered by a DC motor and to make online tuning of load frequency controller in isolated microgrid. By combining BE with SCO, Improvement has been made to the control method’s sensitivity to load disturbance and system parameter uncertainty for both systems. Additionally, incorporating BE into the SCO algorithm has led to improvements in the system’s general characteristics, including rise time, settling time, and over shoot. The proposed adaptive controller using SCO+BE has been evaluated against external step disturbances and has demonstrated excellent and distinguished results. Comparisons between the system with modified SCO, normal SCO and jaya optimization algorithm under external disturbances and system parameter changes have been made, with simulation and experimental results supporting the superiority of the proposed SCO+BE system in all study cases.
6. Future works
Exploring the application of the proposed approach to diverse optimization techniques, including whale Search, Bat optimization algorithm, and ADAM optimization.
Additionally, investigating the potential improvement of the proposed control algorithm in other industrial applications
Supporting information
Abbreviations
- Symbol
Variable
- R
random value from 0 to 1
- J
Number of designed variables
- K
population size
- I
Number of iterations
- X(S)
the position of the car
- Vm(S)
motor voltage
- Im
motor current
- Rm
electric resistance of the motor
- Lm
Inductance of the motor
- Eemf
back electromotive force voltage
- Kt
Motor torque constant
- M
The total mass of the car system
- Fai
armature rotational inertial force
- FC
Car driving force produced by the motor
- Beq
equivalent viscous damping coefficient
- ζg
efficiency of gearbox
- rmp
motor pinion radius
- Kg
planetary gearbox ratio
- Tai
armature inertial torque
- Jm
rotor moment of inertia
- Kt
motor torque constant
- ζm
Efficiency of the motor
- Vm
voltage motor
- ΔPg
The variation in the governor’s output
- ΔPd
Change in diesel power
- Δf
Frequency deviation
- ΔPL
Load deviation
- ΔPc
additional control action
- M
Equivalent inertia constant
- D
Equivalent damping coefficient
- R
Speed drop characteristic
- Tg
Time constant of the governor
- Td
Time constant of the Turbin
Data Availability
All relevant data are within the paper and its Supporting Information files.
Funding Statement
The author(s) received no specific funding for this work.
References
- 1.Chapman Stephen J. “ELECTRIC MACHINERY FUNDAMENTALS. “book 2004. FOURTH EDITION. [Google Scholar]
- 2.Linares-Flores, Jesús, and Hebertt Sira-Ramirez. "DC motor velocity control through a DC-to-DC power converter." In 2004 43rd IEEE Conference on Decision and Control (CDC)(IEEE Cat. No. 04CH37601), vol. 5, pp. 5297–5302. IEEE, 2004.[3] M. M. Maung, M. M. Latt, and C. M. Nwe, ‘DC Motor 10.1109/CDC.2004.1429649. [DOI]
- 3.Maung Myo Maung, Latt Maung Maung, and Nwe Chaw Myat. "DC motor angular position control using PID controller with friction compensation." International journal of scientific and research publications 8, no. 11 (2018): 149, doi: 10.29322/ijsrp.8.11.2018.p8321 [DOI] [Google Scholar]
- 4.Lotfy A., Kaveh M., Mosavi M. R., and Rahmati A. R., ‘An enhanced fuzzy controller based on improved genetic algorithm for speed control of DC motors’, Analog Integr Circuits Signal Process, vol. 105, no. 2, pp. 141–155, Nov. 2020, doi: 10.1007/s10470-020-01599-9 [DOI] [Google Scholar]
- 5.Muresan C. I., Folea S., Mois G., and Dulf E. H., ‘Development and implementation of an FPGA based fractional order controller for a DC motor’, Mechatronics, vol. 23, no. 7, pp. 798–804, 2013, doi: 10.1016/j.mechatronics.2013.04.001 [DOI] [Google Scholar]
- 6.Zaki Ahmad M., El-Bardini Mohammad, Soliman F. A. S., and Sharaf Mohammed Mabrouk. "Embedded two level direct adaptive fuzzy controller for DC motor speed control." Ain Shams Engineering Journal 9, no. 1 (2018): 65–75. 10.1016/j.asej.2015.10.003. [DOI] [Google Scholar]
- 7.Mohamed Nour A., Hasanien Hany M.,‘ Hybrid Particle Swarm and Gravitational Search Algorithm-Based Optimal Fractional Order PID Control Scheme for Performance Enhancement of Offshore Wind Farms’, in Sustainability 2023, 15, 11912. 10.3390/su151511912. [DOI] [Google Scholar]
- 8.Ibrahim Nader M. A., Talaat Hossam E. A., ‘Optimization of Power System Stabilizers Using Proportional-Integral-Derivative Controller-Based Antlion Algorithm: Experimental Validation via Electronics Environment’, in Sustainability 2023, 15, 8966. 10.3390/su15118966. [DOI] [Google Scholar]
- 9.Boopathi Dhanasekaran, Jagatheesan Kaliannan, ‘Frequency Regulation of Interlinked Microgrid System Using Mayfly Algorithm-Based PID Controller’, in Sustainability 2023, 15, 8829. 10.3390/su15118829. [DOI] [Google Scholar]
- 10.Ali Reyadh Waheed, Abbas Hussain Issa and Mohammed Y Hassan, ‘‘Modified inverse neural controller using adaptive gain factor for DC motor,” IOP Conference Series: Materials Science and Engineering, Volume 881, 3rd International Conference on Sustainable Engineering Techniques (ICSET 2020) 15 April 2020, Baghdad, Iraq, doi: 10.1088/1757-899X/881/1/012123 [DOI]
- 11.Amer Alkrwy, Arkan Ahmed Hussein, Thamir H. Atyia and Muntadher Khamees, ‘‘Adaptive Tuning of PID Controller using Crow Search Algorithm for DC motor,” IOP Conference Series: Materials Science and Engineering, Volume 1076, 2nd International Scientific Conference of Engineering Sciences (ISCES 2020) 16th-17th December 2020, Diyala, Iraq, doi: 10.1088/1757-899X/1076/1/012001 [DOI]
- 12.Mishra AK, Tiwari VK, Kumar R, Verma T, Speed control of DC motor using artificial bee colony optimization technique, Dec 16:1–6., 2013, International Conference on Control, Automation, Robotics and Embedded Systems. doi: 10.1109/CARE.2013.6733772 [DOI]
- 13.Qi Z., Shi Q., Zhang H., Tuning of digital PID controllers using particle swarm optimization algorithm for a CAN-based DC motor subject to stochastic delays, IEEE Trans. Ind. Electron. 67 (7) (2019) 5637–5646, doi: 10.1109/TIE.2019.2934030 [DOI] [Google Scholar]
- 14.Ekinci S., Hekimoglu B., Izci ˘ D, Opposition based Henry gas solubility optimization as a novel algorithm for PID control of DC motor, Eng. Sci. Technol., Int. J. 24 (2) (2021) 331–342, 10.1016/j.jestch.2020.08.011. [DOI] [Google Scholar]
- 15.Agarwal J., Parmar G., Gupta R., Sikander A., Analysis of grey wolf optimizer based fractional order PID controller in speed control of DC motor, Microsyst. Technol. 24 (2018) 4997–5006, doi: 10.1007/s00542-018-3920-4 [DOI] [Google Scholar]
- 16.Abd-Elazim S. M., and Ali E. S. "Load frequency controller design via BAT algorithm for nonlinear interconnected power system." International Journal of Electrical Power & Energy Systems 77 vol. 77, pp. 166–177, May 2016. 10.1016/j.ijepes.2015.11.029. [DOI] [Google Scholar]
- 17.Boškovic M. Č., Šekara T. B., and Rapaić M. R., ‘‘Novel tuning rules for PIDC and PID load frequency controllers considering robustness and sensitivity to measurement noise,” Int. J. Elect. Power Energy Syst., vol. 114, Jan. 2020, Art. no. 105416. 10.1016/j.ijepes.2019.105416. [DOI] [Google Scholar]
- 18.Marino A. and Neri F., ‘PID Tuning with Neural Networks’, in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), Springer Verlag, 2019, pp. 476–487. doi: 10.1007/978-3-030-14799-0_41 [DOI] [Google Scholar]
- 19.Afram A. and Janabi-Sharifi F., ‘Theory and applications of HVAC control systems—A review of model predictive control (MPC)’, Building and Environment, vol. 72. Elsevier Ltd, 2014. doi: 10.1016/j.buildenv.2013.11.016 [DOI] [Google Scholar]
- 20.Mirjalili S., ‘SCA: A Sine Cosine Algorithm for solving optimization problems’, Knowl Based Syst, vol. 96, pp. 120–133, Mar. 2016, doi: 10.1016/j.knosys.2015.12.022 [DOI] [Google Scholar]
- 21.Attia A. F., El Sehiemy R. A., and Hasanien H. M., ‘Optimal power flow solution in power systems using a novel Sine-Cosine algorithm’, International Journal of Electrical Power and Energy Systems, vol. 99, pp. 331–343, Jul. 2018, doi: 10.1016/j.ijepes.2018.01.024 [DOI] [Google Scholar]
- 22.Zhang S., Fan F., Li W., Chu S. C., and Pan J. S., ‘A parallel compact sine cosine algorithm for TDOA localization of wireless sensor network’, Telecommun Syst, vol. 78, no. 2, pp. 213–223, Oct. 2021, doi: 10.1007/s11235-021-00804-y [DOI] [Google Scholar]
- 23.Kumar Manoj. "Energy efficient scheduling in cloud computing using black widow optimization." In Journal of Physics: Conference Series, vol. 1950, no. 1, p. 012063. IOP Publishing, 2021. doi: 10.1088/1742-6596/1950/1/012063 [DOI] [Google Scholar]
- 24.Dahab Y. A., Abubakr H., and Mohamed T. H., ‘Adaptive load frequency control of power systems using electro-search optimization supported by the balloon effect’, IEEE Access, vol. 8, pp. 7408–7422, 2020, doi: 10.1109/ACCESS.2020.2964104 [DOI] [Google Scholar]
- 25.Mohamed T.H., Abubakr H., Alamin M. A. M., and Hassan A. M., ‘Modified WCA-Based Adaptive Control Approach Using Balloon Effect: Electrical Systems Applications’, IEEE Access, vol. 8, pp. 60877–60889, 2020, doi: 10.1109/ACCESS.2020.2982510 [DOI] [Google Scholar]
- 26.Khooban M. H., Niknam T., Blaabjerg F., Davari P., and Dragicevic T., ‘A robust adaptive load frequency control for micro-grids’, ISA Trans, vol. 65, pp. 220–229, Nov. 2016, doi: 10.1016/j.isatra.2016.07.002 [DOI] [PubMed] [Google Scholar]
- 27.Gabr, Walaa Ibrahim, and Walid Abdelaziz Salem. "Impact of grid connected photovoltaic system on total harmonics distortion (THD) of low voltage distribution network: A case study." 2018 Twentieth International Middle East Power Systems Conference (MEPCON). IEEE, 2018. 10.1109/MEPCON.2018.8635216. [DOI]
- 28.Zhang S., Fan F., Li W., Chu S. C., and Pan J. S., ‘A parallel compact sine cosine algorithm for TDOA localization of wireless sensor network’, Telecommun Syst, vol. 78, no. 2, pp. 213–223, Oct. 2021, doi: 10.1007/s11235-021-00804-y [DOI] [Google Scholar]
- 29.Rizk-Allah R. M. and Hassanien A. E., ‘A comprehensive survey on the sine–cosine optimization algorithm’, Artif Intell Rev, vol. 56, no. 6, pp. 4801–4858, Jun. 2023, doi: 10.1007/s10462-022-10277-3 [DOI] [Google Scholar]
- 30.Shang C., ting Zhou T., and Liu S., ‘Optimization of complex engineering problems using modified sine cosine algorithm’, Sci Rep, vol. 12, no. 1, Dec. 2022, doi: 10.1038/s41598-022-24840-z [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Quanser, “Linear experiment #1: PV position control,” Internet:http://www.ece.uprm.edu/control/manual/quanser/linear/IP01_2%20Position_PV_Student.504.pdf, [April. 5, 2020].
- 32.Tarek Hassan Mohamed and Mahmoud M.Hussein, “Online gain tuning of conventional load frequency controller for microgrid power system”, 2018 Twentieth International Middle East Power Systems Conference (MEPCON), pp: 424–428. 10.1109/MEPCON.2018.8635107. [DOI]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
All relevant data are within the paper and its Supporting Information files.